aboutsummaryrefslogtreecommitdiff
path: root/lib/mix
AgeCommit message (Collapse)Author
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
2018-06-17Token-generating taskHenry Jameson
2018-06-12set_moderator: ensureall applications are started.eal
2018-06-12Merge branch 'develop' into 'develop'lambda
Dedupe uploads See merge request pleroma/pleroma!115
2018-06-12Update sample_config.eexlambda
2018-06-11mix: add task for setting an account as locked or notWilliam Pitcock
2018-06-11make_moderator.ex: set cache on updateeal
2018-06-06Dedupe uploadsSir_Boops
2018-05-19Merge branch 'feature/remote-user-deactivation' into 'develop'lambda
remote user deactivation See merge request pleroma/pleroma!154
2018-05-16Fix User search.lain
Now uses a trigram based search. This is a lot faster and gives better results. Closes #185.
2018-05-13add mix task for deactivating a user by nicknameWilliam Pitcock
2018-05-04Fix unused variables, imports, and aliasesMark Felder
2018-05-04Clean up unused aliases and importsMark Felder
2018-04-19fix againlain
2018-04-19fix againlain
2018-04-19Fix generate configlain
2018-04-19Revert "Ask for proxy URL if proxy enabled."eal
The most common case is running it on the same server.
2018-04-18rm_user: also ensure that cache is running.eal
2018-04-18Fix rm_user task.eal
2018-04-12Switch to User.delete for rm_user taskPhenethylamine
2018-04-12Add rm_user mix taskPhenethylamine
2018-04-10Fix register_user task.lain
2018-03-30Format the code.lain
2018-02-24Fixes 4: In Da Hood.lain
2018-02-24Fixes Christmas Speciallain
2018-02-24Oh no! More fixes!lain
2018-02-21Add AP fixup task.lain
2018-02-21Add moderator task.lain
2018-02-21Add password reset task.lain
2018-01-12Ask for proxy URL if proxy enabled.eal
Also change the true/false question to y/n
2018-01-09added question about activating mediaproxy to config generatorSebastian Huebner
2017-12-04unfuckHenry Jameson
2017-12-04made psql script compatible with migrations or generate_config rerunsHenry Jameson
2017-12-04reverts config genHenry Jameson
2017-12-04fixHenry Jameson
2017-12-04fixesHenry Jameson
2017-12-04first version of safe DB setupHenry Jameson
2017-11-23Add configuration generation tool, update readme.Lain Iwakura
2017-04-15Use changeset in user registration mix task.Roger Braun
2017-04-14Make new users follow themselves.Roger Braun
2017-04-05Add user registration mix task.Roger Braun