Commit graph

182 commits

Author SHA1 Message Date
Alex Gleason
f99958c40e
reportsController -> reportController 2024-05-08 14:59:30 -05:00
P. Reis
57495dbd7a feat: implement report resolve 2024-05-07 20:49:42 -03:00
P. Reis
53a8871a54 refactor: change 'singleAdminReportsController' to 'adminReportController' 2024-05-07 11:29:49 -03:00
P. Reis
17706d3b20 feat: implement view single report 2024-05-07 10:19:08 -03:00
P. Reis
24068d12d0 refactor(reports): rename variables and remove type assertion 2024-05-06 11:47:05 -03:00
P. Reis
d903a2d0fb Merge branch 'main' into admin-reports-api
Update local branch & solve conflicts in hydrate.ts
2024-05-04 20:23:16 -03:00
P. Reis
af7b83cf8a feat: create /api/v1/admin/reports endpoint & controller 2024-05-04 20:10:18 -03:00
Alex Gleason
0f3fbbcb28
Start suggestions API 2024-05-03 18:21:40 -05:00
Alex Gleason
7efd5c1822
Clean up "not implemented" endpoints 2024-05-03 17:09:20 -05:00
Alex Gleason
8e178338b7
Implement Markers API 2024-05-03 16:17:36 -05:00
Alex Gleason
2ee668d562 Merge branch 'feat-create-reports' into 'main'
Create user reports through kind 1984

Closes #97

See merge request soapbox-pub/ditto!210
2024-05-03 14:25:22 +00:00
P. Reis
ca5433bcc7 refactor(reports): update code according to code review in MR 210 2024-05-02 20:21:58 -03:00
Alex Gleason
09c596c9e4
Add back block controllers, but 422 them 2024-05-02 15:34:17 -05:00
Alex Gleason
4c71dec6ce
Rename blocks to mutes in the API 2024-05-02 15:26:46 -05:00
P. Reis
9553fce25d Merge branch 'main' into feat-create-reports
(((Updating local branch)))
2024-05-01 20:56:18 -03:00
P. Reis
e8088c9eed feat: define reports endpoint 2024-05-01 20:38:30 -03:00
Alex Gleason
258e81df51
Admin relays: use "marker" property in the API, fix PUT controller 2024-05-01 18:29:32 -05:00
Alex Gleason
3513206de1
stickynotes alias 2024-05-01 16:14:50 -05:00
Alex Gleason
caa9e47161
Remove cron.ts 2024-05-01 09:08:36 -05:00
Alex Gleason
f2b36f75f0
Remove hono/sentry middleware, upgrade @sentry/deno 2024-04-30 13:01:43 -05:00
Alex Gleason
e722e754cd
deno lint 2024-04-30 12:55:39 -05:00
Alex Gleason
f651bf416a
sentry: skip "no pubkey provided" error 2024-04-30 12:52:20 -05:00
Alex Gleason
9ecf5db1b1
hono: catch HTTPException 2024-04-30 12:46:29 -05:00
Alex Gleason
0e6b4e8b45
sentryMiddleware: ignore HTTPException errors 2024-04-30 12:37:27 -05:00
Alex Gleason
0925f37929
Make storeMiddleware available in every request 2024-04-29 15:05:08 -05:00
P. Reis
86573a579b refactor: store middleware 2024-04-27 20:59:35 -03:00
P. Reis
18508d37f2 feat: define userStore in HonoEnv & set userStore middleware in home timeline 2024-04-27 17:02:07 -03:00
Alex Gleason
677720f15e
Unrestrict media uploads 2024-04-24 19:22:36 -05:00
Alex Gleason
3204b61f0b
Add an API to manage admin relays 2024-04-23 16:21:36 -05:00
Alex Gleason
64d50552b7
Import hono with an import alias 2024-04-20 18:54:15 -05:00
Alex Gleason
505a9bced1
Fix type of AppController 2024-04-20 18:47:34 -05:00
Alex Gleason
9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
Alex Gleason
1cb53bdb84 Revert "Merge branch 'rework-cache' into 'main'"
This reverts merge request !156
2024-04-19 14:37:53 +00:00
Alex Gleason
afed0a0b34
cache: serve stale response 2024-04-13 14:34:37 -05:00
Alex Gleason
6ab3a640bf
Rework cache middleware to use in-memory cache, remove ExpiringCache module 2024-04-13 14:00:21 -05:00
Alex Gleason
6aa877d930
Cache /api/v1/instance for 5 minutes 2024-04-13 13:28:08 -05:00
P. Reis
7e8401688c feat: undo repost 2024-04-09 18:27:17 -03:00
P. Reis
178a3c4d0e feat: repost functionality 2024-04-05 19:44:12 -03:00
P. Reis
2113c73f09 refactor: resolve import specifier via the active import map 2024-04-03 19:39:06 -03:00
Alex Gleason
d9cbbe2074
/api/v1/relationships: requirePubkey 2024-03-30 18:32:54 -05:00
Alex Gleason
2a032b7b7b
DELETE /api/v1/statuses/:id 2024-03-30 13:34:18 -05:00
Alex Gleason
75c277e7e8
updateCredentials: allow setting nip05 through the API, remove restrictions on update_credentials 2024-03-24 16:42:19 -05:00
Alex Gleason
dbff3fee9a
Upgrade nostr-tools to v2.1.5 2024-02-12 11:40:17 -06:00
Alex Gleason
aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason
826a244f47
Add status zap endpoint, publish zap request to pipeline 2024-01-15 16:43:56 -06:00
Alex Gleason
31a6d0305f
Add admin status deletion endpoint 2024-01-11 18:47:26 -06:00
Alex Gleason
db3ee13baa
Implement Pleroma config GET controller 2024-01-08 18:01:24 -06:00
Alex Gleason
5bd03bdcaa
Support admin accounts endpoint (first pass) 2024-01-05 15:35:55 -06:00
Alex Gleason
3341d6aedd
Add pinController, unpinController 2024-01-01 16:23:08 -06:00
Alex Gleason
5f6715db46
Add unbookmarkController 2024-01-01 14:35:46 -06:00