andrewheadricke
6cc2477e89
fix blossom upload < 50bytes
2025-03-15 01:58:07 -03:00
fiatjaf
581c4ece28
updating go-nostr to fix sonic parser bug.
v0.17.3
2025-03-14 20:10:52 -03:00
fiatjaf
596bca93c3
go-nostr MessageParser string transition.
2025-03-12 00:53:19 -03:00
fiatjaf
650d9209c3
policies: nip70 enforcer.
v0.17.2
2025-03-11 17:42:27 -03:00
fiatjaf
0d736cff82
fix blossom authorization decoder.
v0.17.1
2025-03-11 17:32:12 -03:00
fiatjaf
44ed6f519d
use NewMessageParser() that allows sonic to be opted in with tags.
2025-03-11 17:32:04 -03:00
fiatjaf
db832d4255
use sonic json parser and other minor performance improvements.
v0.17.0
2025-03-07 21:47:34 -03:00
fiatjaf
625bde38c5
update go-nostr so CountEnvelope only has one filter, which simplies COUNT handling a lot, specially with HLL.
v0.16.0
2025-03-07 10:11:58 -03:00
fiatjaf
7c6031f4e5
resolve relative icon and banner urls in nip11 handler.
2025-02-23 18:21:23 -03:00
ZigBalthazar
6e224b9437
nip-86: stats, grant/revoke admin, listallowedevents and listdisallowedkinds
2025-02-19 12:50:21 -03:00
Kay
e9030a355c
nip-86: add generic handler.
2025-02-10 09:27:52 -03:00
fiatjaf
a6ed7bced0
do not cancel subscription context on eose, only on subscription close.
2025-02-09 20:46:53 -03:00
fiatjaf
31128ebd18
filter policy: MustAuth()
v0.15.2
2025-02-02 14:30:28 -03:00
k.
414867e62c
feat(blossom): add bud-09 reporting handler. ( #29 )
2025-02-01 18:03:17 -03:00
Kay
65383d6d65
making it a little better, so compiler wont complain.
2025-01-28 15:26:38 -03:00
Anthony Accioly
c4d9ef1025
fix(blossom): respond with 401 on missing Auth
v0.15.1
2025-01-26 17:23:29 -03:00
fiatjaf
5e5a53240a
docs: fix broken links.
v0.15.0
2025-01-13 17:40:51 -03:00
fiatjaf
3a9c88603b
add blossom page.
2025-01-13 17:38:10 -03:00
fiatjaf
2403f82dac
improve eventstore page.
2025-01-13 17:37:57 -03:00
fiatjaf
a289a77b6e
restructure docs to have a more useful sidebar.
2025-01-13 17:33:58 -03:00
fiatjaf
1a03178d83
test expiration.
2025-01-13 17:02:15 -03:00
fiatjaf
c73037ac82
test replaceable events.
2025-01-13 16:52:17 -03:00
fiatjaf
433cceea86
include the ReplaceEvent setup on all examples.
2025-01-13 16:47:21 -03:00
fiatjaf
aa7422b2e4
tests for basic relay functionality.
2025-01-13 08:06:25 -03:00
fiatjaf
d27f582a0b
nip-40 expiration manager.
2025-01-13 08:06:13 -03:00
fiatjaf
e1de0432fe
fix @staab's mess.
2024-12-31 22:15:15 -03:00
Jon Staab
5b9b89543f
Get service url when handling auth rather than mutating the relay, allow user to override service url via env var
2024-12-31 22:10:13 -03:00
fiatjaf
4dba9376a0
sanedefaults: allow a bigger burst of connections and events.
2024-12-10 23:40:03 -03:00
fiatjaf
fa523a6ab9
blossom: etag and cache-control headers.
2024-12-09 15:41:29 -03:00
fiatjaf
abbe61d128
use ReplaceEvent when available.
v0.14.0
2024-12-08 00:50:29 -03:00
fiatjaf
e9999feec0
turns out we need to bump a version because of annoying hex nips.
v0.13.0
2024-12-07 07:58:20 -03:00
fiatjaf
6275f52134
support hyperloglog handlers on COUNT.
v0.12.2
2024-12-07 00:26:22 -03:00
fiatjaf
5b88b9b087
small tweaks to nip86 authorization flow and use rl.ServiceURL.
v0.12.1
2024-11-25 14:11:27 -03:00
Your Name
1b4d81dde4
corrects malformed json in blossom list
v0.12.0
2024-11-22 10:03:50 -03:00
Anthony Accioly
7bfdbb557c
fix(blossom): use io.ReadSeeker in Blossom example
...
This should fix the failing pipeline test
2024-11-22 07:54:57 -03:00
girino
3f26a1f727
Change API of LoadBlob to return io.ReadSeeker instead of io.Reader and use ServeContent to serve blob content ( #19 )
...
* first test with http.ServeContent
* added debug to help me here
* removed debug messages
* changed LoadBlob to requisre io.ReadSeeker
---------
Co-authored-by: Your Name <you@example.com>
2024-11-21 11:58:12 -03:00
fiatjaf_
76ecf4f791
Merge pull request #17 from aaccioly-open-source/feature/bud01-cors-support
...
Optimised CORS Headers + Small fixes
v0.11.0
2024-11-05 22:59:18 -03:00
Anthony Accioly
1498da09c8
refactor(blossom): remove setCors function
2024-11-05 19:04:41 +00:00
Anthony Accioly
3d4dd71510
refactor(blossom): undo enhanced routing
2024-11-05 18:55:47 +00:00
Anthony Accioly
582a74c000
refactor: apply CORS rules on relay
2024-11-05 18:37:12 +00:00
Anthony Accioly
bbcf948dd6
fix(blossom): forward requests to base relay
2024-11-05 17:56:56 +00:00
Anthony Accioly
553d848362
fix(policies): update check for ephemeral kinds
...
The Event.IsEphemeral method has been removed from go-nostr
2024-11-05 17:32:56 +00:00
Anthony Accioly
2a80d4099d
perf(blossom): set Access-Control-Max-Age to 24 h
2024-11-05 16:56:59 +00:00
Anthony Accioly
ad6635d86c
refactor(blossom): use Go 1.22 enhanced routing
2024-11-05 16:48:21 +00:00
Anthony Accioly
c93441cd63
feat(blossom): use rs/cors to handle BUD-01 CORS
2024-11-04 17:18:37 +00:00
Anthony Accioly
dc34dd7e90
build(deps): bump rs/cors version to v1.11.1
2024-11-04 14:02:18 +00:00
Anthony Accioly
a004f59187
fix(blossom): Example returns io.Reader
2024-11-04 13:56:13 +00:00
fiatjaf
a931a83370
fix negentropy by making special provisions for bypassing query limits.
2024-11-03 16:57:18 -03:00
Anthony Accioly
1c15db2ca1
fix(blossom): CORS headers required by noStrudel
2024-10-31 07:50:34 -03:00
fiatjaf
b617fea679
blossom: again a bunch of fixes. require Authorization on /upload again always.
v0.10.0
2024-10-29 16:32:53 -03:00