Commit Graph

1369 Commits

Author SHA1 Message Date
fiatjaf 71307ba4c1 mmm: expose AllFreeRanges() 2026-06-17 11:56:56 -03:00
fiatjaf 0f8843afac eventstore/mmm: defrag. 2026-06-16 09:44:58 -03:00
fiatjaf 0616b30ab3 blossom: set fasthttp to dial ipv6 addresses.
fixes https://github.com/fiatjaf/nak/issues/142
2026-06-15 08:29:43 -03:00
fiatjaf c4534c7160 nip5a: normalize http url. 2026-06-11 18:42:14 -03:00
fiatjaf bd9746b22b nip29: parent/child tag handling. 2026-06-11 17:14:23 -03:00
fiatjaf 12ec5cd2d9 go fmt some stuff. 2026-06-11 16:57:05 -03:00
fiatjaf 1e90b7f018 fix AuthRequiredHandler behavior. 2026-06-11 16:49:57 -03:00
fiatjaf 7bfb4828ce slow down penalty box progression and limit at 10min. 2026-06-07 22:46:19 -03:00
fiatjaf 245a47bc03 add a bunch of more kind constants. 2026-06-06 11:42:21 -03:00
fiatjaf d48b1f7c33 sdk: replace replaceables instead of saving. 2026-06-04 10:10:54 -03:00
fiatjaf 5a135f5b86 khatru/blossom: ListAllBlobs() and OwnersForBlob() 2026-06-03 18:38:21 -03:00
fiatjaf 395c960955 schema: default URL volatile. 2026-06-03 13:49:11 -03:00
fiatjaf 03e9b68f93 schema: expose Kind in kind schema struct, NewSchemaFromBytes() function. 2026-06-03 13:49:01 -03:00
fiatjaf b7dea9e06a schema: json serialization tags. 2026-06-03 11:39:30 -03:00
fiatjaf 015842e96d blossom: fasthttp dialer to respect proxy environment variables. 2026-06-02 19:33:26 -03:00
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