Commit Graph

1354 Commits

Author SHA1 Message Date
fiatjaf c639b10f9a schema: empty string is ok for non-required tag items. 2026-05-31 00:07:49 -03:00
fiatjaf 05237b3463 khatru: AllowDeleting hook (falls back to just checking direct authorship). 2026-05-26 22:57:12 -03:00
fiatjaf 8bc1d8ce7f don't fail with unknown fields on event. 2026-05-23 16:38:21 -03:00
fiatjaf 13813b502a nip46: another client fix in the magic guarding of successfulness. 2026-05-21 17:32:32 -03:00
fiatjaf bb562d76a7 nip46: ensure relayConnectionWorked channel is published to once. 2026-05-20 23:59:48 -03:00
fiatjaf c523fb0c8a nip46: client call to switch_relays must not wait forever (as it may be ignored). 2026-05-20 23:59:17 -03:00
fiatjaf 5d9b5916d2 nip29: address updates, generate naddr1 codes. 2026-05-20 11:47:55 -03:00
fiatjaf e11e32e3e2 khatru: handle request synchronously until EOSE, no need for waitgroups. 2026-05-19 20:46:14 -03:00
fiatjaf b70dd86e7c nip46: bunker client should wait for the initial EOSE before sending any requests. 2026-05-19 20:43:39 -03:00
fiatjaf e259db5881 nip46: request ids more debuggable. 2026-05-18 22:14:04 -03:00
fiatjaf d27cf276d1 blossom: hardcode common extension/mimetypes. 2026-05-17 13:49:24 -03:00
fiatjaf 8634f0f7d5 "nothing to delete" is not a real error. 2026-05-15 15:04:20 -03:00
fiatjaf b3cef7b425 eventstore: fix cli panic when no operations are performed. 2026-05-14 17:19:28 -03:00
fiatjaf 9911767e78 nip46: handle nostrconnect:// on dynamic signer. 2026-05-14 11:50:18 -03:00
fiatjaf 19fe80a8a7 pool: allow stopping the penalty box. 2026-05-13 16:48:18 -03:00
fiatjaf 67e008e8c7 sdk: fix wot race. 2026-05-12 17:54:12 -03:00
fiatjaf a4c590d923 eventstore/bleve: add a test moved from pyramid. 2026-05-08 20:41:57 -03:00
fiatjaf 03a55cc0b8 fix json encoding of naddr pointer with identifier. 2026-05-08 12:52:07 -03:00
fiatjaf a5aeff31d7 khatru: cancel existing subscription when a new one starts with the same id. 2026-05-04 19:26:24 -03:00
fiatjaf bf7998e780 khatru: OnListenerRemoved wasn't being called in the most common case of a connection dropped. 2026-05-04 13:13:02 -03:00
fiatjaf 61586d5d1b khatru: ForceSetAuthed() 2026-05-04 11:50:21 -03:00
fiatjaf c75bd45d13 Tags.Eq() 2026-05-04 11:50:21 -03:00
fiatjaf aafff41d40 mmm: rawread stats. 2026-05-03 13:48:19 -03:00
fiatjaf cbf335a8fa schema: dangling space is not a problem in content. 2026-05-03 13:47:23 -03:00
fiatjaf 05b426e67e khatru: add and remove listener hooks. 2026-04-29 19:32:47 -03:00
fiatjaf 744fb0702c relay.AssumeValid can be passed as an option, so it works from a Pool. 2026-04-23 22:16:47 -03:00
fiatjaf b899ef8865 faster signature verification by serializing directly into the sha with less allocations. 2026-04-23 22:16:46 -03:00
fiatjaf 696f377109 event verification benchmark. 2026-04-23 22:16:23 -03:00
fiatjaf e144b33fa2 khatru: use sync.Pool to minimize allocations of sets on dispatcher. 2026-04-23 20:14:18 -03:00
fiatjaf 42379e53a2 sdk: get rid of unused error returns in wot. 2026-04-23 08:25:55 -03:00
fiatjaf e2ad68d050 khatru: we haven't fixed the nil ws bug on dispatcher, but at least now we have more tests and an even more efficient architecture! 2026-04-22 23:16:43 -03:00
fiatjaf 223d95461f blossom/nsite tweaks. 2026-04-22 15:52:50 -03:00
fiatjaf 078ee94465 sdk: FetchBlossomServerList(). 2026-04-22 15:16:46 -03:00
fiatjaf a21ea55eaa nip5A: nsites. 2026-04-22 15:08:01 -03:00
fiatjaf 5b28d08e47 khatru: add tests and fix dispatcher. 2026-04-21 21:20:40 -03:00
fiatjaf 94ea432818 delete PoolOptions entirely (it should have been deleted earlier) and expose AuthRequiredHandler field. 2026-04-19 20:14:00 -03:00
fiatjaf 8200164174 don't print identifier in replaceable pointers when all is ok. 2026-04-18 15:02:58 -03:00
fiatjaf f50b7b0f8d khatru: list clients and client details. 2026-04-16 16:14:42 -03:00
fiatjaf 31473172a9 khatru: byAuthor and byKind as xsync maps. 2026-04-16 07:20:48 -03:00
fiatjaf d56bdba3ff khatru: WithServiceURL() subhandlers. 2026-04-15 21:19:03 -03:00
fiatjaf 7dc553f71b eventstore/bleve: when there is only one language we skip using the detector. 2026-04-14 21:38:43 -03:00
fiatjaf fbd4dddba3 eventstore/bleve: index some generic tags and references on all events. 2026-04-14 20:40:28 -03:00
fiatjaf c11e94a04b khatru: ReplaceEvent hook doesn't need the previous events. 2026-04-14 19:58:17 -03:00
fiatjaf 029f4eb0d8 pool: AddToPenaltyBox() manually. 2026-04-11 22:26:23 -03:00
fiatjaf cf734a3ac7 sdk: make a test compile without khatru's Start() 2026-04-11 22:26:05 -03:00
fiatjaf d92a0cde16 get rid of PoolOptions, just set fields on Pool directly. 2026-04-11 20:31:05 -03:00
fiatjaf 5944a3ead6 bleve is not a full eventstore.Store. 2026-04-11 20:27:12 -03:00
fiatjaf 3e35681cb9 Revert "relay: check for subscription limits and error."
This reverts commit 637412fd38.
2026-04-11 19:26:00 -03:00
fiatjaf 8515153df2 Revert "pool: open new connections whenever a subscription limit is reached, reuse multiple simultaneous relay connections."
This reverts commit 9bf9816c15.
2026-04-11 19:25:39 -03:00
fiatjaf 98fa53464e pool: proper filter scope in subMany() 2026-04-11 19:24:08 -03:00