Commit Graph

375 Commits (stable-4.4)

Author SHA1 Message Date
Matt Jankowski 8f1b41622b
Convert `settings/two_factor_authentication_methods` spec controller->system/request (#33914) 5 months ago
Matt Jankowski 62dc303d3c
Convert `settings/two_factor_authentication/recovery_codes` spec controller->system/request (#33912) 5 months ago
Matt Jankowski 6df24b4bc2
Move signed out statuses controller spec examples to request spec (#33907) 5 months ago
Matt Jankowski 506a70d0d8
Convert "http signatures" portion of statuses controller spec to request spec (#33890) 5 months ago
Matt Jankowski 7d20c12913
Convert `settings/featured_tags` controller->request/system spec (#33880) 5 months ago
Matt Jankowski 8c240ef042
Remove final remaining `assigns` usage in controller specs (#33866) 5 months ago
Matt Jankowski 23a0d91126
Combine examples to reduce factories in specs (#33841) 6 months ago
Matt Jankowski c5cd9bda48
Convert `auth/passwords` spec controller->system/request (#33790) 6 months ago
Claire 2d545c5fe5
Fix flaky test in `/api/v2/notifications` tests (#33773) 6 months ago
Claire 32aa83e9d7
Fix polls not being validated on edition (#33755) 6 months ago
Matt Jankowski 93f3c724ae
Use `expect` in remaining controller locations (#33748) 6 months ago
Matt Jankowski d3b637c757
Use `expect` in `Admin::ExportControllerConcern` import params (#33745) 6 months ago
Matt Jankowski 65d9171c7d
Use `expect` for `admin/` controllers (#33686) 6 months ago
Matt Jankowski a1d9c3fb99
Use `expect` params wrapper for more "auth" and "2FA" "controllers" (#33717) 6 months ago
Matt Jankowski 607f65a0a5
Use `expect` for api/v1 and api/web push subs controllers (#33682) 6 months ago
Matt Jankowski e155aab39e
Use `expect` for nested params in `settings/*` controllers (#33673) 6 months ago
Matt Jankowski d2cc28813f
Use `expect` for nested params in more controllers (#33675) 6 months ago
Matt Jankowski 45149cd5e1
Use `expect` for nested params in `auth/setup#update` (#33657) 6 months ago
Matt Jankowski 5be938e661
Migrate visibility interaction checks on statuses to request spec (#33622) 6 months ago
Christian Schmidt a3baae0b99
API for updating attribution domains (#32730) 6 months ago
Matt Jankowski 998cf0dd53
Convert `auth/setup` spec controller->system/request (#33604) 6 months ago
Matt Jankowski 72abf05269
Add "needs refresh" scenario to `api/v1/polls` request spec (#33608) 6 months ago
Wolfgang 77a44e61a8
Add enum validation to `DomainBlock#severity` (#29158) 6 months ago
Daniel M Brasil 0db7558822
Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` (#29308) 6 months ago
Matt Jankowski 3c4a83fc62
Remove unused `LanguagePresenter#native_name` (#33551) 6 months ago
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 7 months ago
Matt Jankowski cbae00ad23
Remove `render_template` from accounts request spec (#33519) 7 months ago
Matt Jankowski 4148b68430
Remove `render_template` from remote interaction helper request spec (#33518) 7 months ago
Matt Jankowski 0c690511c2
Convert `auth/challenges` spec controller->request (#33495) 7 months ago
Matt Jankowski b6c2923cf7
Convert `settings/migration` spec controller->system (#33496) 7 months ago
Matt Jankowski c0264c8013
Extend custom CSS cache time with digest paths (#33207) 7 months ago
Matt Jankowski b3243ef41c
Refer to constant values from `api/v1/apps` request spec (#33488) 7 months ago
Matt Jankowski 7ad44e22ed
Remove role color highlighting from custom css (#33493) 7 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 7 months ago
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 7 months ago
Matt Jankowski d65e246192
Convert `statuses#activity` action controller to request spec (#33336) 7 months ago
Claire 1712543c68
Revert "Support animated PNGs in media attachments (#28516)" (#33334) 7 months ago
Matt Jankowski 60bb51eef8
Convert `filters` spec controller->system (#33326) 7 months ago
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 8 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 8 months ago
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 8 months ago
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 8 months ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 8 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 8 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 8 months ago
Emelia Smith 4517e18b79
Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8 months ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 8 months ago
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 9 months ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 9 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 9 months ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 9 months ago
Matt Jankowski 67403e7b01
Add coverage for ActivityPub likes/shares endpoints (#32305) 9 months ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 9 months ago
Matt Jankowski 28131b4b00
Convert status embed controller to request spec (#32448) 9 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 10 months ago
Matt Jankowski cc8d723e71
Register an XML encoder for response tests (#32220) 10 months ago
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 10 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 10 months ago
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec (#32108) 10 months ago
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 10 months ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 10 months ago
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs (#32006) 10 months ago
Matt Jankowski 2b4bda8004
Add `response_avatar_link` helper to webfinger request spec (#31999) 10 months ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 10 months ago
Matt Jankowski 66ed7ea4b5
Move status creation to "with rss" context in accounts request spec (#32020) 10 months ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 10 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 10 months ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 10 months ago
Matt Jankowski 171394e914
Add coverage for CSV responses for severed relationships (#31962) 10 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 10 months ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 10 months ago
Matt Jankowski 5a8f2fe31d
Convert `settings/exports` controller spec to system/request specs (#31965) 10 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 10 months ago
Matt Jankowski bf8eaaa9a5
Convert controller spec for security_key_options endpoint to request spec (#31938) 10 months ago
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940) 10 months ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 10 months ago
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 11 months ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 11 months ago
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 11 months ago
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 11 months ago
Matt Jankowski 4d5c91e99a
Remove `before` block in spec with TODOs which have been TO-DONE already (#31754) 11 months ago
Matt Jankowski e1b5f3fc6f
Use `response.parsed_body` for html response checks (#31750) 11 months ago
Claire 1fcffa573c
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no notifications to return (#31746) 11 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 11 months ago
Matt Jankowski c9ea91f868
Add coverage for `api/v1/annual_reports` area (#31730) 11 months ago
Matt Jankowski e1fa456c7c
Add `have_cacheable_headers` matcher for responses (#31727) 11 months ago
Matt Jankowski 8922786ef4
Fix `RSpec/LetSetup` cop in api/v1/timelines/tag spec (#30796) 11 months ago
Matt Jankowski ef4920c6c9
Pull out https/hostname setup for request specs to shared config (#31622) 11 months ago
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` (#31725) 11 months ago
Matt Jankowski 219458d7d4
Convert `tags` controller spec to system and request specs (#31708) 11 months ago
Matt Jankowski 24a0b20408
Use `body_as_json` directly instead of via local var assignment (#31696) 11 months ago
Matt Jankowski 40f993b3a0
Use built-in `response.parsed_body` for JSON response specs (#31674) 11 months ago
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 11 months ago
Matt Jankowski 02585d8789
Convert `media` controller spec to request spec (#31634) 11 months ago
Matt Jankowski 00586d27cb
Convert `instance_actor` controller spec to request spec (#31621) 11 months ago
Matt Jankowski 48f4e5444d
Convert `media_proxy` controller spec to request spec (#31600) 11 months ago
Matt Jankowski a7f8417795
Convert "CSV export" settings controller specs to request specs (#31601) 11 months ago
Matt Jankowski 38a3466741
Convert `api/oembed` controller spec to request spec (#31605) 11 months ago
Matt Jankowski c09d232ee3
Convert `api/web/settings` controller spec to request spec (#31606) 11 months ago
Matt Jankowski 14d7fe05d0
Use `describe` instead of `context` in top-level spec declaration (#31607) 11 months ago