29 Commits

Author SHA1 Message Date
bbebbe2b02 Add tracing with lol.Tracer in multiple functions.
Introduced `lol.Tracer` for function entry/exit logging across various packages. This improves traceability and debugging of function executions while preserving existing behavior. Removed unused files `doc.go` and `nothing.go` to clean up the repository.
2025-06-29 07:32:24 +01:00
4d4505ffd6 fixed fulltext/langs indexing to run on save and rescan 2025-05-14 09:43:20 -01:06
80162bea84 refactor index rescan and add fulltext and lang indexes 2025-05-13 19:38:00 -01:06
a16e621ed5 add fast streaming binary codec to database and BINARY env to enable 2025-04-27 10:03:44 -01:06
562c7f7225 oopsy back to the actual current repo domain name 2025-04-26 06:40:00 -01:06
0f3940bec3 remove db compression, l2 and compact 2025-04-25 19:50:12 -01:06
fdbf26b7ae backported new configuration system 2025-04-23 06:29:46 -01:06
fda2f638fb refactor logger so things can actually be moved around easily 2025-04-22 13:14:34 -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
bf712d3216 refactor, clean up, and document subscription and tag 2025-04-08 09:56:10 -01:06
736c1276f4 fix the max limit of requests
was doing much more iterations finding serials than it should have been, this should improve performance a lot (and response processing time)
2025-04-06 05:44:55 -01:06
fe74a31c5a document ratel, remove count
count is just stupid, and nobody uses it anyway. for now just commented out but eventually it should be cleared out
2025-04-06 04:59:47 -01:06
41f613da2d clean up some names and complete doc comments for event 2025-03-30 13:23:22 -01:06
d4da08e402 top level docs for all the things now done 2025-03-30 03:44:17 -01:06
501cb33fad revising aliases ratel 2025-02-08 16:34:47 -01:06
51d59d609e move prefixes where we meant them to be 2024-12-15 08:40:30 +00:00
e8dc7e6482 separate indexes and ratel's index key spec 2024-12-15 08:35:03 +00:00
4d8c83493f add compact database encoding and compression options 2024-12-09 09:58:41 +00:00
e49cf89689 refactor aliases to not be experted 2024-12-01 22:51:44 +00:00
6d7f8e7dd5 switch admin to use http basic auth for security 2024-11-29 08:32:48 +00:00
c8dfe128ee fixes for delete handling
closes #3
2024-11-27 12:59:49 +00:00
6320427837 tidy up ratel main file imports 2024-11-20 15:51:59 +00:00
a88176e9e6 GC fully checked and working 2024-11-17 13:33:34 +00:00
3ee52a57b4 export now pulls author and p tag matches with sub-path 2024-11-02 11:13:31 +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
ddfe41d864 fix zero maxlimit for non-limit specifying filters 2024-10-27 17:28:35 +00: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
1983aaa549 changing to new domain 2024-09-16 19:21:34 +01:00
ef54f43122 woikos 2024-09-16 19:00:32 +01:00