Commit Graph

28 Commits

Author SHA1 Message Date
Alex Gleason c8b378ad10
Remove DittoFilter, use search instead of local 2024-03-20 11:34:04 -05:00
Alex Gleason aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason b971b5274d
Remove UserData type, hydrate the event instead 2024-01-23 10:56:17 -06:00
Alex Gleason c235fa6123
Memorelay: normalize filters 2024-01-03 18:15:28 -06:00
Alex Gleason 5bffffe07b
Add a function to calculate the intrinsic limit of a filter 2024-01-03 17:20:29 -06:00
Alex Gleason 56373c4ce3
Refactor memorelay as an EventStore 2023-12-29 13:35:57 -06:00
Alex Gleason f75cd21159
queries: make getAuthor use memorelay 2023-12-27 23:55:42 -06:00
Alex Gleason acffdd7fb8
memorelay: insertEvent 2023-12-27 23:22:24 -06:00
Alex Gleason 5398042156
Add memorelay module 2023-12-27 22:49:35 -06:00
Alex Gleason 4d05398be1
Debug client, pass timeout into reqmeister 2023-12-27 21:14:45 -06:00
Alex Gleason ed107e49fd
Move new libs into deps.ts 2023-12-26 13:31:23 -06:00
Alex Gleason 17cef2f186
Merge remote-tracking branch 'origin/main' into threads 2023-12-22 22:56:12 -06:00
Alex Gleason ad0aaf97dd
Replace all timeouts with AbortSignal 2023-12-22 10:47:47 -06:00
Alex Gleason acc133e8e2
Make Reqmeister work 2023-12-21 19:10:42 -06:00
Alex Gleason 4a32fe2c37
Add basic Reqmeister module 2023-12-21 14:56:21 -06:00
Alex Gleason 07dc07ab71
Simplify author_stats relation 2023-12-10 15:54:31 -06:00
Alex Gleason 6a92c5135d
db/events: support 'stats' relation 2023-12-10 15:02:19 -06:00
Alex Gleason a6947441fc
renderStatus: don't fetch the author, expect it to be passed in 2023-12-06 12:04:24 -06:00
Alex Gleason 7d2813b214
extra --> relations, move it back to a filter option 2023-12-05 22:06:27 -06:00
Alex Gleason 22b1d730eb
with --> extra 2023-12-05 19:42:30 -06:00
Alex Gleason 2478545cd3
with_authors --> with: With[] 2023-12-05 17:27:52 -06:00
Alex Gleason e3d5b2ac4a
Move with_authors to GetFilterOpts instead of DittoFilter 2023-12-05 17:15:39 -06:00
Alex Gleason f9d3240fa8
with_author --> with_authors 2023-12-05 16:52:39 -06:00
Alex Gleason b3c749d266
db/events: add support for `with_author` filter 2023-12-05 16:40:45 -06:00
Alex Gleason 1806cf2286
filter: treat the admin pubkey as local 2023-08-26 17:31:52 -05:00
Alex Gleason c18d7b952f
Move filter types into filter.ts 2023-08-25 13:38:21 -05:00
Alex Gleason f1c465beea
pipeline: optimize database calls 2023-08-24 17:16:44 -05:00
Alex Gleason 658dd397f5
relay: respect "local: true" filter 2023-08-24 15:28:13 -05:00