Commit Graph

1784 Commits

Author SHA1 Message Date
Alex Gleason 6b3e01a072
Upgrade nostrify to v0.23.1 2024-06-09 21:42:31 -05:00
Alex Gleason e7ed3c839c
AdminStore: fix users check 2024-06-09 19:48:33 -05:00
Alex Gleason d1ba797c93
Add revoke_name admin action 2024-06-09 19:22:11 -05:00
Alex Gleason 229975a752
adminActionController: delete user's events on suspend 2024-06-09 18:50:45 -05:00
Alex Gleason 5fdbd572f2 Merge branch 'names-api' into 'main'
Names API

See merge request soapbox-pub/ditto!370
2024-06-09 20:35:05 +00:00
Alex Gleason 42fac52e9e
Support streaming notifications 2024-06-09 15:31:14 -05:00
Alex Gleason 2245263011
Add ditto:name_grant notification 2024-06-09 14:50:37 -05:00
Alex Gleason 07a380fb75
Rework adminAccountsController to display pending accounts from nip05 requests 2024-06-09 13:43:40 -05:00
Alex Gleason 5379863d36
Tag the nip05 request in the grant event 2024-06-09 12:13:50 -05:00
Alex Gleason 2a2f43d106
Add admin name approve/reject endpoints 2024-06-09 11:57:10 -05:00
Alex Gleason 594f37ea33
Use past-tense for some n-tag values 2024-06-09 11:26:57 -05:00
Alex Gleason 8802cbd779
suggest -> suggested 2024-06-09 11:24:01 -05:00
Alex Gleason 58a01f90de
Paginate reports 2024-06-09 11:07:37 -05:00
Alex Gleason 8a7cae9841
Refactor reports more, add reopen endpoint 2024-06-09 11:03:46 -05:00
Alex Gleason 177f25ad96 Merge branch 'nip05-request' into 'main'
Rework reports, start adding nip05 endpoints

See merge request soapbox-pub/ditto!363
2024-06-09 15:10:30 +00:00
Alex Gleason bd6424acf5
Add preliminary nameRequestsController 2024-06-08 22:16:34 -05:00
Alex Gleason a14515bbe0
Rework reports with event sets 2024-06-08 19:48:56 -05:00
Alex Gleason a2d865d6cc
Generate an internal event for each report and invite request 2024-06-08 18:06:05 -05:00
Alex Gleason 8e5fa9eece
Merge remote-tracking branch 'origin/main' into nip05-request 2024-06-08 15:01:01 -05:00
Alex Gleason 41d61cc8db Merge branch '30382' into 'main'
Remove kind 30361 events, switch to 30382, rework moderation

See merge request soapbox-pub/ditto!369
2024-06-08 19:32:07 +00:00
Alex Gleason ca57d1be10
Remove stray console.log 2024-06-08 14:28:39 -05:00
Alex Gleason 9c24bac0ca
Pull suggested profiles from kind 30382 events 2024-06-08 14:07:14 -05:00
Alex Gleason d2df7522c4
Add Pleroma suggest/unsuggest endpoints 2024-06-08 13:57:50 -05:00
Alex Gleason d2238e80f9
Support Pleroma admin tags 2024-06-08 13:46:10 -05:00
Alex Gleason 284ae9aab7
renderAccount: fix display of roles 2024-06-08 13:14:07 -05:00
Alex Gleason e5fadafc7a
Create AdminStore to filter out banned users 2024-06-08 12:58:59 -05:00
Alex Gleason a30cdec79b
pipeline: ensure event doesn't already exist in DB 2024-06-08 12:22:00 -05:00
Alex Gleason b9922f96a0
adminActionController: mark "n" tags on the user 2024-06-08 12:17:06 -05:00
Alex Gleason 7d54a5c7d0
Kind 30361 -> 30382 2024-06-08 11:32:29 -05:00
Alex Gleason dde020f22b Merge branch 'replaceable-deletion' into 'main'
EventsDB: replaceable deletions support

See merge request soapbox-pub/ditto!368
2024-06-08 15:02:56 +00:00
P. Reis b088276c51 fix: remove unused variable 2024-06-08 09:10:19 -03:00
Alex Gleason fca7825bbf
EventsDB: replaceable deletions support 2024-06-07 22:11:17 -05:00
Alex Gleason 4d0b869bd7
Merge remote-tracking branch 'origin/main' into nip05-request 2024-06-07 11:29:50 -05:00
Alex Gleason 6024586b19 Merge branch 'language' into 'main'
Support `language` param with L tags

See merge request soapbox-pub/ditto!365
2024-06-07 15:10:43 +00:00
Alex Gleason 45dee96219
Support `language` param with L tags 2024-06-07 10:01:08 -05:00
Alex Gleason a30e19b6b2
Fix nip05 endpoints 2024-06-06 17:35:48 -05:00
Alex Gleason d2cf2e2e27 Merge branch 'fix-reblog-account-timeline' into 'main'
fix: render reblog in account timeline

See merge request soapbox-pub/ditto!364
2024-06-06 20:59:54 +00:00
P. Reis ae01a19725 fix: render reblog in account timeline 2024-06-06 17:46:53 -03:00
Alex Gleason 4f87287d45
Add invite_request_username property to AdminAccount 2024-06-06 15:26:35 -05:00
Alex Gleason 179cafcc23
adminAccountsController: display users with a NIP-05 grant, allow filtering "pending" users 2024-06-06 14:45:12 -05:00
Alex Gleason ab2e9d8dd7
nostr.json: determine nip05 grant based on kind 30360 events 2024-06-06 14:19:53 -05:00
Alex Gleason 616c405f0f
Add an endpoint to request a NIP-05 name 2024-06-06 14:14:59 -05:00
Alex Gleason 4361c340b0
stats: handleEvent7 use findLast 2024-06-06 12:11:15 -05:00
Alex Gleason 3115c8d362 Merge branch 'react-last' into 'main'
Use last e-tag as reacted event

See merge request soapbox-pub/ditto!362
2024-06-06 16:29:07 +00:00
Alex Gleason 77ce26bf7a
Use last e-tag as reacted event 2024-06-06 11:25:24 -05:00
Alex Gleason 20b11b686b Merge branch 'zaps-trends' into 'main'
Zaps trends

See merge request soapbox-pub/ditto!361
2024-06-06 03:02:43 +00:00
Alex Gleason b50400cd3d
Fix updateTrendingTags param order 2024-06-05 21:38:34 -05:00
Alex Gleason fb7b5b6056
Trending Zaps 2024-06-05 21:37:07 -05:00
Alex Gleason d6085ba3e2
Merge branch 'main' of gitlab.com:soapbox-pub/ditto 2024-06-05 14:49:35 -05:00
Alex Gleason 5c09034151
EventsDB: index the n-tag 2024-06-05 14:39:48 -05:00