Commit Graph

1228 Commits

Author SHA1 Message Date
fiatjaf
ca3730e508 nip19: decode "note1" as nevent. 2026-01-26 17:22:22 -03:00
fiatjaf
3ed3592e52 blossom: ensure quicktime-format videos get the extension ".mov", not ".moov". 2026-01-22 23:17:32 -03:00
fiatjaf
0cb0d1ccb0 unify usage and export nostr.IsOlder() helper. 2026-01-22 22:54:44 -03:00
fiatjaf
f1fdb0788a nip46: different ids for imagined/fake nostrconnect requests so they bypass the duplicate filter. 2026-01-22 18:56:41 -03:00
fiatjaf
241959d1e3 nip46: allow signers to prevent handling duplicate requests (happens sometimes when switching relays, depending on how stuff is done, it's harmless but still). 2026-01-21 22:46:16 -03:00
fiatjaf
061cf7f68f nip46: HandleNostrConnectURI() 2026-01-21 12:43:30 -03:00
fiatjaf
de4eff64d1 nip46: switch_relays on the client side. 2026-01-20 20:45:07 -03:00
fiatjaf
10318a3443 nip46: implement switch_relays on the signer side. 2026-01-20 20:34:12 -03:00
fiatjaf
db61f42b56 nip46: nostrconnect:// preliminary support (client-side). 2026-01-20 17:49:01 -03:00
fiatjaf
ce7d165c9d mmm: eliminate annoying log line. 2026-01-19 22:33:35 -03:00
fiatjaf
57cef15054 nip29: fix created_at for roles event. 2026-01-19 10:21:26 -03:00
fiatjaf
461568e44b nip29: fix updating LastAdminsUpdate and LastMembersUpdate. 2026-01-19 09:51:15 -03:00
fiatjaf
31af06f4c7 nip29: add .MergeInRolesEvent() 2026-01-18 22:07:08 -03:00
fiatjaf
459a10294f eventstore: a COUNT test and fix many bugs. 2026-01-18 21:31:12 -03:00
fiatjaf
b559828c72 mmm: read-only mode. 2026-01-18 18:02:07 -03:00
fiatjaf
df64c5b6ec eventstore/cmd: fix mmm deinitialization. 2026-01-18 17:44:03 -03:00
fiatjaf
fd2828ce94 nipb0/blossom: tests. 2026-01-18 14:51:38 -03:00
fiatjaf
57d595a5b4 nipb0/blossom: mirror. 2026-01-18 14:30:02 -03:00
fiatjaf
bcf973f997 khatru: update search cookbook in docs. 2026-01-16 18:56:41 -03:00
fiatjaf
bd55c22768 khatru/blossom: ensure we don't get tricked by Content-Length. 2026-01-16 08:13:14 -03:00
fiatjaf
8b9e2ea951 khatru/blossom: fix yield exiting on eventstorewrapper. 2026-01-16 07:20:57 -03:00
fiatjaf
78f6509882 mmm: fix infinite loop on COUNT. 2026-01-15 16:14:29 -03:00
fiatjaf
9a351b3531 filter tags map should be nil when there are no tags. 2026-01-14 17:17:11 -03:00
fiatjaf
449db37bb5 nip86: fix kind type. 2026-01-14 00:53:05 -03:00
fiatjaf
39c55cd938 do pubkey parsing and signature parsing directly in VerifySignature for brevity instead of calling up to tons of unnecessary upstream libraries. 2026-01-13 15:13:42 -03:00
fiatjaf
8af7042f95 reword readme a little bit. 2026-01-13 13:17:07 -03:00
fiatjaf
455d7fcefe khatru: maybe fix links on readme. 2026-01-13 07:49:45 -03:00
fiatjaf
348de7bb06 khatru/blossom: fix an error message. 2026-01-13 00:23:44 -03:00
fiatjaf
b9f1f93561 khatru/blossom: get rid of custom BlobDescriptor with useless Owner field. 2026-01-13 00:03:53 -03:00
fiatjaf
14acd4b740 blossom: GetExtension() 2026-01-12 15:46:01 -03:00
fiatjaf
5efcbbfddb relay options passed to pool should take the relay sometimes. 2026-01-11 17:47:32 -03:00
fiatjaf
a5e52684e8 use encoding/hex in some places where xhex is more dangerous. 2026-01-10 09:55:15 -03:00
fiatjaf
24f89293d9 schema: rename nextSpec to ContentSpec. 2026-01-10 00:01:17 -03:00
fiatjaf
0d2dbb13ac schema: support "multiple" tag. 2026-01-09 22:36:06 -03:00
fiatjaf
428cf33bc1 nip49: fix decryption error handling. 2026-01-09 22:35:53 -03:00
fiatjaf
cf95381d41 nip29: fix validation of deletion moderation event. 2026-01-09 22:35:31 -03:00
fiatjaf
3335c29389 relay: auth handler; pool: rename auth handler. 2026-01-08 18:54:19 -03:00
fiatjaf
416e11b868 khatru: support path in getBaseURL(). 2026-01-02 07:25:46 -03:00
fiatjaf
f47b77272b khatru: serve relay only from the path specified in ServiceURL. 2025-12-30 23:58:33 -03:00
fiatjaf
e52ffa631b fix bunker nip44 decrypt typo (was calling encrypt). 2025-12-30 15:19:13 -03:00
fiatjaf
9f6143143b grasp: allowFilter. 2025-12-29 19:50:25 -03:00
fiatjaf
099569ea4f String() method for DirectedFilter. 2025-12-21 23:58:42 -03:00
fiatjaf
dbd8f47674 lmdb: make serial() used from multiple processes. 2025-12-21 22:20:54 -03:00
fiatjaf
99197d8321 sdk: automatically store replaceable events since we already check the local store for them. 2025-12-21 22:14:59 -03:00
fiatjaf
dd6d3c68fb nip05: be tolerant with invalid pubkeys in well-known response (skip them). 2025-12-21 19:53:24 -03:00
fiatjaf
daee8575d9 filter.GetTheoreticalLimit() to encompass the actual limit specified in the filter. 2025-12-19 06:52:46 -03:00
fiatjaf
14dcc01f8f eventstore: SortedMerge() takes a limit and is simpler (should be faster) for small limits. 2025-12-19 06:40:22 -03:00
fiatjaf
c6bd1ee446 khatru: fix bbolt halting problem by deleting outside of the loop that fetches events to be deleted.
fixes nostr:nevent1qvzqqqqx25pzq2f38nys0gq4hs5k4l4s426689psdk7d52kzjk9s0ypne2nt7927qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyphrdv7jerr3f5mtlpcl7j7dg26ecxj9vrd5pyf0jknkqmp5qyyj28gxd3q
2025-12-19 00:23:21 -03:00
fiatjaf
78d8f36e2d mmm: better ComputeStats() 2025-12-18 13:26:09 -03:00
fiatjaf
97424e363a allow using a custom http client.
fixes nostr:nevent1qvzqqqqx25pzqm8ksn7p6aak225sed38vlzngtuwl50tf0e8ahzuzkhpmuahzgzdqyd8wumn8ghj7cmpvd5x2v3wwpexjmtpdshxuet59amrzqg4waehxw309aex2mrp0yhxgctdw4eju6t09uqzq8r9r4par63whq6px0af5uxtkkx0psydtamq6rdcva248l27l2szensns3
2025-12-18 12:03:42 -03:00