Commit Graph

666 Commits (remove-rails-delegate)

Author SHA1 Message Date
Matt Jankowski 87e7ad9b8f
Add `LoginActivity` model spec and `BrowserDetection` concern shared example (#32959) 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 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 9 months ago
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods (#32876) 9 months ago
Claire 8f5cbf5370
Fix list creation limit check (#32869) 9 months ago
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames (#32856) 9 months ago
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class (#32839) 9 months ago
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 9 months ago
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 9 months ago
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 9 months ago
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 9 months ago
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 9 months ago
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 9 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 9 months ago
Matt Jankowski 1775e151ec
Simplify model validation specs for `DomainAllow` (#32496) 9 months ago
Matt Jankowski 9464281f29
Simplify model validation specs for `AccountStatusCleanupPolicy` (#32495) 9 months ago
Matt Jankowski 15f6336cdd
Simplify model validation specs for `AccountMigration` (#32494) 9 months ago
Matt Jankowski 86132f7dd3
Provide `establish_policy` helper method in `AccountStatusesCleanupPolicy` spec (#32490) 9 months ago
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec (#32432) 9 months ago
Matt Jankowski 4134ccdbe0
Simplify model validation specs for `WebauthnCredential` (#32466) 9 months ago
Matt Jankowski e5be4bf8d8
Simplify model validation specs for `PreviewCard` (#32469) 9 months ago
Matt Jankowski 37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote (#31792) 9 months ago
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model (#32474) 9 months ago
Matt Jankowski b16435e79f
Explore more resplendent model validation specs for `Form::AdminSettings` (#32465) 9 months ago
Matt Jankowski 67504dbf9c
Simplify uniqueness validation spec for `IpBlock` (#32066) 9 months ago
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 9 months ago
Matt Jankowski bd0c826a3d
Simplify model validation specs for `Announcement` (#32481) 9 months ago
Matt Jankowski c0f46e9031
Fortify coverage for `Follow` model (#32472) 9 months ago
Matt Jankowski 1f3722904f
Top off coverage for `Appeal` model (#32464) 9 months ago
Matt Jankowski 6d2f865862
Add coverage for `AccountAlias` validations (#31936) 9 months ago
Matt Jankowski 27f05e9016
Expand coverage for `User#token_for_app` (#32434) 10 months ago
Matt Jankowski bfb41e61a3
Expand coverage for `Block` model (#32480) 10 months ago
Matt Jankowski 92bb19773a
Use `context` for repeated scenarios in `AccountStatusCleanupPolicy` spec (#32489) 10 months ago
Matt Jankowski d1d2278e70
Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491) 10 months ago
Matt Jankowski d74c2c583a
Extend spec coverage for `Poll` model (#32500) 10 months ago
Matt Jankowski cc70acc11c
Augment coverage for `Status` model (#32468) 10 months ago
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model (#32473) 10 months ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 10 months ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 10 months ago
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) (#32136) 10 months ago
Matt Jankowski ebab3b80c7
Expand coverage for `Export` utility class (#32212) 10 months ago
Matt Jankowski bbf7752256
Combine assertions in `Notification` model spec (#32015) 10 months ago
Matt Jankowski cd7b670cd8
Reduce factory creation in `User#reset_password!` spec (#32021) 10 months ago
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 10 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>
10 months ago
Matt Jankowski e3baa1cdda
Add coverage for `AccountDeletionRequest` class (#31937) 10 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 10 months ago
Matt Jankowski c54cbf7943
Remove `follow` creation from `ListAccount` fabricator (#31902) 11 months ago
Matt Jankowski abd2f5654a
Add validation coverage for `CustomEmoji` shortcode value (#31906) 11 months ago
Matt Jankowski 822e918a56
Add coverage for `Bookmark` validation and reblog/status check callback (#31907) 11 months ago
Claire 4b40d13cb3
Increase preview card image size limit from 2MB to 8MB when using libvips (#31904) 11 months ago
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains (#31900) 11 months ago
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 11 months ago
Matt Jankowski a2c4f5f5c0
Add coverage for `ListAccount` follow/follow_request set up (#31896) 11 months ago
Matt Jankowski 17c57c46e7
Add coverage for title/limit validations in `List` model (#31869) 11 months ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 11 months ago
Matt Jankowski d0ab94c4d2
Add `FeaturedTag` coverage, use `pick` in model (#31828) 11 months ago
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 11 months ago
Matt Jankowski 5acec087ca
Simplify basic presence validations (#29664) 11 months ago
Matt Jankowski ba9fd1c32e
Add coverage for `Account#prepare_contents` callback (#31748) 11 months ago
Matt Jankowski 14af5b47ac
Add coverage for model normalizations (#31734) 11 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 11 months ago
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 11 months ago
Matt Jankowski 67faaf5557
Simplify account model username presence validation spec (#31013) 11 months ago
Matt Jankowski fcb83be8b2
Improve coverage specificity for Webhook enable/disable/secret specs (#31194) 11 months ago
Edward Moulsdale d4f135bc6d
Fix in memoriam accounts appearing in follow recommendations (#31474)
Co-authored-by: Utkarsh Wankar <46633523+kernal053@users.noreply.github.com>
11 months ago
Jeong Arm 95c11d365d
Don't push to cache buster if attachment path is nil (#31414) 12 months ago
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 12 months ago
Claire 994ef16b72
Bust CDN cache on media deletion (#31353) 12 months ago
Claire af2aec1a82
Change notification requests to only count mentions (#31322) 12 months ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 1 year ago
Adam Niedzielski 337a7fcf30
Fix ß bug in regexp for mentions and tags (#31122) 1 year ago
Matt Jankowski 6e4305de69
Fix spec descriptions around configurable limit values (#31079) 1 year ago
kyori19 3a00f89aa1
Respect `Account::DISPLAY_NAME_LENGTH_LIMIT` in account spec correctly (#31075) 1 year ago
Matt Jankowski 848b59c8ae
Reduce factory creation in `MediaAttachment` model spec (#31058) 1 year ago
Matt Jankowski 91ef4a6fc5
Add assertion about key columns to account key generate spec (#30635) 1 year ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 1 year ago
Matt Jankowski f1300ad284
Rename jobs/attachments rspec tag names (#29762) 1 year ago
Claire d41b43ed4f
Limit attachments to `MEDIA_ATTACHMENTS_LIMIT` when returning posts through the API (#30932) 1 year ago
Matt Jankowski 836c0477ac
Use vips setting instead of env var in media processing spec (#30859) 1 year ago
Matt Jankowski d818ddd687
Extract `SIGN_COUNT_LIMIT` constant in `WebauthnCredential` class (#30636) 1 year ago
Matt Jankowski 62d070c438
Check both before/after state in `AccountDomainBlock` spec (#30640) 1 year ago
Matt Jankowski 1622f7aeb9
Remove duplicate fabricator validity checks (#29667) 1 year ago
Matt Jankowski cfd4823b65
Use fabricator in follow_spec (#30642) 1 year ago
Matt Jankowski 9bf2e2eda0
Extract `TEXT_LENGTH_LIMIT` constant in `Appeal` class (#30638) 1 year ago
Matt Jankowski 3e3f3d7580
Match report validation spec to extracted constant (#30633) 1 year ago
Matt Jankowski 92b3004bf3
Reference constants from account validation specs (#30634) 1 year ago
Daniel M Brasil 28f9a8f2ec
Add Specs for Scheduled Status Model Validations (#30585) 1 year ago
Claire 1408733386
Fix Mastodon relying on ImageMagick even with `MASTODON_USE_LIBVIPS` (#30590) 1 year ago
Matt Jankowski a662c6d1d8
Use `sidekiq_inline` in admin/account_action model spec (#30565) 1 year ago
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick (#30090)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 1 year ago
Claire 30ef9fccf0
Fix hashtag matching pattern matching some link anchors (#30190) 1 year ago
Claire e5062b7135
Fix post deletion not being deferred when those are part of an account warning (#30163) 1 year ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire e845594878
Fix moderator account being exposed in account moderation notification (#30082) 1 year ago
Claire 4ef0b48b95
Add in-app notifications for moderation actions/warnings (#30065) 1 year ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 1 year ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 1 year ago