Commit graph

31 commits

Author SHA1 Message Date
Tony Klink d06206bb24
Finished NIP42 implementation 2024-02-13 09:53:41 -06:00
Tony Klink f7b74bd22c
Implemented feature:
- NIP-42 Can be enabled in nix module or as environment variable 'CONFIG_ENABLE_AUTH'
 - NIP-05 Still WIP, but building up slowly
2024-02-08 19:19:03 -06:00
Tony Klink 377da44eed
Add support for querying NIP-05 on /.well-known/nostr.json?name=username 2024-01-30 11:43:03 -06:00
Tony Klink 645d125077
Use real config for RID NIP-11 2024-01-28 22:53:29 -06:00
Tony Klink bf08ac12e0
Implement NIP-40 (event expiration) 2024-01-28 21:22:45 -06:00
Tony Klink 255905021c
Implement checking for deleted coordinate 2024-01-28 20:44:30 -06:00
Tony Klink 8c6c1a8385
Fix multitag issue 2024-01-26 17:44:49 -06:00
Tony Klink 1a03719473
Handle admin deletions 2024-01-26 15:53:19 -06:00
Tony Klink d15bf891db
Fix Order and Filters 2024-01-26 14:17:14 -06:00
Tony Klink ab9fe76494
Format files 2024-01-26 14:15:53 -06:00
Tony Klink ecb49bf88a
Send EOSE as the last relay message 2024-01-25 22:09:46 -06:00
Tony Klink 2c787998c2
Disable ORDER for now 2024-01-25 22:00:15 -06:00
Tony Klink 0e8047c948
Remove unused table 2024-01-25 21:24:48 -06:00
Tony Klink 9f29f6cd07
Use db-path from Config 2024-01-25 21:13:55 -06:00
Tony Klink f24918f1e4
Update config
Now supports NIP-45
2024-01-25 20:49:30 -06:00
Tony Klink 5b7d0b7938
Rework sqlite db to implement nostr_database trait 2024-01-25 20:43:46 -06:00
Tony Klink 0bbce25d39
Add pubkey ban support
Temporary use nostr-db as a db backend due to breaking API change
    in the library
2024-01-23 10:30:47 -06:00
Tony Klink a178cdee05
Add test for admin deleted events 2024-01-20 23:38:01 -06:00
Tony Klink 025ba52a81
Admin pubkey now can delete any event 2024-01-18 19:29:59 -06:00
Tony Klink 5b2726e66d
Update relay config info; use http3 in nginx 2024-01-15 21:38:01 -06:00
Tony Klink 5137ffa34f
First iteration on NIP-11 2024-01-15 17:58:27 -06:00
Tony Klink b63d7a4c53
Make it work 2024-01-15 16:39:55 -06:00
Tony Klink 5836ecc35e
Use only forwarded client IP 2024-01-15 16:12:22 -06:00
Tony Klink 17932c8d7f
Hopefully log proxied client ip address 2024-01-15 13:26:03 -06:00
Tony Klink ec0b068388
Return ["CLOSED"] on failing subscriptions 2024-01-15 09:33:11 -06:00
Tony Klink 6a94abbc10
Ignore old events 2024-01-13 22:40:54 -06:00
Tony Klink 93eaa61e1e
Handle errors on insert to 'events' 'eventsFTS' 'tags' 2024-01-13 20:44:27 -06:00
Tony Klink 292010b830
Run migrations if new db was created 2024-01-12 16:27:10 -06:00
Tony Klink e9fcc71382
Update listen ports 2024-01-12 16:19:31 -06:00
Tony Klink 488fa685d3
Use env variable DATABASE_URL for sqlite 2024-01-12 14:14:53 -06:00
Tony Klink 9fe412be11
Initial commit 2024-01-12 09:35:31 -06:00