This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/lib/tasks
Eugen Rochko 0a6b098668 Fix count numbers from ActivityPub not being saved (#4899)
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.
2017-09-12 00:16:03 +02:00
..
auto_annotate_models.rake Improve RuboCop rules (compatibility to Code Climate) (#3636) 2017-06-08 13:24:28 +02:00
db.rake [nanobox] Adjustments for Nanobox development (#3295) 2017-05-29 17:59:18 +02:00
mastodon.rake Fix count numbers from ActivityPub not being saved (#4899) 2017-09-12 00:16:03 +02:00
statistics.rake add task to report code statistics (#2489) 2017-04-26 18:47:22 +02:00