79 Commits (72be882792a72bf09514f79e3b0d4c8df3d0ef9a)

Author SHA1 Message Date
Eugen Rochko 3bf45628c5 Change `follow` scope to be covered by `read` and `write` scopes in REST API (#17678)
3 years ago
Claire 06f653972a Add OMNIAUTH_ONLY environment variable to enforce externa log-in (#17288)
3 years ago
Takeshi Umeda dae4762733 Add remove from followers api (#16864)
3 years ago
Claire 86f5fad111 Add Ruby 3.0 support (#16046)
4 years ago
Eugen Rochko ade70733f7 Add `details` to error response for `POST /api/v1/accounts` in REST API (#15803)
4 years ago
Levi Bard 87d45a9cd8 Fix muting users with duration via the REST api (#15516)
4 years ago
OSAMU SATO ba9252b32d Add duration parameter to muting. (#13831)
4 years ago
Eugen Rochko da4c730c47 Add IP-based rules (#14963)
4 years ago
Eugen Rochko 02c4c91faa Add option to be notified when a followed user posts (#13546)
4 years ago
Eugen Rochko 7fa0da9e98 Change REST API to return empty data for suspended accounts (#14765)
4 years ago
Eugen Rochko a4668d994b Add specific rate limits for posting and following (#13172)
5 years ago
Eugen Rochko 9619521459 Remove useless `respond_to` calls (#13208)
5 years ago
Eugen Rochko 059287ad08 Add `reason` param to `POST /api/v1/accounts` REST API (#12064)
5 years ago
ThibG 70990720c5 Change silences to always require approval on follow (#11975)
5 years ago
Eugen Rochko 825dc3ca22 Add whitelist mode (#11291)
5 years ago
Eugen Rochko c84c30c542 Improve blocked view of profiles (#10491)
6 years ago
ThibG 4cd944d364 Hide blocking accounts from blocked users (#10442)
6 years ago
Eugen Rochko 73fb7bfa0f Admission-based registrations mode (#10250)
6 years ago
Eugen Rochko d62a2a69e4 Add locale param to sign-up API (#9747)
6 years ago
Eugen Rochko bbf9f4f93b Add REST API for creating an account (#9572)
6 years ago
Eugen Rochko 5f613d55e6 Optimize the process of following someone (#9220)
6 years ago
Eugen Rochko 34fdf77f48 Add more granular OAuth scopes (#7929)
6 years ago
Eugen Rochko e7b07f47ca Return HTTP 410 for suspended accounts in GET /api/v1/accounts/:id (#7287)
7 years ago
Eugen Rochko f410afe59e Ensure that boolean params in the API are parsed for truthiness (#6575)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
7 years ago
aschmitz ce341c7cf6 Allow hiding of reblogs from followed users (#5762)
7 years ago
Surinna Curtis 582dd1b7c7 Optional notification muting (#5087)
7 years ago
Eugen Rochko e054961051 Fix error when following locked accounts (#4896)
7 years ago
Eugen Rochko 181cbbcaf8 Fix #4794 - Fake instant follow in API response when account is believed unlocked (#4799)
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)
8 years ago
Matt Jankowski 1066fd1ab5 Spec coverage and refactor for the api/v1/accounts controllers (#3451)
8 years ago
unarist af368a2d12 More use of next link header on account (media) timelines (#3311)
8 years ago
unarist 9642bdbe0a Fix following/followers API to return correct link headers (#3268)
8 years ago
Akihiko Odaki 9d32e7f6d5 Use joins for account properties (#3167)
8 years ago
Eugen Rochko 5695449335 Add buttons to block and unblock domain (#3127)
8 years ago
Matt Jankowski 7a1129892c Simplify render in controllers (#2144)
8 years ago
Eugen 47a3702db4 Fix /api/v1/accounts/update_credentials tests (#1357)
8 years ago
David Celis 6e0b4032b3 Allow users to update their Account in the API (#1179)
8 years ago
Eugen 3047a8da74 Make public timelines API not require user context/app credentials (#1291)
8 years ago
Eugen Rochko 96e58cf289 Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko 3893f75a51 New API method: /api/v1/search
8 years ago
Eugen Rochko 844eda88fe Forgot to hook up API with the latest method
8 years ago
Eugen Rochko dea8e95d14 Performance improvement for profiles
8 years ago
Eugen Rochko d1e1f26878 Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
8 years ago
Kit Redgrave 4554ccd5d0 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko 5157e25aab Add tuning documentation, add <content> tags back to most salmons,
8 years ago
Eugen Rochko 7f9d6d0160 Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
8 years ago
Eugen Rochko ea8b548ee9 Make blocks create entries and unfollows instantly, but do the clean up
8 years ago
Eugen Rochko b4ec84067a API now respects ?limit param as long as it's within 2x default limit
8 years ago