143 Commits (61a0ec69fcf5565a96c2cc53167f74e6ff0391d8)

Author SHA1 Message Date
Matt Jankowski d562fb8459
Specs for minimal CSP policy in `Api::` controllers (#27845)
1 year ago
Matt Jankowski 5e2ecc736d
Remove double `subject` in api/v1/accounts/relationships spec (#27839)
1 year ago
Claire 07a4059901
Add support for invite codes in the registration API (#27805)
1 year ago
Claire c451bbe249
Allow viewing and severing relationships with suspended accounts (#27667)
1 year ago
Matt Jankowski 9b7b4d748f
Simplify request cache spec shared examples (#27673)
1 year ago
Claire 23e32a4b30
Fix format-dependent redirects being cached regardless of requested format (#27632)
1 year ago
Matt Jankowski a688a9ed20
Use strings instead of numeric literals and remove `rubocop:disable` in cache spec (#27742)
1 year ago
Matt Jankowski 949f5eb860
Fix `RSpec/MetadataStyle` cop in spec/ (#27729)
1 year ago
Claire bbf46cc418
Fix error and incorrect URLs in `/api/v1/accounts/:id/featured_tags` for remote accounts (#27459)
1 year ago
Daniel M Brasil 26d2a2a0cc
Migrate to request specs in `/api/v1/media` (#25543)
1 year ago
Emelia Smith 7c3fea7275
Feature: Allow token introspection without read scope (#27142)
1 year ago
Daniel M Brasil e0ed0f8c7c
Migrate to request specs in `/api/v1/notifications` (#25553)
1 year ago
Daniel M Brasil cafdaec6cf
Migrate to request specs in `/api/v1/lists/:id/accounts` (#25468)
1 year ago
Daniel M Brasil 8e6116503d
Migrate to request specs in `/api/v1/blocks` (#25517)
1 year ago
Daniel M Brasil d9caa6ed24
Migrate to request specs in `/api/v1/admin/accounts` (#25563)
1 year ago
Daniel M Brasil 82beeb2f7e
Migrate to request specs in `/api/v1/admin/trends/links` (#25739)
1 year ago
Claire 71cfdd7865
Fix duplicate tests (#27395)
1 year ago
Daniel M Brasil 058f73a4f5
Add request specs for `/api/v1/reports` (#25475)
1 year ago
Daniel M Brasil bc6cd27d9e
Migrate to request specs in `/api/v1/followed_tags` (#25472)
1 year ago
Matt Jankowski fd9dea21d0
DB speedup in `API::` controller/request specs (#25516)
1 year ago
Daniel M Brasil ecdb31d479
Migrate to request specs in `/api/v1/favourites` (#25518)
1 year ago
Daniel M Brasil 7664e3b692
Migrate to request specs in `/api/v1/statuses/:status_id/source` (#25634)
1 year ago
Daniel M Brasil 4230d1ee0a
Migrate to request specs in `/api/v1/timelines/tag/:hashtag` (#25797)
1 year ago
Claire 40ba6e119b
Fix Vary headers not being set on some redirects (#27272)
1 year ago
Claire 828eebad48
Add `hide_collections`, `discoverable` and `indexable` attributes to credentials API (#26998)
1 year ago
Robert R George 20666482ef
Added admin api for managing tags (#26872)
1 year ago
Daniel M Brasil f337008819
Fix timeout on invalid set of exclusionary parameters in `/api/v1/timelines/public` (#26239)
1 year ago
Claire 191d302b7f
Refactor `Api::V1::ProfilesController` into two separate controllers (#26573)
1 year ago
Daniel M Brasil d24a87ce4f
Add ability to delete avatar or header picture via the API (#25124)
1 year ago
Daniel M Brasil 3a4d3e9d4b
Add `GET /api/v1/instance/languages` to REST API (#24443)
1 year ago
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252)
1 year ago
Christian Schmidt ca342d4838
Add List-Unsubscribe email header (#26085)
1 year ago
Daniel M Brasil 812a84ff5f
Migrate to request specs in `/api/v2/filters` (#25721)
1 year ago
Matt Jankowski 50ff3d3342
Coverage for `Auth::OmniauthCallbacks` controller (#26147)
1 year ago
Claire e5f1000ad1
Fix CSP headers being unintendedly wide (#26105)
1 year ago
Christian Schmidt 4c18928a93
Wrong count in response when removing favourite/reblog (#24365)
1 year ago
Daniel M Brasil 59b38f9ee4
Migrate to request specs in `/api/v1/mutes` (#25622)
1 year ago
Daniel M Brasil 58bfe8c43a
Migrate to request specs in `/api/v1/bookmarks` (#25520)
1 year ago
Daniel M Brasil 5a7c6c6597
Migrate to request specs in `/api/v1/timelines/public` (#25746)
1 year ago
Daniel M Brasil 19208aa422
Migrate to request specs in `/api/v1/statuses/:status_id/favourite` (#25626)
1 year ago
Daniel M Brasil 6fb4a756ff
Migrate to request specs in `/api/v1/statuses/:status_id/bookmark` (#25624)
1 year ago
Daniel M Brasil 4859958a0c
Migrate to request specs in `/api/v1/polls` (#25596)
1 year ago
Daniel M Brasil 1aea938d3d
Migrate to request specs in `/api/v1/statuses/:status_id/pin` (#25635)
1 year ago
Daniel M Brasil 6cdc8408a9
Migrate to request specs in `/api/v1/emails/confirmations` (#25686)
1 year ago
Daniel M Brasil 8a1aabaac1
Migrate to request specs in `/api/v1/timelines/home` (#25743)
1 year ago
Claire 41f65edb21
Fix embed dropdown menu item for unauthenticated users (#25964)
1 year ago
Claire 94fbac77e7
Fix processing of media files with unusual names (#25788)
1 year ago
Daniel M Brasil 6ac271c2a0
Migrate to request specs in `/api/v1/suggestions` (#25540)
1 year ago
Daniel M Brasil e53eb38a8d
Migrate to request specs in `/api/v1/admin/account_actions` (#25514)
1 year ago
Daniel M Brasil 0a0a1f1495
Migrate to request specs in `/api/v1/tags` (#25439)
1 year ago
Daniel M Brasil b10c05e702
Migrate to request specs in `/api/v1/lists` (#25443)
1 year ago
Daniel M Brasil 24015ef0cc
Migrate to request specs in `/api/v1/domain_blocks` (#25414)
1 year ago
Daniel M Brasil 87aff5aad8
Migrate to request specs in `/api/v1/follow_requests` (#25411)
1 year ago
Daniel M Brasil a5b62e56d0
Migrate to request specs in `/api/v1/apps/verify_credentials` (#25404)
1 year ago
Daniel M Brasil a6407aa662
Migrate to request specs in `/api/v1/apps` (#25401)
1 year ago
Matt Jankowski 4c5f62de99
Extract shared examples from api specs (#25387)
1 year ago
fusagiko / takayamaki b19a695608
migrate test for `GET /api/v1/accounts/{account_id}` to request spec (#25322)
1 year ago
Daniel M Brasil 99216e34e5
Migrate to request specs in `/api/v1/admin/canonical_email_blocks` (#25330)
1 year ago
Daniel M Brasil b4e19f9610
Migrate to request specs in `/api/v1/admin/ip_blocks` (#25331)
1 year ago
Daniel M Brasil 4301d8cbb3
Migrate to request specs in `/api/v1/admin/domain_allows` (#25333)
1 year ago
Daniel M Brasil 841c220c40
Migrate to request specs in `/api/v1/admin/domain_blocks` (#25335)
1 year ago
Daniel M Brasil 0e200d4e2f
Migrate to request specs in `/api/v1/admin/reports` (#25355)
1 year ago
Daniel M Brasil 4aff1d2974
Migrate to request specs in `/api/v1/admin/email_domain_blocks` (#25337)
1 year ago
Matt Jankowski c9f980b268
Add request spec for backups download (#25099)
1 year ago
Daniel M Brasil b473df9a14
Improve test coverage for `/api/v1/featured_tags` (#25076)
1 year ago
Matt Jankowski bdcd8a9e88
Misc spec cleanup (#24822)
2 years ago
Matt Jankowski 97385f27bd
Fix Performance/RedundantEqualityComparisonBlock cop (#24799)
2 years ago
Claire 1eb51bd749
Add request specs for caching behavior (#24592)
2 years ago
Matt Jankowski d00e45a7d3
Fix Rails/I18nLocaleAssignment cop (#24693)
2 years ago
João Pedro Marques 8f6e290c7a
Adds new follower/following routes (#24601)
2 years ago
Claire 276c39361b
Fix anonymous visitors getting a session cookie on first visit (#24584)
2 years ago
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs (#23790)
2 years ago
Nick Schonning aef0051fd0
Enable Rubocop HTTP status rules (#23717)
2 years ago
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals (#23695)
2 years ago
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI (#19319)
2 years ago
Eugen Rochko 58d5b28cb0
Remove previous landing page (#19300)
2 years ago
Claire b358229834
Further preparation for Rails 6 (#15916)
4 years ago
Claire 43eff898a0
Prepare Mastodon for Rails 6 (#15911)
4 years ago
Eugen Rochko 510e184216
Fix localization test failing due to order of locale definitions (#12393)
5 years ago
Eugen Rochko 8b9d0a0533
Remove XML version of Webfinger and remove links to Atom feeds (#11460)
5 years ago
Eugen Rochko 63c7fe8e48
Refactor controllers for statuses, accounts, and more (#11249)
5 years ago
Eugen Rochko 65fffeac3f
Redesign landing page (#10232)
6 years ago
Yamagishi Kazutoshi d10447c3a8 Use raw status code on have_http_status (#7214)
7 years ago
Eugen Rochko e19eefe219 Redesign the landing page, mount public timeline on it (#4122)
7 years ago
unarist abbdacedc5 Fix locale related specs (#3707)
8 years ago
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
Matt Jankowski f9d398e8fb Remove the react-rails gem (#2801)
8 years ago
Matt Jankowski 8bac0350d1 Restful refactor of accounts/ routes (#2133)
8 years ago
Matt Jankowski 21a767dcfa Improve handling of HTTP_ACCEPT for webfinger (#2008)
8 years ago
Matt Jankowski f5cd138323 Improve i18n chooser (#1804)
8 years ago
Matt Jankowski 137100dcf3 Clean up well-known routes/controllers (#1649)
8 years ago
Matt Jankowski b352a8e5d4 Default to json type for webfinger requests (#1583)
8 years ago
Matt Jankowski 71706f21c2 Ignore implied formats for catch all route requests (#1340)
8 years ago