This website requires JavaScript.
cf9fc796b2
add pgadmin
postgresql
mr0x50
2025-01-27 20:41:05 +01:00
8e705e1516
change to postgresql db
mr0x50
2025-01-27 20:11:14 +01:00
33338abe89
Revert "change to postgresql db"
master
mr0x50
2025-01-27 19:55:41 +01:00
4a1efa224c
change to postgresql db
mr0x50
2025-01-27 17:09:13 +01:00
db04a3015f
change to sqlite backend
sqlite
mr0x50
2025-01-27 16:44:00 +01:00
d280bf77d1
containerize
mr0x50
2025-01-27 16:19:30 +01:00
825f630108
add groups.purplekonnektiv.com
mr0x50
2025-01-27 16:18:48 +01:00
4d4fd778e3
add kind 20
water
2025-01-08 14:38:30 +08:00
d6955dad90
add kind16
water
2024-12-17 12:09:10 +08:00
dc040a6d17
Prefix duplicate joins with duplicate:
Jon Staab
2024-12-12 14:23:53 -08:00
b944022cd1
disallow removed users from rejoining an open group.
fiatjaf
2024-12-07 08:28:44 -03:00
b6a6245e91
add kind 34235, 34236
water
2024-11-25 10:49:14 +08:00
2dd7de23c6
PreventLargeTags limit to 640
water
2024-11-18 14:41:36 +08:00
9e13a4d7fc
add kind 1018, 1068
water
2024-11-13 16:54:46 +08:00
fcfa0d179c
fixes and test for "previous" tag checking.
fiatjaf
2024-11-12 09:21:31 -03:00
dfa14de4d7
tentative "previous" tag checking.
fiatjaf
2024-11-11 23:13:30 -03:00
3d7930a8b7
use latest go-nostr release.
fiatjaf
2024-11-11 23:01:00 -03:00
43fc918c94
always allow the relay pubkey to write to any group.
fiatjaf
2024-11-11 21:21:06 -03:00
4aa04de6d6
default role for creators, other fixes, latest adjustments and tests.
fiatjaf
2024-11-11 18:59:35 -03:00
92df41067d
assign default roles to all groups and set everything up in examples and strfry29.
fiatjaf
2024-11-10 12:13:28 -03:00
1d8a152b2b
setup example relay with some basic moderation rules.
fiatjaf
2024-11-10 09:42:24 -03:00
778934f521
rename fiatjaf groups relay to a more generic "opinionated".
fiatjaf
2024-11-09 19:01:18 -03:00
fc82defa07
adapt to latest nip29 changes (wip).
fiatjaf
2024-11-09 16:13:17 -03:00
d04edafa3b
support kind 1111
water
2024-11-07 10:29:24 +08:00
726da5250f
remove hasSuperiorOrEqualPermission
water783
2024-10-10 14:42:53 +08:00
41a332c92e
add 9003, 9004
water
2024-10-09 18:31:25 +08:00
e620790375
load 500 groups, not 125.
fiatjaf
2024-09-25 07:31:53 -03:00
52a59334d4
Update main.go
water783
2024-09-24 17:33:09 +08:00
008c197d9a
PermDeleteGroupStatus -> PermDeleteGroup
fiatjaf
2024-09-14 11:46:46 -03:00
9cd490bd84
merge from github.com/fiatjaf/relay29
water783
2024-09-14 11:02:22 +08:00
19fec91a31
fix examples for PreventTimestampsInTheFuture() time.Duration
fiatjaf
2024-09-13 07:41:24 -03:00
4dedb0a7e2
add captcha to groups.fiatjaf.com so @water783 stops abusing.
fiatjaf
2024-09-12 10:11:30 -03:00
4fe8a56926
update dependencies to fix broken memory issue hopefully (the problem was the binary encoding).
fiatjaf
2024-09-12 10:10:55 -03:00
397d094acb
support group deletes.
fiatjaf
2024-08-29 08:01:41 -03:00
44d5579af0
update some nostr dependencies.
fiatjaf
2024-08-29 07:49:20 -03:00
7262ae9a13
handle kind 9022 leave requests.
fiatjaf
2024-08-29 07:45:35 -03:00
d646ec50af
update eventstore.
fiatjaf
2024-08-26 17:13:02 -03:00
fa83155ad8
error message improvements on moderation_actions.go
fiatjaf
2024-08-24 02:38:04 -03:00
2d511d2fac
replace bolt with lmdb (bolt is broken).
fiatjaf
2024-08-24 02:36:25 -03:00
4033a871c4
no rate limit
water783
2024-08-22 12:20:33 +08:00
0309e86293
update readme.
fiatjaf
2024-08-15 06:59:59 -03:00
3ea3e996a8
a comment about open/closed and autojoin.
fiatjaf
2024-08-03 16:20:55 -03:00
a8eb1b5666
strfry29 doesn't support private groups.
fiatjaf
2024-08-03 16:20:04 -03:00
25d8e88f55
no need for RelayWrapper on strfry db.
fiatjaf
2024-08-03 15:44:38 -03:00
228622ed28
move in moderation action definitions from go-nostr to here.
fiatjaf
2024-08-03 10:24:53 -03:00
e2ad7dafda
finalize strfry29 v1.
fiatjaf
2024-08-02 18:38:08 -03:00
689b25ee78
strfry29 draft.
fiatjaf
2024-07-31 18:51:55 -03:00
630204f912
add basic-relayer29
Yasuhiro Matsumoto
2024-08-01 00:37:13 +09:00
d32f61a950
add relayer29
Yasuhiro Matsumoto
2024-08-01 00:36:25 +09:00
90631192a7
add filter for meta req
water783
2024-07-31 11:10:18 +08:00
26e57c3648
abstract away khatru.
fiatjaf
2024-07-22 11:58:54 -03:00
4a52d29532
fix bolt
water783
2024-07-30 10:55:26 +08:00
f700ea2b79
remove self from group
water783
2024-07-24 14:55:39 +08:00
3c882f2f29
use lmdb
water783
2024-07-24 11:43:44 +08:00
8538266fb2
update eventstore (bolt bug).
fiatjaf
2024-07-23 15:33:46 -03:00
413d9a29a9
fix panic
water783
2024-07-23 12:55:10 +08:00
11ddfa05d6
Update README.adoc
water783
2024-07-23 12:42:17 +08:00
6dc644485b
fix groups.fiatjaf.com susceptibleness to panics.
fiatjaf
2024-07-22 11:29:56 -03:00
4f48b0754d
Update extra_policies.go
water783
2024-07-22 15:39:54 +08:00
b9fbea279b
fix panic
water783
2024-07-22 15:20:48 +08:00
87ecb651fb
fix group creation (was happening twice and failing) on groups.fiatjaf.com
fiatjaf
2024-07-17 10:49:05 -03:00
744d18f6f8
update deps
Yasuhiro Matsumoto
2024-07-16 18:52:16 +09:00
64a3fc4b48
Update go.sum
water783
2024-07-14 11:25:28 +08:00
bc415cc90c
Update event_policy.go
water783
2024-07-14 11:24:04 +08:00
31af5ebcdf
Update go.mod
water783
2024-07-14 11:22:05 +08:00
323ab301f5
fix panic
water783
2024-07-14 11:21:20 +08:00
5727d12a60
update go-nostr and khatru for bugfixes.
fiatjaf
2024-07-12 13:49:56 -03:00
467de86671
fix panic when tag filtering doesn't match.
fiatjaf
2024-07-12 12:52:19 -03:00
ba381776a6
fix crash issue, maybe..
water783
2024-07-11 18:03:28 +08:00
b6e70a4d2c
ws -> wss
water783
2024-07-11 15:41:10 +08:00
7b781920eb
fix "failed to add user who requested to join"
water783
2024-07-11 15:35:56 +08:00
9200247ce8
Update .gitignore
water783
2024-07-11 14:38:19 +08:00
49c2dc52a7
add groups.0xchat.com
water783
2024-07-11 14:28:27 +08:00
0c6725cbea
"#p" filtering on group metadata events.
fiatjaf
2024-07-10 13:51:28 -03:00
820814f6f5
fix asciidoc code blocks.
fiatjaf
2024-07-05 17:04:41 -03:00
9f42a10be9
no need to set relay pubkey, that will be done automatically.
fiatjaf
2024-07-05 17:02:01 -03:00
54dab1951a
test suite and many fixes from that.
fiatjaf
2024-07-05 17:00:16 -03:00
68f6f52c82
turn into a library.
fiatjaf
2024-07-05 00:32:46 -03:00
3561167379
fix group state being borked by overwritten events on db.
fiatjaf
2024-07-04 16:52:49 -03:00
9648641c6e
some fixes.
fiatjaf
2024-07-03 22:20:19 -03:00
8c73f13b4d
refactor, private groups, support pablo's discovery trick.
fiatjaf
2024-07-03 22:05:11 -03:00
caf3bb2bc2
always fulfill requests for events with specific ids.
fiatjaf
2024-07-02 17:29:27 -03:00
2585a5249f
replace lmdb with bolt after some mysterious thing happened that caused the database to be deleted, let's see.
fiatjaf
2024-06-19 14:38:15 -03:00
ae9f38998f
broadcast add-user events.
fiatjaf
2024-06-08 19:05:38 -03:00
533ea4ed6c
update dependencies.
fiatjaf
2024-06-08 17:01:46 -03:00
c1a745df43
update a bunch of small things.
fiatjaf
2024-05-28 17:17:03 -03:00
2d1f26c2a7
update eventstore to get rid of tag prefix matching.
fiatjaf
2024-04-15 20:46:47 -03:00
5c03558635
add 29 to supported nips.
fiatjaf
2024-04-15 18:47:06 -03:00
2077781d68
minor tweaks and update dependencies.
fiatjaf
2024-04-09 07:50:30 -03:00
0c742ad6d4
actually delete events and prevent them from being rewritten.
fiatjaf
2024-01-18 16:08:49 -03:00
bea02ca3ab
no need to rebroadcast the delete event, it will be broadcasted automatically.
fiatjaf
2024-01-18 15:52:58 -03:00
158e5e59ff
don't remove kind 39002 from filter.
fiatjaf
2024-01-18 09:16:39 -03:00
fd1637f422
fix event policy bugs.
fiatjaf
2024-01-17 09:18:02 -03:00
d89402aa25
update dependencies and xsync.
fiatjaf
2024-01-14 22:34:30 -03:00
d186f3d8ce
fix permissions: allow relay to do anything with any group.
fiatjaf
2024-01-14 22:34:20 -03:00
2905f23ed4
do the same for live propagation.
fiatjaf
2024-01-04 16:49:48 -03:00
96e7134dd3
properly handling admins and member queries.
fiatjaf
2024-01-04 16:46:01 -03:00
dad490d3b0
move some generic group-management stuff to go-nostr/nip29/relay
fiatjaf
2024-01-04 11:49:15 -03:00
bcdab1f9ca
use .LastMetadataUpdate on Group and require group name when creating on web ui.
fiatjaf
2024-01-02 17:22:57 -03:00
ae727dd49f
broadcast metadata events whenever a group metadata is changed.
fiatjaf
2024-01-01 17:20:36 -03:00