Commit graph

182 commits

Author SHA1 Message Date
Alex Gleason
96a8ccb2e6
HTTP Response metrics 2024-07-05 00:07:59 +01:00
Alex Gleason
d4713cae01
Move errorHandler to a separate file 2024-07-04 23:53:20 +01:00
P. Reis
a868512188 refactor: error messages in app.onError() 2024-07-02 18:38:16 -03:00
P. Reis
cac5c9c1e0 refactor: change timeout error message 2024-07-02 17:17:29 -03:00
P. Reis
e6c38550c6 feat: add onError() function hono handler 2024-07-02 17:15:47 -03:00
Alex Gleason
7ecfcd84b3
Actually use metricsMiddleware, whoops 2024-06-24 15:49:27 -05:00
Alex Gleason
88df19494a
Expose /metrics in hono 2024-06-21 22:46:37 -05:00
Alex Gleason
330b38ff68
Move rateLimiterMiddleware to a separate file 2024-06-18 14:28:13 -05:00
Alex Gleason
a824d72a1a
Add IP rate limiter 2024-06-18 12:09:29 -05:00
Alex Gleason
66abfa38c3
Upgrade hono, switch it to use JSR 2024-06-18 11:51:51 -05:00
P. Reis
7474c1b288 feat: add /api/v1/ditto/statuses/:id{[0-9a-f]{64}}/zapped_by endpoint 2024-06-13 00:49:21 -03:00
Alex Gleason
4285763c9d
Add instance v2 controller 2024-06-12 19:47:26 -05:00
Alex Gleason
899e7672dc
Disable Hono strict mode 2024-06-10 20:04:39 -05:00
Alex Gleason
2245263011
Add ditto:name_grant notification 2024-06-09 14:50:37 -05:00
Alex Gleason
2a2f43d106
Add admin name approve/reject endpoints 2024-06-09 11:57:10 -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
8e5fa9eece
Merge remote-tracking branch 'origin/main' into nip05-request 2024-06-08 15:01:01 -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
616c405f0f
Add an endpoint to request a NIP-05 name 2024-06-06 14:14:59 -05:00
P. Reis
739fea0890 feat: zap profiles directly
Rewrite zapController to return invoice in body instead of in header
2024-06-04 13:37:04 -03:00
Alex Gleason
4329d8ed9f
Implement trending links 2024-06-02 23:19:53 -05:00
Alex Gleason
3874a7fe8d
Add quotesController to list the quotes of a status 2024-06-02 20:36:34 -05:00
Alex Gleason
bafb42f034
Fix suggested timeline endpoint typo 2024-06-02 13:53:45 -05:00
Alex Gleason
857cfc7259
Add suggested timeline endpoint 2024-06-02 13:40:44 -05:00
Alex Gleason
0f59b3c96b
Trends: label trending posts by publishing an event 2024-06-02 11:58:21 -05:00
P. Reis
83020e9111 fix: expose 'Ln-Invoice' header 2024-05-29 09:02:17 -03:00
Alex Gleason
1ee0ca8d5c
Optimize filesystem routes 2024-05-25 11:18:17 -05:00
Alex Gleason
622a2b2a4f
Implement familiar followers 2024-05-24 22:30:56 -05:00
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