Commit Graph

95 Commits

Author SHA1 Message Date
dbb0cd1c17 updates 2025-01-10 16:48:11 -05:00
ddb1a9124b updates 2025-01-10 16:48:11 -05:00
4975dbc2e2 paginated user comment screens 2025-01-10 16:48:11 -05:00
e987b8dcfc fix 2025-01-10 16:48:11 -05:00
27f9ddfc1f reduce voting spam 2025-01-10 16:48:11 -05:00
6130bdcc37 simplify caching 2025-01-10 16:48:11 -05:00
4115ce8ce7 wip 2025-01-10 16:48:11 -05:00
cb5d10ab58 wip 2025-01-10 16:48:11 -05:00
3c8dd172d8 wip 2025-01-10 16:48:11 -05:00
3bd84de964 wip 2025-01-10 16:48:11 -05:00
2b8ff15a36 wip 2025-01-10 16:48:11 -05:00
cd8a56b360 wip 2025-01-10 16:48:11 -05:00
6380ca2987 wip 2025-01-10 16:48:11 -05:00
f23ee39198 wip 2025-01-10 16:48:11 -05:00
66b26f2cb1 bring static files into regular build process 2025-01-10 16:48:11 -05:00
4c0ce3df0b web wip 2025-01-10 16:48:11 -05:00
c3b3789bc4 fixme 2025-01-10 16:38:36 -05:00
85a2b875a3 in router, ensure the configured timeout is installed for first connections 2025-01-10 16:35:24 -05:00
87a8922165 10x default maxReqFilterSize 2025-01-10 16:17:34 -05:00
54da4a7023 Merge pull request #131 from opslag/master
feat: Make relay URL available in plugin
2024-12-20 14:43:03 -05:00
7801680ae5 config: add maxReqFilterSize
Add a configurable option for expanding the number of allowed filters
in REQ.

The motivation here is to support queries of this nature:

["REQ", "last-note-from-each-user",
{ "authors": [ "a" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "b" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "c" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "d" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "e" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "f" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "g" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "h" ], "kinds": [ 1 ], "limit": 1 },
{ "authors": [ "i" ], "kinds": [ 1 ], "limit": 1 }
...
* 1000
]
2024-12-20 10:17:06 -08:00
9ba0626993 Update cmd_sync.cpp 2024-12-09 16:14:40 +01:00
bfcafb5eea Update cmd_stream.cpp 2024-12-09 16:14:14 +01:00
f10bdf9337 use negentropy error message format specified in NIP-77 2024-11-13 15:21:23 -05:00
421463cf4d show that relay.info.nips must be a string 2024-10-18 18:12:09 -04:00
29d7afe6c3 hack to workaround uWebsockets issue preventing parsing of some IPv6 addresses (reported by Petr Kracík) 2024-10-18 18:06:51 -04:00
4b16dc1aa7 some minor tweaks to the connection timeout, docs 2024-10-18 16:35:43 -04:00
dbca33cc99 Add timeout config for router. 2024-10-03 16:55:48 -07:00
08f06338f3 relay.info.nips config param: lets you override the supported NIPs list in NIP-11 responses and elsewhere
- requested by @ismyhc
2024-09-19 01:27:16 -04:00
4560490d36 detect and prevent an export of a v2 DB using --fried (it will be corrupted) 2024-09-14 10:10:59 -04:00
5a9397e823 advertise support for NIP-77: negentropy syncing 2024-09-13 00:06:22 -04:00
8f978426f4 NIP-20 was folded into NIP-01 2024-09-05 17:52:18 -04:00
169e633a08 Use Bytes32 instead of std::string where possible, to reduce memory usage 2024-09-05 15:12:40 -04:00
3358e5e0ff don't absolute qualify stdin (it's a macro) 2024-09-05 14:22:40 -04:00
4bb2a785d2 more work on error messages 2024-09-05 14:16:02 -04:00
271254f4b6 work on improving error messages 2024-09-05 01:03:28 -04:00
150ea1b887 include negentropy protocol version in NIP-11 and landing page 2024-09-04 23:31:25 -04:00
29a9d653e7 detect and ignore duplicates in negentropy sync 2024-09-04 23:12:00 -04:00
e181627842 support multiple concurrent negentropy trees 2024-09-04 23:12:00 -04:00
bcf765a0da --fried only currently supported on little-endian (will fix eventually) 2024-09-04 23:12:00 -04:00
a240f7adf9 remove feature: negentropy filters stored in events 2024-09-04 23:12:00 -04:00
9a7128e102 update for new DB layout 2024-09-04 23:12:00 -04:00
fc43a2260b update negentropy 2024-09-04 23:12:00 -04:00
d17a6aa9c8 remove old ephemeral event pruning method 2024-09-04 23:12:00 -04:00
fa5ae606c6 update negentropy 2024-09-04 23:12:00 -04:00
eb24824b53 upgrade negentropy 2024-09-04 23:12:00 -04:00
684d083c6b optimise import 2024-09-04 23:12:00 -04:00
2b10fea6e7 fried feature 2024-09-04 23:12:00 -04:00
47c26cc887 don't use flatbuffers for Event index table (make it opaque) 2024-09-04 23:12:00 -04:00
391f632b73 don't store receivedAt and source metadata 2024-09-04 23:12:00 -04:00