324 Commits (5517df61de1e867afa531268755ee893ffca3c99)

Author SHA1 Message Date
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
Matt Jankowski 0f155829b7 Improve spec coverage and clean up api/v1/follow_requests controller (#3465)
8 years ago
Matt Jankowski 84dda45df9 Improve spec coverage and clean up api/v1/domain_blocks controller (#3466)
8 years ago
Matt Jankowski 75cad1d9d6 Improve spec coverage and clean up api/v1/favourites controller (#3472)
8 years ago
Matt Jankowski bf811e4d4a Improve spec coverage and clean up api/v1/mutes controller (#3481)
8 years ago
Matt Jankowski 8235623362 Improve spec coverage and clean up api/v1/media controller (#3467)
8 years ago
Matt Jankowski 83435c49ea Clean up api/subscriptions controller (#3448)
8 years ago
Matt Jankowski 3576fa0d59 Improve api oembed controller (#3450)
8 years ago
Matt Jankowski 1dcfb90202 Clean up api/salmon controller (#3449)
8 years ago
Matt Jankowski 4289ed1d13 Refactor of API timeline actions (#3263)
8 years ago
Matt Jankowski a28ce13b3e Coverage for api/web/settings controller (#3238)
8 years ago
Jack Jennings 8c5eaf7ae9 Enable and fill in JSON response test in API::AccountsController (#3157)
8 years ago
Matt Jankowski b6f6152e26 Add coverage for api/v1 controllers (#3155)
8 years ago
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
8 years ago
Eugen Rochko d0dd9eb5b5 Feature conversations muting (#3017)
8 years ago
Matt Jankowski 04166c4a35 Specs for API push controller, with refactor (#2926)
8 years ago
Eugen Rochko bafd22ecf4 Fix #2706 - Always respond with 200 to PuSH payloads (#2733)
8 years ago
Eugen Rochko f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617)
8 years ago
Evan Minto 122d59ac41 Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410)
8 years ago
Matt Jankowski 948dd26931 Fix deprecation warnings on activitypub controller specs (#2357)
8 years ago
Evan Minto 66fd8e7821 ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197)
8 years ago
Marcin Cieślak 59a77923b3 Add static gif for upload testing (#2168)
8 years ago
happycoloredbanana 0a7588282a Remove API authentication for public statuses (after review) (#1919)
8 years ago
Matt Jankowski b155e6ccf5 Fix issue with intermittent api/v1/notifications failure (#1606)
8 years ago
Eugen 2810013b93 API param to exclude notification types from response (#1341)
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 Rochko d6ed2eb512 Prettier account and stream entry URLs
8 years ago
Kit Redgrave 442fdbfc53 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko 00b5731ecb After FollowService, re-fetch remote account asynchronously, do nothing
8 years ago
Eugen Rochko 77e13c2bc9 Removing failed push notification API, make context loads use cache
8 years ago
Eugen Rochko d9ca46b464 Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko e70e721a0d Add tests for new API
8 years ago
Eugen Rochko 7c015ece45 Fix oembed controller test
8 years ago
Eugen Rochko e9737c2235 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Eugen Rochko a302e56f9a Add API for retrieving favourites
8 years ago
Eugen Rochko 49834a6e7f Add API for retrieving blocked accounts
8 years ago
Eugen Rochko 004382e4d0 Adding follow requests API
8 years ago
Eugen Rochko 7376af90f7 Don't show statuses to blocked users
8 years ago
Eugen Rochko 80e02b90e4 Private visibility on statuses prevents non-followers from seeing those
8 years ago
Eugen Rochko 6de079a5af Removing external hub completely, fix #333 fixing digit-only hashtags,
8 years ago
Eugen Rochko f978b06dd1 Add suspend account functionality to admin UI
8 years ago
Eugen Rochko 6ff93845d5 Add basic OEmbed provider API, fix #247
8 years ago
Eugen Rochko 2d2c81765b Adding embedded PuSH server
8 years ago
Eugen Rochko 2cb3dc5e5a Update hub URL and re-subscribe if hub URL changes
8 years ago
Eugen Rochko 8efa081f21 Remove Neo4J
8 years ago
Eugen Rochko 9aecc0f48a Move timelines API from statuses to its own controller, add a check for
8 years ago
Eugen Rochko 48b9619439 Adding hashtags
8 years ago
Eugen Rochko 829d189f44 Add tests for recently added API end points
8 years ago
Eugen Rochko 1f650d327d Adding public timeline
8 years ago
Eugen Rochko 7b9a4af311 API for blocking and unblocking
8 years ago
Eugen Rochko 6d7290f47c Add API for getting info about authenticated user: /api/v1/accounts/verify_credentials
8 years ago
Eugen Rochko b36197c307 Fix tests, update goldfinger to catch XML errors
8 years ago
Eugen Rochko 4f9b7432dd Fix #52 - Add API versioning (v1)
8 years ago
Eugen Rochko 7e14eefc81 Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
8 years ago
Eugen Rochko c6b0311b86 Fix #54 - Fetch remote accounts by URL from mentions
8 years ago
Eugen Rochko e46abc71ca Fix notifications in UI, added new API for fetching account relationships
8 years ago
Eugen Rochko 4bec613897 Fix #24 - Thread resolving for remote statuses
8 years ago
Eugen Rochko 608a2bfffc Upgrade to PubSubHubbub 0.4 (removing verify_token)
8 years ago
Eugen Rochko 4f25e3d042 Test case for new api endpoint
8 years ago
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
8 years ago
Eugen Rochko 85d89b472d Optimized n+1 queries in accounts Atom and HTML views
8 years ago
Eugen Rochko 509c18eb13 Fix local follows, 404 in logs
8 years ago
Eugen Rochko 87576e1ab1 Fixing atom feeds for accounts, adding tests that would catch such bugs in future
8 years ago
Eugen Rochko ae1fac0062 Add API to upload media attachments
8 years ago
Eugen Rochko 413e700fe0 Enhancing test suite but I think the problem might have been caching setting
8 years ago
Eugen Rochko 8985f8e66c Fixing more configuration issues with ActionCable
8 years ago
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
8 years ago
Eugen Rochko c28971c70c Fixed the lookup API method
9 years ago
Eugen Rochko 9d55529318 Fix text color in dashboard inputs, sanitize remote status content in UI,
9 years ago
Eugen Rochko 35aafdba96 Ancestors and descendants of statuses
9 years ago
Eugen Rochko b640f35621 Writing out more tests, fixed some bugs
9 years ago
Eugen Rochko d4892ace62 Adding more test stubs
9 years ago
Eugen Rochko ab6696e855 Adding doorkeeper, adding a REST API
9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things
9 years ago