Commit graph

225 commits

Author SHA1 Message Date
Alex Gleason
db6417bad9
Upgrade to Nostrify v0.30.0 2024-08-05 15:45:02 -05:00
Alex Gleason
9543049419
Add db:export command 2024-08-02 16:31:39 -05:00
P. Reis
a271340ffc test: use postgres in hydrate.test.ts 2024-07-26 19:01:18 -03:00
P. Reis
9c02a2d555 refactor: remove nip05 enhancement and tests 2024-07-26 18:49:31 -03:00
P. Reis
6551f0c677 Merge branch 'main' into postgres-support-testing
Update local branch to latest. This branch has the NIP-05 but it will be overriden
2024-07-26 18:32:30 -03:00
P. Reis
31e5b89750 refactor: delete pool-store.ts file 2024-07-17 11:42:27 -03:00
P. Reis
cf4ee051db Merge branch 'main' into search-nip05-enhance-and-postgres-support-testing 2024-07-16 13:58:47 -03:00
Alex Gleason
96fe8920cd
Make database timeouts configurable 2024-07-12 13:49:44 -05:00
Alex Gleason
2167106577
Fix not being able to post 2024-07-06 20:50:39 +01:00
P. Reis
71bdfea317 refactor: get database dialect from Conf.db.dialect 2024-07-06 11:11:41 -03:00
P. Reis
5412d2a07b fix(EventsDB): also add a split only by '@' at symbol 2024-07-05 20:43:13 -03:00
P. Reis
92231dc452 test: query by NIP-05 2024-07-05 20:42:11 -03:00
P. Reis
13d346afbd refactor: remove console.log 2024-07-05 18:43:14 -03:00
P. Reis
d18796956b test(hydrate): refactor to only use sqlite 2024-07-05 17:43:47 -03:00
P. Reis
85fd7909e6 feat: add optional kysely in HydrateOpts interface 2024-07-05 17:42:19 -03:00
P. Reis
8e1826020c test(EventsDB): remove createDB function 2024-07-05 17:35:25 -03:00
P. Reis
12b2032d87 refactor(EventsDB.test): add one blank line between functions 2024-07-04 22:50:12 -03:00
P. Reis
a9f79176a2 test: support sqlite and postgres 2024-07-04 22:43:56 -03:00
Alex Gleason
193dd1a011
EventsDB: remove queries for ephemeral kinds 2024-07-04 23:38:16 +01:00
P. Reis
cbb48867c1 test: attempt to use Postgres 2024-07-04 18:13:31 -03:00
P. Reis
78d41bbd6d feat(EventsDB): add nip05 split in buildUserSearchContent() 2024-07-03 20:41:48 -03:00
P. Reis
d3c3ecfd35 test(EventsDB): refactor to use RelayError instead of Error 2024-07-02 18:40:21 -03:00
P. Reis
e169749b82 refactor(EventsDB): throw RelayError instead of Error 2024-07-02 18:39:55 -03:00
P. Reis
360efe089d test(EventsDB): throw error for large since, until and kinds filter 2024-07-02 17:31:12 -03:00
Alex Gleason
4e150edb5b
Actually enable query timeouts 🤦 2024-07-01 19:48:28 +01:00
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
003d60c959
Don't display posts of disabled user on their profile 2024-06-19 14:06:02 -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
74944dcd2a
EventsDB: remove no longer relevant tests 2024-06-17 16:40:06 -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
P. Reis
87967e4137 Merge branch 'main' into feat-zap-counter 2024-06-12 23:59:50 -03:00
Alex Gleason
1151f0c28b
EventsDB: strip nip27 mentions from search index 2024-06-11 18:56:11 -05:00
P. Reis
18648f7be3 fix(hydrate): return zaps_amount in gatherEventStats 2024-06-10 10:00:58 -03:00
Alex Gleason
e7ed3c839c
AdminStore: fix users check 2024-06-09 19:48:33 -05:00
Alex Gleason
2a2f43d106
Add admin name approve/reject endpoints 2024-06-09 11:57:10 -05:00
Alex Gleason
594f37ea33
Use past-tense for some n-tag values 2024-06-09 11:26:57 -05:00
Alex Gleason
8a7cae9841
Refactor reports more, add reopen endpoint 2024-06-09 11:03:46 -05:00
Alex Gleason
bd6424acf5
Add preliminary nameRequestsController 2024-06-08 22:16:34 -05:00
Alex Gleason
a14515bbe0
Rework reports with event sets 2024-06-08 19:48:56 -05:00
Alex Gleason
e5fadafc7a
Create AdminStore to filter out banned users 2024-06-08 12:58:59 -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
77ce26bf7a
Use last e-tag as reacted event 2024-06-06 11:25:24 -05:00
Alex Gleason
5c09034151
EventsDB: index the n-tag 2024-06-05 14:39:48 -05:00