Commit Graph

2820 Commits (remove-rails-delegate)

Author SHA1 Message Date
Matt Jankowski 3aaa388ce4
Convert `admin/trends/*` spec controller->system (#34003) 5 months ago
Emelia Smith febcd0a76c
Expose status language via og:locale (#34012) 5 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>
5 months ago
Claire 06f879ce9b
Merge commit from fork
* Add rate-limit on `/auth/setup`

* Remove useless test
5 months ago
Claire 20531d1e07
Fix `GET /api/v2/notifications/:id` and `POST /api/v2/notifications/:id/dismiss` for ungrouped notifications (#33990) 5 months ago
Eugen Rochko 298ca53593
Add choice of law to terms of service generator (#33994) 5 months ago
Matt Jankowski db97197685
Remove `rails-controller-testing` gem (#33955) 5 months ago
Matt Jankowski 2a15bf4ede
Convert `admin/roles` controller spec to request/sytem specs (#33947) 5 months ago
Matt Jankowski d065d02d88
Improve example wording in 2FA/confirmations controller spec (#33944) 5 months ago
Matt Jankowski fbea3a64cc
Convert `statuses` spec controller->system/request (#33921) 5 months ago
Matt Jankowski ea53faeb3f
Convert `admin/users/roles` spec controller->system/request (#33930) 5 months ago
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
Claire 1248c4d1f4
Fix handling of duplicate mentions in incoming status `Update` (#33911) 6 months ago
Claire 6b52227fcc
Fix Mastodon listing updates older or equal to current version (#33906) 6 months ago
Matt Jankowski fb0856458b
Verify page content in `ChallengableConcern` spec (#33895) 6 months ago
Matt Jankowski 6df24b4bc2
Move signed out statuses controller spec examples to request spec (#33907) 6 months ago
Matt Jankowski b07cd11f4c
Convert `settings/migration/redirects` spec controller->system (#33905) 6 months ago
Matt Jankowski 506a70d0d8
Convert "http signatures" portion of statuses controller spec to request spec (#33890) 6 months ago
Matt Jankowski aa10e8f399
Verify page content in 2FA portion of `auth/sessions` controller spec (#33891) 6 months ago
Matt Jankowski 4c597d5e2c
Convert `settings/privacy` spec controller->system (#33894) 6 months ago
Matt Jankowski 4e58570f73
Use common `before` and contexts in admin/base controller spec (#33879) 6 months ago
Matt Jankowski 7d20c12913
Convert `settings/featured_tags` controller->request/system spec (#33880) 6 months ago
Matt Jankowski dd2cb77f1a
Remove unused "oversized" spec fixture PNG file (#33881) 6 months ago
Matt Jankowski 8c240ef042
Remove final remaining `assigns` usage in controller specs (#33866) 6 months ago
Matt Jankowski 23a0d91126
Combine examples to reduce factories in specs (#33841) 6 months ago
Claire 334d306ccc
Fix filtering for lists (#33842) 6 months ago
Matt Jankowski 95caa8bc4e
Switch coverage generation default to false, allow opt in with `COVERAGE` env var (#33824) 6 months ago
Claire cf820b2eca
Fix `/settings/applications` rejecting scopes parameter (#33798) 6 months ago
Matt Jankowski 77587913ce
Convert `admin/reports` spec controller->system (#33789) 6 months ago
Matt Jankowski c5cd9bda48
Convert `auth/passwords` spec controller->system/request (#33790) 6 months ago
Claire a3d2849d15
Fix `tootctl feeds build` not building list timelines (#33783) 6 months ago
Claire 2d545c5fe5
Fix flaky test in `/api/v2/notifications` tests (#33773) 6 months ago
Matt Jankowski 2beab34ca4
Convert `admin/email_domain_blocks` controller -> system spec (#33759) 6 months ago
Claire 5b291fcbe4
Fix incorrect signature after HTTP redirect (#33757) 6 months ago
Claire 32aa83e9d7
Fix polls not being validated on edition (#33755) 6 months ago
Matt Jankowski 8a2d764d34
Reduce factory creation across `controllers/admin` specs (#33752) 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
Claire 7261951791
Fix LDSignature tests (#33705) 6 months ago
Matt Jankowski 51ecc7326f
Fix intermittent services/ap/process_status_update tags failure (#33695) 6 months ago
Matt Jankowski 8eee7ae4c3
Fix issue with saving empty fields values on filter keyword updates (#33691) 6 months ago
Matt Jankowski 4a9c49ee43
Fix issue with saving empty fields values on profile update (#33689) 6 months ago
Matt Jankowski 607f65a0a5
Use `expect` for api/v1 and api/web push subs controllers (#33682) 6 months ago
Jonathan de Jong b18caff5b6
Change `first_of_value` to `first_of_hash`, and add more test cases (#33647) 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
Claire 3dcf5e12b1
Change notifications from moderators to not be filtered (#33654) 6 months ago
Eugen Rochko 11786f1114
Change design of edit media modal in web UI (#33516) 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 3af6739f21
Add coverage for `AnnualReport.prepare` method (#33618) 6 months ago
Claire da4e55eb17
Merge commit from fork 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
Matt Jankowski 9f03e5b53a
Expand coverage of `admin/*blocks` areas (#33594) 6 months ago
Matt Jankowski 68c9f91ccb
Treat non-null but blank account domain as local (#33576) 6 months ago
Matt Jankowski 50013b10a5
Add `Status::Visibility` concern to hold visibility logic (#33578) 6 months ago
Matt Jankowski 7c56517c7c
Move mastodon version config to `config_for` yml (#33577) 6 months ago
Matt Jankowski a9a8b6b701
Expand coverage of admin/trends/* areas (#33581) 6 months ago
S1m 4a2813158d
Add support for standard webpush (#33528)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
6 months ago
Jeong Arm 74da9e9281
Fix custom css cache miss (#33583) 6 months ago
Wolfgang 77a44e61a8
Add enum validation to `DomainBlock#severity` (#29158) 7 months ago
Matt Jankowski f9451c5614
Fix issue with trending order when user has chosen languages (#33557) 7 months ago
Daniel M Brasil 0db7558822
Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` (#29308) 7 months ago
Matt Jankowski 3c4a83fc62
Remove unused `LanguagePresenter#native_name` (#33551) 7 months ago
Claire 68d818121d
Switch `webpush` dependency to latest version of Mastodon-maintained fork (#33572) 7 months ago
Claire d517fa5ab7
Change ActivityPub path generation to all happen in `ActivityPub::TagManager` (#33527) 7 months ago
Matt Jankowski 22c1b6f3ee
Fix `Invite#code` changing value on every save (#33550) 7 months ago
Matt Jankowski 2cfc2a777a
Add `build_object` method for defaults in `AP::Activity::Create` spec (#33537) 7 months ago
Matt Jankowski 4f6edc7596
Use `in_order_of` in `trends/*` classes (#33531) 7 months ago
Matt Jankowski a8b0152bc5
Convert `admin/terms_of_service/histories` spec controller->system (#33534) 7 months ago
Matt Jankowski 8d4ca95163
Convert `admin/follow_recommendations` spec controller->system (#33533) 7 months ago
Matt Jankowski 2499cd01db
Add `duplicate_record` helper to maintenance CLI spec (#33536) 7 months ago
Matt Jankowski f98972e4eb
Use `with_options` for Account `if: :local?` validation group (#33529) 7 months ago
Matt Jankowski 54e2030146
Add `AccountWarning#appeal_eligible?` method (#33526) 7 months ago
Matt Jankowski 9b8d1fb6d1
Add `Account#actor_type_application?` query method (#33525) 7 months ago
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 7 months ago
Claire 91c75a6361
Re-introduce `application_id` in `ScheduledStatusSerializer` (#33505) 7 months ago
Christian Schmidt 8e2c642d44
Do now swallow response body on persistent connection (#32729) 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 f4b463ecb1
Use `response.parsed_body` for error view application controller spec (#33515) 7 months ago
Matt Jankowski ce1501c3a7
Add "Account::Search" shared example for use in `Account` spec (#33507) 7 months ago
Matt Jankowski f22a2aab40
Add `Account#remote?` query method (#33508) 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 82d2ce293d
Convert `admin/warning_presets` spec controller->system (#33474) 7 months ago
Matt Jankowski ef39398b82
Add `urgent` scope and `by_version` method to `SoftwareUpdate` (#33470) 7 months ago
Claire dbbf450ef5
Fix `fediverse:creator` metadata not showing up in REST API (#33466) 7 months ago
Matt Jankowski 08dd11f8d4
Use `in_order_of` with `filter: false` in `AccountSummary.localized` (#33446) 7 months ago
zunda f16fbc069a
Use configured limit for number of profile fields (#33463) 7 months ago
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name (#33421) 7 months ago