Commit Graph

1541 Commits (1b839d2cbab2acf6730c73ee7250c4f436cf8489)

Author SHA1 Message Date
Matt Jankowski 0397df9bef
Resolve `TODO` in `api/v1/admin/domain_*` controllers ()
Renaud Chaput f587ff643f
Grouped Notifications UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Emelia Smith aa88aca0ad
Add optional OAuth application to reports ()
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed ()
Daniel M Brasil 3875bd138d
Fix HTTP 500 in `/api/v1/polls/:id/votes` ()
Claire 502cf75b16
Merge pull request from GHSA-58x8-3qxw-6hm7
* Fix insufficient permission checking for public timeline endpoints

Note that this changes unauthenticated access failure code from 401 to 422

* Add more tests for public timelines

* Require user token in `/api/v1/statuses/:id/translate` and `/api/v1/scheduled_statuses`
Claire 395f17ca17
Merge pull request from GHSA-vp5r-5pgw-jwqx
* Fix streaming sessions not being closed when revoking access to an app

* Add tests for GHSA-7w3c-p9j8-mq3x
Matt Jankowski 929b9fdaff
Remove exclusion for `Rails/LexicallyScopedActionFilter` cop ()
Claire bb2d77b4a0
Change `/api/v2_alpha/notifications` to only return historical data in pages ()
Matt Jankowski 978601a0ae
Extract permitted params constant in v1/admin/tags ()
Matt Jankowski 410370eecd
Extract `PERMITTED_PARAMS` constant from `admin/domain_blocks` controller ()
Eugen Rochko a2505e8611
Add timeline of public posts about a trending link to REST API ()
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 974335e414
Add experimental server-side notification grouping ()
Matt Jankowski 469de923aa
Update `current_user` override mode description in controllers ()
Matt Jankowski 85d9053b36
Move `pagination_params` into `API::BaseController` ()
Claire 36fe8f8566
Change `ids` param to `id` in `/api/v1/statuses` and `/api/v1/accounts` for consistency ()
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag ()
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop ()
Claire 89f89d738f
Revert "Allow unblocking email addresses from any matching account ()" ()
Emelia Smith 2da2a1dae9
Support multiple redirect_uris when creating OAuth 2.0 Applications ()
Matt Jankowski 65e82211cd
Rename `cache_*` methods to `preload_*` in controller concern ()
Emelia Smith f0d6dc4519
Fix: Mark redirect uris field in Development > Application form as required ()
Claire 2fe1b8d169
Add API to get multiple accounts and statuses ()
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
Fawaz Farid 05126d106f
Redirect back after site upload deletion ()
Emelia Smith 116f01ec7d
Implement RFC 8414 for OAuth 2.0 server metadata ()
Claire 8e4fea77e3
Fix race condition in `POST /api/v1/push/subscription` ()
Claire 253ead3aa7
Fix not being able to block a subdomain of an already-blocked domain through the API ()
Emelia Smith 81f0002e76
Fix missing destory audit logs for Domain Allows ()
Emelia Smith 049b159beb
Add read:me OAuth 2.0 scope, allowing more limited access to user data ()
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` ()
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag ()
Matt Jankowski 1d3ecd3fba
Add `API::Pagination` concern ()
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` ()
Claire babbf6017d
Remove caching in `cache_collection` ()
Matt Jankowski edde54e991
Update stoplight to version 4.1.0 ()
Matt Jankowski 34f293475e
Fix results/query in `api/v1/featured_tags/suggestions` ()
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places ()
Claire 44bf7b8128
Add notifications of severed relationships ()
Claire 8a1423a474
Allow unblocking email addresses from any matching account ()
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class ()
Matt Jankowski 7720c684c5
Move common module inclusion in sub classes to `ActivityPub::BaseController` ()
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller ()
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 9754967d5f
Move `pagination_max_id` and `pagination_since_id` into api/base controller ()
Eugen Rochko c10bbf5fe3
Add notification policies and notification requests in web UI ()
Eugen Rochko 5b3a8737d6
Add hints for rules ()
Eugen Rochko 50b17f7e10
Add notification policies and notification requests ()
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true ()
zunda a30cdfd4d4
Specify 410 for code when responding as json while self-destruction ()