fiatjaf
|
583f712fe4
|
admin: normalize urls for nip86 checking.
|
2025-04-17 08:02:25 -03:00 |
|
Jon Staab
|
28b1061166
|
Reject deleted events
|
2025-04-16 18:55:36 -03:00 |
|
Jon Staab
|
25f19ce46e
|
Store and serve delete events
|
2025-04-16 18:55:28 -03:00 |
|
fiatjaf
|
33545587b6
|
make it so ephemeral events respond with ok:false if no one is listening.
|
2025-04-14 09:24:34 -03:00 |
|
Kay
|
214371f8bd
|
refactor(adding): check kind range with proper function.
|
2025-04-13 09:05:23 -03:00 |
|
fiatjaf
|
fbb40f3b74
|
use .Find() instead of .GetFirst() everywhere.
|
2025-04-04 23:07:18 -03:00 |
|
fiatjaf
|
d97a2f1cf2
|
initialScan()
|
2025-04-04 17:55:16 -03:00 |
|
fiatjaf
|
c9a7d60543
|
remove event from expiration manager if it is deleted.
|
2025-04-03 23:11:47 -03:00 |
|
fiatjaf
|
2bb6d4d29a
|
simplify WriteMessage, remove the defer since it's not needed.
|
2025-04-03 23:10:39 -03:00 |
|
fiatjaf
|
2292ce4a30
|
add missing return in repost protected clause.
|
2025-04-03 23:10:11 -03:00 |
|
fiatjaf
|
2ae219a34c
|
add khatru.IsInternal() for dealing with internal calls specifically in QueryEvents()
|
2025-04-03 23:06:57 -03:00 |
|
fiatjaf
|
8c9394993b
|
reject reposts that embed nip70 protected events.
in accordance with new stuff added to nip70 that makes some sense.
|
2025-03-28 18:08:49 -03:00 |
|
fiatjaf
|
850497956c
|
include checkid length check from @pippellia-btc
|
2025-03-24 15:57:20 -03:00 |
|
andrewheadricke
|
28ce6cfb7a
|
ensure suspected blossom request hash does not have slashes in it
|
2025-03-24 15:23:00 -03:00 |
|
fiatjaf
|
f47282c745
|
get rid of base64x temporarily since it doesn't work on arm64.
|
2025-03-19 15:02:56 -03:00 |
|
fiatjaf
|
f72dea346f
|
rename menu item on docs to say "blossom".
|
2025-03-17 13:38:35 -03:00 |
|
fiatjaf
|
51632dcc9f
|
update blossom example to use a different database.
closes https://github.com/fiatjaf/khatru/issues/36
|
2025-03-17 13:36:41 -03:00 |
|
andrewheadricke
|
6cc2477e89
|
fix blossom upload < 50bytes
|
2025-03-15 01:58:07 -03:00 |
|
fiatjaf
|
581c4ece28
|
updating go-nostr to fix sonic parser bug.
|
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.
|
2025-03-11 17:42:27 -03:00 |
|
fiatjaf
|
0d736cff82
|
fix blossom authorization decoder.
|
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.
|
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.
|
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()
|
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
|
2025-01-26 17:23:29 -03:00 |
|
fiatjaf
|
5e5a53240a
|
docs: fix broken links.
|
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.
|
2024-12-08 00:50:29 -03:00 |
|
fiatjaf
|
e9999feec0
|
turns out we need to bump a version because of annoying hex nips.
|
2024-12-07 07:58:20 -03:00 |
|
fiatjaf
|
6275f52134
|
support hyperloglog handlers on COUNT.
|
2024-12-07 00:26:22 -03:00 |
|
fiatjaf
|
5b88b9b087
|
small tweaks to nip86 authorization flow and use rl.ServiceURL.
|
2024-11-25 14:11:27 -03:00 |
|