Commit graph

485 commits

Author SHA1 Message Date
P. Reis
0d7ef68353 feat: add pagination and sort by amount - zapped_by endpoint 2024-06-23 13:38:40 -03:00
Alex Gleason
766290bd45 accountStatusesController: fix oopsie whoopsie TypeError (gj TypeScript) 2024-06-20 05:59:41 +00:00
Alex Gleason
003d60c959
Don't display posts of disabled user on their profile 2024-06-19 14:06:02 -05:00
Alex Gleason
6ee9eb63d3
Get Ditto version from deno.json 2024-06-18 18:05:11 -05:00
Alex Gleason
335cb991d2
Add a few NIP-011 limitation fields 2024-06-18 17:49:52 -05:00
Alex Gleason
66abfa38c3
Upgrade hono, switch it to use JSR 2024-06-18 11:51:51 -05:00
P. Reis
8b67a05792 refactor: parse zap request with zod 2024-06-17 21:07:27 -03:00
P. Reis
bf017195a6 refactor: sort imports alphabetically 2024-06-17 20:15:51 -03:00
P. Reis
7a29c349e8 fix: get amount from zap receipt if not present in zap request 2024-06-17 14:51:12 -03:00
Alex Gleason
6ce8aae0d1
trends: rewrite getTrendingTags to process the history in serial, split across several queries 2024-06-15 18:14:38 -05:00
Alex Gleason
a3b7acd1c1
Cache trends API results at a different interval than trends calculations 2024-06-15 17:18:55 -05:00
Alex Gleason
9c640ca86b
Change verson to v1.0.0 2024-06-14 08:32:49 -05:00
Alex Gleason
d06cafd0dd
nameRequestController: prevent submitting the same name twice 2024-06-13 19:11:59 -05:00
Alex Gleason
5658c5db08 nameRequestsController: ids.size === 0 => !ids.size 2024-06-13 23:47:12 +00:00
Alex Gleason
100a5056eb
nameRequestsController: display only owned 3036 events 2024-06-13 18:42:59 -05:00
P. Reis
22dbddb5d3 refactor: zap amount parsed with zod, change zapped_by fields name 2024-06-13 14:21:01 -03:00
P. Reis
b43aed2301 feat: create zappedByController 2024-06-13 00:48:31 -03:00
Alex Gleason
4285763c9d
Add instance v2 controller 2024-06-12 19:47:26 -05:00
Alex Gleason
edddc5384c
Support OAuth "state" param 2024-06-12 18:04:04 -05:00
Alex Gleason
7dbd40a88b
Fix issues with adminAccountsController 2024-06-12 12:50:22 -05:00
Alex Gleason
c6da216b4e
trends: calculate since the last label date instead of current date 2024-06-11 19:08:24 -05:00
Alex Gleason
ddae4f408a
Support OAuth OOB 2024-06-11 13:40:09 -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
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
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
8e5fa9eece
Merge remote-tracking branch 'origin/main' into nip05-request 2024-06-08 15:01:01 -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
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
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
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