51 Commits

Author SHA1 Message Date
Alex Gleason
40d3a46c16
pipeline: use fetchWorker properly for zaps, pass signal 2024-01-15 17:56:03 -06:00
Alex Gleason
455459bea7
pipeline: process zap requests by local users 2024-01-15 17:14:08 -06:00
Alex Gleason
e3631104a6
pipeline: fix admin event deletion 2024-01-11 19:11:04 -06:00
Alex Gleason
c4920ccb2e
pipeline: let the admin pubkey delete anything with kind 5's 2024-01-11 19:05:34 -06:00
Alex Gleason
937ae1eab6
Refactor EventStore to use a more Set-like interface 2024-01-08 15:18:01 -06:00
Alex Gleason
f8a0698c3a
Reqmeister: encounter -> storeEvent 2024-01-07 16:37:06 -06:00
Alex Gleason
a10108e109
Move client to a PoolStore storage class 2024-01-07 15:15:20 -06:00
Alex Gleason
ae44c08a2a
Move Reqmeister to a dedicated storage class 2024-01-07 14:54:33 -06:00
Alex Gleason
b3e4b79439
Delete db/events.ts, db/memorelay.ts, move to @/storages.ts 2024-01-03 21:56:41 -06:00
Alex Gleason
38238cc4a8
Fix db/events test, remove unnecessary AbortSignal from pipeline 2023-12-29 21:21:56 -06:00
Alex Gleason
56373c4ce3
Refactor memorelay as an EventStore 2023-12-29 13:35:57 -06:00
Alex Gleason
ccfdbfeb8d
Rework client as EventStore 2023-12-29 13:22:51 -06:00
Alex Gleason
e6c8d1dad9
Add an EventStore interface, refactor eventsDB 2023-12-29 13:12:16 -06:00
Alex Gleason
5ed2ecbabd
Remove mixer module 2023-12-29 12:43:59 -06:00
Alex Gleason
08da26b12a
reqmeister: accept signal 2023-12-28 13:41:04 -06:00
Alex Gleason
d40b4a509e
pipeline: use memorelay for encounters 2023-12-27 23:36:01 -06:00
Alex Gleason
84a083bc7c
debug: stringify tags 2023-12-27 22:27:05 -06:00
Alex Gleason
4e01e8e626
debug: more modules 2023-12-27 20:19:59 -06:00
Alex Gleason
2fc9988c06
reqmeister: middleware/cache, reqmeister, nip05, unfurl, refactor some code 2023-12-27 20:07:13 -06:00
Alex Gleason
520c35db60
Add debug library, adapt pipeline to it 2023-12-27 16:21:58 -06:00
Alex Gleason
62675218ce
pipeline: trackRelatedEvents -> fetchRelatedEvents 2023-12-26 13:27:48 -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
6d6e3bcecc
Move console.info from firehose to pipeline 2023-12-22 10:24:14 -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
4f79b7ec29
stats: handle follow/following counts 2023-12-10 17:42:44 -06:00
Alex Gleason
bababe56f3
stats: update note count 2023-12-10 11:10:11 -06:00
Alex Gleason
d569dfd5b5
Add TrendsWorker for tracking/querying trending tags with a Web Worker 2023-12-04 16:33:02 -06:00
Alex Gleason
bc3f4bc534
Add verifySignatureWorker 2023-12-03 16:55:34 -06:00
Alex Gleason
b9476ccbd6
pipeline: delete unattached-media rows when authoring an event 2023-09-09 22:27:37 -05:00
Alex Gleason
96ff31719e
db/events: pass EventData, index all media from local users 2023-09-09 15:48:03 -05:00
Alex Gleason
17c75e6761
Move pool to a separate module (to avoid importing firehose in tests) 2023-09-05 22:00:32 -05:00
Alex Gleason
a69b7f54f8
pipeline: broadcast deletions to all known relays 2023-09-05 21:45:30 -05:00
Alex Gleason
e2b88d57d9
pipeline: process kind 5 deletion events 2023-09-05 21:24:59 -05:00
Alex Gleason
22ddc7b1a8
pipeline: remove unnecessary async keyword from trackHashtags 2023-09-05 20:35:58 -05:00
Alex Gleason
48195f02b3
pipeline: don't store event if a deletion for it exists 2023-09-05 20:31:34 -05:00
Alex Gleason
02049ed9d1
pipeline: fix isFresh comparison 2023-09-05 17:10:20 -05:00
Alex Gleason
7686371183
Implement frontend configurations 2023-09-03 18:49:45 -05:00
Alex Gleason
1b2a486c65
pipeline: don't store ephemeral events 2023-08-26 13:40:10 -05:00
Alex Gleason
baace5ea2d
Refactor streaming to use async iterators 2023-08-25 13:35:20 -05:00
Alex Gleason
2f7914f044
pipeline: skip previously encountered events 2023-08-24 17:39:24 -05:00
Alex Gleason
a0dff12ca0
pipeline: don't stream events older than 10 seconds 2023-08-24 17:26:46 -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
Alex Gleason
a676b71d23
relay: make Nostr streaming work 2023-08-23 23:25:38 -05:00
Alex Gleason
0f70f5c76f
Add a RelayError class, improve relay error handling 2023-08-17 20:24:16 -05:00
Alex Gleason
dc49c305bd
Move isLocallyFollowed to queries.ts 2023-08-17 19:32:05 -05:00
Alex Gleason
2011ca6e1d
pipeline: remove redundant console.log 2023-08-17 18:08:05 -05:00
Alex Gleason
45abaf14a4
pipeline: refactor, use pipeline from relay 2023-08-17 18:07:25 -05:00