Commit Graph

3042 Commits (e62baacfc11508eb1d2ac1c1bcc3c4bd615d940b)

Author SHA1 Message Date
Claire cf820b2eca
Fix `/settings/applications` rejecting scopes parameter (#33798) 10 months ago
Matt Jankowski 77587913ce
Convert `admin/reports` spec controller->system (#33789) 10 months ago
Matt Jankowski c5cd9bda48
Convert `auth/passwords` spec controller->system/request (#33790) 10 months ago
Claire a3d2849d15
Fix `tootctl feeds build` not building list timelines (#33783) 10 months ago
Claire 2d545c5fe5
Fix flaky test in `/api/v2/notifications` tests (#33773) 10 months ago
Matt Jankowski 2beab34ca4
Convert `admin/email_domain_blocks` controller -> system spec (#33759) 10 months ago
Claire 5b291fcbe4
Fix incorrect signature after HTTP redirect (#33757) 10 months ago
Claire 32aa83e9d7
Fix polls not being validated on edition (#33755) 10 months ago
Matt Jankowski 8a2d764d34
Reduce factory creation across `controllers/admin` specs (#33752) 10 months ago
Matt Jankowski 93f3c724ae
Use `expect` in remaining controller locations (#33748) 10 months ago
Matt Jankowski d3b637c757
Use `expect` in `Admin::ExportControllerConcern` import params (#33745) 10 months ago
Matt Jankowski 65d9171c7d
Use `expect` for `admin/` controllers (#33686) 10 months ago
Matt Jankowski a1d9c3fb99
Use `expect` params wrapper for more "auth" and "2FA" "controllers" (#33717) 10 months ago
Claire 7261951791
Fix LDSignature tests (#33705) 10 months ago
Matt Jankowski 51ecc7326f
Fix intermittent services/ap/process_status_update tags failure (#33695) 10 months ago
Matt Jankowski 8eee7ae4c3
Fix issue with saving empty fields values on filter keyword updates (#33691) 10 months ago
Matt Jankowski 4a9c49ee43
Fix issue with saving empty fields values on profile update (#33689) 10 months ago
Matt Jankowski 607f65a0a5
Use `expect` for api/v1 and api/web push subs controllers (#33682) 10 months ago
Jonathan de Jong b18caff5b6
Change `first_of_value` to `first_of_hash`, and add more test cases (#33647) 10 months ago
Matt Jankowski e155aab39e
Use `expect` for nested params in `settings/*` controllers (#33673) 10 months ago
Matt Jankowski d2cc28813f
Use `expect` for nested params in more controllers (#33675) 10 months ago
Claire 3dcf5e12b1
Change notifications from moderators to not be filtered (#33654) 10 months ago
Eugen Rochko 11786f1114
Change design of edit media modal in web UI (#33516) 10 months ago
Matt Jankowski 45149cd5e1
Use `expect` for nested params in `auth/setup#update` (#33657) 10 months ago
Matt Jankowski 5be938e661
Migrate visibility interaction checks on statuses to request spec (#33622) 10 months ago
Christian Schmidt a3baae0b99
API for updating attribution domains (#32730) 10 months ago
Matt Jankowski 3af6739f21
Add coverage for `AnnualReport.prepare` method (#33618) 10 months ago
Claire da4e55eb17
Merge commit from fork 10 months ago
Matt Jankowski 998cf0dd53
Convert `auth/setup` spec controller->system/request (#33604) 10 months ago
Matt Jankowski 72abf05269
Add "needs refresh" scenario to `api/v1/polls` request spec (#33608) 10 months ago
Matt Jankowski 9f03e5b53a
Expand coverage of `admin/*blocks` areas (#33594) 10 months ago
Matt Jankowski 68c9f91ccb
Treat non-null but blank account domain as local (#33576) 10 months ago
Matt Jankowski 50013b10a5
Add `Status::Visibility` concern to hold visibility logic (#33578) 10 months ago
Matt Jankowski 7c56517c7c
Move mastodon version config to `config_for` yml (#33577) 10 months ago
Matt Jankowski a9a8b6b701
Expand coverage of admin/trends/* areas (#33581) 11 months ago
S1m 4a2813158d
Add support for standard webpush (#33528)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Jeong Arm 74da9e9281
Fix custom css cache miss (#33583) 11 months ago
Wolfgang 77a44e61a8
Add enum validation to `DomainBlock#severity` (#29158) 11 months ago
Matt Jankowski f9451c5614
Fix issue with trending order when user has chosen languages (#33557) 11 months ago
Daniel M Brasil 0db7558822
Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` (#29308) 11 months ago
Matt Jankowski 3c4a83fc62
Remove unused `LanguagePresenter#native_name` (#33551) 11 months ago
Claire 68d818121d
Switch `webpush` dependency to latest version of Mastodon-maintained fork (#33572) 11 months ago
Claire d517fa5ab7
Change ActivityPub path generation to all happen in `ActivityPub::TagManager` (#33527) 11 months ago
Matt Jankowski 22c1b6f3ee
Fix `Invite#code` changing value on every save (#33550) 11 months ago
Matt Jankowski 2cfc2a777a
Add `build_object` method for defaults in `AP::Activity::Create` spec (#33537) 11 months ago
Matt Jankowski 4f6edc7596
Use `in_order_of` in `trends/*` classes (#33531) 11 months ago
Matt Jankowski a8b0152bc5
Convert `admin/terms_of_service/histories` spec controller->system (#33534) 11 months ago
Matt Jankowski 8d4ca95163
Convert `admin/follow_recommendations` spec controller->system (#33533) 11 months ago
Matt Jankowski 2499cd01db
Add `duplicate_record` helper to maintenance CLI spec (#33536) 11 months ago
Matt Jankowski f98972e4eb
Use `with_options` for Account `if: :local?` validation group (#33529) 11 months ago
Matt Jankowski 54e2030146
Add `AccountWarning#appeal_eligible?` method (#33526) 11 months ago
Matt Jankowski 9b8d1fb6d1
Add `Account#actor_type_application?` query method (#33525) 11 months ago
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 11 months ago
Claire 91c75a6361
Re-introduce `application_id` in `ScheduledStatusSerializer` (#33505) 11 months ago
Christian Schmidt 8e2c642d44
Do now swallow response body on persistent connection (#32729) 11 months ago
Matt Jankowski cbae00ad23
Remove `render_template` from accounts request spec (#33519) 11 months ago
Matt Jankowski 4148b68430
Remove `render_template` from remote interaction helper request spec (#33518) 11 months ago
Matt Jankowski f4b463ecb1
Use `response.parsed_body` for error view application controller spec (#33515) 11 months ago
Matt Jankowski ce1501c3a7
Add "Account::Search" shared example for use in `Account` spec (#33507) 11 months ago
Matt Jankowski f22a2aab40
Add `Account#remote?` query method (#33508) 11 months ago
Matt Jankowski 0c690511c2
Convert `auth/challenges` spec controller->request (#33495) 11 months ago
Matt Jankowski b6c2923cf7
Convert `settings/migration` spec controller->system (#33496) 11 months ago
Matt Jankowski c0264c8013
Extend custom CSS cache time with digest paths (#33207) 11 months ago
Matt Jankowski b3243ef41c
Refer to constant values from `api/v1/apps` request spec (#33488) 11 months ago
Matt Jankowski 7ad44e22ed
Remove role color highlighting from custom css (#33493) 11 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 11 months ago
Matt Jankowski 82d2ce293d
Convert `admin/warning_presets` spec controller->system (#33474) 11 months ago
Matt Jankowski ef39398b82
Add `urgent` scope and `by_version` method to `SoftwareUpdate` (#33470) 11 months ago
Claire dbbf450ef5
Fix `fediverse:creator` metadata not showing up in REST API (#33466) 11 months ago
Matt Jankowski 08dd11f8d4
Use `in_order_of` with `filter: false` in `AccountSummary.localized` (#33446) 11 months ago
zunda f16fbc069a
Use configured limit for number of profile fields (#33463) 11 months ago
Tim Rogers 3bdfa3eb4c
Added validator for extra profile field values with empty name (#33421) 11 months ago
Matt Jankowski 535866218e
Update `rails` to version 8.0.1 (#32357) 11 months ago
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 11 months ago
Matt Jankowski 8e3fd1b823
Convert `disputes/appeals` spec controller->system (#33434) 11 months ago
Matt Jankowski 1fbd106af9
Convert `admin/report_notes` spec controller->system (#33433) 11 months ago
Matt Jankowski 00a8a5467c
Convert `admin/relays` spec controller->system (#33430) 11 months ago
Matt Jankowski 2e936785b7
Convert `admin/rules` spec controller->system (#33377) 11 months ago
Claire f9fef9864a
Fix intermittent failure on ap/activity/update spec timestamp check (#33425) 11 months ago
Matt Jankowski 441dcd7396
Fix intermittent failure on ap/activity/create spec timestamp check (#33406) 11 months ago
Matt Jankowski 8770905186
Convert `admin/ip_blocks` spec controller->system (#33376) 11 months ago
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope (#33368) 11 months ago
Matt Jankowski d2fbf42b0e
Avoid `validate: false` save in expired poll create activity spec (#33367) 11 months ago
Claire 344e2903b3
Fix featured tags for remote accounts not being kept up to date (#33372) 11 months ago
Matt Jankowski d31d988e24
Add coverage for `UserMailer` not delivering to memorialized users (#33366)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski 28d309fd86
Add shared example for `Expireable` concern (#33369) 11 months ago
Matt Jankowski 87c892191a
Convert `admin/domain_allows` spec controller->system (#33365) 11 months ago
Matt Jankowski 1acc54cfc7
Convert `admin/webhooks` spec controller->system (#33364) 11 months ago
Matt Jankowski 03bf4cde55
Convert `statuses_cleanup` controller specs to system specs (#33363) 11 months ago
Matt Jankowski 0ac43700d8
Add coverage for `REST::AnnualReportEventSerializer` and two `ActivityPub::*` serializers (#33355)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski 22caddaa24
Update user role position range limit (#33349) 11 months ago
Matt Jankowski aee64a465c
Remove unused `Poll.unattached` scope (#33350) 11 months ago
Matt Jankowski 545a6b9eed
Convert `admin/account_moderation_notes` spec controller->system (#33354) 11 months ago
Matt Jankowski 668ce14ff2
Convert `admin/custom_emojis` spec controller->system (#33327) 11 months ago
Matt Jankowski ca2a7d66b8
Fix missing value limits for `UserRole` position (#33172) 11 months ago
Matt Jankowski d65e246192
Convert `statuses#activity` action controller to request spec (#33336) 11 months ago
Matt Jankowski 0085e8c427
Wrap assertions in `change` within `AccountStatusesCleanupPolicy` spec (#33335) 11 months ago
Matt Jankowski ce5c33c65d
Add API datetime/format matcher for serialization specs, reduce factories (#33325) 11 months ago
Claire 1712543c68
Revert "Support animated PNGs in media attachments (#28516)" (#33334) 11 months ago
Matt Jankowski 60bb51eef8
Convert `filters` spec controller->system (#33326) 11 months ago
Matt Jankowski a7673d361d
Fix `application_id` erroneous inclusion in `ScheduledStatusSerializer` (#33159) 11 months ago
Matt Jankowski efe4e72f93
Convert `settings/preferences/appearance` controller spec to system (#33323) 11 months ago
Matt Jankowski 9067a7f696
Convert `settings/preferences/notifications` controller spec to system (#33322) 11 months ago
Matt Jankowski bfef66276a
Convert `settings/preferences/other` controller spec to system (#33321) 11 months ago
Matt Jankowski c68eb82ffa
Use explicit config loading from `bin/rubocop` (#33256) 11 months ago
Matt Jankowski a596f3479b
Convert `settings/login_activities` controller spec to system spec (#33306) 11 months ago
Matt Jankowski 3d00b95359
Convert `settings/profiles` controller spec to system spec (#33305) 11 months ago
Nik Clayton 5cf37248cc
Ensure datetime/date are serialized to correct format (#33086) 12 months ago
Matt Jankowski 4130bda12e
Convert `settings/verifications` controller spec to system spec (#33285) 12 months ago
Matt Jankowski 1bd9306ced
Add coverage for `Tag` model validations on name/display_name (#33291) 12 months ago
Matt Jankowski 3c71ee9b90
Use `touch_all` for time column updates (#33295) 12 months ago
Matt Jankowski 4bf6af3b61
Remove unused `model_have_error_on_field` matcher (#33273) 12 months ago
Matt Jankowski b51e0bc3c7
Simplify model validation specs for `Report` (#33267) 12 months ago
Claire bcb3b627b9
Fix processing of mentions for post edits with an existing corresponding silent mention (#33227) 12 months ago
Matt Jankowski ad68686bec
Simplify model validation specs for `CustomFilter` (#33248) 12 months ago
Matt Jankowski f721e76d13
Avoid double request in `admin/export_domain_allows` controller spec (#33255) 12 months ago
Matt Jankowski f6daf73286
Add non-matching cases to `Report#history` spec (#33253) 12 months ago
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 12 months ago
Matt Jankowski 39364346bb
Add coverage for admin/terms/drafts#update and admin/terms/generates#create actions (#33251) 12 months ago
Matt Jankowski 094e2172ec
Add system spec for `Admin::TermsOfService` index view (#33250) 12 months ago
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` (#33247) 12 months ago
Matt Jankowski 12eb6b0e6d
Add coverage for `TermsOfServicePolicy` class (#33241) 12 months ago
Matt Jankowski 66266ec6fc
Add coverage for `UserMailer#terms_of_service_changed` mailer (#33242) 12 months ago
Matt Jankowski 19c6cb82f6
Add coverage for `Admin::DistributeTermsOfServiceNotificationWorker` class (#33245) 12 months ago
Matt Jankowski c72083ad68
Add system spec for TOS page (#33243) 12 months ago
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model (#33231) 12 months ago
FND c8c916e657
Change URL truncation to account for ellipses (#33229) 12 months ago
Eugen Rochko 425311e1d9
Change referrer policy to be controlled by header in web UI (#33214) 12 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 12 months ago
Eugen Rochko 796dd57e1b
Change ability to navigate of unconfirmed users (#33209) 12 months ago
Matt Jankowski 72a4da83fd
Merge duplicate custom css request specs (#33204) 12 months ago
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 12 months ago
Matt Jankowski 86b45a4a48
Add rel alternate rss/json links to tags show html page (#33179) 12 months ago
Claire 21f6780498
Fix deletion of unconfirmed users with Webauthn set (#33186) 12 months ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 12 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>
12 months ago
Claire c521a62b1e
Add tests for broken mention processing (#33171) 12 months ago
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 12 months ago
Matt Jankowski 6fddf1610c
Fix awkwardly-worded nature of scheduled too soon error (#33156) 12 months ago
Matt Jankowski be43b01eb1
Add coverage for `CustomFilter#expires_in` method (#33142) 12 months ago
Matt Jankowski 2381ed55d7
Add coverage for `Report#unresolved_siblings?` (#33141) 12 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 12 months ago
Jonathan de Jong 360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 12 months ago
Matt Jankowski 3cd308523a
Add shared example for `RankedTrend` concern (#33125) 12 months ago
Calvin Lee 7f4858b339
Correctly sanitize MathML out of post content (#27107) 1 year ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 1 year ago
Matt Jankowski 0ea9d8164b
Remove `body_class_string` helper (#33072) 1 year ago
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations (#33026) 1 year ago
Matt Jankowski ab9c62e8c7
Add coverage for `User` validations (#33028) 1 year ago
Matt Jankowski fd90f04f0e
Add coverage for `UserRole` validations (#33029) 1 year ago
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 1 year ago
Christian Schmidt 7385016837
`rel="me"` check should be case-insenstive (#32238) 1 year ago
Emelia Smith 4517e18b79
Update dependency doorkeeper to v5.8.0 (#33000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
Paulo Vilarinho 2526b32ad3
block scheduled status from frozen users (#30729) 1 year ago
Matt Jankowski b66fbaeec2
Add `AccountWarning` case to `Report#history` spec (#32984) 1 year ago
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 1 year ago
Matt Jankowski 87e7ad9b8f
Add `LoginActivity` model spec and `BrowserDetection` concern shared example (#32959) 1 year ago
Matt Jankowski 425982841d
Use group/count approach in annual report classes (#32914) 1 year ago
Matt Jankowski 295ad6f19a
Prep work for coverage addition to `ActivityPub::DeliveryWorker` spec (#32944) 1 year ago
Matt Jankowski 30a7986569
Add coverage for fixing the thing with the dates in the search area (#32958) 1 year ago
Matt Jankowski c0c34d35e2
Move self destruct check to `config_for` and add constant for verifier string (#32943) 1 year ago
Eugen Rochko 911d7dbbf6
Fix `min_id` and `max_id` causing error in search API (#32857) 1 year ago
Matt Jankowski 03ee08c2da
Use `nil` instead of `false` for datetime value in spec (#32926) 1 year ago
Matt Jankowski be413d67de
`Form::Import` spec reduce factories (#32924) 1 year ago
Matt Jankowski a1ac2a73ff
Remove remnants of embed views (#32419) 1 year ago
Matt Jankowski 9d3fcc3546
Remove unused failure action in api/base controller spec (#32905) 1 year ago
Matt Jankowski 7bd7705f59
Combine shared-setup examples across `spec/controllers/auth/*` specs (#32906) 1 year ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 1 year ago
Matt Jankowski 297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 1 year ago
Claire f1ef7b5b43
Fix uploading higher-than-wide GIF profile picture with libvips enabled (#32911) 1 year ago
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 1 year ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 1 year ago
Claire e8b6607ece
Fix titles being escaped twice (#32889) 1 year ago
Claire 8f5cbf5370
Fix list creation limit check (#32869) 1 year ago
Matt Jankowski a6d829e86f
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records` (#32863) 1 year ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 1 year ago
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 1 year ago
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 1 year ago
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` (#30534) 1 year ago
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 1 year ago
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 1 year ago
Matt Jankowski 4ef3a1a38d
Match dependency-generator output for `require_relative` usage (#32800) 1 year ago
Matt Jankowski 870bb06994
Add coverage for misc serializers (#32781) 1 year ago
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 1 year ago
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 1 year ago
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 1 year ago
Matt Jankowski ff490daa58
Reduce factory generation in `AccountStatusesFilter` spec (#32727) 1 year ago
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 1 year ago
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 1 year ago
Eugen Rochko c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 1 year ago
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 1 year ago
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 1 year ago
Matt Jankowski df3b954720
Add `DomainHelpers` spec support module for DNS/MX stub (#32690) 1 year ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 1 year ago
Matt Jankowski b107fc2e65
Use nil for timestamp column in admin/confirmations spec (#32682) 1 year ago
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 1 year ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 1 year ago
Matt Jankowski 1775e151ec
Simplify model validation specs for `DomainAllow` (#32496) 1 year ago
Matt Jankowski 9464281f29
Simplify model validation specs for `AccountStatusCleanupPolicy` (#32495) 1 year ago
Matt Jankowski 15f6336cdd
Simplify model validation specs for `AccountMigration` (#32494) 1 year ago
Matt Jankowski 86132f7dd3
Provide `establish_policy` helper method in `AccountStatusesCleanupPolicy` spec (#32490) 1 year ago
Matt Jankowski 2a13d6824c
Use `subject` for `FeedManager` lib spec (#32486) 1 year ago
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec (#32432) 1 year ago
Matt Jankowski 4134ccdbe0
Simplify model validation specs for `WebauthnCredential` (#32466) 1 year ago
Matt Jankowski e5be4bf8d8
Simplify model validation specs for `PreviewCard` (#32469) 1 year ago
Matt Jankowski 37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 1 year ago
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model (#32474) 1 year ago
Matt Jankowski b16435e79f
Explore more resplendent model validation specs for `Form::AdminSettings` (#32465) 1 year ago
Matt Jankowski 67504dbf9c
Simplify uniqueness validation spec for `IpBlock` (#32066) 1 year ago
Matt Jankowski 5c910dc82e
Add coverage for `DatabaseHelper` primary/replica methods (#32642) 1 year ago
Matt Jankowski 745c4f900a
Remove unused `ApplicationHelper#visibility_icon` helper method (#32644) 1 year ago
Matt Jankowski 5a4f4f3e83
Remove single-use `ProfileStories` method (#31164) 1 year ago
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 1 year ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 1 year ago
Matt Jankowski d1b20ea8f7
Worker specs coverage increase (#32541) 1 year ago
Matt Jankowski bd0c826a3d
Simplify model validation specs for `Announcement` (#32481) 1 year ago
Matt Jankowski c0f46e9031
Fortify coverage for `Follow` model (#32472) 1 year ago
Matt Jankowski 1f3722904f
Top off coverage for `Appeal` model (#32464) 1 year ago
Matt Jankowski 67403e7b01
Add coverage for ActivityPub likes/shares endpoints (#32305) 1 year ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 1 year ago
Matt Jankowski 6d2f865862
Add coverage for `AccountAlias` validations (#31936) 1 year ago
Matt Jankowski bfe3d49cca
Add `inline_jobs` to admin/reset spec (#32517) 1 year ago
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs (#32450) 1 year ago
Matt Jankowski 9e8f099d38
Improve `app/policies` coverage (#32426) 1 year ago
Matt Jankowski 28131b4b00
Convert status embed controller to request spec (#32448) 1 year ago
Matt Jankowski b78597979a
Fix missing content warning text in rss formatter (#32406) 1 year ago
Matt Jankowski b742ce9d09
Reduce factory creation (17 -> 0) in `PlainTextFormatter` spec (#32487) 1 year ago
Matt Jankowski e9b27852be
Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` spec (#32488) 1 year ago
Matt Jankowski 27f05e9016
Expand coverage for `User#token_for_app` (#32434) 1 year ago
Matt Jankowski bfb41e61a3
Expand coverage for `Block` model (#32480) 1 year ago
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) (#32428) 1 year ago
Matt Jankowski 6a39212b02
Reduce factories (36 > 12) in `AccountReachFinder` spec (#32482) 1 year ago
Matt Jankowski 92bb19773a
Use `context` for repeated scenarios in `AccountStatusCleanupPolicy` spec (#32489) 1 year ago
Matt Jankowski d1d2278e70
Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 1 year ago
Matt Jankowski b1c10969ac
Reduce factory creation (48 -> 8) in `AP::Note` serializer spec (#32492) 1 year ago
Matt Jankowski a11b599ffa
Expand coverage for `Scheduler::IpCleanupScheduler` worker (#32499) 1 year ago
Matt Jankowski 0cc21f1ded
Reduce factory creation (132 -> 40) in lib/vacuum/* specs (#32498) 1 year ago
Matt Jankowski d74c2c583a
Extend spec coverage for `Poll` model (#32500) 1 year ago
Matt Jankowski cc70acc11c
Augment coverage for `Status` model (#32468) 1 year ago
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model (#32473) 1 year ago
Matt Jankowski 06d6b35e88
Convert `admin/tags` controller specs to system specs (#32447) 1 year ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 1 year ago
Matt Jankowski f49161ab1d
Oauth system spec cleanup / helper method extraction (#32287) 1 year ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 1 year ago
Matt Jankowski ebdeac0731
Add coverage for missing status scenario in NotificationMailer (#32256) 1 year ago
Matt Jankowski e4e07b1c34
Reduce factory usage across `spec/services` area (#32098) 1 year ago
Matt Jankowski 463f9197d8
Add regression coverage for admin reports resolution button within form (#32248) 1 year ago
Matt Jankowski cc8d723e71
Register an XML encoder for response tests (#32220) 1 year ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 1 year ago
Matt Jankowski b7bb850efd
Enable hostname config for all system specs (#32109) 1 year ago
Matt Jankowski d270d6dd4f
Provide `use_path` to qr generator for svg data size reduction (#32127) 1 year ago
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) (#32136) 1 year ago
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 1 year ago
Matt Jankowski ebab3b80c7
Expand coverage for `Export` utility class (#32212) 1 year ago
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 1 year ago
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 1 year ago
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec (#32108) 1 year ago
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 1 year ago
Matt Jankowski db57fe80c8
Remove `page_json` var from ap/replies spec (#32000) 1 year ago
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 1 year ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 1 year ago
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 1 year ago
Matt Jankowski 83574f641a
Add coverage and use mailer callback to check functional user in notification mailer (#32055) 1 year ago
Matt Jankowski c2ef83ea4c
Consolidate shared `a scope` example parts into one attributes check (#32046) 1 year ago
Matt Jankowski c3b6a7a297
Reduce factory creation (36 -> 12) in `spec/controllers/oauth/*` area (#32045) 1 year ago
Matt Jankowski 06ecf9008b
Remove single-use shared examples in controller specs (#32044) 1 year ago
André Menrath 556837f156
Fix the summary of converted object types to be treated as HTML (#28629) 1 year ago
Claire c36a76b9eb
Fix error when accepting appeal for sensitive posts deleted in the meantime (#32037)
Co-authored-by: David Roetzel <david@roetzel.de>
1 year ago
Matt Jankowski 780e2e9d66
Convert notification mailer spec shared examples to matchers (#32047) 1 year ago
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs (#32006) 1 year ago
Matt Jankowski bbf7752256
Combine assertions in `Notification` model spec (#32015) 1 year ago
Matt Jankowski 2b4bda8004
Add `response_avatar_link` helper to webfinger request spec (#31999) 1 year ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 1 year ago
Matt Jankowski 66ed7ea4b5
Move status creation to "with rss" context in accounts request spec (#32020) 1 year ago
Matt Jankowski cd7b670cd8
Reduce factory creation in `User#reset_password!` spec (#32021) 1 year ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 1 year ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 1 year ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 1 year ago
Matt Jankowski 171394e914
Add coverage for CSV responses for severed relationships (#31962) 1 year ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 1 year ago
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 1 year ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 1 year ago
Matt Jankowski 5a8f2fe31d
Convert `settings/exports` controller spec to system/request specs (#31965) 1 year ago
renovate[bot] 6801afa12f
Update dependency devise-two-factor to v6 [SECURITY] (#31957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Roetzel <david@roetzel.de>
1 year ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 1 year ago
Matt Jankowski e3baa1cdda
Add coverage for `AccountDeletionRequest` class (#31937) 1 year ago
Matt Jankowski bf8eaaa9a5
Convert controller spec for security_key_options endpoint to request spec (#31938) 1 year ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 1 year ago
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940) 1 year ago
Matt Jankowski 943738671c
Remove unneeded `to_s` on `Link` header comparison in statuses controller spec (#31941) 1 year ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 1 year ago
Matt Jankowski c54cbf7943
Remove `follow` creation from `ListAccount` fabricator (#31902) 1 year ago
Matt Jankowski abd2f5654a
Add validation coverage for `CustomEmoji` shortcode value (#31906) 1 year ago
Matt Jankowski 822e918a56
Add coverage for `Bookmark` validation and reblog/status check callback (#31907) 1 year ago
Claire 4b40d13cb3
Increase preview card image size limit from 2MB to 8MB when using libvips (#31904) 1 year ago
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains (#31900) 1 year ago
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 1 year ago
Matt Jankowski a2c4f5f5c0
Add coverage for `ListAccount` follow/follow_request set up (#31896) 1 year ago
Matt Jankowski 202077517c
Add "search" group for chewy classes in simplecov config (#31890) 1 year ago
Matt Jankowski 207c073bf8
Remove debug output in migration controller spec (#31886) 1 year ago
Taylor Chaparro 1b6a82b799
Fix invalid date searches returning 503 (#31526) 1 year ago
Matt Jankowski 4aa600387e
Move redirect/base body class to view (#31796) 1 year ago
Christian Schmidt 8cdc148167
Handle invalid visibility (#31571) 1 year ago
Matt Jankowski 17c57c46e7
Add coverage for title/limit validations in `List` model (#31869) 1 year ago
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 1 year ago
Claire c35ea59ee6
Fix security context sometimes not being added in LD-Signed activities (#31871) 1 year ago
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 1 year ago
Eugen Rochko 3d46f47817
Change embedded posts to use web UI (#31766)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski cdcd834f3c
Add coverage for `AnnualReport::*` source child classes (#31849) 1 year ago
Matt Jankowski cee71b9892
Remove `fa_` prefix from status visibility icon method (#31846) 1 year ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 1 year ago
Matt Jankowski d0ab94c4d2
Add `FeaturedTag` coverage, use `pick` in model (#31828) 1 year ago
Mike Dalessio a0ea2fa3b0
Change fetch link card service to parse as HTML5 (#31814) 1 year ago
Matt Jankowski c6a0768fe5
Use shared system spec helper methods (#31784) 1 year ago
Mike Dalessio afa2e257e4
Change verify link service to use CSS selectors instead of a complex XPath query (#31815) 1 year ago
Matt Jankowski 4f81ad2494
Add coverage for `media#player`, move body class to view (#31790) 1 year ago
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 1 year ago
Matt Jankowski a9d0b48b65
Set "admin" body class from `admin` nested layout (#31269) 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 09017dd8f0
Add worker spec for annual report worker (#31778) 1 year ago
Matt Jankowski 5acec087ca
Simplify basic presence validations (#29664) 1 year ago
David Roetzel f85694acfd
Add credentials to redis sentinel configuration (#31768) 1 year ago
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 1 year ago
Matt Jankowski ba9fd1c32e
Add coverage for `Account#prepare_contents` callback (#31748) 1 year ago
David Roetzel 7d91723f05
Support `REDIS_SENTINEL_PORT` variables (#31767) 1 year ago
Matt Jankowski 4d5c91e99a
Remove `before` block in spec with TODOs which have been TO-DONE already (#31754) 1 year ago
Matt Jankowski e1b5f3fc6f
Use `response.parsed_body` for html response checks (#31750) 1 year ago
David Roetzel ef2bc8ea26
Add redis sentinel support to ruby part of code (#31744) 1 year ago
Claire 1fcffa573c
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no notifications to return (#31746) 1 year ago
Matt Jankowski 14af5b47ac
Add coverage for model normalizations (#31734) 1 year ago
Matt Jankowski 9ed1aab9b7
Remove accidental matcher debug code (#31732) 1 year ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 1 year ago
Matt Jankowski c9ea91f868
Add coverage for `api/v1/annual_reports` area (#31730) 1 year ago
Matt Jankowski 19849eb91d
Skip paperclip spoof detector unless opted into attachment processing specs (#31454) 1 year ago
Matt Jankowski 69dbc23038
Only enable chewy in search-tagged specs (#30583) 1 year ago
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 1 year ago
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 1 year ago
Matt Jankowski e1fa456c7c
Add `have_cacheable_headers` matcher for responses (#31727) 1 year ago
Matt Jankowski 490bdb7944
Add coverage for `StatusesHelper#media_summary` method (#31726) 1 year ago
Matt Jankowski 8922786ef4
Fix `RSpec/LetSetup` cop in api/v1/timelines/tag spec (#30796) 1 year ago
Matt Jankowski 67faaf5557
Simplify account model username presence validation spec (#31013) 1 year ago
Matt Jankowski fcb83be8b2
Improve coverage specificity for Webhook enable/disable/secret specs (#31194) 1 year ago
Matt Jankowski 928390c2ba
Convert `admin/settings` controller specs to system specs (#31548) 1 year ago
Matt Jankowski ef4920c6c9
Pull out https/hostname setup for request specs to shared config (#31622) 1 year ago
Matt Jankowski 79b1841805
Disable `without_verify_partial_doubles` in statuses/show view spec (#29132) 1 year ago
Matt Jankowski 5b595b8a5a
Remove usage of `assigns` in controller specs (#30195) 1 year ago
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` (#31725) 1 year ago
Matt Jankowski 219458d7d4
Convert `tags` controller spec to system and request specs (#31708) 1 year ago