Commit Graph

168 Commits (e75b55a6d7acabe0d70eac96ff773ac1ca681855)

Author SHA1 Message Date
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 3eaac3af73
Use `before_all` block to setup `requests/cache_spec` data ()
Matt Jankowski 96013cd576
Reduce `RSpec/ExampleLength` in CSP request spec ()
Matt Jankowski 24319836de
Convert request-based setup into factory setup in push/subscriptions request spec ()
Eugen Rochko 50b17f7e10
Add notification policies and notification requests ()
Matt Jankowski 18945f62e0
Convert more API specs from controller->request style ()
Matt Jankowski 8156113d58
Use `response_vary_headers` method in requests/cache_spec ()
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs ()
Wolfgang Fournès 86627ea2e4
Add a missing thread example to the statuses spec ()
Claire d4d0565b0f
Fix user creation failure handling in OAuth paths ()
Claire bbbbf00084
Fix OmniAuth tests ()
Claire b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
Emelia Smith 46142cdbdd
Disable administrative doorkeeper routes ()
Claire 7ee93b7431
Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string ()
Matt Jankowski df7acdcee5
Update markers API spec for error case ()
Emelia Smith 4fb7f611de
Return domain block digests from admin domain blocks API ()
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` ()
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 d791bca11b
Combine double subject in `well_known/webfinger` shared example ()
Matt Jankowski 09a3493fca
Combine double subject in `api/v1/media` shared example ()
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* ()
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* ()
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope ()
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests ()
Matt Jankowski 7801db7ba4
Spec coverage for custom css endpoint ()
Matt Jankowski 2954279e9c
Remove double subject call in `api/v1/admin/trends/links/links` spec ()
Matt Jankowski 95bd46d32a
Remove double subject call in `api/v1/admin/ip_blocks` spec ()
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Claire 092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings ()
Claire bd415af9a1
Change streaming API host to not be overridden to localhost in development mode ()
Claire a2624ff739
Convert signature verification specs to request specs ()
Claire 6fed0fcbaa
Remove unneeded settings cleanup from specs ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski c28976d89e
Handle negative offset param in `api/v2/search` ()
Matt Jankowski 1820bad646
Fix `Performance/StringIdentifierArgument` cop ()
Matt Jankowski adbfd40a1b
Convert `api/v1/directories` controller spec to request spec ()
Matt Jankowski 28e1a7a394
Improve spec coverage for `models/announcement` class ()
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` ()