- Jan 20, 2022
-
-
Claire authored
Fixes #17297
-
- Dec 26, 2021
-
-
Eugen Rochko authored
-
- Dec 17, 2021
-
-
Claire authored
* Add admin option to remove canonical email blocks from a deleted account * Add tootctl canonical_email_blocks to inspect and remove canonical email blocks
-
- Dec 12, 2021
-
-
Takeshi Umeda authored
* Add remove orphans to tootctl statuses remove * Add REINDEX and change option from vacuum to compression-database * Changed to extract the deletion target of conversations to a temporary table * Support progress bar and exceptions when media remove * Add continue option * Fix compression to compress * Remove skip_remove_orphans
-
- Nov 26, 2021
-
-
Takeshi Umeda authored
* Fix performance of tootctl statuses remove * Fix model class
-
Takeshi Umeda authored
-
OSAMU SATO authored
-
- Nov 25, 2021
-
-
Eugen Rochko authored
* Add trending links * Add overriding specific links trendability * Add link type to preview cards and only trend articles Change trends review notifications from being sent every 5 minutes to being sent every 2 hours Change threshold from 5 unique accounts to 15 unique accounts * Fix tests
-
- Nov 18, 2021
-
-
Takeshi Umeda authored
* Bump chewy from 5.2.0 to 7.2.2 * fix style (codeclimate) * fix style * fix style * Bump chewy from 7.2.2 to 7.2.3
-
- Nov 16, 2021
-
-
Claire authored
Under certain conditions, files fetched from remotes trigger an error when being uploaded using OpenStack Swift. This is because in some cases, the remote server will not return a content-length, so our ResponseWithLimitAdapter will hold a `nil` value for `#size`, which will lead to an invalid value for the Content-Length header of the Swift API call. This commit fixes that by taking the size from the actually-downloaded file size rather than the upstream-provided Content-Length header value.
-
- Nov 11, 2021
-
-
Claire authored
Fix regression from #16896
-
- Nov 06, 2021
-
-
Eugen Rochko authored
* Bump version to 3.4.2 * Bump version to 3.4.3
-
- Oct 28, 2021
-
-
Jeong Arm authored
-
- Oct 25, 2021
-
-
Claire authored
In order to work around https://github.com/mastodon/mastodon/issues/16895, add a warning to .env.production.sample, and change the mastodon:setup rake task to: - output a warning if a variable will be interpreted differently by dotenv and docker-compose - ensure the printed config is compatible with docker-compose
-
- Oct 18, 2021
-
-
Claire authored
Fixes #16822
-
- Oct 14, 2021
-
-
Jeong Arm authored
* Add optional domain restrict to accounts cull * Use "unless" - codeclimate
-
Claire authored
Fixes #16410
-
Claire authored
* Do not block existing users' emails on self-destruct That is wasteful and unintuitive * Do not close registrations when running tootctl self-destruct with --dry-run * Close registrations on self-destruct regardless of known remote accounts * Fix tootctl self-destruct not sending Deletes for recently-suspended accounts * Suspend local users even if no remote account is known * Do not show scary confirmation text if ran with --dry-run
-
- Sep 29, 2021
-
-
Claire authored
* Switch from unmaintained paperclip to kt-paperclip * Drop some compatibility monkey-patches not required by kt-paperclip * Drop media spoof check monkey-patching It's broken with kt-paperclip and hopefully it won't be needed anymore * Fix regression introduced by paperclip 6.1.0 * Do not rely on pathname to call FastImage * Add test for ogg vorbis file with cover art * Add audio/vorbis to the accepted content-types This seems erroneous as this would be the content-type for a vorbis stream without an ogg container, but that's what the `marcel` gem outputs, so… * Restore missing for_as_default method * Refactor Attachmentable concern and delay Paperclip's content-type spoof check Check for content-type spoofing *after* setting the extension ourselves, this fixes a regression with kt-paperclip's validations being more strict than paperclip 6.0.0 and rejecting some Pleroma uploads because of unknown extensions. * Please CodeClimate * Add audio/vorbis to the unreliable set It doesn't correspond to a file format and thus has no extension associated.
-
- Aug 09, 2021
-
-
Claire authored
* Add account statuses cleanup policy model * Record last inspected toot to delete to speed up successive calls to statuses_to_delete * Add service to cleanup a given account's statuses within a budget * Add worker to go through account policies and delete old toots * Fix last inspected status id logic All existing statuses older or equal to last inspected status id must be kept by the current policy. This is an invariant that must be kept so that resuming deletion from the last inspected status remains sound. * Add tests * Refactor scheduler and add tests * Add user interface * Add support for discriminating based on boosts/favs * Add UI support for min_reblogs and min_favs, rework UI * Address first round of review comments * Replace Snowflake#id_at_start with with_random parameter * Add tests * Add tests for StatusesCleanupController * Rework settings page * Adjust load-avoiding mechanisms * Please CodeClimate
-
- Aug 08, 2021
-
-
Takeshi Umeda authored
-
- Jul 13, 2021
-
-
Claire authored
* Change references to tootsuite/mastodon to mastodon/mastodon * Remove obsolete test fixture * Replace occurrences of tootsuite/mastodon with mastodon/mastodon in CHANGELOG And a few other places
-
- Jul 08, 2021
-
-
Eugen Rochko authored
Remove "active within last two weeks" exception for sign in token requirement Change admin reset password to lock access until the password is reset
-
- Jul 07, 2021
-
-
Claire authored
Fixes #16410
-
- Jun 03, 2021
-
-
Claire authored
-
- Jun 02, 2021
-
-
Claire authored
* Fix migration script not being able to run if it fails midway * Fix old migration script * Fix old migration script * Refactor CorruptionError
-
Claire authored
* Fix account deletion sometimes failing because of optimistic locks In some rare occasions[1], deleting accounts would fail with a `StaleObjectError` exception. Indeed, account deletion manually sets the `AccountStat` values without handling cases where the optimistic locking on `AccountStat` would fail. To my knowledge, with the rewrite of account counters in #15913, the `DeleteAccountService` is now the only place that changes the counters in a way that is not atomic. Since in this specific case, we do not care about the previous values of the account counters, it appears we don't need locking at all for this table anymore. [1]: https://discourse.joinmastodon.org/t/account-cant-be-deleted/3602 * Bump MAX_SUPPORTED_VERSION in maintenance script
-
- Jun 01, 2021
-
-
Claire authored
Fixes #16344
-
- May 16, 2021
-
-
Eugen Rochko authored
- May 12, 2021
-
-
Claire authored
* Update maintenance script to support latest database migrations * Update Account#merge_with!
-
- May 11, 2021
-
-
rinsuki authored
-
- May 10, 2021
-
- May 09, 2021
-
-
Takeshi Umeda authored
-
- May 08, 2021
-
- May 07, 2021
-
-
Claire authored
-
- May 06, 2021
-
-
Claire authored
* Fix issues with POSIX::Spawn, Terrapin and Ruby 3.0 Also improve the Terrapin monkey-patch for the stderr/stdout issue. * Fix keyword argument handling throughout the codebase * Monkey-patch Paperclip to fix keyword arguments handling in validators * Change validation_extensions to please CodeClimate * Bump microformats from 4.2.1 to 4.3.1 * Allow Ruby 3.0 * Add Ruby 3.0 test target to CircleCI * Add test for admin dashboard warnings * Fix admin dashboard warnings on Ruby 3.0
-
- May 05, 2021
-
-
Eugen Rochko authored
-
Eugen Rochko authored
* Fix media processing getting stuck on too much stdin/stderr See thoughtbot/terrapin#5 * Remove dependency on paperclip-av-transcoder gem * Remove dependency on streamio-ffmpeg gem * Disable stdin on ffmpeg process
-