aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/pleroma
AgeCommit message (Collapse)Author
2019-02-04mix: add user tag/untag taskWilliam Pitcock
2019-01-21Mix.Tasks.Pleroma.Instance: Generate signing_saltHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/issues/533
2019-01-04fix 486: Add option --assume-yes to allow it to work non-interactivespctrl
2018-12-29Change 'name' to 'instance_name' so option is used when running non-interactivespctrl
2018-12-23mix tasks: add legal boilerplateWilliam Pitcock
2018-12-18[#114] Added email confirmation resend action. Added testsIvan Tashkinov
for registration, authentication, email confirmation, confirmation resending. Made admin methods create confirmed users.
2018-12-16Use bindings dbuser and dbname in sample_psql.eexlink0ff
2018-12-15Allow port specification in instance.exRin Toshaka
2018-12-12Allow to set both admin and moderator at the same time in mix task Userlink0ff
2018-12-12Fix toggle_activated in mix task Userlink0ff
2018-12-10Merge branch 'develop' into 'fix/mix-task-uploads-moduledoc'lambda
# Conflicts: # lib/mix/tasks/pleroma/uploads.ex
2018-12-10updatesMaksim Pechnikov
2018-12-10Keep the shortdoc descriptiverinpatch
2018-12-09Mix tasks: improve uploads.ex moduledocRin Toshaka
2018-12-09fix compile warningsMaksim Pechnikov
2018-12-08Merge branch 'fix/add-upload.ex' into 'develop'lambda
Mix Tasks: Add task uploads.ex for migrating local uploads. See merge request pleroma/pleroma!517
2018-12-08[#283] Mix Tasks: Fix a typo in relay.exRin Toshaka
2018-12-07Fix a typoRin Toshaka
2018-12-07Mix Tasks: Add task uploads.ex for migrating local uploads.Rin Toshaka
2018-12-07Merge branch 'fix/add-user-unsubscribe-to-doc' into 'develop'lambda
Add mix pleroma.user unsubscribe to mix doc See merge request pleroma/pleroma!512
2018-12-07Fix a typo in relay.ex moduledocrinpatch
2018-12-07Oopsrinpatch
2018-12-07Add mix pleroma.user unsubscribe to mix docrinpatch
2018-12-07Rename def to defvalrinpatch
2018-12-07add common.exRin Toshaka
2018-12-06Remove unused vars from user.exRin Toshaka
2018-12-06Update instance.ex for web pushRin Toshaka
2018-12-06Merge developRin Toshaka
2018-12-06Refactor common functions to common.exRin Toshaka
2018-12-06Refactor common functions to common.exRin Toshaka
2018-12-05formatingRin Toshaka
2018-12-05Everything should use Mix.Task.RunRin Toshaka
2018-12-05Move relay tasks to relay.exRin Toshaka
2018-12-05Switch from User.info_changeset because it is deprecatedRin Toshaka
2018-12-05Merge develop to refactor/mix-tasksRin Toshaka
2018-12-04change new to gen in instance.ex . Refactor user.exRin Toshaka
2018-12-02F O R M A T I N GRin Toshaka
2018-12-02Move generate_invite to user.exRin Toshaka
2018-12-02Refactor copypasta to a private function in instance.exRin Toshaka
2018-12-02Lint fixRin Toshaka
2018-12-02Move gen.instance to instance.exRin Toshaka
2018-12-02Move unsubscribe user task to pleroma/user.ex. Delete unsubscribe_user.ex. ↵Rin Toshaka
Fix pleroma.user toggle_activated to work not only on local users.
2018-12-02Lint fixRin Toshaka
2018-12-02Add admin option to pleroma.user new. Add user existence checking to ↵Rin Toshaka
toggle_activated
2018-12-01Move set_admin task to lib/mix/tasks/pleroma/user.exrinpatch
2018-12-01Fix toggle_deactivated to reactivate a deactivated userrinpatch
2018-12-01Attempt to resolve merge conflictrinpatch
2018-08-23Move invite task to pleroma namespaceJorty
Some other minor changes were made to make it consistent with the behavior of other tasks both within Pleroma and the conventions set by dependencies such as Phoenix. Namely, the task is named `gen.invite` and `IO.puts` has been replaced with references to `Mix.shell()` where appropriate.
2018-08-23Refactor Mix tasksJorty
1. Move Mix tasks into a `pleroma` namespace, to avoid collisions with dependent packages. 2. Rename and condense tasks into two `pleroma.user` and `pleroma.gen.instance` tasks for consistency with Hex and Phoenix. 3. Add additional functionality to the tasks to make them more user-friendly. Arguments with sensible defaults were demoted to flags and in the interactive `generate_config` (renamed to `pleroma.gen.instance`), flags were added to allow non-interactive use, though interactive use remains the primary interface. That task also now prompts the user for database parameters. 4. Documentation has been added to both tasks such that `mix help` now shows useful information. 5. Finally, use of IO.puts in tasks has been replaced with Mix.shell() equivalents to make the behavior more consistent with Mix tasks in other packages, and such that variables like MIX_QUIET are respected. The only exception is in `mix pleroma.user reset_password`, wherein the URL must always be printed regardless of the value of MIX_QUIET since that's its entire purpose.