324 Commits (5517df61de1e867afa531268755ee893ffca3c99)

Author SHA1 Message Date
Matt Jankowski ad585fb195
Specs api v1 controllers (#23930)
2 years ago
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs (#23790)
2 years ago
Nick Schonning 0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults (#23792)
2 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679)
2 years ago
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq (#23740)
2 years ago
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray (#23739)
2 years ago
Nick Schonning 5179c47087
Autofix Rubocops RSpec/ScatteredLet (#23725)
2 years ago
Nick Schonning aef0051fd0
Enable Rubocop HTTP status rules (#23717)
2 years ago
Nick Schonning bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
2 years ago
Nick Schonning a2fdb388eb
Autofix Rubocop RSpec/ReturnFromStub (#23724)
2 years ago
Nick Schonning 21bf326356
Autofix Rubocop Rails/Pluck (#23730)
2 years ago
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals (#23695)
2 years ago
Nick Schonning 3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet (#23707)
2 years ago
Nick Schonning 5069769cbe
Autofix Rubocop Style/TrailingCommaInHashLiteral (#23693)
2 years ago
Nick Schonning a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression (#23682)
2 years ago
Nick Schonning 6d42820e5d
Autofix Rubocop Lint/AmbiguousOperator (#23680)
2 years ago
Nick Schonning ac59d6f19f
Enable Rubocop Style/NumericLiterals (#23647)
2 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632)
2 years ago
Nick Schonning 68b1071f86
Autofix Rubocop RSpec/BeNil (#23653)
2 years ago
Claire d6930b3847
Add API parameter to safeguard unexpect mentions in new posts (#18350)
2 years ago
Varun Sharma 45e2936c89
Add tests to indicate inclusion of self replies in statuses endpoint (#23266)
2 years ago
Claire 448be26b34
Add missing `policy` attribute to `WebPushSubscriptionSerializer` (#23210)
2 years ago
Claire 8556a649d5
Fix changing domain block severity not undoing individual account effects (#22135)
2 years ago
Francis Murillo f6492a7c4d
Log admin approve and reject account (#22088)
2 years ago
Claire 69137f4a90
Fix irreversible and whole_word parameters handling in /api/v1/filters (#21988)
2 years ago
Claire 51a33ce77a
Fix not being able to follow more than one hashtag (#21285)
2 years ago
trwnh b59ce0a60f
Move V2 Filter methods under /api/v2 prefix (#20622)
2 years ago
Eugen Rochko 552d69ad96
Fix error when invalid domain name is submitted (#19474)
2 years ago
Eugen Rochko 40c7f3e830
Fix account action type validation (#19476)
2 years ago
Eugen Rochko 1ae508bf2f
Change unauthenticated search to not support pagination in REST API (#19326)
2 years ago
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language (#19095)
2 years ago
Claire 50487db122
Add ability to filter individual posts (#18945)
2 years ago
Eugen Rochko c3f0621a59
Add ability to follow hashtags (#18809)
2 years ago
Eugen Rochko 44b2ee3485
Add customizable user roles (#18641)
2 years ago
Claire 02851848e9
Revamp post filtering system (#18058)
2 years ago
Claire 35588d09e2
Add /api/v1/admin/domain_allows (#18668)
2 years ago
Claire 28329ba62f
Add /api/v1/admin/domain_blocks (#18247)
2 years ago
Claire 894956e20c
Fix /api/v1/admin/accounts (#17887)
3 years ago
Eugen Rochko e6ffbfb5e7
Add `types` param to `GET /api/v1/notifications` in REST API (#17767)
3 years ago
Eugen Rochko bc320d6cec
Fix `POST /api/v1/emails/confirmations` not being available after sign-up (#17743)
3 years ago
Josh Soref b5329e0035
Spelling (#17705)
3 years ago
Eugen Rochko 02b8d63fce
Fix report category not being saved in REST API (#17682)
3 years ago
Eugen Rochko 27965ce5ed
Add trending statuses (#17431)
3 years ago
Claire 472bc89611
Fix some flaky tests that randomly failed because of item ordering (#17509)
3 years ago
Eugen Rochko 63002cde03
Add editing for published statuses (#17320)
3 years ago
Claire e38fc319dc
Refactor and improve tests (#17386)
3 years ago
Eugen Rochko 1060666c58
Add support for editing for published statuses (#16697)
3 years ago
Claire d5c9feb7b7
Add support for private pinned posts (#16954)
3 years ago
Eugen Rochko 7de0ee7aba
Remove Keybase integration (#17045)
3 years ago
Eugen Rochko 6e50134a42
Add trending links (#16917)
3 years ago
Claire 87085a5152
Fix AccountNote not having a maximum length (#16942)
3 years ago
Takeshi Umeda 17f4e457b3
Add remove from followers api (#16864)
3 years ago
Eugen Rochko 3b8d085436
Fix app name, website and redirect URIs not having a maximum length (#16042)
4 years ago
Eugen Rochko ce2148c571
Add `policy` param to `POST /api/v1/push/subscriptions` (#16040)
4 years ago
Claire cbd0ee1d07
Update Mastodon to Rails 6.1 (#15910)
4 years ago
Claire 5f4c0b79c2
Change ResolveAccountService's handling of skip_webfinger (#15750)
4 years ago
Levi Bard 11d603101a
Fix muting users with duration via the REST api (#15516)
4 years ago
ThibG c43f4cd3bb
Fix not being able to unfavorite toots one has lost access to (#15192)
4 years ago
Eugen Rochko 3134691948
Add support for reversible suspensions through ActivityPub (#14989)
4 years ago
Takeshi Umeda d6fe0c94ca
Add account sensitized (#14361)
4 years ago
Eugen Rochko 974b1b79ce
Add option to be notified when a followed user posts (#13546)
4 years ago
ThibG f6a82cb2cd
Fix not being able to unbookmark toots when blocked by their author (#14604)
4 years ago
ThibG 0a8a3fe595
Fix being unable to unboost when blocked by their author (#14308)
4 years ago
dependabot-preview[bot] 78202e9138
Bump doorkeeper from 5.3.3 to 5.4.0 (#13733)
5 years ago
ThibG f1e0fa80f6
Fix own following/followers not showing muted users (#13614)
5 years ago
Eugen Rochko 339ce1c4e9
Add specific rate limits for posting and following (#13172)
5 years ago
Eugen Rochko 0c28a505dd
Fix leak of arbitrary statuses through unfavourite action in REST API (#13161)
5 years ago
Eugen Rochko f52c988e12
Add announcements (#12662)
5 years ago
Eugen Rochko 49b2f7c0a2
Fix base64-encoded file uploads not being possible (#12748)
5 years ago
ThibG 3b3bdc7293 Hide blocked users from more places (#12733)
5 years ago
Gomasy 5a2c0707f1 Support min_id-based pagination for bookmarks (#12381)
5 years ago
Jennifer Glauche fd93a9c871 make it not return http 400 when passing and empty source argument (#12259)
5 years ago
ThibG dfea7368c9 Add bookmarks (#7107)
5 years ago
Eugen Rochko 18331fefa2
Remove deprecated `GET /api/v1/search` API (#11823)
5 years ago
ThibG 4faaa5b25e Add updated relationship to follow request API responses (#11800)
5 years ago
Eugen Rochko e445a8af64
Add timeline read markers API (#11762)
5 years ago
Eugen Rochko 964ae8eee5
Change unconfirmed user login behaviour (#11375)
5 years ago
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
5 years ago
Eugen Rochko 23aeef52cc
Remove Salmon and PubSubHubbub (#11205)
5 years ago
Eugen Rochko 0c1b1069c9
Remove deprecated REST API `GET /api/v1/statuses/:id/card` (#11213)
5 years ago
Eugen Rochko 3fd6ab99e6
Remove deprecated REST API `GET /api/v1/timelines/direct` (#11212)
5 years ago
Eugen Rochko 7696f77245
Add moderation API (#9387)
5 years ago
Eugen Rochko 48fee1a800
Fix poll API not requiring authentication on non-public polls (#10960)
6 years ago
Paul Woolcock 0c933c1b8c Add `account_id` param to `GET /api/v1/notifications` (#10796)
6 years ago
trwnh a6caf919e2 Change bio limit from 160 to 500 (#10790)
6 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 9c4cbdbafb
Add Keybase integration (#10297)
6 years ago
Eugen Rochko 230a012f00
Add polls (#10111)
6 years ago
ysksn 61ecda1575 Not to skip executable specs (#9753)
6 years ago
Eugen Rochko a49d43d112
Add scheduled statuses (#9706)
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
6 years ago
ysksn 0c80715235 Add spec for Api::V1::Timelines::DirectController (#9547)
6 years ago
ysksn 351938520d Add specs for Api::V1::Instances::PeersController (#9546)
6 years ago
ysksn 2d871feb10 Add spec for Api::V1::EndorsementsController (#9543)
6 years ago
ysksn 3fa9615cb3 Add spec for Api::V1::Instances::ActivityController (#9545)
6 years ago
ysksn a3dcbfddd6 Add specs for Accounts::PinsController (#9542)
6 years ago
ashleyhull-versent f194857ac9 rubocop issues - Cleaning up (#8912)
6 years ago
Eugen Rochko 774ac47373
Add conversations API (#8832)
6 years ago
aus-social 1f98eae1cf Lint pass (#8876)
6 years ago
Eugen Rochko f0fff3eb10
Support min_id-based pagination in REST API (#8736)
6 years ago
Jakub Mendyk f3a12ddfd0 Make Api::V1::MutesController paginate properly (#8472)
6 years ago
S.H 2aeeffc3ec Update Rails (#8141)
6 years ago
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes (#7929)
6 years ago
Eugen Rochko da8fe8079e
Re-add follow recommendations API (#7918)
6 years ago
Eugen Rochko cdb101340a
Keyword/phrase filtering (#7905)
6 years ago
Shuhei Kitagawa 22caa32ba2 Add tests for embeds controller (#7719)
7 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status (#7214)
7 years ago
Levi Bard cd0eaa349c Enable updating additional account information from user preferences via rest api (#6789)
7 years ago
Eugen Rochko 4bc625166e
Fix bug in relationships API introduced by #6482 (#6527)
7 years ago
abcang cf32f7da5c Fix response of signature_verification_failure_reason (#6441)
7 years ago
Eugen Rochko 1356ed72cd
Fix #5953 - Add GET /api/v1/accounts/:id/lists (#5983)
7 years ago
abcang 99242b92bc Keep WebPush settings (#5879)
7 years ago
aschmitz 4de211b80a Break out nested relationship API keys (#5887)
7 years ago
aschmitz eeaec39888 Allow hiding of reblogs from followed users (#5762)
7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
7 years ago
Akihiko Odaki cc796298c9 Fix pagination in Api::V1::BlocksController (#5285)
7 years ago
ThibG dfaa219f88 Fix HTTP responses for salmon and ActivityPub inbox processing (#5200)
7 years ago
Eugen Rochko eb605141ff Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112)
7 years ago
Eugen Rochko 4ec1771165 Add ability to specify alternative text for media attachments (#5123)
7 years ago
Eugen Rochko 293972f716 New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
7 years ago
aschmitz 669fe9ee06 Change IDs to strings rather than numbers in API JSON output (#5019)
7 years ago
Eugen Rochko 0ef9d45d05 Fix error when following locked accounts (#4896)
7 years ago
Eugen Rochko c450ddb613 Fix POST /api/v1/follows error when already following (#4878)
7 years ago
Eugen Rochko 9b994c4aee Fix #4794 - Fake instant follow in API response when account is believed unlocked (#4799)
7 years ago
unarist 6a4e2db661 Raise an error for remote url in StatusFinder (#4776)
7 years ago
Eugen Rochko 9caa90025f Pinned statuses (#4675)
7 years ago
Eugen Rochko c66fe2aeba Minor performance improvement for test suite (#4678)
7 years ago
Eugen Rochko 74e5078795 Fix #4637 - Re-add missing doorkeeper_authorize for /api/v1/verify_credentials (#4650)
7 years ago
Yamagishi Kazutoshi 2edfdab6e6 Don't send Link header when don't know prev and next links (#4633)
7 years ago
Eugen Rochko 4e75f0d889 Hook up URL-based resource look-up to ActivityPub (#4589)
7 years ago
Eugen Rochko b7370ac8ba ActivityPub delivery (#4566)
7 years ago
Akihiko Odaki 0f92119ceb Cover Api::V1:FavouritesController more (#4409)
7 years ago
Akihiko Odaki 4f0b638cda Introduce access token fabricators (#4401)
7 years ago
Akihiko Odaki bdf573d140 Remove redundant fabrication in the spec for Api::V1::FavouritesController (#4391)
7 years ago
Sorin Davidoi 9075c90c46 feat: Enable push subscription for mobile devices by default (#4321)
7 years ago
Eugen Rochko 1fcdaafa6f Fix webfinger retries (#4275)
7 years ago
Eugen Rochko 8c45cd0e36 Improve ActivityPub representations (#3844)
7 years ago
Eugen Rochko cd9b2ab2f7 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Sorin Davidoi 0c7c188c45 Web Push Notifications (#3243)
7 years ago
Eugen Rochko 42b8220632 Fix #1624 - Send e-mail notifications to admins about new reports (#3949)
7 years ago
Eugen Rochko f3be605286 Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
8 years ago
Matt Jankowski 2925372ff4 Move create/destroy actions for api/v1/statuses to namespace (#3678)
8 years ago
Matt Jankowski 5282ba862a Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646)
8 years ago
Matt Jankowski 73540ffe6b Clean up for api/base controller (#3629)
8 years ago
Daigo 3 Dango 2985d08951 Redirect to streaming_api_base_url (#3579)
8 years ago
Matt Jankowski 5c63523972 Spec coverage and refactor for the api/v1/accounts controllers (#3451)
8 years ago
Matt Jankowski 5236a62861 Improve spec coverage and clean up api/v1/blocks controller (#3464)
8 years ago