Commit Graph

2914 Commits (features/numeric-identifiers)

Author SHA1 Message Date
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) 5 months ago
Claire 6b52227fcc
Fix Mastodon listing updates older or equal to current version (#33906) 5 months ago
Matt Jankowski fb0856458b
Verify page content in `ChallengableConcern` spec (#33895) 5 months ago
Matt Jankowski 6df24b4bc2
Move signed out statuses controller spec examples to request spec (#33907) 5 months ago
Matt Jankowski b07cd11f4c
Convert `settings/migration/redirects` spec controller->system (#33905) 5 months ago
Matt Jankowski 506a70d0d8
Convert "http signatures" portion of statuses controller spec to request spec (#33890) 5 months ago
Matt Jankowski aa10e8f399
Verify page content in 2FA portion of `auth/sessions` controller spec (#33891) 5 months ago
Matt Jankowski 4c597d5e2c
Convert `settings/privacy` spec controller->system (#33894) 5 months ago
Matt Jankowski 4e58570f73
Use common `before` and contexts in admin/base controller spec (#33879) 5 months ago
Matt Jankowski 7d20c12913
Convert `settings/featured_tags` controller->request/system spec (#33880) 5 months ago
Matt Jankowski dd2cb77f1a
Remove unused "oversized" spec fixture PNG file (#33881) 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
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) 6 months ago
Matt Jankowski f9451c5614
Fix issue with trending order when user has chosen languages (#33557) 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 68d818121d
Switch `webpush` dependency to latest version of Mastodon-maintained fork (#33572) 6 months ago
Claire d517fa5ab7
Change ActivityPub path generation to all happen in `ActivityPub::TagManager` (#33527) 6 months ago
Matt Jankowski 22c1b6f3ee
Fix `Invite#code` changing value on every save (#33550) 6 months ago
Matt Jankowski 2cfc2a777a
Add `build_object` method for defaults in `AP::Activity::Create` spec (#33537) 6 months ago
Matt Jankowski 4f6edc7596
Use `in_order_of` in `trends/*` classes (#33531) 6 months ago
Matt Jankowski a8b0152bc5
Convert `admin/terms_of_service/histories` spec controller->system (#33534) 6 months ago
Matt Jankowski 8d4ca95163
Convert `admin/follow_recommendations` spec controller->system (#33533) 6 months ago
Matt Jankowski 2499cd01db
Add `duplicate_record` helper to maintenance CLI spec (#33536) 6 months ago
Matt Jankowski f98972e4eb
Use `with_options` for Account `if: :local?` validation group (#33529) 6 months ago
Matt Jankowski 54e2030146
Add `AccountWarning#appeal_eligible?` method (#33526) 6 months ago
Matt Jankowski 9b8d1fb6d1
Add `Account#actor_type_application?` query method (#33525) 6 months ago
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 6 months ago
Claire 91c75a6361
Re-introduce `application_id` in `ScheduledStatusSerializer` (#33505) 6 months ago
Christian Schmidt 8e2c642d44
Do now swallow response body on persistent connection (#32729) 6 months ago
Matt Jankowski cbae00ad23
Remove `render_template` from accounts request spec (#33519) 6 months ago
Matt Jankowski 4148b68430
Remove `render_template` from remote interaction helper request spec (#33518) 6 months ago
Matt Jankowski f4b463ecb1
Use `response.parsed_body` for error view application controller spec (#33515) 6 months ago
Matt Jankowski ce1501c3a7
Add "Account::Search" shared example for use in `Account` spec (#33507) 6 months ago
Matt Jankowski f22a2aab40
Add `Account#remote?` query method (#33508) 6 months ago
Matt Jankowski 0c690511c2
Convert `auth/challenges` spec controller->request (#33495) 6 months ago
Matt Jankowski b6c2923cf7
Convert `settings/migration` spec controller->system (#33496) 6 months ago
Matt Jankowski c0264c8013
Extend custom CSS cache time with digest paths (#33207) 6 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
Matt Jankowski 535866218e
Update `rails` to version 8.0.1 (#32357) 7 months ago
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 7 months ago
Matt Jankowski 8e3fd1b823
Convert `disputes/appeals` spec controller->system (#33434) 7 months ago
Matt Jankowski 1fbd106af9
Convert `admin/report_notes` spec controller->system (#33433) 7 months ago
Matt Jankowski 00a8a5467c
Convert `admin/relays` spec controller->system (#33430) 7 months ago
Matt Jankowski 2e936785b7
Convert `admin/rules` spec controller->system (#33377) 7 months ago
Claire f9fef9864a
Fix intermittent failure on ap/activity/update spec timestamp check (#33425) 7 months ago
Matt Jankowski 441dcd7396
Fix intermittent failure on ap/activity/create spec timestamp check (#33406) 7 months ago
Matt Jankowski 8770905186
Convert `admin/ip_blocks` spec controller->system (#33376) 7 months ago
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope (#33368) 7 months ago
Matt Jankowski d2fbf42b0e
Avoid `validate: false` save in expired poll create activity spec (#33367) 7 months ago
Claire 344e2903b3
Fix featured tags for remote accounts not being kept up to date (#33372) 7 months ago
Matt Jankowski d31d988e24
Add coverage for `UserMailer` not delivering to memorialized users (#33366)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
Matt Jankowski 28d309fd86
Add shared example for `Expireable` concern (#33369) 7 months ago
Matt Jankowski 87c892191a
Convert `admin/domain_allows` spec controller->system (#33365) 7 months ago
Matt Jankowski 1acc54cfc7
Convert `admin/webhooks` spec controller->system (#33364) 7 months ago
Matt Jankowski 03bf4cde55
Convert `statuses_cleanup` controller specs to system specs (#33363) 7 months ago
Matt Jankowski 0ac43700d8
Add coverage for `REST::AnnualReportEventSerializer` and two `ActivityPub::*` serializers (#33355)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
Matt Jankowski 22caddaa24
Update user role position range limit (#33349) 7 months ago
Matt Jankowski aee64a465c
Remove unused `Poll.unattached` scope (#33350) 7 months ago
Matt Jankowski 545a6b9eed
Convert `admin/account_moderation_notes` spec controller->system (#33354) 7 months ago
Matt Jankowski 668ce14ff2
Convert `admin/custom_emojis` spec controller->system (#33327) 7 months ago
Matt Jankowski ca2a7d66b8
Fix missing value limits for `UserRole` position (#33172) 7 months ago
Matt Jankowski d65e246192
Convert `statuses#activity` action controller to request spec (#33336) 7 months ago
Matt Jankowski 0085e8c427
Wrap assertions in `change` within `AccountStatusesCleanupPolicy` spec (#33335) 7 months ago
Matt Jankowski ce5c33c65d
Add API datetime/format matcher for serialization specs, reduce factories (#33325) 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
Matt Jankowski a7673d361d
Fix `application_id` erroneous inclusion in `ScheduledStatusSerializer` (#33159) 7 months ago
Matt Jankowski efe4e72f93
Convert `settings/preferences/appearance` controller spec to system (#33323) 7 months ago
Matt Jankowski 9067a7f696
Convert `settings/preferences/notifications` controller spec to system (#33322) 7 months ago
Matt Jankowski bfef66276a
Convert `settings/preferences/other` controller spec to system (#33321) 7 months ago
Matt Jankowski c68eb82ffa
Use explicit config loading from `bin/rubocop` (#33256) 7 months ago
Matt Jankowski a596f3479b
Convert `settings/login_activities` controller spec to system spec (#33306) 7 months ago
Matt Jankowski 3d00b95359
Convert `settings/profiles` controller spec to system spec (#33305) 7 months ago
Nik Clayton 5cf37248cc
Ensure datetime/date are serialized to correct format (#33086) 7 months ago
Matt Jankowski 4130bda12e
Convert `settings/verifications` controller spec to system spec (#33285) 7 months ago
Matt Jankowski 1bd9306ced
Add coverage for `Tag` model validations on name/display_name (#33291) 7 months ago
Matt Jankowski 3c71ee9b90
Use `touch_all` for time column updates (#33295) 7 months ago
Matt Jankowski 4bf6af3b61
Remove unused `model_have_error_on_field` matcher (#33273) 7 months ago
Matt Jankowski b51e0bc3c7
Simplify model validation specs for `Report` (#33267) 7 months ago
Claire bcb3b627b9
Fix processing of mentions for post edits with an existing corresponding silent mention (#33227) 7 months ago
Matt Jankowski ad68686bec
Simplify model validation specs for `CustomFilter` (#33248) 7 months ago
Matt Jankowski f721e76d13
Avoid double request in `admin/export_domain_allows` controller spec (#33255) 7 months ago
Matt Jankowski f6daf73286
Add non-matching cases to `Report#history` spec (#33253) 7 months ago
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 7 months ago
Matt Jankowski 39364346bb
Add coverage for admin/terms/drafts#update and admin/terms/generates#create actions (#33251) 7 months ago
Matt Jankowski 094e2172ec
Add system spec for `Admin::TermsOfService` index view (#33250) 7 months ago
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` (#33247) 7 months ago
Matt Jankowski 12eb6b0e6d
Add coverage for `TermsOfServicePolicy` class (#33241) 7 months ago
Matt Jankowski 66266ec6fc
Add coverage for `UserMailer#terms_of_service_changed` mailer (#33242) 7 months ago
Matt Jankowski 19c6cb82f6
Add coverage for `Admin::DistributeTermsOfServiceNotificationWorker` class (#33245) 7 months ago
Matt Jankowski c72083ad68
Add system spec for TOS page (#33243) 7 months ago
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model (#33231) 7 months ago
FND c8c916e657
Change URL truncation to account for ellipses (#33229) 7 months ago
Eugen Rochko 425311e1d9
Change referrer policy to be controlled by header in web UI (#33214) 7 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 7 months ago
Eugen Rochko 796dd57e1b
Change ability to navigate of unconfirmed users (#33209) 7 months ago
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 8 months ago
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 8 months ago
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 8 months ago
Claire 21f6780498
Fix deletion of unconfirmed users with Webauthn set (#33186) 8 months ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 8 months ago
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
8 months ago
Claire c521a62b1e
Add tests for broken mention processing (#33171) 8 months ago
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 8 months ago
Matt Jankowski 6fddf1610c
Fix awkwardly-worded nature of scheduled too soon error (#33156) 8 months ago
Matt Jankowski be43b01eb1
Add coverage for `CustomFilter#expires_in` method (#33142) 8 months ago
Matt Jankowski 2381ed55d7
Add coverage for `Report#unresolved_siblings?` (#33141) 8 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 8 months ago
Jonathan de Jong 360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 8 months ago
Matt Jankowski 3cd308523a
Add shared example for `RankedTrend` concern (#33125) 8 months ago
Calvin Lee 7f4858b339
Correctly sanitize MathML out of post content (#27107) 8 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 8 months ago
Matt Jankowski 0ea9d8164b
Remove `body_class_string` helper (#33072) 8 months ago
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 8 months ago
Matt Jankowski ab9c62e8c7
Add coverage for `User` validations (#33028) 8 months ago
Matt Jankowski fd90f04f0e
Add coverage for `UserRole` validations (#33029) 8 months ago
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 8 months ago
Christian Schmidt 7385016837
`rel="me"` check should be case-insenstive (#32238) 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
Paulo Vilarinho 2526b32ad3
block scheduled status from frozen users (#30729) 8 months ago
Matt Jankowski b66fbaeec2
Add `AccountWarning` case to `Report#history` spec (#32984) 8 months ago
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 8 months ago
Matt Jankowski 87e7ad9b8f
Add `LoginActivity` model spec and `BrowserDetection` concern shared example (#32959) 8 months ago
Matt Jankowski 425982841d
Use group/count approach in annual report classes (#32914) 8 months ago
Matt Jankowski 295ad6f19a
Prep work for coverage addition to `ActivityPub::DeliveryWorker` spec (#32944) 8 months ago
Matt Jankowski 30a7986569
Add coverage for fixing the thing with the dates in the search area (#32958) 8 months ago
Matt Jankowski c0c34d35e2
Move self destruct check to `config_for` and add constant for verifier string (#32943) 8 months ago
Eugen Rochko 911d7dbbf6
Fix `min_id` and `max_id` causing error in search API (#32857) 8 months ago
Matt Jankowski 03ee08c2da
Use `nil` instead of `false` for datetime value in spec (#32926) 8 months ago
Matt Jankowski be413d67de
`Form::Import` spec reduce factories (#32924) 8 months ago
Matt Jankowski a1ac2a73ff
Remove remnants of embed views (#32419) 8 months ago
Matt Jankowski 9d3fcc3546
Remove unused failure action in api/base controller spec (#32905) 8 months ago
Matt Jankowski 7bd7705f59
Combine shared-setup examples across `spec/controllers/auth/*` specs (#32906) 8 months ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 8 months ago
Matt Jankowski 297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 8 months ago
Claire f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 8 months ago
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 8 months ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 8 months ago
Claire e8b6607ece
Fix titles being escaped twice (#32889) 8 months ago
Claire 8f5cbf5370
Fix list creation limit check (#32869) 8 months ago
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 8 months ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 8 months ago
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 8 months ago
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 8 months ago