Commit Graph

96 Commits (79e7590578770c906d7a30e6ce7e0b654f725972)

Author SHA1 Message Date
Claire 2751acb6cd
Automatically switch from open to approved registrations in absence of moderators ()
Matt Jankowski 64f9939e39
Use `capture_emails` helper to improve email assertions in specs ()
Claire 9fee5e8526
Merge pull request from GHSA-jhrq-qvrm-qr36
* Fix insufficient Content-Type checking of fetched ActivityStreams objects

* Allow JSON-LD documents with multiple profiles
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop ()
Matt Jankowski 00341c70ff
Use Sidekiq `fake!` instead of `inline!` in specs ()
Matt Jankowski 9251779d75
Fix `RSpec/LetSetup` cop in spec/services ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ()
Matt Jankowski 1526e54ac6
Add spec coverage for `workers/redownload_*` worker classes ()
Matt Jankowski 155fb84141
Improve spec coverage for collection of `workers/` classes ()
Matt Jankowski 8a285413f7
Reduce expectations for `RSpec/MultipleExpectations` cop in `MoveWorker` spec ()
Matt Jankowski b2c5b20ef2
Fix `RSpec/AnyInstance` cop ()
Matt Jankowski 49e2772064
Fix `RSpec/MessageSpies` cop ()
Matt Jankowski cad8cc90ba
Speed-up on `MoveWorker` spec ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 1e3b19230a
Add stricter protocol fields validation for accounts ()
Claire 943f27f437
Remove unfollowed hashtag posts from home feed ()
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ()
Claire 37a9c2258a
Add per-test timeouts to AutoStatusesCleanupScheduler tests ()
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ()
Matt Jankowski 31d5bc89d1
Speed improvement for `AccountsStatusesCleanupScheduler` spec ()
Matt Jankowski d2e5430d4a
Fix RSpec/ExpectChange cop ()
Claire c3c7d59072
Fix infinite loop in AccountsStatusesCleanupScheduler ()
Matt Jankowski 710745e16b
Fix RSpec/ContextWording cop ()
Claire a2a22bad23
Fix various edge cases with local moves ()
Claire c98b012583
Change Move handler to also move list memberships ()
Claire 8b636a29c6
Improve automatic post cleanup worker performances ()
Claire 32a030dd74
Rewrite import feature ()
Claire 5dc3173ef8
Fix AccountsStatusesCleanupScheduler not spreading deletes across accounts correctly ()
Christian Schmidt eb38e9df31
Requeue expiration notification ()
Matt Jankowski 688287c59d
Coverage improvement round-out following up previous work ()
Matt Jankowski 39e7525c96
Add basic coverage for some worker jobs ()
Stanislav Dobrovolschii d9271126ce
Add rspecs for FollowRecommendationsScheduler ()
Claire 20b80c62ff
Change auto-deletion throttling constants to better scale with server size ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Nick Schonning 0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults ()
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq ()
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray ()
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject ()
Nick Schonning bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject ()
Nick Schonning 65ba0d92ef
Enable Rubocop RSpec/NotToNot ()
Nick Schonning 08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral ()
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length ()
Claire 9edefc779f
Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note ()
* Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note

* Add tests
Claire 5925a31b78
Fix followers count not being updated when migrating follows ()
Fixes 
Eugen Rochko 5c9abdeff1
Add retention policy for cached content and media ()
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language ()
Eugen Rochko 0b3e4fd5de
Remove digest e-mails ()
* Remove digest e-mails

* Remove digest-related code
Eugen Rochko 3917353645
Fix single Redis connection being used across all threads ()
* Fix single Redis connection being used across all Sidekiq threads

* Fix tests