Commit Graph

14 Commits (61a7390b666dc40beda291da426436a9d36f4288)

Author SHA1 Message Date
ThibG 4faaa5b25e Add updated relationship to follow request API responses ()
Fixes 
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table ()
ThibG 0b62585748 Self-notify on accepting follow requests ()
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes ()
* Add more granular OAuth scopes

* Add human-readable descriptions of the new scopes

* Ensure new scopes look good on the app UI

* Add tests

* Group scopes in screen and color-code dangerous ones

* Fix wrong extra scope
Eugen Rochko 33513753b9
Fix unpermitted parameters warning when generating pagination URLs ()
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
Matt Jankowski 73540ffe6b Clean up for api/base controller ()
* Move ApiController to Api/BaseController

* API controllers inherit from Api::BaseController

* Add coverage for various error cases in api/base controller
Matt Jankowski 0f155829b7 Improve spec coverage and clean up api/v1/follow_requests controller ()
Akihiko Odaki 22cb286ad7 Fix regressions in api/v1 ()
The regressions are introduced at commit
f554807563 by me (Akihiko Odaki)
Akihiko Odaki f554807563 Use joins for account properties ()
Eugen b89f007862 Make public timelines API not require user context/app credentials ()
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public
Fix  - respect query params when generating pagination links in API

* Apply pagination fix to more APIs
Eugen Rochko de22c202f5 Add counter caches for a large performance increase on API requests
Eugen Rochko 149887a0ff Make follow requests federate
Eugen Rochko 004382e4d0 Adding follow requests API