Commit Graph

354 Commits (123108b1ccf3e516be80f92f816def1ede77ee11)

Author SHA1 Message Date
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller ()
Matt Jankowski 46e902f1f3
Merge `api/v1/accounts/credentials` controller spec into existing request spec ()
Matt Jankowski 71eecbfa1f
Move `api/v2/filters/*` to request spec ()
Matt Jankowski 18945f62e0
Convert more API specs from controller->request style ()
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true ()
Matt Jankowski ff8937aa2c
Move `api/v1/statuses/*` to request spec ()
Matt Jankowski 5119fbc9b7
Move `api/v1/admin/trends/links/preview_card_providers` to request spec ()
Matt Jankowski b6baab447d
Move `api/v2/admin/accounts` to request spec ()
Matt Jankowski 7adcc0aae3
Move `api/v1/trends/*` to request specs ()
Matt Jankowski 0b0ca6f3b8
Move `api/v1/timelines/list` to request spec ()
Matt Jankowski 9cc1817bb4
Fix intmermittent failure in `api/v1/accounts/statuses` controller spec ()
Matt Jankowski a11a2fb052
Add error classes to api/base errors coverage ()
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* ()
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* ()
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests ()
Claire d7e13e2483
Fix potential redirection loop of streaming endpoint ()
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Matt Jankowski cd64a5b2ec
Clean up of `RSpec/LetSetup` within `api/` ()
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs ()
Matt Jankowski adbfd40a1b
Convert `api/v1/directories` controller spec to request spec ()
Matt Jankowski 0e4233de9d
Controller spec to request spec: `api/v2/suggestions` ()
Matt Jankowski 0c64092500
Controller spec to request spec: `api/v1/accounts/search` ()
Matt Jankowski 16ede59d0a
Controller spec to request spec: `api/v1/featured_tags/suggestions` ()
Matt Jankowski 809506bdd4
Controller spec to request spec: `api/v1/accounts/pins` ()
Matt Jankowski 94cc707ab3
Controller spec to request spec: `api/v1/accounts/notes` ()
Matt Jankowski e544b6df42
Controller spec to request spec: `api/v1/accounts/lookup` ()
Matt Jankowski a968898dc7
Controller spec to request spec: `api/v1/accounts/lists` ()
Matt Jankowski 8f94502e7d
Controller spec to request spec: `api/v1/accounts/identify_proofs` ()
Matt Jankowski 78347d2556
Controller spec to request spec: `api/v1/accounts/familiar_followers` ()
Matt Jankowski 7e514688b3
Convert `api/v2/search` controller spec to request spec ()
Matt Jankowski e7c340a634
Spec coverage for missing `q` param and error conditions in `api/v2/search` controller ()
Filippo Giunchedi e6fd9a59e6
Fix FamiliarFollowersController test response comparison ()
Co-authored-by: Filippo Giunchedi <filippo@debian.org>
Kevin Bongart 7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs ()
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ()
Matt Jankowski 30ee4aaff4
Convert measurement `api/v1/admin/*` controller specs to request specs ()
Matt Jankowski 876f5b1d12
Convert `/instances/*` controller specs to request specs ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 718c95e7af
Convert `api/v1/custom_emojis` controller spec to request spec ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 17582d36d5
Convert `api/v1/preferences` controller spec to request spec ()
Matt Jankowski 9a01a260a0
Convert `api/v1/scheduled_statuses` controller spec to request spec ()
Matt Jankowski b9fb47aeb1
Convert `api/v1/endorsements` controller spec to request spec ()
Claire 297839c10c
Rewrite `/api/v1/statuses` tests as request specs ()
Claire 9257737675
Rewrite `/api/v1/accounts` tests as request specs ()
Matt Jankowski fe58ac8d9f
Improve spec coverage for `api/web/push_subscriptions` controller ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski a36b59be8a
Spec coverage for `api/v1/trends` controllers ()
Claire c451bbe249
Allow viewing and severing relationships with suspended accounts ()
Matt Jankowski 69d00e2721
Fix `RSpec/InstanceVariable` cop ()
Matt Jankowski cfa14ec6d1
Fix `Lint/EmptyBlock` cop ()
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop ()
Claire bbf46cc418
Fix error and incorrect URLs in `/api/v1/accounts/:id/featured_tags` for remote accounts ()
Daniel M Brasil 26d2a2a0cc
Migrate to request specs in `/api/v1/media` ()