Commit Graph

  • 9f99b9827a add notice about the new library. master fiatjaf 2025-09-22 16:55:26 -03:00
  • 8d5fc324f7 fix(deleting): handle relay URLs with port numbers using SplitN v0.19.1 clark 2025-09-22 23:08:33 +08:00
  • 668c41b988 fix(blossom): handle nil BlobDescriptor in Get and Delete v0.19.0 Anthony Accioly 2025-08-07 02:56:56 +01:00
  • 3c802caff5 feat(blossom)!: add file extension parameter to Blossom hooks Anthony Accioly 2025-08-07 00:05:48 +01:00
  • e81416f41e add ratelimit policy based on NIP-42 authentication George 2025-08-23 16:49:57 +00:00
  • e12d30f247 Fix panic on method name mismatch Jon Staab 2025-06-10 17:02:28 -07:00
  • 97bc365996 refactor @aaccioly's blossom redirect thing. v0.18.2 fiatjaf 2025-06-10 16:22:48 -03:00
  • 44e4b86955 Don't list rejectapicall in nip86 supported methods Jon Staab 2025-06-10 11:12:49 -07:00
  • 932825080e Fix nil check Jon Staab 2025-06-10 11:05:08 -07:00
  • aa81e17e22 Fix panic due to not handling an edge case Jon Staab 2025-06-10 10:38:58 -07:00
  • 034902c3e3 if there is an ephemeral hook the relay is never mute. fiatjaf 2025-06-06 21:44:42 -03:00
  • 5705647c6b fix(blossom): remove extra . when serving files without extension Anthony Accioly 2025-05-12 23:53:01 +01:00
  • b2607e787f feat(docs): add redirection support details in Blossom usage guide Anthony Accioly 2025-05-12 21:42:59 +01:00
  • 011efe0dd2 feat(server): add functional options for BlossomServer configuration Anthony Accioly 2025-05-12 21:42:02 +01:00
  • 16eee5cffb feat(blossom): add redirect support for GET requests Anthony Accioly 2025-05-12 21:28:51 +01:00
  • c5076b297d handle files declared as .apk as .apk. fiatjaf 2025-06-03 18:29:34 -03:00
  • 1a5b498fb8 Update blossom.md (#42) Bitkarrot 2025-05-09 11:15:59 -07:00
  • b6da555807 blossom: return content-type in handleUpload() (#46) sudocarlos 2025-05-09 07:41:46 -04:00
  • 1ab44ab897 blossom: implement BUD-05 without optimizations (#45) v0.18.1 sudocarlos 2025-05-08 09:29:26 -04:00
  • 3da898cec7 blossom: implement BUD-04 fiatjaf 2025-05-06 00:44:42 -03:00
  • cfbe484784 docs: show fox. fiatjaf 2025-04-28 15:45:07 -03:00
  • 583f712fe4 admin: normalize urls for nip86 checking. v0.18.0 fiatjaf 2025-04-17 08:02:12 -03:00
  • 28b1061166 Reject deleted events Jon Staab 2025-04-16 14:44:53 -07:00
  • 25f19ce46e Store and serve delete events Jon Staab 2025-04-16 13:52:08 -07:00
  • 33545587b6 make it so ephemeral events respond with ok:false if no one is listening. v0.17.8 fiatjaf 2025-04-14 09:24:34 -03:00
  • 214371f8bd refactor(adding): check kind range with proper function. Kay 2025-03-25 13:49:52 +00:00
  • fbb40f3b74 use .Find() instead of .GetFirst() everywhere. fiatjaf 2025-04-04 23:07:18 -03:00
  • d97a2f1cf2 initialScan() v0.17.7 fiatjaf 2025-04-04 17:55:16 -03:00
  • c9a7d60543 remove event from expiration manager if it is deleted. v0.17.6 fiatjaf 2025-04-03 23:11:47 -03:00
  • 2bb6d4d29a simplify WriteMessage, remove the defer since it's not needed. fiatjaf 2025-04-03 23:10:39 -03:00
  • 2292ce4a30 add missing return in repost protected clause. fiatjaf 2025-04-03 23:10:11 -03:00
  • 2ae219a34c add khatru.IsInternal() for dealing with internal calls specifically in QueryEvents() fiatjaf 2025-04-03 23:06:57 -03:00
  • 8c9394993b reject reposts that embed nip70 protected events. fiatjaf 2025-03-28 18:08:38 -03:00
  • 850497956c include checkid length check from @pippellia-btc v0.17.5 fiatjaf 2025-03-24 15:56:50 -03:00
  • 28ce6cfb7a ensure suspected blossom request hash does not have slashes in it andrewheadricke 2025-03-20 17:08:55 +11:00
  • f47282c745 get rid of base64x temporarily since it doesn't work on arm64. v0.17.4 fiatjaf 2025-03-19 15:02:56 -03:00
  • f72dea346f rename menu item on docs to say "blossom". fiatjaf 2025-03-17 13:38:35 -03:00
  • 51632dcc9f update blossom example to use a different database. fiatjaf 2025-03-17 13:34:35 -03:00
  • 6cc2477e89 fix blossom upload < 50bytes andrewheadricke 2025-03-14 15:14:13 +11:00
  • 581c4ece28 updating go-nostr to fix sonic parser bug. v0.17.3 fiatjaf 2025-03-14 20:10:52 -03:00
  • 596bca93c3 go-nostr MessageParser string transition. fiatjaf 2025-03-12 00:53:19 -03:00
  • 650d9209c3 policies: nip70 enforcer. v0.17.2 fiatjaf 2025-03-11 17:42:27 -03:00
  • 0d736cff82 fix blossom authorization decoder. v0.17.1 fiatjaf 2025-03-11 17:32:12 -03:00
  • 44ed6f519d use NewMessageParser() that allows sonic to be opted in with tags. fiatjaf 2025-03-11 17:32:04 -03:00
  • db832d4255 use sonic json parser and other minor performance improvements. v0.17.0 fiatjaf 2025-03-07 21:47:34 -03:00
  • 625bde38c5 update go-nostr so CountEnvelope only has one filter, which simplies COUNT handling a lot, specially with HLL. v0.16.0 fiatjaf 2025-03-07 10:11:58 -03:00
  • 7c6031f4e5 resolve relative icon and banner urls in nip11 handler. fiatjaf 2025-02-23 18:20:54 -03:00
  • 6e224b9437 nip-86: stats, grant/revoke admin, listallowedevents and listdisallowedkinds ZigBalthazar 2025-02-13 02:27:10 +03:30
  • e9030a355c nip-86: add generic handler. Kay 2025-02-09 19:54:11 +00:00
  • a6ed7bced0 do not cancel subscription context on eose, only on subscription close. fiatjaf 2025-02-09 20:46:53 -03:00
  • 31128ebd18 filter policy: MustAuth() v0.15.2 fiatjaf 2025-02-02 14:30:28 -03:00
  • 414867e62c feat(blossom): add bud-09 reporting handler. (#29) k. 2025-02-02 00:33:17 +03:30
  • 65383d6d65 making it a little better, so compiler wont complain. Kay 2025-01-28 15:44:42 +00:00
  • c4d9ef1025 fix(blossom): respond with 401 on missing Auth v0.15.1 Anthony Accioly 2025-01-26 17:12:16 +00:00
  • 5e5a53240a docs: fix broken links. v0.15.0 fiatjaf 2025-01-13 17:40:51 -03:00
  • 3a9c88603b add blossom page. fiatjaf 2025-01-13 17:38:10 -03:00
  • 2403f82dac improve eventstore page. fiatjaf 2025-01-13 17:37:57 -03:00
  • a289a77b6e restructure docs to have a more useful sidebar. fiatjaf 2025-01-13 17:18:56 -03:00
  • 1a03178d83 test expiration. fiatjaf 2025-01-13 17:02:15 -03:00
  • c73037ac82 test replaceable events. fiatjaf 2025-01-13 16:52:17 -03:00
  • 433cceea86 include the ReplaceEvent setup on all examples. fiatjaf 2025-01-13 16:47:21 -03:00
  • aa7422b2e4 tests for basic relay functionality. fiatjaf 2025-01-13 08:06:25 -03:00
  • d27f582a0b nip-40 expiration manager. fiatjaf 2025-01-13 00:05:41 -03:00
  • e1de0432fe fix @staab's mess. fiatjaf 2024-12-31 22:15:06 -03:00
  • 5b9b89543f Get service url when handling auth rather than mutating the relay, allow user to override service url via env var Jon Staab 2024-12-30 16:20:15 -08:00
  • 4dba9376a0 sanedefaults: allow a bigger burst of connections and events. fiatjaf 2024-12-10 23:34:18 -03:00
  • fa523a6ab9 blossom: etag and cache-control headers. fiatjaf 2024-12-09 15:41:29 -03:00
  • abbe61d128 use ReplaceEvent when available. v0.14.0 fiatjaf 2024-12-08 00:50:29 -03:00
  • e9999feec0 turns out we need to bump a version because of annoying hex nips. v0.13.0 fiatjaf 2024-12-07 07:58:20 -03:00
  • 6275f52134 support hyperloglog handlers on COUNT. v0.12.2 fiatjaf 2024-12-07 00:26:22 -03:00
  • 5b88b9b087 small tweaks to nip86 authorization flow and use rl.ServiceURL. v0.12.1 fiatjaf 2024-11-25 14:11:27 -03:00
  • 1b4d81dde4 corrects malformed json in blossom list v0.12.0 Your Name 2024-11-22 00:04:40 -03:00
  • 7bfdbb557c fix(blossom): use io.ReadSeeker in Blossom example Anthony Accioly 2024-11-21 23:02:17 +00:00
  • 3f26a1f727 Change API of LoadBlob to return io.ReadSeeker instead of io.Reader and use ServeContent to serve blob content (#19) girino 2024-11-21 11:58:12 -03:00
  • 76ecf4f791 Merge pull request #17 from aaccioly-open-source/feature/bud01-cors-support v0.11.0 fiatjaf_ 2024-11-05 22:59:18 -03:00
  • 1498da09c8 refactor(blossom): remove setCors function Anthony Accioly 2024-11-05 19:04:41 +00:00
  • 3d4dd71510 refactor(blossom): undo enhanced routing Anthony Accioly 2024-11-05 18:55:47 +00:00
  • 582a74c000 refactor: apply CORS rules on relay Anthony Accioly 2024-11-05 18:37:12 +00:00
  • bbcf948dd6 fix(blossom): forward requests to base relay Anthony Accioly 2024-11-05 17:56:56 +00:00
  • 553d848362 fix(policies): update check for ephemeral kinds Anthony Accioly 2024-11-05 17:32:56 +00:00
  • 2a80d4099d perf(blossom): set Access-Control-Max-Age to 24 h Anthony Accioly 2024-11-05 16:56:59 +00:00
  • ad6635d86c refactor(blossom): use Go 1.22 enhanced routing Anthony Accioly 2024-11-05 16:48:21 +00:00
  • c93441cd63 feat(blossom): use rs/cors to handle BUD-01 CORS Anthony Accioly 2024-11-04 17:18:37 +00:00
  • dc34dd7e90 build(deps): bump rs/cors version to v1.11.1 Anthony Accioly 2024-11-04 14:02:18 +00:00
  • a004f59187 fix(blossom): Example returns io.Reader Anthony Accioly 2024-11-04 13:56:13 +00:00
  • a931a83370 fix negentropy by making special provisions for bypassing query limits. fiatjaf 2024-11-03 16:57:16 -03:00
  • 1c15db2ca1 fix(blossom): CORS headers required by noStrudel Anthony Accioly 2024-10-31 05:06:58 +00:00
  • b617fea679 blossom: again a bunch of fixes. require Authorization on /upload again always. v0.10.0 fiatjaf 2024-10-29 16:32:45 -03:00
  • 1d7bdccb3a blossom: fixes and updates from trying to use it. fiatjaf 2024-10-29 09:00:45 -03:00
  • 92d1a5b671 blossom: implement bud06 (upload requirements). fiatjaf 2024-10-28 17:30:25 -03:00
  • 7f878121fc blossom: return code from Reject* functions because HTTP is stupid. fiatjaf 2024-10-28 17:30:07 -03:00
  • a893dc2d2c blossom: store as a standalone interface (and an eventstore wrapper). fiatjaf 2024-10-27 23:00:51 -03:00
  • 91e7737ec1 basic modular blossom support. fiatjaf 2024-10-27 17:20:10 -03:00
  • 1dc12e5d2e support negentropy. v0.9.1 fiatjaf 2024-10-26 23:41:39 -03:00
  • f3b18619c7 update eventstore just so badger and ristretto are the same everywhere, who knows what the package manager will do. v0.9.0 fiatjaf 2024-10-23 23:17:50 -03:00
  • 902e882d97 policies: RestrictToSpecifiedKinds() to allow ephemeral. fiatjaf 2024-10-22 13:32:24 -03:00
  • 8f62b2fbbe policies.PreventLargeTags() example was too strict for "a" tags. fiatjaf 2024-10-21 08:53:35 -03:00
  • d4334ac2bb revert "a function to send an event directly to a specific connection." v0.8.4 fiatjaf 2024-10-16 15:07:44 -03:00
  • 9069341657 a context that is canceled whenever a websocket is dropped. fiatjaf 2024-10-16 15:06:47 -03:00
  • 9137eb02b0 cookbook: reacting to auth events. fiatjaf 2024-10-14 12:20:46 -03:00