1
0
Commit Graph

96 Commits

Author SHA1 Message Date
Claire
2751acb6cd
Automatically switch from open to approved registrations in absence of moderators () 2024-02-21 17:45:06 +00:00
Matt Jankowski
64f9939e39
Use capture_emails helper to improve email assertions in specs () 2024-02-19 15:57:47 +00:00
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
2024-02-16 11:56:12 +01:00
Matt Jankowski
a2f02a0775
Disable Rails/SkipsModelValidations cop () 2024-01-15 13:46:47 +00:00
Matt Jankowski
00341c70ff
Use Sidekiq fake! instead of inline! in specs () 2024-01-10 11:06:58 +00:00
Matt Jankowski
9251779d75
Fix RSpec/LetSetup cop in spec/services () 2023-12-21 14:23:53 +00:00
Eugen Rochko
b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-19 10:59:43 +00:00
Matt Jankowski
973597c6f1
Consolidate configuration of Sidekiq::Testing.fake! setup () 2023-11-23 09:43:43 +00:00
Matt Jankowski
1526e54ac6
Add spec coverage for workers/redownload_* worker classes () 2023-11-17 09:03:46 +00:00
Matt Jankowski
155fb84141
Improve spec coverage for collection of workers/ classes () 2023-11-16 14:36:59 +00:00
Matt Jankowski
8a285413f7
Reduce expectations for RSpec/MultipleExpectations cop in MoveWorker spec () 2023-11-16 10:03:51 +00:00
Matt Jankowski
b2c5b20ef2
Fix RSpec/AnyInstance cop () 2023-11-14 14:52:59 +00:00
Matt Jankowski
49e2772064
Fix RSpec/MessageSpies cop () 2023-11-07 09:46:28 +00:00
Matt Jankowski
cad8cc90ba
Speed-up on MoveWorker spec () 2023-10-13 15:50:46 +02:00
Claire
16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
jsgoldstein
30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Claire
1e3b19230a
Add stricter protocol fields validation for accounts () 2023-07-20 18:23:48 +02:00
Claire
943f27f437
Remove unfollowed hashtag posts from home feed () 2023-07-17 13:56:28 +02:00
Matt Jankowski
05f9e39b32
Fix RSpec/VerifiedDoubles cop () 2023-06-22 14:55:22 +02:00
Claire
37a9c2258a
Add per-test timeouts to AutoStatusesCleanupScheduler tests () 2023-06-20 18:54:05 +02:00
Matt Jankowski
4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix RSpec/IndexedLet cop () 2023-06-14 16:44:37 +02:00
Matt Jankowski
31d5bc89d1
Speed improvement for AccountsStatusesCleanupScheduler spec () 2023-06-14 09:56:11 +02:00
Matt Jankowski
d2e5430d4a
Fix RSpec/ExpectChange cop () 2023-05-24 11:23:40 +02:00
Claire
c3c7d59072
Fix infinite loop in AccountsStatusesCleanupScheduler () 2023-05-04 10:13:00 +02:00
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop () 2023-05-04 05:49:08 +02:00
Claire
a2a22bad23
Fix various edge cases with local moves () 2023-05-03 19:19:25 +02:00
Claire
c98b012583
Change Move handler to also move list memberships () 2023-05-03 14:03:38 +02:00
Claire
8b636a29c6
Improve automatic post cleanup worker performances () 2023-05-03 10:31:40 +02:00
Claire
32a030dd74
Rewrite import feature () 2023-05-02 12:08:48 +02:00
Claire
5dc3173ef8
Fix AccountsStatusesCleanupScheduler not spreading deletes across accounts correctly () 2023-04-23 22:25:40 +02:00
Christian Schmidt
eb38e9df31
Requeue expiration notification () 2023-03-29 10:52:40 +02:00
Matt Jankowski
688287c59d
Coverage improvement round-out following up previous work () 2023-03-10 13:33:30 +01:00
Matt Jankowski
39e7525c96
Add basic coverage for some worker jobs () 2023-03-04 16:56:09 +01:00
Stanislav Dobrovolschii
d9271126ce
Add rspecs for FollowRecommendationsScheduler () 2023-03-02 10:05:05 +01:00
Claire
20b80c62ff
Change auto-deletion throttling constants to better scale with server size () 2023-02-23 16:52:40 +01:00
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs () 2023-02-22 09:55:31 +09:00
Nick Schonning
0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults () 2023-02-22 09:54:36 +09:00
Nick Schonning
5116347eb7
Autofix Rubocop RSpec/BeEq () 2023-02-20 06:14:50 +01:00
Nick Schonning
bf785df9fe
Audofix Rubocop Style/WordArray () 2023-02-20 06:14:10 +01:00
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject () 2023-02-20 13:24:14 +09:00
Nick Schonning
bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject () 2023-02-20 02:46:00 +01:00
Nick Schonning
65ba0d92ef
Enable Rubocop RSpec/NotToNot () 2023-02-20 02:33:27 +01:00
Nick Schonning
08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral () 2023-02-19 06:54:30 +09:00
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length () 2023-02-18 06:56:20 +09:00
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
2023-02-07 01:14:44 +01:00
Claire
5925a31b78
Fix followers count not being updated when migrating follows ()
Fixes 
2022-11-07 15:38:55 +01:00
Eugen Rochko
5c9abdeff1
Add retention policy for cached content and media () 2022-09-27 03:08:19 +02:00
Eugen Rochko
50948b46aa
Add ability to filter followed accounts' posts by language () 2022-09-20 23:51:21 +02:00
Eugen Rochko
0b3e4fd5de
Remove digest e-mails ()
* Remove digest e-mails

* Remove digest-related code
2022-08-25 23:38:22 +02:00
Eugen Rochko
3917353645
Fix single Redis connection being used across all threads ()
* Fix single Redis connection being used across all Sidekiq threads

* Fix tests
2022-04-28 17:47:34 +02:00