Commit Graph

81 Commits

Author SHA1 Message Date
Alex Gleason
21bec6b131 pipeline: call hydrateEvents from hydrateEvent 2024-03-30 23:38:48 -05:00
Alex Gleason
940fc7a305 Add DVM module, process domain name requests 2024-03-26 19:28:13 -05:00
Alex Gleason
25a4384587 Hydrate event author in pipeline to relieve streaming API 2024-03-20 13:49:02 -05:00
Alex Gleason
07ebb490d2 Make streaming by domain work 2024-03-20 13:42:59 -05:00
Alex Gleason
a8b5888e6d pipeline: get nip05 domain correctly 2024-03-20 13:20:12 -05:00
Alex Gleason
e2cc6132be Track pubkey domains 2024-03-19 17:45:19 -05:00
Alex Gleason
648c32986b pipeline: remove awkward registerUser flow 2024-03-16 15:07:45 -05:00
Alex Gleason
09369a0122 hydrateEvent -> purifyEvent (it sounds cooler) 2024-03-16 13:19:11 -05:00
Alex Gleason
0df4ac7331 pipeline: let the people post 2024-03-16 13:16:35 -05:00
Alex Gleason
3c8b5be783 pipeline: fix hydrateEvent 2024-03-12 17:09:22 -05:00
Alex Gleason
45e1762b50 pipeline: handle registrations 2024-03-12 16:10:19 -05:00
Alex Gleason
641d2872d8 Actually, revert anything Alby would sign to nip04 since Alby doesn't support nip44 yet 2024-02-21 14:50:26 -06:00
Alex Gleason
d5d642b10b Switch all nip04 calls to nip44 2024-02-21 14:39:05 -06:00
Alex Gleason
5961b28c36 Remove crypo.ts, call AdminSigner instead 2024-02-12 12:01:35 -06:00
Alex Gleason
59d53c4a2f Add APISigner and AdminSigner classes, implement NostrSigner interface 2024-02-12 11:52:05 -06:00
Alex Gleason
1e3f637358 verifySignatureWorker -> verifyEventWorker 2024-02-12 11:42:25 -06:00
Alex Gleason
cb80770fc7 Upgrade NSpec, update count interface 2024-02-12 10:48:26 -06:00
Alex Gleason
e9d29075eb pipeline: catch error on broadcast 2024-02-02 14:51:22 -06:00
Alex Gleason
57e9534552 Zaps: dehydrate event before passing into LNURL callback 2024-01-24 15:47:19 -06:00
Alex Gleason
0fc8143889 Get rid of unnecessary memorelay module, replace with NCache 2024-01-23 17:50:33 -06:00
Alex Gleason
5b24b7ad39 Pass Request signal down from API controllers 2024-01-23 15:58:59 -06:00
Alex Gleason
77f2e2d940 pipeline: pass signals all the way down 2024-01-23 14:35:35 -06:00
Alex Gleason
c6062874bd Implement NStore interface from NLib 2024-01-23 14:06:51 -06: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
8494bd5f67 pipeline: pass signal down to everything that accepts it 2024-01-22 14:31:52 -06:00
Alex Gleason
c5e7b3bf0c pipeline: clean up zaps function 2024-01-22 14:24:37 -06:00
Alex Gleason
13c50c71bd Cache the LNURL response 2024-01-22 12:42:39 -06:00
Alex Gleason
d73fa7a311 Start simplifying LNURL code with NLib 2024-01-22 12:35:30 -06:00
Alex Gleason
b5a1220159 Publish NWC event from pipeline 2024-01-16 18:11:19 -06:00
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