Commit Graph

100 Commits (8c8bee5a36e0cd0b5d35903f8891896447c3e060)

Author SHA1 Message Date
Emelia Smith d20a5c3ec9
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop ()
Renaud Chaput 40639510f8
Retain unconfirmed users longer (1 week) ()
Claire a9496882fc
Fix auto-close email being sent to users with devops permissions instead of settings permissions ()
Claire 2751acb6cd
Automatically switch from open to approved registrations in absence of moderators ()
Eugen Rochko 5b1eb09d54
Add annual reports for accounts ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases ()
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background ()
Claire 4e55001e65
Add a short-lived lock to trend refresh scheduler ()
Claire 5e56f3db65
Change some worker lock TTLs ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
Claire 5c0a9aac3b
Revert to using primary database in IndexingScheduler ()
Eugen Rochko e263db276f
Change indexing jobs to use database replica ()
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko a0fad5c8bb
Change indexing frequency from 5 minutes to 1 minute, add locks to schedulers ()
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire 144a406d33
Clean up unused application records ()
Emelia Smith 3a91603b15
Prevent UserCleanupScheduler from overwhelming streaming ()
Claire c3c7d59072
Fix infinite loop in AccountsStatusesCleanupScheduler ()
Claire 8b636a29c6
Improve automatic post cleanup worker performances ()
Claire 32a030dd74
Rewrite import feature ()
Claire 5dc3173ef8
Fix AccountsStatusesCleanupScheduler not spreading deletes across accounts correctly ()
Claire 501d6197c4
Change automatic post deletion thresholds and load detection ()
Vyr Cossont d5ad8b6422
Fix Redis client and type errors introduced in ()
Vyr Cossont 7646ad8a2b
IndexingScheduler: fetch and import in batches ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ()
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Claire 20b80c62ff
Change auto-deletion throttling constants to better scale with server size ()
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules ()
Nick Schonning 21bf326356
Autofix Rubocop Rails/Pluck ()
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin ()
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
luzpaz 596923da4a
Fix typos in source documentation ()
Fixed 2 source comment/documentation typos
Claire 5333447be0
Change account deletion requests to spread out over time ()
Eugen Rochko d0c9ac3919
Fix indexing scheduler trying to index when Elasticsearch is disabled ()
Fix 
Claire 03d9618595
Fix UserCleanupScheduler crash when an unconfirmed account has a moderation note ()
Fixes 
Eugen Rochko bf0ab3e0fa
Fix vacuum scheduler missing lock, locks never expiring ()
Remove vacuuming of orphaned preview cards
Eugen Rochko 5c9abdeff1
Add retention policy for cached content and media ()
Eugen Rochko 0b3e4fd5de
Remove digest e-mails ()
* Remove digest e-mails

* Remove digest-related code
Jeremy Kescher 25e076505e
ip_cleanup_scheduler: Make IP and session retention configurable ()
Eugen Rochko 679b7158e3
Change search indexing to use batches to minimize resource usage ()
Eugen Rochko f6d35ed57d
Remove IP matching from e-mail domain blocks ()
Clear out e-mail domain blocks created from automatically resolved DNS records
Eugen Rochko 3917353645
Fix single Redis connection being used across all threads ()
* Fix single Redis connection being used across all Sidekiq threads

* Fix tests
Jeong Arm 3349cbeb3e
Fix clean_discarded_statuses ()
Eugen Rochko 50ea54b3ed
Change authorized applications page ()
* Change authorized applications page

* Hide revoke button for superapps and suspended accounts

* Clean up db/schema.rb
Claire 3d60708508
Fix crash in EmailDomainBlockRefreshScheduler ()
Eugen Rochko 27965ce5ed
Add trending statuses ()
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
Eugen Rochko a29a982eaa
Change e-mail domain blocks to block IPs dynamically ()
* Change e-mail domain blocks to block IPs dynamically

* Update app/workers/scheduler/email_domain_block_refresh_scheduler.rb

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

* Update app/workers/scheduler/email_domain_block_refresh_scheduler.rb

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Eugen Rochko 35850f8195
Fix localization of cold-start follow recommendations ()
Claire 52c1b86964
Fix Ruby 2.5 incompatibility ()