Commit Graph

641 Commits (f9fef9864a40a1ae78f21fbb3740bdebb99ce7df)

Author SHA1 Message Date
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope ()
Matt Jankowski 28d309fd86
Add shared example for `Expireable` concern ()
Matt Jankowski 22caddaa24
Update user role position range limit ()
Matt Jankowski aee64a465c
Remove unused `Poll.unattached` scope ()
Matt Jankowski ca2a7d66b8
Fix missing value limits for `UserRole` position ()
Matt Jankowski 0085e8c427
Wrap assertions in `change` within `AccountStatusesCleanupPolicy` spec ()
Claire 1712543c68
Revert "Support animated PNGs in media attachments ()" ()
Matt Jankowski 1bd9306ced
Add coverage for `Tag` model validations on name/display_name ()
Matt Jankowski 4bf6af3b61
Remove unused `model_have_error_on_field` matcher ()
Matt Jankowski b51e0bc3c7
Simplify model validation specs for `Report` ()
Matt Jankowski ad68686bec
Simplify model validation specs for `CustomFilter` ()
Matt Jankowski f6daf73286
Add non-matching cases to `Report#history` spec ()
Christian Schmidt a70ae28644
Support animated PNGs in media attachments ()
Matt Jankowski e76aff7de5
Standardize uniqueness validation declaration on `Mention` ()
Matt Jankowski 7d52b24569
Add coverage for `AccountPin` model ()
Eugen Rochko 30aa0df88c
Add terms of service ()
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis ()
Co-authored-by: David Roetzel <david@roetzel.de>
Matt Jankowski be43b01eb1
Add coverage for `CustomFilter#expires_in` method ()
Matt Jankowski 2381ed55d7
Add coverage for `Report#unresolved_siblings?` ()
Matt Jankowski 3cd308523a
Add shared example for `RankedTrend` concern ()
Matt Jankowski 74df47ad9c
Add coverage for `Webhook` validations ()
Matt Jankowski ab9c62e8c7
Add coverage for `User` validations ()
Matt Jankowski fd90f04f0e
Add coverage for `UserRole` validations ()
Matt Jankowski b66fbaeec2
Add `AccountWarning` case to `Report#history` spec ()
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively ()
Matt Jankowski 87e7ad9b8f
Add `LoginActivity` model spec and `BrowserDetection` concern shared example ()
Matt Jankowski 03ee08c2da
Use `nil` instead of `false` for datetime value in spec ()
Matt Jankowski be413d67de
`Form::Import` spec reduce factories ()
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list ()
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in `SoftwareUpdateCheckService`, add helper query methods ()
Claire 8f5cbf5370
Fix list creation limit check ()
Matt Jankowski 884bbf7ae2
Prepare the way for banning a bunch of usernames ()
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class ()
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern ()
Matt Jankowski d033920b7e
Move account silence-related methods to concern ()
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary ()
Matt Jankowski a20ac20302
Add model spec for `Tombstone` ()
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` ()
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model ()
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates ()
Matt Jankowski 1775e151ec
Simplify model validation specs for `DomainAllow` ()
Matt Jankowski 9464281f29
Simplify model validation specs for `AccountStatusCleanupPolicy` ()
Matt Jankowski 15f6336cdd
Simplify model validation specs for `AccountMigration` ()
Matt Jankowski 86132f7dd3
Provide `establish_policy` helper method in `AccountStatusesCleanupPolicy` spec ()
Matt Jankowski 2e3bbb6861
Move account suspension related coverage to concern spec ()
Matt Jankowski 4134ccdbe0
Simplify model validation specs for `WebauthnCredential` ()
Matt Jankowski e5be4bf8d8
Simplify model validation specs for `PreviewCard` ()
Matt Jankowski 37bcbeab4a
Simplify model validation spec in AccountModerationNote/ReportNote ()
Matt Jankowski dea6c454fd
Contribute more coverage for `Account` model ()
Matt Jankowski b16435e79f
Explore more resplendent model validation specs for `Form::AdminSettings` ()