Alex Gleason
a316e92001
Bump limits slightly, also limit account statuses controller
2024-12-27 13:15:47 -06:00
Alex Gleason
eb10cdce76
Stricter timeline rate limits
2024-12-27 13:06:32 -06:00
Alex Gleason
7f02657306
Merge branch 'feat-set-kind-0-api' into 'main'
...
Create updateInstanceController endpoint (allow for setting the kind 0, screenshots go into kind 0 content)
Closes #259 and #257
See merge request soapbox-pub/ditto!577
2024-11-05 17:02:08 +00:00
Alex Gleason
e3aed99605
Let users host arbitrary .well-known paths
2024-11-04 17:23:30 -06:00
P. Reis
339b13c084
feat: create updateInstanceController
...
for now only update: title, description, screenshots (user must provide the image URL) and thumbnail (user must provide the image URL)
screenshots array is stored in the content of the kind 0 of the
2024-11-01 23:14:59 -03:00
Alex Gleason
b4b7381b49
Implement OAuth revoke endpoint
2024-10-17 14:20:42 -05:00
Alex Gleason
a7d8d86fa7
Add GET /api/v1/notifications/:id endpoint
2024-10-14 17:27:30 -05:00
Alex Gleason
4019099c57
Add endpoint to GET a push subscription
2024-10-14 15:48:55 -05:00
Alex Gleason
94cf3b2931
Add push controller test
2024-10-13 23:29:06 -05:00
Alex Gleason
b4e63afb8c
Merge remote-tracking branch 'origin/main' into push
2024-10-11 18:03:20 -05:00
Alex Gleason
d639d9a14d
Reorganize translation interfaces/files
2024-10-10 14:06:04 -05:00
Alex Gleason
df8004e261
Decrease rate limit of translations
2024-10-09 21:04:05 -05:00
P. Reis
cad0da2732
feat: rateLimit translate endpoint
2024-10-09 15:24:01 -03:00
P. Reis
57bbbb289b
fix: types must have the type prefix
...
apparently happens in Deno 2.0?
2024-10-09 15:22:09 -03:00
P. Reis
01a16473ab
Merge branch 'main' into translate-status
2024-10-07 15:02:47 -03:00
P. Reis
b369b2171d
feat: create translateController - /api/v1/statuses/:id/translate
2024-10-07 15:02:04 -03:00
Alex Gleason
757b6c7e1c
Merge remote-tracking branch 'origin/main' into push
2024-10-06 15:51:50 -05:00
Alex Gleason
a2e8de6c36
Rate-limit the captcha endpoints
2024-10-04 16:48:24 -05:00
Alex Gleason
68c0d437ee
captcha: resize pieces, require nip98 auth
2024-10-04 13:34:12 -05:00
Alex Gleason
467a49bd40
Add captcha verify controller
2024-10-04 12:43:29 -05:00
Alex Gleason
e57dd8911c
captcha: don't do the encryption thing, just use a ttl cache
2024-10-04 12:07:12 -05:00
Alex Gleason
0bf41bc913
Use Pleroma's captcha endpoint (we basically match their return type)
2024-10-03 19:37:14 -05:00
Alex Gleason
f83ad0dbce
Add preliminary captcha controller
2024-10-03 19:23:22 -05:00
Alex Gleason
4561ec0d00
Store the Push Subscription in the database
2024-10-02 22:20:47 -05:00
Alex Gleason
bece384124
Add Web Push skeleton
2024-09-30 19:12:53 -05:00
Alex Gleason
64a6d7170c
Add initial webmanifest controller
2024-09-26 13:50:51 -05:00
Siddharth Singh
7e711aa8a8
updateMediaDescriptionController --> updateMediaController
2024-08-25 19:43:28 +05:30
Siddharth Singh
6ff90d63bb
implement PUT /api/v1/media/:id
...
Adds support for setting image descriptions for accessibility reasons
2024-08-25 16:23:25 +05:30
Alex Gleason
eb3b442dd4
Add more known frontend routes
2024-08-19 20:13:59 -05:00
Alex Gleason
443c8a43f7
Fix matching @ routes in app
2024-08-09 21:07:41 -05:00
Alex Gleason
349f59cc70
Merge remote-tracking branch 'origin/main' into opengraph-metadata
2024-08-07 18:19:13 -05:00
Alex Gleason
717fd6bdc9
Merge branch 'zap-tag-endpoint-by-id' into 'main'
...
Get zap split by post/status id, based in the zap tag
See merge request soapbox-pub/ditto!448
2024-08-07 17:36:09 +00:00
P. Reis
10052230e5
refactor: rename getZapSplitsOfStatusController to statusZapSplitsController
2024-08-07 14:24:32 -03:00
Alex Gleason
5d6ab9f63b
Separate listPagination
2024-08-06 19:04:27 -05:00
P. Reis
32cecb5e6b
feat: create zap split endpoint based in post/status id
2024-08-06 20:55:40 -03:00
Alex Gleason
d285b7dced
Fix Mastodon legacy pagination
2024-08-06 18:20:26 -05:00
Alex Gleason
4c83d6d1b2
Do frontendController like I want to
2024-08-04 13:26:05 -05:00
Siddharth Singh
5ee0c1e852
opengraphMiddleware.ts --> serveStaticWithOG.ts
2024-08-04 04:36:36 +05:30
Siddharth Singh
b8eb549190
opengraphFrontendController --> serveStaticWithOG
2024-08-04 04:35:56 +05:30
Siddharth Singh
7889ee5db4
first version of opengraph functionality
2024-08-04 03:06:53 +05:30
P. Reis
baa00e45a6
feat: create getZapSplitsController
2024-08-02 18:47:21 -03:00
P. Reis
dc94d21374
fix(app.ts): import startup.ts file
2024-07-25 16:32:49 -03:00
P. Reis
ddd1972c83
refactor(app.ts): move cron function and startFirehose function to startup.ts
2024-07-24 10:55:30 -03:00
P. Reis
449a3497ba
feat: create deleteZapSplitsController
2024-07-21 19:40:55 -03:00
P. Reis
2e66af26db
feat: create updateZapSplitsController
2024-07-21 19:26:05 -03:00
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