aboutsummaryrefslogtreecommitdiff
path: root/lib/mix
AgeCommit message (Collapse)Author
2018-12-05Switch from User.info_changeset because it is deprecatedRin Toshaka
2018-12-05SorryRin Toshaka
2018-12-05Update mix tasks since User.info.info_changeset 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-04compact database task: fix formattingWilliam Pitcock
2018-12-04mix: add task to compact the databaseWilliam Pitcock
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-02Add uuid generation extension to sample_psql.eex.lain
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-01Delete reactivate user taskrinpatch
2018-12-01Fix toggle_deactivated to reactivate a deactivated userrinpatch
2018-12-01Attempt to resolve merge conflictrinpatch
2018-11-30Uploads fun, part. 2href
2018-11-30reverse proxy / uploadshref
2018-11-17lib/mix/tasks/relay*: Use a with blockHaelwenn (lanodan) Monnier
2018-11-17Change Relay from `status` to `{status, message}`Haelwenn (lanodan) Monnier
2018-11-17lib/mix/tasks/relay_{un,}follow.ex: Use a with blockHaelwenn (lanodan) Monnier
2018-11-17lib/mix/tasks/relay_{un,}follow.ex: Support status reply of Relay.{un,}followHaelwenn (lanodan) Monnier
2018-11-17lib/mix/tasks/make_admin.ex: New taskHaelwenn (lanodan) Monnier
2018-11-12sample config: chase http_security changeWilliam Pitcock
2018-11-11sample config: document how to make CSPPlug send STS headers (off by default ↵William Pitcock
to allow for SSL debugging)
2018-11-10lib/mix/tasks: s/@doc/@moduledoc/Haelwenn (lanodan) Monnier
2018-11-10lib/mix/tasks/unsubscribe_user.ex: Fix syntax from bad line copyHaelwenn (lanodan) Monnier
2018-11-10lib/mix/tasks: Add remaining documentation for mix tasksHaelwenn (lanodan) Monnier
2018-11-10Document the mix tasks in ex_doc insteadHaelwenn (lanodan) Monnier
2018-11-10Document mix tasksHaelwenn (lanodan) Monnier
2018-11-01user: make User.delete() return data consistent with Object.delete()William Pitcock
2018-10-29Add user reactivation task.scarlett
2018-10-28mix tasks: add new task to unsubscribe all users from, and then ban a remote ↵William Pitcock
user (e.g. followbots)
2018-10-27Cleanup postgresql setup scriptGreizgh
Drop unused CREATEDB privilege. Do not try to handle multiple run.
2018-09-20mix: remove fix_ap_users task, now obsoleteWilliam Pitcock
2018-08-28fix S3 ref in sample config to generate proper path.Thurloat
2018-08-28add a sample swift configThurloat
2018-08-28sample config: add S3 public endpoint optionWilliam Pitcock
2018-08-27sample config: show how amazon s3 support is activated, including ↵William Pitcock
third-party clones like wasabi
2018-08-26Merge branch 'develop' into 'feature/relay'kaniini
# Conflicts: # lib/pleroma/web/activity_pub/utils.ex
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.
2018-08-12Merge branch 'feature/invites' into 'develop'lambda
Invites Closes #108 See merge request pleroma/pleroma!208
2018-08-12Update generate_invite_token.exlambda
2018-08-06relay: fix invoking federator, use a timer to sleep the mix task to force a ↵William Pitcock
context switch
2018-08-06relay: add relay follow/unfollow tasksWilliam Pitcock