- Sep 23, 2019
-
-
Yamagishi Kazutoshi authored
-
- Oct 04, 2018
-
-
Eugen Rochko authored
-
- Sep 14, 2018
-
-
Eugen Rochko authored
* Move more tasks to tootctl - tootctl feeds build - tootctl feeds clear - tootctl accounts refresh Clean up exit codes and help messages * Move user modifying to tootctl * Improve user modification through CLI, rename commands add -> create mod -> modify del -> delete To remove ambiguity * Fix code style issues * Fix not being able to unset admin/mod role
-
- Aug 26, 2018
-
-
Quint Guvernator authored
* rubocop: quit being so picky * rubocop: miscellany * rubocop: prefer present to blank
-
Eugen Rochko authored
Remove old deprecated rake tasks
-
- Aug 25, 2018
-
-
M Somerville authored
Still check for S3_CLOUDFRONT_HOST for existing installs.
-
Eugen Rochko authored
./bin/tootctl media remove --days 7 --background Make the old rake task point to it
-
- Aug 21, 2018
-
-
Eugen Rochko authored
-
- Aug 11, 2018
-
-
ThibG authored
-
- Jun 04, 2018
-
-
Eugen Rochko authored
-
- May 30, 2018
-
-
Eugen Rochko authored
* Speed up some rake tasks by moving execution to Sidekiq mastodon:media:remove_silenced mastodon:media:remove_remote mastodon:media:redownload_avatars mastodon:feeds:build * Fix code style issue
-
- May 02, 2018
-
-
Eugen Rochko authored
* 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
-
- Apr 23, 2018
-
-
Alejandro Martinez Ruiz authored
-
- Apr 22, 2018
-
-
David Baucum authored
Closes #7221
-
- Apr 02, 2018
-
-
Eugen Rochko authored
-
- Mar 27, 2018
-
-
Eugen Rochko authored
Comparison was downcasing only one side, therefore if previously existing account had a non-lowercase spelling, it would be ignored when checking for duplicates. New rake task `mastodon:maintenance:find_duplicate_usernames` will help find constraint violations that might have occured from the presence of this bug. Bump version to 2.3.3
-
- Mar 24, 2018
-
-
Akihiko Odaki authored
HTTP connections must be explicitly closed in many cases, and letting perform method close connections makes its callers less redundant and prevent them from forgetting to close connections.
-
- Mar 17, 2018
-
-
Akihiko Odaki authored
-
- Mar 12, 2018
-
-
Ushitora Anqou authored
* add detailed SMTP settings setup in mastodon:setup * add localhost SMTP settings setup in mastodon:setup * SMTP settings setup should exit after successful delivery of test mail
-
艮 鮟鱇 authored
-
- Mar 09, 2018
-
-
Eugen Rochko authored
-
- Mar 08, 2018
-
-
Eugen Rochko authored
Media attachments are part of the association cache of statuses, since they are presumed to be immutable. Unless this cache is cleared manually, the statuses will continue to look like they have media embedded.
-
- Mar 01, 2018
-
-
Thomas Leister authored
-
- Feb 26, 2018
-
-
Paul Woolcock authored
* Some images can cause `convert` to fail, which crashes this whole task * Add more specific exception
-
Eugen Rochko authored
* Ensure the app does not even start if OTP_SECRET is not set * Remove PAPERCLIP_SECRET (it's not used by anything, actually) Imports are for internal consumption and the url option isn't even used correctly, so we can remove the hash stuff from them
-
- Feb 21, 2018
-
-
takayamaki authored
-
- Feb 11, 2018
-
-
Eugen Rochko authored
* Add better CLI prompt * Add rake mastodon:setup interactive wizard * Test db/redis/smtp configurations and add admin user at the end * Test database connection even when database does not exist yet
-
- Jan 18, 2018
-
-
Eugen Rochko authored
* Fix regeneration key not getting expired * Add rake task to remove old regeneration markers
-
- Jan 15, 2018
-
-
Eugen Rochko authored
-
- Dec 24, 2017
-
-
Eugen Rochko authored
* Add rake task to check and purge accounts that are missing in origin * Add progress bar and --force options to mastodon:maintenance:purge_removed_accounts
-
- Dec 07, 2017
-
-
Akihiko Odaki authored
-
- Nov 11, 2017
-
-
Eugen Rochko authored
* Add moderator role and add pundit policies for admin actions * Add rake task for turning user into mod and revoking it again * Fix handling of unauthorized exception * Deliver new report e-mails to staff, not just admins * Add promote/demote to admin UI, hide some actions conditionally * Fix unused i18n
-
- Nov 08, 2017
-
-
Naoki Kosaka authored
-
- Sep 16, 2017
-
-
Eugen Rochko authored
* When accessing uncached media attachment, redownload it * Prevent re-download of rejected media
-
- Sep 11, 2017
-
-
Eugen Rochko authored
They are marked as read-only by Rails, but we know what we are doing, so we are un-marking them as such. The mastodon:maintenance:update_counter_caches task is not really supposed to be run anymore (it was a one-time thing during an upgrade) however, just in case, I have modified it to not touch ActivityPub accounts. Also, no point writing to logger from these rake tasks, since they are not to be run from cron. Better to give stdout feedback.
-
- Sep 07, 2017
-
-
Joseph Mingrone authored
* Use casecmp() instead of casecmp?() for now casecmp?() is only available in ruby 2.4.0. Users running earlier ruby versions would see errors, e.g., running RAILS_ENV=production rails mastodon:maintenance:remove_deprecated_preview_cards. * Correctly check whether casecmp() returns 0
-
- Sep 03, 2017
-
-
Akihiko Odaki authored
-
Akihiko Odaki authored
The path template of the attached files must explicitly be defined because it is contradicting to the name of the class.
-
- Sep 01, 2017
-
-
Eugen Rochko authored
* Make PreviewCard records reuseable between statuses **Warning!** Migration truncates preview_cards tablec * Allow a wider thumbnail for link preview, display it in horizontal layout (#4648) * Delete preview cards files before truncating * Rename old table instead of truncating it * Add mastodon:maintenance:remove_deprecated_preview_cards * Ignore deprecated_preview_cards in schema definition * Fix null behaviour
-
- Aug 20, 2017
-
-
Eugen Rochko authored
* ActivityPub migration procedure Once one account is detected as going from OStatus to ActivityPub, invalidate WebFinger cache for other accounts from the same domain * Unsubscribe from PuSH updates once we receive an ActivityPub payload * Re-subscribe to PuSH unless already unsubscribed, regardless of protocol
-