Alex Gleason
|
cb80770fc7
|
Upgrade NSpec, update count interface
|
2024-02-12 10:48:26 -06:00 |
|
Alex Gleason
|
5b24b7ad39
|
Pass Request signal down from API controllers
|
2024-01-23 15:58:59 -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
|
15810c1935
|
Configure server from the kind 0 event of the admin user
|
2024-01-08 16:53:46 -06:00 |
|
Alex Gleason
|
937ae1eab6
|
Refactor EventStore to use a more Set-like interface
|
2024-01-08 15:18:01 -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
|
529bc11da1
|
Support replaceable events and parameterized replaceable events (delete old versions upon insert)
|
2023-12-29 23:21:05 -06:00 |
|
Alex Gleason
|
3472428da8
|
relay: fix wrong function name
|
2023-12-29 21:12:57 -06:00 |
|
Alex Gleason
|
e6c8d1dad9
|
Add an EventStore interface, refactor eventsDB
|
2023-12-29 13:12:16 -06:00 |
|
Alex Gleason
|
3ae47ee865
|
NIP-11: fix pubkey field
|
2023-12-19 22:01:41 -06:00 |
|
Alex Gleason
|
26e64e781c
|
Add NIP-11 support
|
2023-12-19 21:15:41 -06:00 |
|
Alex Gleason
|
c1bf326981
|
c.req.headers.get --> c.req.header, hono deprecation
|
2023-11-20 12:39:20 -06:00 |
|
Alex Gleason
|
0f9ff5bcaa
|
relay: fix querying by ids and authors
|
2023-09-11 19:45:27 -05:00 |
|
Alex Gleason
|
d01dbcbfee
|
relay: add support for NIP-45 COUNT
|
2023-08-29 15:24:07 -05:00 |
|
Alex Gleason
|
b60e84d29b
|
relay: only send if socket is open
|
2023-08-25 15:09:16 -05:00 |
|
Alex Gleason
|
d1117f5513
|
relay: improve variable names in handleReq
|
2023-08-25 13:42:58 -05:00 |
|
Alex Gleason
|
baace5ea2d
|
Refactor streaming to use async iterators
|
2023-08-25 13:35:20 -05:00 |
|
Alex Gleason
|
00c531bbff
|
relay: close sub when socket is closed
|
2023-08-24 18:43:14 -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
|
45abaf14a4
|
pipeline: refactor, use pipeline from relay
|
2023-08-17 18:07:25 -05:00 |
|
Alex Gleason
|
299a1a0db0
|
Refactor some code that uses getFilters to import the whole module under a namespace
|
2023-08-17 15:41:27 -05:00 |
|
Alex Gleason
|
c15194020f
|
Delete event.ts, use nostr-tools types
|
2023-08-16 21:53:51 -05:00 |
|
Alex Gleason
|
4c8a685528
|
relay: allow local users to post to the relay
|
2023-08-12 15:24:33 -05:00 |
|
Alex Gleason
|
a35ea6ab5d
|
relay: restrict to local events unless the filter is already narrow
|
2023-08-12 15:14:43 -05:00 |
|
Alex Gleason
|
8e47c9dda2
|
relay: refactor into smaller functions
|
2023-08-12 15:07:07 -05:00 |
|
Alex Gleason
|
b2f538ed94
|
Relay: improve types, DRY
|
2023-08-12 14:41:07 -05:00 |
|
Alex Gleason
|
075da543b0
|
Make relay only return local events
|
2023-08-12 14:32:57 -05:00 |
|
Alex Gleason
|
3593d5420d
|
Relay: limit to 100 events per filter
|
2023-08-12 14:12:53 -05:00 |
|
Alex Gleason
|
808e8941b6
|
Relay: make REQ work (doesn't stream yet)
|
2023-08-12 13:40:21 -05:00 |
|
Alex Gleason
|
1f470ffe2d
|
Add nostr schema for parsing filters
|
2023-08-11 19:55:16 -05:00 |
|