Matt Jankowski
973597c6f1
Consolidate configuration of `Sidekiq::Testing.fake!` setup ( #28046 )
12 months ago
Matt Jankowski
1526e54ac6
Add spec coverage for `workers/redownload_*` worker classes ( #27892 )
1 year ago
Matt Jankowski
155fb84141
Improve spec coverage for collection of `workers/` classes ( #27874 )
1 year ago
Matt Jankowski
8a285413f7
Reduce expectations for `RSpec/MultipleExpectations` cop in `MoveWorker` spec ( #27880 )
1 year ago
Matt Jankowski
b2c5b20ef2
Fix `RSpec/AnyInstance` cop ( #27810 )
1 year ago
Matt Jankowski
49e2772064
Fix `RSpec/MessageSpies` cop ( #27751 )
1 year ago
Matt Jankowski
cad8cc90ba
Speed-up on `MoveWorker` spec ( #25528 )
1 year ago
Claire
16681e0f20
Add admin notifications for new Mastodon versions ( #26582 )
1 year 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>
1 year ago
Claire
1e3b19230a
Add stricter protocol fields validation for accounts ( #25937 )
1 year ago
Claire
943f27f437
Remove unfollowed hashtag posts from home feed ( #26028 )
1 year ago
Matt Jankowski
05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ( #25469 )
1 year ago
Claire
37a9c2258a
Add per-test timeouts to AutoStatusesCleanupScheduler tests ( #24841 )
1 year ago
Matt Jankowski
4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ( #24698 )
1 year ago
Matt Jankowski
31d5bc89d1
Speed improvement for `AccountsStatusesCleanupScheduler` spec ( #25406 )
1 year ago
Matt Jankowski
d2e5430d4a
Fix RSpec/ExpectChange cop ( #25101 )
2 years ago
Claire
c3c7d59072
Fix infinite loop in AccountsStatusesCleanupScheduler ( #24840 )
2 years ago
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop ( #24739 )
2 years ago
Claire
a2a22bad23
Fix various edge cases with local moves ( #24812 )
2 years ago
Claire
c98b012583
Change Move handler to also move list memberships ( #24808 )
2 years ago
Claire
8b636a29c6
Improve automatic post cleanup worker performances ( #24785 )
2 years ago
Claire
32a030dd74
Rewrite import feature ( #21054 )
2 years ago
Claire
5dc3173ef8
Fix AccountsStatusesCleanupScheduler not spreading deletes across accounts correctly ( #24607 )
2 years ago
Christian Schmidt
eb38e9df31
Requeue expiration notification ( #24311 )
2 years ago
Matt Jankowski
688287c59d
Coverage improvement round-out following up previous work ( #23987 )
2 years ago
Matt Jankowski
39e7525c96
Add basic coverage for some worker jobs ( #23943 )
2 years ago
Stanislav Dobrovolschii
d9271126ce
Add rspecs for FollowRecommendationsScheduler ( #23890 )
2 years ago
Claire
20b80c62ff
Change auto-deletion throttling constants to better scale with server size ( #23320 )
2 years ago
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
2 years ago
Nick Schonning
0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults ( #23792 )
2 years ago
Nick Schonning
5116347eb7
Autofix Rubocop RSpec/BeEq ( #23740 )
2 years ago
Nick Schonning
bf785df9fe
Audofix Rubocop Style/WordArray ( #23739 )
2 years ago
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject ( #23670 )
2 years ago
Nick Schonning
bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject ( #23719 )
2 years ago
Nick Schonning
65ba0d92ef
Enable Rubocop RSpec/NotToNot ( #23723 )
2 years ago
Nick Schonning
08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral ( #23692 )
2 years ago
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
2 years 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
2 years 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
3 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.
3 years ago
Claire
da91b18a8b
Fix NoMethodError in StatusUpdateDistributionWorker ( #17499 )
...
* Add tests
* Fix NoMethodError in StatusUpdateDistributionWorker
* Fix tests
3 years ago
Claire
e38fc319dc
Refactor and improve tests ( #17386 )
...
* Change account and user fabricators to simplify and improve tests
- `Fabricate(:account)` implicitly fabricates an associated `user` if
no `domain` attribute is given (an account with `domain: nil` is
considered a local account, but no user record was created), unless
`user: nil` is passed
- `Fabricate(:account, user: Fabricate(:user))` should still be possible
but is discouraged.
* Fix and refactor tests
- avoid passing unneeded attributes to `Fabricate(:user)` or
`Fabricate(:account)`
- avoid embedding `Fabricate(:user)` into a `Fabricate(:account)` or the other
way around
- prefer `Fabricate(:user, account_attributes: …)` to
`Fabricate(:user, account: Fabricate(:account, …)`
- also, some tests were using remote accounts with local user records, which is
not representative of production code.
3 years ago
Eugen Rochko
1060666c58
Add support for editing for published statuses ( #16697 )
...
* Add support for editing for published statuses
* Fix references to stripped-out code
* Various fixes and improvements
* Further fixes and improvements
* Fix updates being potentially sent to unauthorized recipients
* Various fixes and improvements
* Fix wrong words in test
* Fix notifying accounts that were tagged but were not in the audience
* Fix mistake
3 years ago
Claire
7f803c41e2
Add ability to purge undeliverable domains from admin interface ( #16686 )
...
* Add ability to purge undeliverable domains from admin interface
* Add tests
3 years ago
Claire
87085a5152
Fix AccountNote not having a maximum length ( #16942 )
3 years ago
Claire
989c67d29d
Fix handling announcements with links ( #16941 )
...
Broken since #15827
3 years ago