about summary refs log tree commit diff
path: root/app/workers/scheduler
AgeCommit message (Collapse)Author
2020-02-18switch to irc-like oper behavior; require mods & admins to explicitly oper ↵multiple creatures
up using `fangs`/`op` bangtag or toggling defang setting in profile; auto-defang after 15 mins or with `defang`/`deop` bangtag
2020-02-17implement our fork of @mykola@weirder.earth's ambassador bot ↵multiple creatures
(@ambassador@monsterpit.net) within monsterfork itself
2020-02-15remove unneeded `instance_actor` proprety in janitormultiple creatures
2020-02-10move `instance_actor` & `actor_type` check to correct modelmultiple creatures
2020-02-07exempt service accounts from being eaten by the janitormultiple creatures
2020-02-05delayed boosts queue no longer freezes up if one fails due to the author ↵multiple creatures
changing their access policy
2020-01-20Original upstream mergeThibG
2020-01-13add new privacy option to auto-defederate after a given timespan + add ↵multiple creatures
options to defederate and/or delete past posts + add `defed_in`/`parent:defed_in`/`thread:defed_in` bangtags + ui indicator for posts marked for auto-defederation
2019-12-12periodically clean up filter cachesmultiple creatures
2019-12-12use service account helper in janitor schedulermultiple creatures
2019-12-12remove duplicate post distribution callsmultiple creatures
2019-12-11use `set` instead of `setex`multiple creatures
2019-12-02pruning thread leaves can cause data loss - let's not do thatmultiple creatures
2019-11-18Send status ID instead of objects to `ActivityPub::DistributionWorker`multiple creatures
2019-11-18Auto-remove expired filters.multiple creatures
2019-11-16The WAS spammer detection is no longer needed; removing this code from the ↵multiple creatures
Janitor.
2019-10-19tighten abandoned account query in janitormultiple creatures
2019-10-13(optionally) announce the success of werewolf transformationsmultiple creatures
2019-08-30use a scheduled task to batch domain policy changes + revert `29643fd6` to ↵multiple creatures
avoid accidentally dosing servers when multiple users block a domain
2019-08-18split db pruning off into its own scheduled jobmultiple creatures
2019-08-18janitor - allow retries, `@account_ids -> @exclude_ids`, remove unneeded ↵multiple creatures
`uniq` calls
2019-08-09janitor - add db & media pruning jobmultiple creatures
2019-08-08janitor - option to export `activityrelay` configmultiple creatures
2019-08-08janitor - make sure values excludes are dedupedmultiple creatures
2019-08-07add option to automatically space out boosts over configurable random intervalsmultiple creatures
2019-08-05janitor can now write suspended domains to whatever JANITOR_BLOCKLIST_OUTPUT ↵multiple creatures
is set to so they can be imported elsewhere (e.g., `nginx`)
2019-08-03move `Scheduler::JanitorScheduler::admin_account` to ↵multiple creatures
`ModerationHelper::janitor_account`
2019-08-03`domain_exists` -> `domain_exists?`multiple creatures
2019-08-03rename `BangtagHelper` to `ModerationHelper`multiple creatures
2019-08-03skip importing dead domainsmultiple creatures
2019-08-03`monsterpit-janitor` is now built in as a sidekiq job (with better code)multiple creatures
2019-07-26process self-destructing roars asynchronouslymultiple creatures
2019-07-23add self-destructing roars & `live`/`lifespan` bangtagsmultiple creatures
2019-05-21Drop remaining OStatus and PuSH code, as well as related database items.multiple creatures
2019-05-21Drop OStatus support. Fix some of the Rspec tests.multiple creatures
2019-02-02Create Redisable#redis (#9633)ysksn
* Create Redisable * Use #redis instead of Redis.current
2019-01-06Fix PublishScheduledStatusWorker being queued with no arguments (#9724)Eugen Rochko
2019-01-05Add scheduled statuses (#9706)Eugen Rochko
Fix #340
2019-01-02Improve e-mail digest (#9689)Eugen Rochko
- Reduce time-to-digest from 20 to 7 days - Fetch mentions starting from +1 day since last login - Fix case when last login is more recent than last e-mail - Do not render all mentions, only 40, but show number in subject - Do not send digest to moved accounts - Do send digest to silenced accounts
2018-10-09Track historical space stats in PgHero to determine PostgreSQL growth (#8906)Eugen Rochko
2018-08-25Disable retries on all scheduled tasks (#8413)Eugen Rochko
2018-08-21Get rid of all batch order warnings (#8334)Eugen Rochko
2018-08-19Keep scheduler jobs unique until they're done (#8287)Eugen Rochko
2018-05-02Slightly reduce RAM usage (#7301)Eugen Rochko
* No need to re-require sidekiq plugins, they are required via Gemfile * Add derailed_benchmarks tool, no need to require TTY gems in Gemfile * Replace ruby-oembed with FetchOEmbedService Reduce startup by 45382 allocated objects * Remove preloaded JSON-LD in favour of caching HTTP responses Reduce boot RAM by about 6 MiB * Fix tests * Fix test suite by stubbing out JSON-LD contexts
2018-04-04Adjust privacy policy (#6666)Eugen Rochko
* Adjust privacy policy to be more specific to Mastodon Fix #6613 * Change data retention of IP addresses from 5 years to 1 year * Add even more information * Remove all (now invalid) translations of the privacy policy * Add information about archive takeout, remove pointless consent section * Emphasis on DM privacy * Improve wording * Add line about data use for moderation purposes
2018-02-21Account archive download (#6460)Eugen Rochko
* Fix #201: Account archive download * Export actor and private key in the archive * Optimize BackupService - Add conversation to cached associations of status, because somehow it was forgotten and is source of N+1 queries - Explicitly call GC between batches of records being fetched (Model class allocations are the worst offender) - Stream media files into the tar in 1MB chunks (Do not allocate media file (up to 8MB) as string into memory) - Use #bytesize instead of #size to calculate file size for JSON (Fix FileOverflow error) - Segment media into subfolders by status ID because apparently GIF-to-MP4 media are all named "media.mp4" for some reason * Keep uniquely generated filename in Paperclip::GifTranscoder * Ensure dumped files do not overwrite each other by maintaing directory partitions * Give tar archives a good name * Add scheduler to remove week-old backups * Fix code style issue
2018-01-15Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252)Eugen Rochko
2017-12-05Lists redis clean-up (#5886)Eugen Rochko
* When list is deleted, remove feed from redis * Clean up list feeds of inactive users
2017-10-17Clean up reblog tracking keys, related improvements (#5428)aschmitz
* Clean up reblog-tracking sets from FeedManager Builds on #5419, with a few minor optimizations and cleanup of sets after they are no longer needed. * Update tests, fix multiply-reblogged case Previously, we would have lost the fact that a given status was reblogged if the displayed reblog of it was removed, now we don't. Also added tests to make sure FeedManager#trim cleans up our reblog tracking keys, fixed up FeedCleanupScheduler to use the right loop, and fixed the test for it.
2017-10-16Keep references to all reblogs of a status on home feed (#5419)Eugen Rochko
* Keep references to all reblogs of a status on home feed When inserting reblog: Add to set of reblogs of this status on the feed, if original status was present in the feed, add it to that set as well. When removing a reblog: Remove it from that set. Take random remaining item from the set. If one exists, re-insert it into feed, otherwise do not re-insert anything. Fix #4210 * When original is removed, toss out reblog references