Commit Graph

151 Commits

Author SHA1 Message Date
Alex Gleason b197b57ea8
Support reactionsController with a single emoji 2024-05-23 13:22:04 -05:00
Alex Gleason 86a931d725
Add reactionsController 2024-05-23 13:16:24 -05:00
Alex Gleason b0a53f4789
Add delete reaction controller 2024-05-22 18:33:00 -05:00
Alex Gleason 5da5848ca6
Trending statuses first iteration 2024-05-21 19:48:26 -05:00
Alex Gleason 80344e3c5f
Fix trends cache 2024-05-21 18:15:17 -05:00
Alex Gleason 938e26e2a0
Remove webfinger and host-meta 2024-05-21 12:54:10 -05:00
Alex Gleason 8f393aa604
Remove ActivityPub actor endpoint, remove deps.ts 2024-05-21 12:51:19 -05:00
Alex Gleason 6f6e87525e
Remove DittoUploader interface in favor of NUploader 2024-05-19 15:57:04 -05:00
Alex Gleason 82c03dcb56
Rewrite all the uploaders 2024-05-18 22:00:24 -05:00
Alex Gleason 08c9ee0670
Refactor client and firehose 2024-05-14 16:25:24 -05:00
Alex Gleason e53ea22274
Remove unused import 2024-05-14 14:48:37 -05:00
Alex Gleason 45b766af4d
Remove 'user' from AppContext 2024-05-14 14:24:48 -05:00
Alex Gleason 084143c5c8
Rename all middleware to thingMiddleware 2024-05-14 12:07:54 -05:00
Alex Gleason 1accae2222
Add a ConnectSigner to wrap our default opts to NConnectSigner, add c.set('signer') calls to nip98 middleware 2024-05-14 12:04:31 -05:00
Alex Gleason c5fbe69b80
requirePubkey -> requireSigner 2024-05-14 11:42:53 -05:00
Alex Gleason 5a2b1b7de7
Destroy everything 2024-05-14 11:40:20 -05:00
Alex Gleason ee7864da8c
Add a signerMiddleware 2024-05-14 11:31:20 -05:00
Alex Gleason afcf28b506 Merge branch 'admin-accounts-perform-action' into 'main'
Implement Mastodon API - perform action against an account

Closes #114

See merge request soapbox-pub/ditto!240
2024-05-09 16:46:54 +00:00
P. Reis 9e2225873d feat: implement action against an account
- Action of deactivating an account by muting it in the entire server
2024-05-08 20:12:55 -03:00
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