Commit Graph

2605 Commits (1cb303ca75ca34ee6390f33443bdfab66715a323)

Author SHA1 Message Date
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 6 months ago
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 6 months ago
Eugen Rochko c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 6 months ago
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 6 months ago
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 6 months ago
Matt Jankowski df3b954720
Add `DomainHelpers` spec support module for DNS/MX stub (#32690) 6 months ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 6 months ago
Matt Jankowski b107fc2e65
Use nil for timestamp column in admin/confirmations spec (#32682) 6 months ago
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 6 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 6 months ago
Matt Jankowski 1775e151ec
Simplify model validation specs for `DomainAllow` (#32496) 6 months ago
Matt Jankowski 9464281f29
Simplify model validation specs for `AccountStatusCleanupPolicy` (#32495) 6 months ago
Matt Jankowski 15f6336cdd
Simplify model validation specs for `AccountMigration` (#32494) 6 months ago
Matt Jankowski 86132f7dd3
Provide `establish_policy` helper method in `AccountStatusesCleanupPolicy` spec (#32490) 6 months ago
Matt Jankowski 2a13d6824c
Use `subject` for `FeedManager` lib spec (#32486) 6 months ago
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec (#32432) 6 months ago
Matt Jankowski 4134ccdbe0
Simplify model validation specs for `WebauthnCredential` (#32466) 6 months ago
Matt Jankowski e5be4bf8d8
Simplify model validation specs for `PreviewCard` (#32469) 6 months ago
Matt Jankowski 37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 6 months ago
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model (#32474) 6 months ago
Matt Jankowski b16435e79f
Explore more resplendent model validation specs for `Form::AdminSettings` (#32465) 6 months ago
Matt Jankowski 67504dbf9c
Simplify uniqueness validation spec for `IpBlock` (#32066) 6 months ago
Matt Jankowski 5c910dc82e
Add coverage for `DatabaseHelper` primary/replica methods (#32642) 6 months ago
Matt Jankowski 745c4f900a
Remove unused `ApplicationHelper#visibility_icon` helper method (#32644) 6 months ago
Matt Jankowski 5a4f4f3e83
Remove single-use `ProfileStories` method (#31164) 6 months ago
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 6 months ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 6 months ago
Matt Jankowski d1b20ea8f7
Worker specs coverage increase (#32541) 6 months ago
Matt Jankowski bd0c826a3d
Simplify model validation specs for `Announcement` (#32481) 6 months ago
Matt Jankowski c0f46e9031
Fortify coverage for `Follow` model (#32472) 6 months ago
Matt Jankowski 1f3722904f
Top off coverage for `Appeal` model (#32464) 6 months ago
Matt Jankowski 67403e7b01
Add coverage for ActivityPub likes/shares endpoints (#32305) 6 months ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 6 months ago
Matt Jankowski 6d2f865862
Add coverage for `AccountAlias` validations (#31936) 6 months ago
Matt Jankowski bfe3d49cca
Add `inline_jobs` to admin/reset spec (#32517) 6 months ago
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs (#32450) 6 months ago
Matt Jankowski 9e8f099d38
Improve `app/policies` coverage (#32426) 6 months ago
Matt Jankowski 28131b4b00
Convert status embed controller to request spec (#32448) 6 months ago
Matt Jankowski b78597979a
Fix missing content warning text in rss formatter (#32406) 6 months ago
Matt Jankowski b742ce9d09
Reduce factory creation (17 -> 0) in `PlainTextFormatter` spec (#32487) 6 months ago
Matt Jankowski e9b27852be
Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` spec (#32488) 6 months ago
Matt Jankowski 27f05e9016
Expand coverage for `User#token_for_app` (#32434) 6 months ago
Matt Jankowski bfb41e61a3
Expand coverage for `Block` model (#32480) 6 months ago
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) (#32428) 6 months ago
Matt Jankowski 6a39212b02
Reduce factories (36 > 12) in `AccountReachFinder` spec (#32482) 6 months ago
Matt Jankowski 92bb19773a
Use `context` for repeated scenarios in `AccountStatusCleanupPolicy` spec (#32489) 6 months ago
Matt Jankowski d1d2278e70
Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 6 months ago
Matt Jankowski b1c10969ac
Reduce factory creation (48 -> 8) in `AP::Note` serializer spec (#32492) 6 months ago
Matt Jankowski a11b599ffa
Expand coverage for `Scheduler::IpCleanupScheduler` worker (#32499) 6 months ago
Matt Jankowski 0cc21f1ded
Reduce factory creation (132 -> 40) in lib/vacuum/* specs (#32498) 6 months ago
Matt Jankowski d74c2c583a
Extend spec coverage for `Poll` model (#32500) 6 months ago
Matt Jankowski cc70acc11c
Augment coverage for `Status` model (#32468) 7 months ago
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model (#32473) 7 months ago
Matt Jankowski 06d6b35e88
Convert `admin/tags` controller specs to system specs (#32447) 7 months ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 7 months ago
Matt Jankowski f49161ab1d
Oauth system spec cleanup / helper method extraction (#32287) 7 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 7 months ago
Matt Jankowski ebdeac0731
Add coverage for missing status scenario in NotificationMailer (#32256) 7 months ago
Matt Jankowski e4e07b1c34
Reduce factory usage across `spec/services` area (#32098) 7 months ago
Matt Jankowski 463f9197d8
Add regression coverage for admin reports resolution button within form (#32248) 7 months ago
Matt Jankowski cc8d723e71
Register an XML encoder for response tests (#32220) 7 months ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 7 months ago
Matt Jankowski b7bb850efd
Enable hostname config for all system specs (#32109) 7 months ago
Matt Jankowski d270d6dd4f
Provide `use_path` to qr generator for svg data size reduction (#32127) 7 months ago
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) (#32136) 7 months ago
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 7 months ago
Matt Jankowski ebab3b80c7
Expand coverage for `Export` utility class (#32212) 7 months ago
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 7 months ago
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 7 months ago
Matt Jankowski cdd7526531
Remove completed TODO note in tags request spec (#32108) 7 months ago
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 7 months ago
Matt Jankowski db57fe80c8
Remove `page_json` var from ap/replies spec (#32000) 7 months ago
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 7 months ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 7 months ago
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 7 months ago
Matt Jankowski 83574f641a
Add coverage and use mailer callback to check functional user in notification mailer (#32055) 7 months ago
Matt Jankowski c2ef83ea4c
Consolidate shared `a scope` example parts into one attributes check (#32046) 7 months ago
Matt Jankowski c3b6a7a297
Reduce factory creation (36 -> 12) in `spec/controllers/oauth/*` area (#32045) 7 months ago
Matt Jankowski 06ecf9008b
Remove single-use shared examples in controller specs (#32044) 7 months ago
André Menrath 556837f156
Fix the summary of converted object types to be treated as HTML (#28629) 7 months ago
Claire c36a76b9eb
Fix error when accepting appeal for sensitive posts deleted in the meantime (#32037)
Co-authored-by: David Roetzel <david@roetzel.de>
7 months ago
Matt Jankowski 780e2e9d66
Convert notification mailer spec shared examples to matchers (#32047) 7 months ago
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs (#32006) 7 months ago
Matt Jankowski bbf7752256
Combine assertions in `Notification` model spec (#32015) 7 months ago
Matt Jankowski 2b4bda8004
Add `response_avatar_link` helper to webfinger request spec (#31999) 7 months ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 7 months ago
Matt Jankowski 66ed7ea4b5
Move status creation to "with rss" context in accounts request spec (#32020) 7 months ago
Matt Jankowski cd7b670cd8
Reduce factory creation in `User#reset_password!` spec (#32021) 7 months ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 7 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 7 months ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 7 months ago
Matt Jankowski 171394e914
Add coverage for CSV responses for severed relationships (#31962) 7 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 7 months ago
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 7 months ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 7 months ago
Matt Jankowski 5a8f2fe31d
Convert `settings/exports` controller spec to system/request specs (#31965) 7 months 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>
7 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 7 months ago
Matt Jankowski e3baa1cdda
Add coverage for `AccountDeletionRequest` class (#31937) 7 months ago