53 Commits (c2ef83ea4c045eefe9930b66ea6abe6ddeb31740)

Author SHA1 Message Date
Claire 598ae4f2da
Add endpoints for unread notifications count (#31191) 2 years ago
Matt Jankowski 1d3ecd3fba
Add `API::Pagination` concern (#28826) 2 years ago
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class (#29606) 2 years ago
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller (#29574) 2 years ago
Matt Jankowski 9754967d5f
Move `pagination_max_id` and `pagination_since_id` into api/base controller (#28844) 2 years ago
Matt Jankowski c28976d89e
Handle negative offset param in `api/v2/search` (#28282) 2 years ago
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop (#28176) 2 years ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 2 years ago
Matt Jankowski 1f1c75bba5
File cleanup/organization in `controllers/concerns` (#27846) 2 years ago
Matt Jankowski d562fb8459
Specs for minimal CSP policy in `Api::` controllers (#27845) 2 years ago
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252) 3 years ago
Claire 276c39361b
Fix anonymous visitors getting a session cookie on first visit (#24584) 3 years ago
Eugen Rochko 6084461cd0
Change unauthenticated responses to be cached in REST API (#24348) 3 years ago
Claire 58a1b2e330
Fix caching logic with regards to Accept-Language, Cookie, and Signature (#24604) 3 years ago
Eugen Rochko e98c86050a
Refactor `Cache-Control` and `Vary` definitions (#24347) 3 years ago
Claire 623d3d2e32
Change CSP directives on API to be tight and concise (#20960) 3 years ago
Daniel Axtens 4d85c27d1a
Add 'private' to Cache-Control, match Rails expectations (#20608) 3 years ago
Eugen Rochko b31afc6294
Fix error when passing unknown filter param in REST API (#20626) 3 years ago
Eugen Rochko 3a41fccc43
Change `AUTHORIZED_FETCH` to not block unauthenticated REST API access (#19803) 3 years ago
Eugen Rochko 3e18e05330
Fix uncaught error when invalid date is supplied to API (#19480) 3 years ago
Claire 2750a7a0e6
Fix REST API sometimes returning HTML on error (#19135) 4 years ago
Eugen Rochko 9f81b9f29a
Fix suspended users being able to access APIs that don't require a user (#18524) 4 years ago
Eugen Rochko 67d550830b
Fix locale not being set in REST API (#17847) 4 years ago
Eugen Rochko 50ea54b3ed
Change authorized applications page (#17656) 4 years ago
Claire d8629e7b86
Add logging of S3-related errors (#16381) 5 years ago
Eugen Rochko 1045549f85
Add stoplight for object storage failures, return HTTP 503 (#13043) 5 years ago
Eugen Rochko 8532429af7
Fix 2FA/sign-in token sessions being valid after password change (#14802) 5 years ago
Eugen Rochko ed099d8bdc
Change account suspensions to be reversible by default (#14726) 6 years ago
dependabot[bot] 8972e5f7f6
Bump rubocop from 0.86.0 to 0.88.0 (#14412) 6 years ago
ThibG ac8a788370
Fix functional user requirements in whitelist mode (#14093) 6 years ago
Eugen Rochko 339ce1c4e9
Add specific rate limits for posting and following (#13172) 6 years ago
Eugen Rochko f52c988e12
Add announcements (#12662) 6 years ago
Eugen Rochko 6d7daf6154
Fix generic HTTP 500 error on duplicate records (#12563) 6 years ago
Eugen Rochko 22ce4778eb
Fix uncaught parameter missing exceptions and missing error templates (#11702) 7 years ago
ThibG 646f96d448 Fix ActivityPub and REST API queries setting cookies and preventing caching (#11539) 7 years ago
Eugen Rochko 24552b5160
Add whitelist mode (#11291) 7 years ago
Eugen Rochko 964ae8eee5
Change unconfirmed user login behaviour (#11375) 7 years ago
ThibG 91634947f8 Explicitly disable storage of REST API results (#10655) 7 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250) 7 years ago
Takeshi Umeda bf70e5cfda Add error message with invalid email confirmation (#9625) 7 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572) 7 years ago
Eugen Rochko f0fff3eb10
Support min_id-based pagination in REST API (#8736) 8 years ago
Eugen Rochko 2288d50a7b
Add force_login option to OAuth authorize page (#8655) 8 years ago
Eugen Rochko 2f34b747b3
Allow mods to disable login, improve message when login disabled (#8329) 8 years ago
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes (#7929) 8 years ago
Eugen Rochko f62ee1ddb0
Disable API access when login is disabled (#7289) 8 years ago
Eugen Rochko fce8464077
Ensure that boolean params in the API are parsed for truthiness (#6575) 8 years ago
nightpool c235711ffe Refactor /api/web APIs to use the centralized axios instance (#6223) 8 years ago
abcang fcc0795a40 Remove unused function (#5950) 8 years ago
Yamagishi Kazutoshi 2edfdab6e6 Don't send Link header when don't know prev and next links (#4633) 9 years ago