Commit graph

26 commits

Author SHA1 Message Date
Alex Gleason
092a20088a
Reduce timeouts 2024-07-01 09:18:42 +01:00
Alex Gleason
c3ffe7c7f7
EventsDB: fix limit being passed to NDatabase 2024-07-01 08:53:03 +01:00
Alex Gleason
9ea6c7b00b
Add query timeouts 2024-06-29 22:26:51 +01:00
Alex Gleason
31a5533fd7
Add Prometheus metrics 2024-06-21 22:38:25 -05:00
Alex Gleason
c48b976d04 Revert "Merge branch 'stats-transaction' into 'main'"
This reverts merge request !386
2024-06-18 01:11:03 +00:00
Alex Gleason
2f3b656af5
Upgrade Nostrify to v0.23.3, remove normalizeFilters call in EventsDB (NDatabase does this now) 2024-06-17 17:29:01 -05:00
Alex Gleason
96af3bb8bf
Update stats in a transaction 2024-06-17 16:07:03 -05:00
Alex Gleason
7186f49316
Remove URL restriction from r tag 2024-06-13 19:17:53 -05:00
Alex Gleason
1151f0c28b
EventsDB: strip nip27 mentions from search index 2024-06-11 18:56:11 -05:00
Alex Gleason
2a2f43d106
Add admin name approve/reject endpoints 2024-06-09 11:57:10 -05:00
Alex Gleason
a14515bbe0
Rework reports with event sets 2024-06-08 19:48:56 -05:00
Alex Gleason
7d54a5c7d0
Kind 30361 -> 30382 2024-06-08 11:32:29 -05:00
P. Reis
b088276c51 fix: remove unused variable 2024-06-08 09:10:19 -03:00
Alex Gleason
fca7825bbf
EventsDB: replaceable deletions support 2024-06-07 22:11:17 -05:00
Alex Gleason
5c09034151
EventsDB: index the n-tag 2024-06-05 14:39:48 -05:00
Alex Gleason
3092030dde
EventsDB: index "r" tags on labels 2024-06-03 00:18:52 -05:00
Alex Gleason
a9dcebd7c2
Index r tags 2024-06-02 20:10:32 -05:00
Alex Gleason
76c882d836
Crunch the tag history in the controller 2024-06-02 17:47:36 -05:00
Alex Gleason
3dd25feddc
EventsDB: throw an error if since and until are too large 2024-05-31 13:33:53 -05:00
Alex Gleason
250998405a
Rework database Conf to easily get the dialect 2024-05-24 20:07:38 -05:00
Alex Gleason
9839b8138f
tags.ts -> utils/tags.ts 2024-05-21 13:08:08 -05:00
Alex Gleason
7b099ee565
EventsDB: don't index the user's bio for kind 0 events 2024-05-20 11:39:44 -05:00
Alex Gleason
baa6986880
EventsDB: enable fts conditionally based on DATABASE_URL 2024-05-16 15:48:22 -05:00
Alex Gleason
4df2c7ba9c
Improve EventsDB error handling 2024-05-16 10:29:14 -05:00
Alex Gleason
2ede439005
Upgrade Nostrify to v0.19.1, fix phantom deletions 2024-05-16 09:29:53 -05:00
Alex Gleason
406baf8a1d
events-db -> EventsDB 2024-05-15 08:18:31 -05:00
Renamed from src/storages/events-db.ts (Browse further)