aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/pleroma.ex
AgeCommit message (Collapse)Author
2022-02-25Copyright bump for 2022Sean King
2021-01-17start oban app in migrations and mix tasksAlexander Strizhakov
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-12-14Fix for dropping posts/notifs in WS when mix task is executedAlexander Strizhakov
- start oban in mix tasks with empty queues, plugins and crontab - fix for update_users_following_followers_counts - fix for removed logo.png - typo in resend confirmation emails mix task docs - fix for uploads mix task (start Majic.Pool) - fix for creating user mix task (start :fast_html app)
2020-12-04shell_yes?/1 was not showing the correct message and always defaults to yes ↵Mark Felder
which is dangerous
2020-11-25Prevent mix tasks from spewing any internal logging unless DEBUG is in the envMark Felder
e.g., DEBUG=1 mix pleroma.config migrate_from_db
2020-11-20start limiters in mix tasksAlexander Strizhakov
2020-11-17Need to start web_resp cache or mix task failsMark Felder
2020-09-07removing Stats worker from Oban cron jobsAlexander Strizhakov
2020-08-19fixes for mix tasksAlexander Strizhakov
- fix for `mix pleroma.database update_users_following_followers_counts` - raise error, if fetch was unsuccessful in emoji tasks - fix for `pleroma.digest test` task
2020-07-24Ensure Oban is available during mix tasks.Mark Felder
Fixes: mix pleroma.user rm username
2020-07-24Fix mix tasks that make HTTP calls by starting the Gun connection poolMark Felder
2020-07-09cleap upAlexander Strizhakov
2020-07-09load default config in mix tasksAlexander Strizhakov
2020-07-08don't restart pleroma in mix tasksAlexander Strizhakov
2020-07-08don't fully start pleroma in mix tasksAlexander Strizhakov
2020-04-12Fix mix tasks failing on OTP releasesrinpatch
No idea why this was even added. Closes #1678
2020-03-30sync with developAlexander Strizhakov
2020-03-07Merge branch 'restart-fix-for-mix-tasks' into 'develop'rinpatch
Wait in mix task while pleroma is rebooted See merge request pleroma/pleroma!2225
2020-03-03Update CopyrightsMark Felder
2020-03-01wait in mix task while pleroma is rebootedAlexander Strizhakov
2019-11-20Some tasks try to set log level in test environment, but we were stripping ↵Mark Felder
logs belog :warn. Ensure console backend logs in test environment are :warn, but mix tasks run in test env do not run with :debug because it's far too verbose.
2019-11-19Allow mix tasks to always run with debug loggingMark Felder
2019-09-18Bump copyright years of files changed in 2019Haelwenn (lanodan) Monnier
Done via the following command: git diff 1e6c102bfcfe0e4835a48f2483f2376f9bf86a20 --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
2019-06-22Ecto tasks: Resolve relative path using the application directoryrinpatch
instead of cwd and load the application before doing anything In OTP releases cwd != app directory and the configuration is read only if the application is loaded
2019-06-20Rename Pleroma.Mix.Tasks.Common -> Mix.Pleroma and import it's functionsrinpatch
instead of aliasing This seems to be the convention for functions that can be reused between different mix tasks in all Elixir projects I've seen and it gets rid on an error message when someone runs mix pleroma.common Also in this commit by accident: - Move benchmark task under a proper namespace - Insert a space after the prompt