83 Commits (d00e45a7d369790a69effd49a067977da18cddd9)

Author SHA1 Message Date
Eugen Rochko 6084461cd0
Change unauthenticated responses to be cached in REST API (#24348)
2 years ago
Nick Schonning aef0051fd0
Enable Rubocop HTTP status rules (#23717)
2 years ago
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language (#19095)
2 years ago
Claire 440eb71310
Change unapproved and unconfirmed account to not be accessible in the REST API (#17530)
3 years ago
Eugen Rochko 631e495a79
Change `follow` scope to be covered by `read` and `write` scopes in REST API (#17678)
3 years ago
Claire bddd9ba36d
Add OMNIAUTH_ONLY environment variable to enforce externa log-in (#17288)
3 years ago
Takeshi Umeda 17f4e457b3
Add remove from followers api (#16864)
3 years ago
Claire 566fc90913
Add Ruby 3.0 support (#16046)
4 years ago
Eugen Rochko 9aa37b32c3
Add `details` to error response for `POST /api/v1/accounts` in REST API (#15803)
4 years ago
Levi Bard 11d603101a
Fix muting users with duration via the REST api (#15516)
4 years ago
OSAMU SATO 96761752ec
Add duration parameter to muting. (#13831)
4 years ago
Eugen Rochko 5e1364c448
Add IP-based rules (#14963)
4 years ago
Eugen Rochko 974b1b79ce
Add option to be notified when a followed user posts (#13546)
4 years ago
Eugen Rochko e6b272e5c9
Change REST API to return empty data for suspended accounts (#14765)
4 years ago
Eugen Rochko 339ce1c4e9
Add specific rate limits for posting and following (#13172)
5 years ago
Eugen Rochko 0ae5c6312f
Remove useless `respond_to` calls (#13208)
5 years ago
Eugen Rochko eb83d6256e
Add `reason` param to `POST /api/v1/accounts` REST API (#12064)
5 years ago
ThibG 18b451c0e6 Change silences to always require approval on follow (#11975)
5 years ago
Eugen Rochko 24552b5160
Add whitelist mode (#11291)
5 years ago
Eugen Rochko 67b3b62b98
Improve blocked view of profiles (#10491)
6 years ago
ThibG 62bafa20a1 Hide blocking accounts from blocked users (#10442)
6 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250)
6 years ago
Eugen Rochko 43c61bca60
Add locale param to sign-up API (#9747)
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
6 years ago
Eugen Rochko 6d59dfa15d
Optimize the process of following someone (#9220)
6 years ago
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes (#7929)
6 years ago
Eugen Rochko 54f34d3f2a
Return HTTP 410 for suspended accounts in GET /api/v1/accounts/:id (#7287)
7 years ago
Eugen Rochko fce8464077
Ensure that boolean params in the API are parsed for truthiness (#6575)
7 years ago
Yamagishi Kazutoshi b21db9bbde Using double splat operator (#5859)
7 years ago
aschmitz eeaec39888 Allow hiding of reblogs from followed users (#5762)
7 years ago
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
7 years ago
Eugen Rochko 0ef9d45d05 Fix error when following locked accounts (#4896)
7 years ago
Eugen Rochko 9b994c4aee Fix #4794 - Fake instant follow in API response when account is believed unlocked (#4799)
7 years ago
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Matt Jankowski 73540ffe6b Clean up for api/base controller (#3629)
8 years ago
Matt Jankowski 5c63523972 Spec coverage and refactor for the api/v1/accounts controllers (#3451)
8 years ago
unarist cf4fe6cab8 More use of next link header on account (media) timelines (#3311)
8 years ago
unarist 3ce9ca4c99 Fix following/followers API to return correct link headers (#3268)
8 years ago
Akihiko Odaki f554807563 Use joins for account properties (#3167)
8 years ago
Eugen Rochko f1ab70649b Add buttons to block and unblock domain (#3127)
8 years ago
Matt Jankowski a8e1afc30a Simplify render in controllers (#2144)
8 years ago
Eugen 15d442cf9d Fix /api/v1/accounts/update_credentials tests (#1357)
8 years ago
David Celis d4fe6cd2bf Allow users to update their Account in the API (#1179)
8 years ago
Eugen b89f007862 Make public timelines API not require user context/app credentials (#1291)
8 years ago
Eugen Rochko de22c202f5 Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko 05cf086766 New API method: /api/v1/search
8 years ago
Eugen Rochko 5cfc9c7487 Forgot to hook up API with the latest method
8 years ago
Eugen Rochko d6cb4bbe99 Performance improvement for profiles
8 years ago
Eugen Rochko 5f4e402204 Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
8 years ago
Kit Redgrave 442fdbfc53 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago