75 Commits (dde0529fbc2228ff7069a5208cdcdf745685db09)

Author SHA1 Message Date
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) 7 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) 8 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 35933167c0 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
Eugen Rochko 3e9d794ea5 Add tuning documentation, add <content> tags back to most salmons, 8 years ago
Eugen Rochko 8132cf8153 Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments 8 years ago
Eugen Rochko 8a880a3d46 Make blocks create entries and unfollows instantly, but do the clean up 8 years ago
Eugen Rochko 1f5792c834 API now respects ?limit param as long as it's within 2x default limit 8 years ago
Eugen Rochko cca82bf0a2 Move merging/unmerging of timelines into background. Move blocking into 8 years ago
Eugen Rochko 2939e9898b Extend rails-settings-cached to merge db-saved hash values with defaults 8 years ago
Eugen Rochko b891a81008 Follow call on locked account creates follow request instead 8 years ago