Commit Graph

28 Commits

Author SHA1 Message Date
562c7f7225 oopsy back to the actual current repo domain name 2025-04-26 06:40:00 -01:06
4ba89ef85b create concurrent safe methods/interface for ACL system 2025-04-22 18:31:26 -01:06
399e166927 flatten relay interface 2025-04-22 17:54:09 -01:06
882584d981 fully pop the HTTP API into its own package 2025-04-11 07:00:44 -01:06
ff4df430d9 migrating to realy.mleku.dev
can't extend realy.lol beyond september 2026, wtf
2025-04-10 12:32:52 -01:06
9a56f78808 document and clean up the websockets libraries
turned out a whole type was not in use, and useless
2025-04-09 11:50:56 -01:06
d4da08e402 top level docs for all the things now done 2025-03-30 03:44:17 -01:06
b2b5f62a3c remove ratelimiter 2025-03-20 15:31:11 -01:06
06d53d69ff starting with the new http api, openapi spec and generated code and notes 2025-03-14 20:29:57 -01:06
b417513dee now can submit new event via JWT Bearer auth 2025-03-11 13:59:52 -01:06
f5ce319932 filter privileged kinds out of filters when public readable but not authed 2025-03-01 13:59:16 -01:06
f29e165c6f expand router to branch on Accept encoding key, properly show restricted writes with owners set 2025-02-23 15:04:39 -01:06
997fe27fe9 revising aliases relay, relayinfo 2025-02-08 16:49:24 -01:06
13a90e0005 public readable enabled, rate limiter disabled for direct owner follows 2025-01-24 17:48:23 -01:06
7b90dc8544 big set of fixes to pass github.com/mikedilger/relay-tester
doesn't seem to pass a last two tests:

Rejects submission of event before address is deleted: UNTESTED (blocked: not replacing newer parameterized replaceable event)
Accepts submission of event after address is deleted: FAIL (blocked: not replacing newer parameterized replaceable event)

but this may be because it tombstones deleted events and is rejecting resubmission of an older version that was thus deleted, so i'm calling it done
2025-01-23 10:23:02 -01:06
e49cf89689 refactor aliases to not be experted 2024-12-01 22:51:44 +00:00
311f5dc619 fix scheduling of access list to update immediately after saving updated lists 2024-11-29 18:16:44 +00:00
c8dfe128ee fixes for delete handling
closes #3
2024-11-27 12:59:49 +00:00
d98dd64b4e accept filters requesting directory kinds w/o auth 2024-11-21 08:18:19 +00:00
ce8f4add85 fix maxlimit to appear in nip-11 and be properly enforced
add flatten flag for store so it flattens on request at shutdown if an import has taken place

import runs GC every 10000 events to limit fragmentation of tables

implement a specific count function that only decodes the event if there is an extra filter (which should be the minority of cases)

change search to use maps for indexes to automatically deduplicate in case of multiple queries matching the same field

improve logging to show origins of request/events in relay accept req/event

count now returns an aproximate flag for the case of extrafilters finding replaceable events
2024-10-29 09:52:03 +00:00
3e7f4b2262 add env print, fix some log prints for saving 2024-10-04 19:22:54 +01:00
3c95d4db3b fixed loads of things, auth, event ack, some tidier log messages 2024-09-29 13:04:22 +01:00
9977bb1cb8 create simple, bulletproof configuration scheme based on go-simpler/env
enables use of .env file and pre-specifying custom path to search for that and override
2024-09-22 23:26:27 +01:00
f443d58fd7 massive refactor moving things around to have better names and be more clear 2024-09-22 16:35:21 +01:00
896c602a13 move relayinfo handling to realy codec, implement auth 2024-09-17 08:56:27 +01:00
c3f455dcbd fix eose not sending and sort events reverse chronological 2024-09-16 20:38:48 +01:00
1983aaa549 changing to new domain 2024-09-16 19:21:34 +01:00
ef54f43122 woikos 2024-09-16 19:00:32 +01:00