Commit Graph

394 Commits (renovate/express-5.x)

Author SHA1 Message Date
Matt Jankowski 9bba2aab33
Convert `intents` spec controller->request (#34261) 6 months ago
Matt Jankowski 9d3daa847a
Convert `filters/statuses` spec controller->system/request (#34232) 6 months ago
Matt Jankowski 795d465f8d
Convert `disputes/strikes` spec controller->request/system (#34191) 6 months ago
Matt Jankowski 8ef546fe6b
Convert `oauth/tokens#revoke` spec controller->request (#34174) 6 months ago
Eugen Rochko d213c585ff
Add age verification on sign-up (#34150) 6 months ago
Matt Jankowski f71a855e2d
Add coverage for `standard` params on push subs create (#34092) 6 months ago
Claire 420ffdfb62
Add delay to profile updates to debounce them (#34137) 6 months ago
Matt Jankowski 325b55485e
Convert `admin/settings/branding` spec controller->request (#34130) 6 months ago
Matt Jankowski b021cfc91e
Convert `settings/sessions` spec controller->system (#34072) 6 months ago
Emelia Smith 4960193ed0
Add API to delete media attachments that are not in use (#33991) 7 months ago
Claire e71fb450e0
Add optional `delete_media` parameter to `DELETE /api/v1/statuses/:id` (#33988) 7 months ago
Emelia Smith febcd0a76c
Expose status language via og:locale (#34012) 7 months ago
Jeremy Kescher 6b519cfefa
Merge commit from fork
* Fix domain blocks/rationales being visible to unapproved/unconfirmed users

* Fix domain blocks/rationales being visible to suspended users

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Allow moved users to view domain blocks

* Add authorization specs for `/api/v1/instance/domain_blocks` spec

* Fix tests

* Fix incorrect test setup

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
Claire 06f879ce9b
Merge commit from fork
* Add rate-limit on `/auth/setup`

* Remove useless test
7 months ago
Claire 20531d1e07
Fix `GET /api/v2/notifications/:id` and `POST /api/v2/notifications/:id/dismiss` for ungrouped notifications (#33990) 7 months ago
Matt Jankowski 2a15bf4ede
Convert `admin/roles` controller spec to request/sytem specs (#33947) 7 months ago
Matt Jankowski d065d02d88
Improve example wording in 2FA/confirmations controller spec (#33944) 7 months ago
Matt Jankowski fbea3a64cc
Convert `statuses` spec controller->system/request (#33921) 7 months ago
Matt Jankowski ea53faeb3f
Convert `admin/users/roles` spec controller->system/request (#33930) 7 months ago
Matt Jankowski 8f1b41622b
Convert `settings/two_factor_authentication_methods` spec controller->system/request (#33914) 7 months ago
Matt Jankowski 62dc303d3c
Convert `settings/two_factor_authentication/recovery_codes` spec controller->system/request (#33912) 7 months ago
Matt Jankowski 6df24b4bc2
Move signed out statuses controller spec examples to request spec (#33907) 7 months ago
Matt Jankowski 506a70d0d8
Convert "http signatures" portion of statuses controller spec to request spec (#33890) 7 months ago
Matt Jankowski 7d20c12913
Convert `settings/featured_tags` controller->request/system spec (#33880) 7 months ago
Matt Jankowski 8c240ef042
Remove final remaining `assigns` usage in controller specs (#33866) 7 months ago
Matt Jankowski 23a0d91126
Combine examples to reduce factories in specs (#33841) 7 months ago
Matt Jankowski c5cd9bda48
Convert `auth/passwords` spec controller->system/request (#33790) 7 months ago
Claire 2d545c5fe5
Fix flaky test in `/api/v2/notifications` tests (#33773) 8 months ago
Claire 32aa83e9d7
Fix polls not being validated on edition (#33755) 8 months ago
Matt Jankowski 93f3c724ae
Use `expect` in remaining controller locations (#33748) 8 months ago
Matt Jankowski d3b637c757
Use `expect` in `Admin::ExportControllerConcern` import params (#33745) 8 months ago
Matt Jankowski 65d9171c7d
Use `expect` for `admin/` controllers (#33686) 8 months ago
Matt Jankowski a1d9c3fb99
Use `expect` params wrapper for more "auth" and "2FA" "controllers" (#33717) 8 months ago
Matt Jankowski 607f65a0a5
Use `expect` for api/v1 and api/web push subs controllers (#33682) 8 months ago
Matt Jankowski e155aab39e
Use `expect` for nested params in `settings/*` controllers (#33673) 8 months ago
Matt Jankowski d2cc28813f
Use `expect` for nested params in more controllers (#33675) 8 months ago
Matt Jankowski 45149cd5e1
Use `expect` for nested params in `auth/setup#update` (#33657) 8 months ago
Matt Jankowski 5be938e661
Migrate visibility interaction checks on statuses to request spec (#33622) 8 months ago
Christian Schmidt a3baae0b99
API for updating attribution domains (#32730) 8 months ago
Matt Jankowski 998cf0dd53
Convert `auth/setup` spec controller->system/request (#33604) 8 months ago
Matt Jankowski 72abf05269
Add "needs refresh" scenario to `api/v1/polls` request spec (#33608) 8 months ago
Wolfgang 77a44e61a8
Add enum validation to `DomainBlock#severity` (#29158) 8 months ago
Daniel M Brasil 0db7558822
Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` (#29308) 8 months ago
Matt Jankowski 3c4a83fc62
Remove unused `LanguagePresenter#native_name` (#33551) 8 months ago
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 8 months ago
Matt Jankowski cbae00ad23
Remove `render_template` from accounts request spec (#33519) 8 months ago
Matt Jankowski 4148b68430
Remove `render_template` from remote interaction helper request spec (#33518) 8 months ago
Matt Jankowski 0c690511c2
Convert `auth/challenges` spec controller->request (#33495) 8 months ago
Matt Jankowski b6c2923cf7
Convert `settings/migration` spec controller->system (#33496) 8 months ago
Matt Jankowski c0264c8013
Extend custom CSS cache time with digest paths (#33207) 8 months ago
Matt Jankowski b3243ef41c
Refer to constant values from `api/v1/apps` request spec (#33488) 8 months ago
Matt Jankowski 7ad44e22ed
Remove role color highlighting from custom css (#33493) 8 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 8 months ago
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 8 months ago
Matt Jankowski d65e246192
Convert `statuses#activity` action controller to request spec (#33336) 9 months ago
Claire 1712543c68
Revert "Support animated PNGs in media attachments (#28516)" (#33334) 9 months ago
Matt Jankowski 60bb51eef8
Convert `filters` spec controller->system (#33326) 9 months ago
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 9 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 9 months ago
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 9 months ago
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 9 months ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 9 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 9 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 10 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>
10 months ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 10 months ago
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 11 months ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 11 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 11 months ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 11 months ago
Matt Jankowski 67403e7b01
Add coverage for ActivityPub likes/shares endpoints (#32305) 11 months ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 11 months ago
Matt Jankowski 28131b4b00
Convert status embed controller to request spec (#32448) 11 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 11 months ago
Matt Jankowski cc8d723e71
Register an XML encoder for response tests (#32220) 11 months ago
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 11 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 12 months ago
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec (#32108) 12 months ago
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 12 months ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 12 months ago
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs (#32006) 12 months ago
Matt Jankowski 2b4bda8004
Add `response_avatar_link` helper to webfinger request spec (#31999) 12 months ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 12 months ago
Matt Jankowski 66ed7ea4b5
Move status creation to "with rss" context in accounts request spec (#32020) 12 months ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 12 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 12 months ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 12 months ago
Matt Jankowski 171394e914
Add coverage for CSV responses for severed relationships (#31962) 12 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 12 months ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 12 months ago
Matt Jankowski 5a8f2fe31d
Convert `settings/exports` controller spec to system/request specs (#31965) 12 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 12 months ago
Matt Jankowski bf8eaaa9a5
Convert controller spec for security_key_options endpoint to request spec (#31938) 12 months ago
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940) 12 months ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 1 year ago
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 1 year ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 1 year ago
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 1 year ago
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 1 year ago
Matt Jankowski 4d5c91e99a
Remove `before` block in spec with TODOs which have been TO-DONE already (#31754) 1 year ago