Misty De Meo
86df8feb80
merge v4.4.0 into mastodon_4_3_0
4 months ago
Matt Jankowski
f1003b2560
Enable "zero monkey patching" mode in RSpec ( #31614 )
2 years ago
Matt Jankowski
38a3466741
Convert `api/oembed` controller spec to request spec ( #31605 )
2 years ago
Matt Jankowski
c09d232ee3
Convert `api/web/settings` controller spec to request spec ( #31606 )
2 years ago
Claire
4fb4721072
Merge pull request from GHSA-58x8-3qxw-6hm7
...
* Fix insufficient permission checking for public timeline endpoints
Note that this changes unauthenticated access failure code from 401 to 422
* Add more tests for public timelines
* Require user token in `/api/v1/statuses/:id/translate` and `/api/v1/scheduled_statuses`
2 years ago
Claire
6cd9bd6ae1
fix: Return HTTP 422 when scheduled status time is less than 5 minutes ( #30584 )
2 years ago
Matt Jankowski
0143c9d3e1
Fix results/query in `api/v1/featured_tags/suggestions` ( #29597 )
2 years ago
Matt Jankowski
f9100743ec
Add `Api::ErrorHandling` concern for api/base controller ( #29574 )
2 years ago
Matt Jankowski
46e902f1f3
Merge `api/v1/accounts/credentials` controller spec into existing request spec ( #29006 )
2 years ago
Matt Jankowski
71eecbfa1f
Move `api/v2/filters/*` to request spec ( #28956 )
2 years ago
Matt Jankowski
18945f62e0
Convert more API specs from controller->request style ( #29004 )
2 years ago
Matt Jankowski
eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true ( #29442 )
2 years ago
Matt Jankowski
ff8937aa2c
Move `api/v1/statuses/*` to request spec ( #28954 )
2 years ago
Matt Jankowski
5119fbc9b7
Move `api/v1/admin/trends/links/preview_card_providers` to request spec ( #28951 )
2 years ago
Matt Jankowski
b6baab447d
Move `api/v2/admin/accounts` to request spec ( #28950 )
2 years ago
Matt Jankowski
7adcc0aae3
Move `api/v1/trends/*` to request specs ( #28949 )
2 years ago
Matt Jankowski
0b0ca6f3b8
Move `api/v1/timelines/list` to request spec ( #28948 )
2 years ago
Matt Jankowski
9cc1817bb4
Fix intmermittent failure in `api/v1/accounts/statuses` controller spec ( #28931 )
2 years ago
Claire
c0a9db3611
Fix potential redirection loop of streaming endpoint ( #28665 )
2 years ago
Matt Jankowski
a11a2fb052
Add error classes to api/base errors coverage ( #28864 )
2 years ago
Matt Jankowski
7ecf7f5403
Move controller->request specs for api/v1/statuses/* ( #28818 )
2 years ago
Matt Jankowski
329911b0a3
Migrate controller->request spec for api/v1/follow* ( #28811 )
2 years ago
Matt Jankowski
e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests ( #28718 )
2 years ago
Claire
d7e13e2483
Fix potential redirection loop of streaming endpoint ( #28665 )
2 years ago
Matt Jankowski
00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ( #25369 )
2 years ago
Matt Jankowski
cd64a5b2ec
Clean up of `RSpec/LetSetup` within `api/` ( #28448 )
2 years ago
Claire
6fed0fcbaa
Remove unneeded settings cleanup from specs ( #28425 )
2 years ago
Matt Jankowski
adbfd40a1b
Convert `api/v1/directories` controller spec to request spec ( #28356 )
2 years ago
Matt Jankowski
0e4233de9d
Controller spec to request spec: `api/v2/suggestions` ( #28297 )
2 years ago
Matt Jankowski
0c64092500
Controller spec to request spec: `api/v1/accounts/search` ( #28299 )
2 years ago
Matt Jankowski
16ede59d0a
Controller spec to request spec: `api/v1/featured_tags/suggestions` ( #28298 )
2 years ago
Matt Jankowski
809506bdd4
Controller spec to request spec: `api/v1/accounts/pins` ( #28300 )
2 years ago
Matt Jankowski
94cc707ab3
Controller spec to request spec: `api/v1/accounts/notes` ( #28301 )
2 years ago
Matt Jankowski
e544b6df42
Controller spec to request spec: `api/v1/accounts/lookup` ( #28302 )
2 years ago
Matt Jankowski
a968898dc7
Controller spec to request spec: `api/v1/accounts/lists` ( #28303 )
2 years ago
Matt Jankowski
8f94502e7d
Controller spec to request spec: `api/v1/accounts/identify_proofs` ( #28304 )
2 years ago
Matt Jankowski
78347d2556
Controller spec to request spec: `api/v1/accounts/familiar_followers` ( #28305 )
2 years ago
Matt Jankowski
7e514688b3
Convert `api/v2/search` controller spec to request spec ( #28269 )
2 years ago
Claire
bece853e3c
Fix error and incorrect URLs in `/api/v1/accounts/:id/featured_tags` for remote accounts ( #27459 )
2 years ago
Matt Jankowski
e7c340a634
Spec coverage for missing `q` param and error conditions in `api/v2/search` controller ( #27842 )
2 years ago
Filippo Giunchedi
e6fd9a59e6
Fix FamiliarFollowersController test response comparison ( #28121 )
...
Co-authored-by: Filippo Giunchedi <filippo@debian.org>
2 years ago
Kevin Bongart
7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs ( #27982 )
2 years ago
Matt Jankowski
973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ( #28046 )
2 years ago
Matt Jankowski
30ee4aaff4
Convert measurement `api/v1/admin/*` controller specs to request specs ( #28005 )
2 years ago
Matt Jankowski
876f5b1d12
Convert `/instances/*` controller specs to request specs ( #27988 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski
718c95e7af
Convert `api/v1/custom_emojis` controller spec to request spec ( #27985 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski
17582d36d5
Convert `api/v1/preferences` controller spec to request spec ( #27987 )
2 years ago
Matt Jankowski
9a01a260a0
Convert `api/v1/scheduled_statuses` controller spec to request spec ( #27986 )
2 years ago
Matt Jankowski
b9fb47aeb1
Convert `api/v1/endorsements` controller spec to request spec ( #27984 )
2 years ago
Claire
297839c10c
Rewrite `/api/v1/statuses` tests as request specs ( #27891 )
2 years ago