Commit Graph

94 Commits (main)

Author SHA1 Message Date
Claire 6c1b6194f7 Merge pull request from GHSA-jhrq-qvrm-qr36
* Fix insufficient Content-Type checking of fetched ActivityStreams objects

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

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

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

* Fix tests
2 years ago
Claire 2af03164cb
Improve tests involving push_bulk (#17508)
sidekiq-bulk's push_bulk can either accept arguments directly or run them
through a block.

Setting expectations on the result of evaluating the blocks allows testing
more code (the block itself) and the test is moved closer to the *interface*
of the tested code than its precise implementation.
2 years ago
Claire da91b18a8b
Fix NoMethodError in StatusUpdateDistributionWorker (#17499)
* Add tests

* Fix NoMethodError in StatusUpdateDistributionWorker

* Fix tests
2 years ago