Commit Graph

564 Commits

Author SHA1 Message Date
0372fa3977 Document the filters 2025-04-03 13:58:36 -01:06
0fd717e293 document filter, add unix timestamp for json...
and add a package that allows type-specific nil detection on many common base types
2025-04-03 13:51:39 -01:06
dea9f1e61e switch order of ok and auth envelopes to fix bug with jumble v1.13.5 2025-04-03 13:02:02 -01:06
9ac2c3f2b6 fix body (remove) on configuration get v1.13.4 2025-04-03 12:45:48 -01:06
b304407ef1 update readme to describe new HTTP API
some small fixes to API to make it more standard
v1.13.3
2025-04-03 12:09:15 -01:06
eecbef3925 fixed missing return in URL prefix check v1.13.2 2025-04-02 19:54:43 -01:06
05354851aa fix unit file to always restart 2025-04-02 19:39:20 -01:06
17675c8390 properly remove the JWT v1.13.1 2025-04-02 19:31:03 -01:06
b95dce2cef add expiration http auth, remove jwt v1.13.0 2025-04-02 19:22:40 -01:06
53557bdcdc properly reject requests with an error status v1.12.2 2025-04-02 17:46:07 -01:06
e347698da7 fix bug of zero tolerance for nip-98 timestamp v1.12.1 2025-04-02 15:28:11 -01:06
d359e672a1 live configuration of IP blocklist v1.12.0 2025-04-02 15:12:52 -01:06
6d17419801 Merge remote-tracking branch 'origin/dev' into dev 2025-03-31 13:43:36 -01:06
ac63f8f33b add socket disconnect method to http 2025-03-31 13:42:43 -01:06
d4b7ca5132 complete doc comments for eventid 2025-03-30 19:16:39 -01:06
41f613da2d clean up some names and complete doc comments for event 2025-03-30 13:23:22 -01:06
93e09b1592 all doc comments for envelopes 2025-03-30 08:25:32 -01:06
bfbe357756 add full doc comments to encryption and authenvelope 2025-03-30 05:29:25 -01:06
5653a2894b refactor bech32encoding tlv to use reader/writer
better because the reader now has the same kind of interface and no stupid cursor tracking bullshit to worry about
2025-03-30 04:57:19 -01:06
d4da08e402 top level docs for all the things now done 2025-03-30 03:44:17 -01:06
b3176758ab top level docs for lots of things 2025-03-29 19:22:12 -01:06
0fbab5527f top level docs for event, eventid and filter packages 2025-03-29 18:52:59 -01:06
d327a09161 docs for ec, encryption and envelopes 2025-03-29 18:38:37 -01:06
7463432ff2 docs for codec, config and dns 2025-03-29 18:05:24 -01:06
4f078e0ce3 documentation comments for all the commands and bech32 pointers 2025-03-29 14:10:25 -01:06
385ec2aa27 documentation comments for apputil, auth and bech32encoding
also removed relay.damus.io which is a dumpster fire of spammers and trolls
2025-03-29 13:48:09 -01:06
dc86c9b297 working http SSE subscribe
and fixed non-authed public readable subscriptions
v1.11.0
2025-03-29 09:11:31 -01:06
f890bb71e0 vendoring v1.10.4-vendor 2025-03-28 14:31:18 -01:06
0fd5369789 switch to scalar docs v1.10.4 2025-03-28 08:33:06 -01:06
01e3b11a6f fully working filter and events
now uses jsonl and streams results to the response writer
v1.10.3
2025-03-26 17:06:49 -01:06
05635abd54 implement export using StreamResponse, add reverse conversion for event.J 2025-03-26 14:37:05 -01:06
5453648e27 put sane limits on events (1000 w/o auth, 10k with) and reject filters with no authors/kinds/tags v1.10.2 2025-03-25 09:58:25 -01:06
6d6b6496a2 fixed event/filter/events endpoints, so they follow the access rules v1.10.1 2025-03-25 07:52:33 -01:06
c69e322e50 full basic http protocol and admin tools
might be bugs in here but also some bugs have definitely been removed such as a problem with accepting events published by a different user such as happens with giftwraps
v1.10.0
2025-03-25 07:33:25 -01:06
758860762e full basic http protocol and admin tools
might be bugs in here but also some bugs have definitely been removed such as a problem with accepting events published by a different user such as happens with giftwraps
2025-03-25 07:26:35 -01:06
4fb70e2031 filter request working 2025-03-24 21:03:16 -01:06
cba3b3c28d added rescan method to update indexes 2025-03-23 19:01:15 -01:06
d022023a4c add json version of compact encoding with raw base64 url signature 2025-03-23 08:54:42 -01:06
40a4dd2930 improve metadata 2025-03-22 15:04:02 -01:06
a7711e9309 fixed lock inside locked path 2025-03-22 10:31:37 -01:06
d5842ff2b8 import working 2025-03-22 10:30:09 -01:06
06e343a7e7 export working 2025-03-22 10:29:54 -01:06
d37cf59a4e working jwt token with expiry on event upload 2025-03-21 14:49:51 -01:06
353d53270c add common style json tagged event struct 2025-03-21 09:13:30 -01:06
6bcd565486 add common style json tagged event struct 2025-03-21 09:13:00 -01:06
b2b5f62a3c remove ratelimiter 2025-03-20 15:31:11 -01:06
5cadd5abd6 switch over handlers to stdlib style 2025-03-15 09:33:49 -01:06
06d53d69ff starting with the new http api, openapi spec and generated code and notes 2025-03-14 20:29:57 -01:06
7389d58e7e add nuke method, integrate counter index, add full-id index
it is now simple to upgrade to the new version, export the db, then nuke, and import again and voila, all indexes now are generated
v1.9.12
2025-03-12 17:44:17 -01:06
5ac0b58711 new simple filter subtype 2025-03-11 17:19:23 -01:06