Commit Graph

293 Commits (master)

Author SHA1 Message Date
Holly 'Frinkel' Lotor e37c5a967a More smoke testing, merge in request pool from upstream 2020-01-20 16:57:59 -05:00
ThibG b0630ddc82 Original upstream merge 2020-01-20 16:55:55 -05:00
multiple creatures c236bbe60b fix the "include past roars" buttons 2020-01-14 02:42:17 -06:00
multiple creatures 67516a07db add new privacy option to auto-defederate after a given timespan + add 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 2020-01-13 21:57:24 -06:00
multiple creatures 7d0e47f837 periodically clean up filter caches 2019-12-12 05:28:56 -06:00
multiple creatures 90373b7f31 use service account helper in janitor scheduler 2019-12-12 04:36:05 -06:00
multiple creatures 114fc3cdd0 simplify the asynchronous post worker 2019-12-12 04:33:51 -06:00
multiple creatures a8b4d5316c remove duplicate post distribution calls 2019-12-12 04:24:07 -06:00
multiple creatures 3dc62460b0 use `set` instead of `setex` 2019-12-11 19:21:47 -06:00
multiple creatures 002fb7fbb7 synchronize remote posts on first follow 2019-12-10 02:36:38 -06:00
multiple creatures 04d55aab4a use keyword argument for `delayed` flag 2019-12-05 13:06:20 -06:00
multiple creatures bc81d32c2c when someone adds/changes a filter retroactively apply it to their home & list timelines 2019-12-03 17:06:47 -06:00
multiple creatures e14a7b0c36 pruning thread leaves can cause data loss - let's not do that 2019-12-02 21:37:12 -06:00
Eugen Rochko fbf08920a0 Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966) 2019-11-19 16:32:36 -06:00
ThibG a8ae1e4855 Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)
HTTP 401 responses returned by Mastodon's inbox controller may
be temporary if, for instance, the requesting user's actor/key json
could not be retrieved in a timely fashion. This changes allow retries
instead of dropping the message entirely.

Also added HTTP 408 as that error is by nature temporary.
2019-11-19 13:34:01 -06:00
multiple creatures 8f4f29f710 Revert `7f2174466` because it is causing thread mode to break. 2019-11-18 19:17:28 -06:00
multiple creatures 7f21744661 When a post is delayed or updated, remove the old version from local timelines before delivering the new verison. 2019-11-18 08:26:54 -06:00
multiple creatures f9315005b0 Send status ID instead of objects to `ActivityPub::DistributionWorker` 2019-11-18 07:58:27 -06:00
multiple creatures 2ac0b20c5c Be more specific about checking for the truthiness of `nomentions`. 2019-11-18 05:29:21 -06:00
multiple creatures 345c6beb7e Auto-remove expired filters. 2019-11-18 04:39:27 -06:00
multiple creatures c8244ef728 Remove duplicated code. 2019-11-17 14:58:56 -06:00
multiple creatures b462b46a80 The WAS spammer detection is no longer needed; removing this code from the Janitor. 2019-11-16 05:41:17 -06:00
multiple creatures 0db4b0b9d5 perform spam detection at registration time 2019-11-06 00:08:06 -06:00
multiple creatures 856ae951bd before publishing a status force its formatting to be recached (fixes the mentions bug) 2019-10-26 00:09:10 -05:00
multiple creatures 996fb97020 tighten abandoned account query in janitor 2019-10-19 09:35:57 -05:00
multiple creatures 47cd2611bf (optionally) announce the success of werewolf transformations 2019-10-13 20:14:54 -05:00
multiple creatures 85494ce21a `FetchAvatarMediaWorker` -> `FetchAvatarWorker` 2019-10-12 21:24:54 -05:00
multiple creatures cc32f0f50b make `BatchFetchMediaWorker` emergency stoppable by setting `Rails.cache.write(stop_fetch_media_worker, true)` 2019-09-17 22:24:50 -05:00
multiple creatures 71bb4f01bc `FetchMediaWorker` no longer re-fetches stuff the server already has unless `force` is set 2019-09-17 21:32:47 -05:00
multiple creatures 3bb2378009 add `FetchAvatarWorker` to (re-)fetch account avatars/headers 2019-09-17 21:25:29 -05:00
multiple creatures e2f7f1db86 add `BatchFetchMediaWorker` to fetch batches of media without overloading either server 2019-09-17 21:23:09 -05:00
multiple creatures 61f7847e89 move backup worker to bulk queue 2019-09-16 02:40:14 -05:00
multiple creatures 8c303e4188 move link crawler to bulk queue; give up on ssl or no-card errors 2019-09-16 02:33:05 -05:00
multiple creatures f9680593c1 retry media fetches twice before giving up; move media fetches to bulk queue 2019-09-16 02:28:34 -05:00
multiple creatures 3ec2d799aa do not retry `FetchMediaWorker` jobs 2019-09-07 20:08:29 -05:00
multiple creatures bb5119adb6 convert spam filters into unioned regex, match between word boundaries 2019-09-06 01:57:13 -05:00
multiple creatures 3b276d268f use a scheduled task to batch domain policy changes + revert `29643fd6` to avoid accidentally dosing servers when multiple users block a domain 2019-08-30 22:03:46 -05:00
multiple creatures 60c449e1d7 make sure media attachments are not from a blocked account, CDN, or their subdomains 2019-08-30 20:29:42 -05:00
multiple creatures a97ce6534d make sure id is an integer 2019-08-30 19:33:25 -05:00
multiple creatures e881d75632 (asynchronously) re-fetch missing media on serialize 2019-08-30 19:31:57 -05:00
multiple creatures 35636272c0 detect spam registrations + include account approvals/rejections in transparancy log 2019-08-26 11:39:40 -05:00
multiple creatures 88fa00c35a split db pruning off into its own scheduled job 2019-08-18 19:50:10 -05:00
multiple creatures 32e37245fa janitor - allow retries, `@account_ids -> @exclude_ids`, remove unneeded `uniq` calls 2019-08-18 15:14:09 -05:00
multiple creatures a283127dcf use default sidekiq options for `LogWorker` 2019-08-18 15:14:09 -05:00
multiple creatures d835197fb8 use default sidekiq options for `DomainBlockWorker` 2019-08-18 15:14:09 -05:00
multiple creatures b2d0389fea transparancy log - automatically add a content warning if there are admin comments; support a custom `subject` 2019-08-09 19:13:04 -05:00
multiple creatures e466f9c2ce janitor - add db & media pruning job 2019-08-09 19:00:58 -05:00
multiple creatures 4283f15493 admin transparancy log - support markdown 2019-08-08 12:46:23 -05:00
multiple creatures d019e55b7b janitor - option to export `activityrelay` config 2019-08-08 09:37:34 -05:00
multiple creatures d8a1e472c2 janitor - make sure values excludes are deduped 2019-08-08 09:36:05 -05:00