27 Commits

Author SHA1 Message Date
fiatjaf
b62678e606 nip29: fix roles event kind. 2024-11-11 12:45:26 -03:00
fiatjaf
456f8687ed nip29: update to latest NIP version (change some kinds and remove permissions and moderation stuff). 2024-11-09 16:12:53 -03:00
fiatjaf
b5633b97c3 nip29: delete-group-status -> delete-group 2024-09-14 00:03:33 -03:00
K
c91e7b9765
using testify instead of testing.T methods. (#143) 2024-09-09 07:20:56 -03:00
fiatjaf
1db4da7ed3 nip29: get rid of useless constant. 2024-08-29 07:57:05 -03:00
Yasuhiro Matsumoto
b6aca13732 ditto 2024-08-19 16:03:27 -03:00
Yasuhiro Matsumoto
7faa3da20a add KindSimpleGroupDeleteGroup 2024-08-19 16:03:27 -03:00
fiatjaf
ca396e794f nip29: move relay-side moderation actions to relay29. 2024-08-03 10:23:08 -03:00
fiatjaf
d4c31e3fc9 nip29: fix updating LastMembersUpdate and LastAdminsUpdate on .Apply() 2024-07-12 13:45:47 -03:00
fiatjaf
d3c2667428 nip29: fix making metadata event (about was name). 2024-07-11 11:03:35 -03:00
fiatjaf
ccdab0fa6b nip29: enable private groups. 2024-07-05 16:59:12 -03:00
fiatjaf
f9fd760808 nip29: handle 9007 create_group. 2024-07-04 16:22:50 -03:00
fiatjaf
d6d02686a9 nip29: NewGroupFromMetadataEvent() 2024-06-07 14:22:17 -03:00
fiatjaf
8897cc36e4 nip29: fix group address parsing and encoding order. 2024-05-24 15:13:05 -03:00
fiatjaf
e1ae36ceb2 nip29: fix printing of GroupAddress. 2024-05-24 14:39:56 -03:00
fiatjaf
96dfeac1bd nip29: oh, right, group addresses. 2024-05-10 18:03:24 -03:00
fiatjaf
b8ec1343cc nip29: some more group helpers. 2024-05-10 17:57:41 -03:00
fiatjaf
9c4ea87d0b
use stdlib "slices". 2024-02-08 16:33:39 -03:00
fiatjaf
fb92dc49dd
nip29: smarter access control rules for moderation actions. 2024-01-18 21:06:43 -03:00
fiatjaf
2586144a5c
replace usage of IsValidPublicKeyHex() in subpackages. 2024-01-18 20:30:20 -03:00
fiatjaf
4dc6e21f60
nip29: join request. 2024-01-18 11:48:43 -03:00
fiatjaf
8da32e6dfc
nip29: NewGroup() doesn't set timestamps to now. 2024-01-04 21:46:10 -03:00
fiatjaf
48db1df66c
nip29: refine group-events relationships and write some tests. 2024-01-04 15:01:29 -03:00
fiatjaf
ed3642f112
nip29: move some things back from nip29/relay to nip29 2024-01-04 15:01:26 -03:00
fiatjaf
3fecd03ed4
nip29: move relay-specific stuff to nip29/relay 2024-01-04 11:33:36 -03:00
fiatjaf
e4b4654e66
nip29: bring in helpers for managing groups to be used on the relay side. 2024-01-04 11:33:33 -03:00
fiatjaf
f1c71134e3
experimental nip29 support. 2024-01-02 17:23:34 -03:00