Commit Graph

1525 Commits (16249946aea0db8a74748909d65c94742482dcb7)

Author SHA1 Message Date
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 ()
Matt Jankowski 785e2f9399
Add scope `providing_styles` to `UserRole` ()
Claire d4d0565b0f
Fix user creation failure handling in OAuth paths ()
Claire b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
Claire 7efc33b909
Move HTTP Signature parsing code to its own class ()
Claire eeabf9af72
Fix compatibility with Redis <6.2 ()
Matt Jankowski 2f19ddd1fa
Move status serializer error handling to private method ()
Matt Jankowski 93a5b3f9df
Move status serializer chooser to private method ()
Matt Jankowski 0877f6fda4
Remove redundant `return` in `IntentsController` ()
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` ()
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope ()
Matt Jankowski 17ea22671d
Fix `Style/GuardClause` cop in app/controllers ()
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo ()
Claire c50274a0ac
Fix redirect confirmation for accounts ()
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko 5b1eb09d54
Add annual reports for accounts ()