Commit Graph

  • 43de47addb Switch supported_nips to strings master pr/supported-strings Jon Staab 2026-02-09 14:40:37 -08:00
  • e17995d427 authHandler bugfix from ben at nostr:nevent1qqsy9nka36av9ukvkyq42626t7gkyu4rdkgsu0c785kprup3a2694ngkkwvrk fiatjaf 2026-02-01 16:52:53 -03:00
  • d87066c9b9 sdk: eliminate all the data races go was complaining about. fiatjaf 2026-01-27 23:25:34 -03:00
  • ca3730e508 nip19: decode "note1" as nevent. fiatjaf 2026-01-26 17:22:22 -03:00
  • 3ed3592e52 blossom: ensure quicktime-format videos get the extension ".mov", not ".moov". fiatjaf 2026-01-22 23:17:32 -03:00
  • 0cb0d1ccb0 unify usage and export nostr.IsOlder() helper. fiatjaf 2026-01-22 22:54:44 -03:00
  • f1fdb0788a nip46: different ids for imagined/fake nostrconnect requests so they bypass the duplicate filter. fiatjaf 2026-01-22 18:56:41 -03:00
  • 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). fiatjaf 2026-01-21 22:46:16 -03:00
  • 061cf7f68f nip46: HandleNostrConnectURI() fiatjaf 2026-01-21 12:43:30 -03:00
  • de4eff64d1 nip46: switch_relays on the client side. fiatjaf 2026-01-20 20:45:07 -03:00
  • 10318a3443 nip46: implement switch_relays on the signer side. fiatjaf 2026-01-20 20:34:12 -03:00
  • db61f42b56 nip46: nostrconnect:// preliminary support (client-side). fiatjaf 2026-01-20 17:49:01 -03:00
  • ce7d165c9d mmm: eliminate annoying log line. fiatjaf 2026-01-19 22:33:35 -03:00
  • 57cef15054 nip29: fix created_at for roles event. fiatjaf 2026-01-19 10:21:26 -03:00
  • 461568e44b nip29: fix updating LastAdminsUpdate and LastMembersUpdate. fiatjaf 2026-01-19 09:51:15 -03:00
  • 31af06f4c7 nip29: add .MergeInRolesEvent() fiatjaf 2026-01-18 22:07:08 -03:00
  • 459a10294f eventstore: a COUNT test and fix many bugs. fiatjaf 2026-01-18 21:31:12 -03:00
  • b559828c72 mmm: read-only mode. fiatjaf 2026-01-18 17:56:59 -03:00
  • df64c5b6ec eventstore/cmd: fix mmm deinitialization. fiatjaf 2026-01-18 17:44:03 -03:00
  • fd2828ce94 nipb0/blossom: tests. fiatjaf 2026-01-18 14:51:38 -03:00
  • 57d595a5b4 nipb0/blossom: mirror. fiatjaf 2026-01-18 14:30:02 -03:00
  • bcf973f997 khatru: update search cookbook in docs. fiatjaf 2026-01-16 18:56:41 -03:00
  • bd55c22768 khatru/blossom: ensure we don't get tricked by Content-Length. fiatjaf 2026-01-16 08:12:30 -03:00
  • 8b9e2ea951 khatru/blossom: fix yield exiting on eventstorewrapper. fiatjaf 2026-01-16 07:20:57 -03:00
  • 78f6509882 mmm: fix infinite loop on COUNT. fiatjaf 2026-01-15 16:14:29 -03:00
  • 9a351b3531 filter tags map should be nil when there are no tags. fiatjaf 2026-01-14 17:17:11 -03:00
  • 449db37bb5 nip86: fix kind type. fiatjaf 2026-01-14 00:53:05 -03:00
  • 39c55cd938 do pubkey parsing and signature parsing directly in VerifySignature for brevity instead of calling up to tons of unnecessary upstream libraries. fiatjaf 2026-01-13 14:50:02 -03:00
  • 8af7042f95 reword readme a little bit. fiatjaf 2026-01-13 13:17:07 -03:00
  • 455d7fcefe khatru: maybe fix links on readme. fiatjaf 2026-01-13 07:22:17 -03:00
  • 348de7bb06 khatru/blossom: fix an error message. fiatjaf 2026-01-13 00:23:44 -03:00
  • b9f1f93561 khatru/blossom: get rid of custom BlobDescriptor with useless Owner field. fiatjaf 2026-01-13 00:03:49 -03:00
  • 14acd4b740 blossom: GetExtension() fiatjaf 2026-01-12 15:45:53 -03:00
  • 5efcbbfddb relay options passed to pool should take the relay sometimes. fiatjaf 2026-01-11 17:47:32 -03:00
  • a5e52684e8 use encoding/hex in some places where xhex is more dangerous. fiatjaf 2026-01-10 09:55:15 -03:00
  • 24f89293d9 schema: rename nextSpec to ContentSpec. fiatjaf 2026-01-10 00:01:17 -03:00
  • 0d2dbb13ac schema: support "multiple" tag. fiatjaf 2026-01-09 22:36:06 -03:00
  • 428cf33bc1 nip49: fix decryption error handling. fiatjaf 2026-01-09 22:35:53 -03:00
  • cf95381d41 nip29: fix validation of deletion moderation event. fiatjaf 2026-01-09 22:35:31 -03:00
  • 3335c29389 relay: auth handler; pool: rename auth handler. fiatjaf 2026-01-08 18:54:19 -03:00
  • 416e11b868 khatru: support path in getBaseURL(). fiatjaf 2026-01-02 07:25:46 -03:00
  • f47b77272b khatru: serve relay only from the path specified in ServiceURL. fiatjaf 2025-12-30 23:58:33 -03:00
  • e52ffa631b fix bunker nip44 decrypt typo (was calling encrypt). fiatjaf 2025-12-30 15:19:13 -03:00
  • 9f6143143b grasp: allowFilter. fiatjaf 2025-12-29 19:50:25 -03:00
  • 099569ea4f String() method for DirectedFilter. fiatjaf 2025-12-21 23:58:42 -03:00
  • dbd8f47674 lmdb: make serial() used from multiple processes. fiatjaf 2025-12-21 22:20:54 -03:00
  • 99197d8321 sdk: automatically store replaceable events since we already check the local store for them. fiatjaf 2025-12-21 22:14:59 -03:00
  • dd6d3c68fb nip05: be tolerant with invalid pubkeys in well-known response (skip them). fiatjaf 2025-12-21 19:53:24 -03:00
  • daee8575d9 filter.GetTheoreticalLimit() to encompass the actual limit specified in the filter. fiatjaf 2025-12-19 06:52:46 -03:00
  • 14dcc01f8f eventstore: SortedMerge() takes a limit and is simpler (should be faster) for small limits. fiatjaf 2025-12-19 06:40:22 -03:00
  • c6bd1ee446 khatru: fix bbolt halting problem by deleting outside of the loop that fetches events to be deleted. fiatjaf 2025-12-19 00:23:16 -03:00
  • 78d8f36e2d mmm: better ComputeStats() fiatjaf 2025-12-18 12:44:17 -03:00
  • 97424e363a allow using a custom http client. fiatjaf 2025-12-18 12:01:30 -03:00
  • 4d7f7ce25d mmm: stats return real pubkeys, not only prefixes. fiatjaf 2025-12-17 22:27:08 -03:00
  • bdef5ac224 khatru: fix possible race condition with authed keys. fiatjaf 2025-12-16 13:21:53 -03:00
  • 880b253d12 eventstore/mmm: stats. fiatjaf 2025-12-15 12:36:35 -03:00
  • 1176d12b0a nip05: use typed pubkeys. fiatjaf 2025-12-14 09:18:18 -03:00
  • 658a40e16c grasp: remove superfluous status code. fiatjaf 2025-12-12 21:24:48 -03:00
  • 7aa5da3897 nip29: support setting "restricted" and "hidden" via edit-metadata. fiatjaf 2025-12-12 14:12:03 -03:00
  • 34a509c9d7 grasp: pass request context to repoExists(). fiatjaf 2025-12-06 03:50:01 -03:00
  • 0706140491 add more *NotifyClosed variants. fiatjaf 2025-12-04 09:22:54 -03:00
  • d5dc3abaf2 SubscribeManyNotifyClosed() fiatjaf 2025-12-04 08:51:34 -03:00
  • eb2be4efe1 schema: fix parsing yaml as json, typo. fiatjaf 2025-12-03 21:56:00 -03:00
  • b323ca1b73 khatru: expose GetAllAuthed() safe helper. fiatjaf 2025-12-03 19:31:23 -03:00
  • 0e76c95cba khatru: increase max tokens on default strict policy. fiatjaf 2025-12-03 16:13:54 -03:00
  • 2502299e9c schema: expose InUse and Description. fiatjaf 2025-12-03 15:49:04 -03:00
  • 427e393460 schema: fetchSchemaFromURL returns a parsed schema. fiatjaf 2025-12-03 11:43:16 -03:00
  • 836a0f9842 grasp: remove apparently useless usage of syscall.SysProcAttr as it breaks windows builds. fiatjaf 2025-12-01 21:22:26 -03:00
  • 91548fa0a1 khatru: set max negentropy limit to 20x the default max limit. fiatjaf 2025-12-01 20:28:30 -03:00
  • b15ad71282 khatru: negentropy sessions take longer to close. fiatjaf 2025-12-01 18:28:02 -03:00
  • 668d6fc956 nip77: remove third-party syncing from last commit and expose stuff so it can be implemented elsewhere (nak) directly. fiatjaf 2025-12-01 18:08:55 -03:00
  • 15dc5b11aa nip77: third-party negentropy syncing hack. fiatjaf 2025-12-01 16:38:24 -03:00
  • fb1603e062 grasp: repository path uses the pubkey now. fiatjaf 2025-12-01 10:03:01 -03:00
  • 020e4a8f56 grasp: spread stuff into multiple files. fiatjaf 2025-12-01 09:42:34 -03:00
  • 4b8fc31c23 grasp: return empty info-refs on both push and pull when repository wasn't created yet. fiatjaf 2025-11-30 22:40:47 -03:00
  • e00f6dbc26 fix publisher test. fiatjaf 2025-11-30 22:11:59 -03:00
  • fb3b14c69c eventstore: skip replacing when it's the exact same id. fiatjaf 2025-11-30 22:11:49 -03:00
  • a355f27adb schema: timestamp type instead of numeric. fiatjaf 2025-11-30 20:50:46 -03:00
  • 7261a4b515 sdk: fix InputToProfile() to support nip05 again. fiatjaf 2025-11-26 09:04:47 -03:00
  • 44130595c6 update to go1.25 because of our usage of waitgroup.Go fiatjaf 2025-11-26 07:12:25 -03:00
  • 6367bd71d4 nip11: add "supported_grasps" special field. fiatjaf 2025-11-25 06:55:15 -03:00
  • 4df9ffa4c8 nip54: test against all the djot syntax examples from their guide. fiatjaf 2025-11-25 08:33:39 -03:00
  • de54dd1fa4 nip54: bring back normalization test. fiatjaf 2025-11-23 21:28:42 -03:00
  • 45f45fafaa nip54: djot parser. fiatjaf 2025-11-23 18:34:31 -03:00
  • bb5413c0ed nip34: repository equals. fiatjaf 2025-11-23 17:52:39 -03:00
  • ff5655ac55 schema: tests passing. fiatjaf 2025-11-23 14:11:37 -03:00
  • 18887727d1 schema: hardcode handle "d" tag automatically. fiatjaf 2025-11-23 13:41:16 -03:00
  • e4babdd2bf schema: handle required tags. fiatjaf 2025-11-23 13:26:55 -03:00
  • 75e0b77d54 schema: use the same validators on content. fiatjaf 2025-11-23 13:20:23 -03:00
  • 0b239c9fe0 schema: support generic tags. fiatjaf 2025-11-23 13:03:16 -03:00
  • b9c9528fa5 schema: pluggable validators (with defaults) and checking whether some are missing. fiatjaf 2025-11-23 12:51:08 -03:00
  • b820569d93 schema: refactoring and making it usable and flexible. fiatjaf 2025-11-23 11:27:17 -03:00
  • 8458e26291 nip10: fix parsing when the reply is an "a". fix and test nip10. fiatjaf 2025-11-23 06:46:51 -03:00
  • 1284f91629 nip11: fix test because no.str.cr is offline again. fiatjaf 2025-11-22 10:27:07 -03:00
  • 8161bd9ad1 mmm: create directory before creating the lockfile. fiatjaf 2025-11-22 10:24:58 -03:00
  • 98959e73e7 eventstore: replace bluge with bleve. fiatjaf 2025-11-22 09:16:40 -03:00
  • 8aa9c7e945 fix go version at 1.24. fiatjaf 2025-11-21 21:57:22 -03:00
  • 55a43e46b7 use xhex everywhere. fiatjaf 2025-11-21 21:16:34 -03:00
  • 61b9717c5c nip77: fix loading events from targetSource into vector. fiatjaf 2025-11-21 20:01:22 -03:00
  • fd8c271dc4 nip77: only fetch ids after sync if there are ids to fetch. fiatjaf 2025-11-21 19:01:52 -03:00