Commit Graph

637 Commits (75470f1256cbc962be5ed7d92f4e522146cfaac5)

Author SHA1 Message Date
Emelia Smith 049b159beb
Add read:me OAuth 2.0 scope, allowing more limited access to user data ()
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` ()
Matt Jankowski 34f293475e
Fix results/query in `api/v1/featured_tags/suggestions` ()
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class ()
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller ()
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 50b17f7e10
Add notification policies and notification requests ()
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true ()
Matt Jankowski 2f19ddd1fa
Move status serializer error handling to private method ()
Matt Jankowski 93a5b3f9df
Move status serializer chooser to private method ()
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` ()
Eugen Rochko 5b1eb09d54
Add annual reports for accounts ()
Matt Jankowski c0e8e457ab
Eager loading fixes for `api/` controllers ()
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* ()
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* ()
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope ()
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests ()
Claire d7e13e2483
Fix potential redirection loop of streaming endpoint ()
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains ()
Claire 1184887b01
Fix streaming API redirection ignoring the port of `streaming_api_base_url` ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski c28976d89e
Handle negative offset param in `api/v2/search` ()
Claire 7d9b209fe8
Fix call to inefficient `delete_matched` cache method in domain blocks ()
Matt Jankowski 0e5b8fc46b
Fix `Style/RedundantReturn` cop ()
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop ()
Matt Jankowski d83d01eb1e
Fix `Lint/RedundantSafeNavigation` cop ()
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases ()
Matt Jankowski 1f1c75bba5
File cleanup/organization in `controllers/concerns` ()
Matt Jankowski e7c340a634
Spec coverage for missing `q` param and error conditions in `api/v2/search` controller ()
Kevin Bongart 7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs ()
Matt Jankowski 4be12791e6
Remove `default_scope` from `StatusEdit` class ()
Matt Jankowski 9742bccbe7
Add coverage for `api/v2/media` endpoint ()
Matt Jankowski 876f5b1d12
Convert `/instances/*` controller specs to request specs ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski fe58ac8d9f
Improve spec coverage for `api/web/push_subscriptions` controller ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko d67bd44ca1
Add profile setup to onboarding in web UI ()
Matt Jankowski 7e1a77ea51
Add base class for `api/v1/timelines/*` controllers ()
Matt Jankowski d562fb8459
Specs for minimal CSP policy in `Api::` controllers ()
Matt Jankowski 1f8173ac5a
Extract private methods in api/v1/instances/domain_blocks ()
Matt Jankowski 0945e25b8f
Add `Api::V1::Statuses::BaseController` base controller class ()
Claire 07a4059901
Add support for invite codes in the registration API ()
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status ()
Matt Jankowski ac69f90098
Add `Api::V1::Instances::BaseController` base controller class ()
Claire c451bbe249
Allow viewing and severing relationships with suspended accounts ()
Emelia Smith 7c3fea7275
Feature: Allow token introspection without read scope ()
Robert R George 20666482ef
Added admin api for managing tags ()
Claire 33c8708a1a
Change `GET /api/v1/directory` to use database replica rather than primary ()
Claire 548c032dbb
Improve interaction modal error handling ()