Commit graph

26 commits

Author SHA1 Message Date
Alex Gleason
a85daf1e67
EventsDB: fix domain query test 2025-02-12 23:11:09 -06:00
Alex Gleason
f6fe777e78
Remove pubkey_domains table 2025-02-11 21:49:58 -06:00
Alex Gleason
f04ca2b6ff
Rework language and media columns to use Nostrify search_ext column 2025-02-02 19:32:43 -06:00
Alex Gleason
cce693dc9b
EventsDB: index only the final e and p tag of kind 7 events
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/220
2025-01-28 14:11:08 -06:00
Alex Gleason
260340c58e
Fix EventsDB test 2024-10-13 16:41:20 -05:00
Alex Gleason
feec343d5a
EventsDB: fix plaintext search queries 2024-10-13 16:22:03 -05:00
P. Reis
d4a8ec21fe fix: add 'pure' option in EventsDB
if pure is true, EventsDB will return a Nostr event, otherwise it will return a Ditto event
2024-10-08 14:17:27 -03:00
Alex Gleason
c24d11c6f3
Support NIP-50 language extension 2024-09-15 12:40:58 -05:00
Alex Gleason
e743e14bb1
Fix EventsDB test 2024-08-12 15:45:47 -05:00
P. Reis
9c02a2d555 refactor: remove nip05 enhancement and tests 2024-07-26 18:49:31 -03:00
P. Reis
71bdfea317 refactor: get database dialect from Conf.db.dialect 2024-07-06 11:11:41 -03:00
P. Reis
92231dc452 test: query by NIP-05 2024-07-05 20:42:11 -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
P. Reis
cbb48867c1 test: attempt to use Postgres 2024-07-04 18:13:31 -03:00
P. Reis
d3c3ecfd35 test(EventsDB): refactor to use RelayError instead of Error 2024-07-02 18:40:21 -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
c48b976d04 Revert "Merge branch 'stats-transaction' into 'main'"
This reverts merge request !386
2024-06-18 01:11:03 +00:00
Alex Gleason
74944dcd2a
EventsDB: remove no longer relevant tests 2024-06-17 16:40:06 -05:00
P. Reis
98fd4babce test(EventsDB): use eventFixture() 2024-05-20 14:46:53 -03:00
Alex Gleason
031a3eac04
EventsDB.test: import order 2024-05-16 10:30:54 -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
0acde23c46
Port 8000 -> 4036 in all the places 2024-05-16 08:08:36 -05:00
Alex Gleason
406baf8a1d
events-db -> EventsDB 2024-05-15 08:18:31 -05:00
Renamed from src/storages/events-db.test.ts (Browse further)