Jorty
8a1dc0de92
Refactor Mix tasks
...
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-23 11:33:16 -04:00
lambda
13440a80e1
Merge branch 'feature/invites' into 'develop'
...
Invites
Closes #108
See merge request pleroma/pleroma!208
2018-08-12 12:04:15 +00:00
lambda
1e9d152d60
Update generate_invite_token.ex
2018-08-12 11:11:08 +00:00
Henry Jameson
0b1ca6a584
Token-generating task
2018-06-17 14:30:07 +03:00
eal
3326205f95
set_moderator: ensureall applications are started.
2018-06-12 15:42:40 +03:00
lambda
3f42806b1b
Merge branch 'develop' into 'develop'
...
Dedupe uploads
See merge request pleroma/pleroma!115
2018-06-12 08:26:26 +00:00
lambda
f34232da86
Update sample_config.eex
2018-06-12 07:23:45 +00:00
William Pitcock
3208611bfc
mix: add task for setting an account as locked or not
2018-06-11 22:15:27 +00:00
eal
18837c2fed
make_moderator.ex: set cache on update
2018-06-11 22:53:38 +03:00
Sir_Boops
3f0440ac3c
Dedupe uploads
2018-06-06 13:25:44 -06:00
lambda
ad563669c8
Merge branch 'feature/remote-user-deactivation' into 'develop'
...
remote user deactivation
See merge request pleroma/pleroma!154
2018-05-19 09:30:09 +00:00
lain
1d4bbec6b3
Fix User search.
...
Now uses a trigram based search. This is a lot faster and gives better
results. Closes #185 .
2018-05-16 17:55:20 +02:00
William Pitcock
a6a6915aaf
add mix task for deactivating a user by nickname
2018-05-13 19:05:03 -05:00
aaacebd906
Fix unused variables, imports, and aliases
2018-05-04 21:42:20 +00:00
636f0fa402
Clean up unused aliases and imports
2018-05-04 21:25:31 +00:00
lain
0b4ff1bfe2
fix again
2018-04-19 21:44:11 +02:00
lain
7b96a756fb
fix again
2018-04-19 13:04:29 +02:00
lain
77fc40d5d7
Fix generate config
2018-04-19 12:52:24 +02:00
eal
e30a056476
Revert "Ask for proxy URL if proxy enabled."
...
The most common case is running it on the same server.
2018-04-19 13:29:14 +03:00
eal
b586ead6b8
rm_user: also ensure that cache is running.
2018-04-18 17:52:25 +03:00
eal
4e3fc530db
Fix rm_user task.
2018-04-18 17:39:27 +03:00
Phenethylamine
13a64b82e3
Switch to User.delete for rm_user task
2018-04-12 14:30:53 -04:00
Phenethylamine
4478b9115c
Add rm_user mix task
2018-04-12 02:43:48 -04:00
lain
b910483c16
Fix register_user task.
2018-04-10 21:05:53 +02:00
lain
4afbef39f4
Format the code.
2018-03-30 15:01:53 +02:00
lain
6744710908
Fixes 4: In Da Hood.
2018-02-24 10:58:16 +01:00
lain
42f30d67fa
Fixes Christmas Special
2018-02-24 10:52:12 +01:00
lain
541a4cbbb6
Oh no! More fixes!
2018-02-24 10:51:15 +01:00
lain
1555b7fab5
Add AP fixup task.
2018-02-21 22:59:00 +01:00
lain
56cfe71858
Add moderator task.
2018-02-21 18:33:36 +01:00
lain
765671a5b0
Add password reset task.
2018-02-21 18:24:17 +01:00
eal
d56ab43609
Ask for proxy URL if proxy enabled.
...
Also change the true/false question to y/n
2018-01-12 22:38:14 +02:00
Sebastian Huebner
29b7e822fb
added question about activating mediaproxy to config generator
2018-01-09 12:31:11 +01:00
Henry Jameson
964e2dd2f0
unfuck
2017-12-04 04:06:52 +03:00
Henry Jameson
6b60f5f64a
made psql script compatible with migrations or generate_config reruns
2017-12-04 03:56:54 +03:00
Henry Jameson
071f518028
reverts config gen
2017-12-04 03:56:54 +03:00
Henry Jameson
a884e08271
fix
2017-12-04 03:56:54 +03:00
Henry Jameson
4071403117
fixes
2017-12-04 03:56:54 +03:00
Henry Jameson
0673511d39
first version of safe DB setup
2017-12-04 03:56:54 +03:00
Lain Iwakura
44dc694882
Add configuration generation tool, update readme.
2017-11-23 16:22:20 +01:00
Roger Braun
40706b4c4f
Use changeset in user registration mix task.
2017-04-15 16:42:02 +02:00
Roger Braun
8c2aad1cab
Make new users follow themselves.
2017-04-14 17:29:27 +02:00
Roger Braun
567ec494c5
Add user registration mix task.
2017-04-05 12:27:25 +02:00