Eugen Rochko
3bf45628c5
Change `follow` scope to be covered by `read` and `write` scopes in REST API ( #17678 )
...
Deprecate `follow` scope
3 years ago
OSAMU SATO
ba9252b32d
Add duration parameter to muting. ( #13831 )
...
* Adding duration to muting.
* Remove useless checks
4 years ago
Eugen Rochko
7fa0da9e98
Change REST API to return empty data for suspended accounts ( #14765 )
4 years ago
Eugen Rochko
9619521459
Remove useless `respond_to` calls ( #13208 )
5 years ago
Jakub Mendyk
9c11d260e1
Make Api::V1::MutesController paginate properly ( #8472 )
...
Fixes #8463
6 years ago
Eugen Rochko
34fdf77f48
Add more granular OAuth scopes ( #7929 )
...
* 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
6 years ago
Eugen Rochko
10fc551576
Fix unpermitted parameters warning when generating pagination URLs ( #6995 )
7 years ago
Eugen Rochko
20e15ecfb3
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ( #4090 )
7 years ago
Matt Jankowski
76f986d07b
Clean up for api/base controller ( #3629 )
...
* Move ApiController to Api/BaseController
* API controllers inherit from Api::BaseController
* Add coverage for various error cases in api/base controller
8 years ago
Matt Jankowski
3e95a6c9b7
Improve spec coverage and clean up api/v1/mutes controller ( #3481 )
8 years ago
Akihiko Odaki
90c8175cb0
Fix mutes_controller error and incorrect statuses_controller report ( #3202 )
...
This commit fixes a regression in commit
9d32e7f6d5
.
8 years ago
Akihiko Odaki
f23a0655fe
Fix regressions in api/v1 ( #3178 )
...
The regressions are introduced at commit
9d32e7f6d5
by me (Akihiko Odaki)
8 years ago
Akihiko Odaki
9d32e7f6d5
Use joins for account properties ( #3167 )
8 years ago
Eugen
3047a8da74
Make public timelines API not require user context/app credentials ( #1291 )
...
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public
Fix #1156 - respect query params when generating pagination links in API
* Apply pagination fix to more APIs
8 years ago
Eugen Rochko
96e58cf289
Add counter caches for a large performance increase on API requests
8 years ago
Kit Redgrave
4554ccd5d0
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago