lambda
ce9284b36f
Merge branch 'remove-user-activities' into 'develop'
...
[#757 ] Add mix task to delete user's activities
See merge request pleroma/pleroma!1008
6 years ago
Egor Kislitsyn
1b3d921921
change `Repo.get(User, id)` => `User.get_by_id(id)`
6 years ago
Egor Kislitsyn
a14742f495
add `user delete_activities` mix task
6 years ago
Egor Kislitsyn
a1869f5272
Merge remote-tracking branch 'pleroma/develop' into remove-user-activities
6 years ago
William Pearson
3dadaa4432
robots.txt
...
Add default robots.txt that allows bots access to all paths.
Add mix task to generate robots.txt taht allows bots access to no paths.
Document custom emojis, MRF and static_dir
static_dir documentation includes docs for the robots.txt Mix task.
6 years ago
Haelwenn (lanodan) Monnier
4b73ca638e
[Credo][CI] Add readability as it’s fixed
6 years ago
Haelwenn (lanodan) Monnier
a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
Egor Kislitsyn
16e598ec11
fix wording
6 years ago
Egor Kislitsyn
d013b58e84
add `mix pleroma.user delete_activities NICKNAME` task
6 years ago
Haelwenn (lanodan) Monnier
6ca633ddd3
Mix.Tasks.Pleroma.Uploads: Disable Enum.reduce warning on line 100 (unsure)
6 years ago
Haelwenn (lanodan) Monnier
6a6a5b3251
de-group alias/es
6 years ago
Haelwenn (lanodan) Monnier
bd9b5fffbc
Mix.Tasks.Pleroma.Uploads: Fix typo in documentation
6 years ago
Haelwenn (lanodan) Monnier
8bcfac93a8
Make credo happy
6 years ago
William Pitcock
93e136d70b
mix: add user tag/untag task
6 years ago
Haelwenn (lanodan) Monnier
f94cc6d824
Mix.Tasks.Pleroma.Instance: Generate signing_salt
...
Closes: https://git.pleroma.social/pleroma/pleroma/issues/533
6 years ago
spctrl
4aa977d3b3
fix 486: Add option --assume-yes to allow it to work non-interactive
6 years ago
spctrl
ab9cda315f
Change 'name' to 'instance_name' so option is used when running non-interactive
6 years ago
William Pitcock
69ad1039ba
mix tasks: add legal boilerplate
6 years ago
Ivan Tashkinov
b096e30cff
[ #114 ] Added email confirmation resend action. Added tests
...
for registration, authentication, email confirmation, confirmation resending.
Made admin methods create confirmed users.
6 years ago
link0ff
22d483d4f7
Use bindings dbuser and dbname in sample_psql.eex
6 years ago
Rin Toshaka
4a895a46d1
Allow port specification in instance.ex
6 years ago
link0ff
51dd294c48
Allow to set both admin and moderator at the same time in mix task User
6 years ago
link0ff
a40ba3ba57
Fix toggle_activated in mix task User
6 years ago
lambda
bda25b999b
Merge branch 'develop' into 'fix/mix-task-uploads-moduledoc'
...
# Conflicts:
# lib/mix/tasks/pleroma/uploads.ex
6 years ago
Maksim Pechnikov
e94c3442f4
updates
6 years ago
rinpatch
993c8c8bd4
Keep the shortdoc descriptive
6 years ago
Rin Toshaka
cbe048bb3f
Mix tasks: improve uploads.ex moduledoc
6 years ago
Maksim Pechnikov
074fa790ba
fix compile warnings
6 years ago
lambda
5436aaad4f
Merge branch 'fix/add-upload.ex' into 'develop'
...
Mix Tasks: Add task uploads.ex for migrating local uploads.
See merge request pleroma/pleroma!517
6 years ago
Rin Toshaka
6c73136aec
[ #283 ] Mix Tasks: Fix a typo in relay.ex
6 years ago
Rin Toshaka
fd5c7b445f
Fix a typo
6 years ago
Rin Toshaka
a02e0c18bc
Mix Tasks: Add task uploads.ex for migrating local uploads.
6 years ago
lambda
8764f64690
Merge branch 'fix/add-user-unsubscribe-to-doc' into 'develop'
...
Add mix pleroma.user unsubscribe to mix doc
See merge request pleroma/pleroma!512
6 years ago
rinpatch
4e2250b1dd
Fix a typo in relay.ex moduledoc
6 years ago
rinpatch
f7e23aee90
Oops
6 years ago
rinpatch
f661813807
Add mix pleroma.user unsubscribe to mix doc
6 years ago
rinpatch
08e10a70ec
Rename def to defval
6 years ago
Rin Toshaka
1d11c4cf11
add common.ex
6 years ago
Rin Toshaka
71d5cf9ed8
Remove unused vars from user.ex
6 years ago
Rin Toshaka
66313cda02
Update instance.ex for web push
6 years ago
Rin Toshaka
88f92693f2
Merge develop
6 years ago
Rin Toshaka
ca7b46fb3b
Refactor common functions to common.ex
6 years ago
Rin Toshaka
4a2a7ce636
Refactor common functions to common.ex
6 years ago
Rin Toshaka
3a84511df1
remove migrate_local_uploads.ex
6 years ago
Egor Kislitsyn
4944498133
Merge branch 'develop' into feature/compat/push-subscriptions
...
# Conflicts:
# lib/pleroma/application.ex
# lib/pleroma/plugs/oauth_plug.ex
6 years ago
Egor Kislitsyn
8b4397c704
Merge branch 'develop' into feature/compat/push-subscriptions
...
# Conflicts:
# lib/mix/tasks/sample_config.eex
# lib/pleroma/web/twitter_api/controllers/util_controller.ex
# mix.exs
# mix.lock
6 years ago
Egor Kislitsyn
04a48286e6
Add web push support
6 years ago
Rin Toshaka
dfc9c08796
formating
6 years ago
Rin Toshaka
ffec96d8cc
Everything should use Mix.Task.Run
6 years ago
Rin Toshaka
facfd03bc1
Move relay tasks to relay.ex
6 years ago
Rin Toshaka
e8ba579efe
Switch from User.info_changeset because it is deprecated
6 years ago
Rin Toshaka
c3519132df
Sorry
6 years ago
Rin Toshaka
5427d2af3a
Update mix tasks since User.info.info_changeset is deprecated
6 years ago
Rin Toshaka
9938fa3293
Merge develop to refactor/mix-tasks
6 years ago
Rin Toshaka
6396f1b58f
change new to gen in instance.ex . Refactor user.ex
6 years ago
William Pitcock
1a360a4eaa
compact database task: fix formatting
6 years ago
William Pitcock
ef56488349
mix: add task to compact the database
6 years ago
Rin Toshaka
03b2d1016d
F O R M A T I N G
6 years ago
Rin Toshaka
57c71f8468
Move generate_invite to user.ex
6 years ago
Rin Toshaka
d924b6cd3d
Refactor copypasta to a private function in instance.ex
6 years ago
Rin Toshaka
cbe22deb51
Lint fix
6 years ago
Rin Toshaka
faf1f2b304
Move gen.instance to instance.ex
6 years ago
Rin Toshaka
7983b0bdfe
Move unsubscribe user task to pleroma/user.ex. Delete unsubscribe_user.ex. Fix pleroma.user toggle_activated to work not only on local users.
6 years ago
lain
e3f3d13d99
Add uuid generation extension to sample_psql.eex.
6 years ago
Rin Toshaka
31b3ac05ac
Lint fix
6 years ago
Rin Toshaka
a8ef6b1190
Add admin option to pleroma.user new. Add user existence checking to toggle_activated
6 years ago
rinpatch
ae82852330
Move set_admin task to lib/mix/tasks/pleroma/user.ex
6 years ago
rinpatch
6f174cbb71
Delete reactivate user task
6 years ago
rinpatch
5f91d6b859
Fix toggle_deactivated to reactivate a deactivated user
6 years ago
rinpatch
fe2759bc9f
Attempt to resolve merge conflict
6 years ago
href
02d3dc6869
Uploads fun, part. 2
6 years ago
href
b19597f602
reverse proxy / uploads
6 years ago
Haelwenn (lanodan) Monnier
44b6200103
lib/mix/tasks/relay*: Use a with block
6 years ago
Haelwenn (lanodan) Monnier
12ccf0c4f8
Change Relay from `status` to `{status, message}`
6 years ago
Haelwenn (lanodan) Monnier
1a31d71187
lib/mix/tasks/relay_{un,}follow.ex: Use a with block
6 years ago
Haelwenn (lanodan) Monnier
7fbfd2db96
lib/mix/tasks/relay_{un,}follow.ex: Support status reply of Relay.{un,}follow
6 years ago
Haelwenn (lanodan) Monnier
011a2e36b1
lib/mix/tasks/make_admin.ex: New task
6 years ago
William Pitcock
2829fa4183
sample config: chase http_security change
6 years ago
William Pitcock
a2bf5426cb
sample config: document how to make CSPPlug send STS headers (off by default to allow for SSL debugging)
6 years ago
Haelwenn (lanodan) Monnier
5ecb5629f6
lib/mix/tasks: s/@doc/@moduledoc/
6 years ago
Haelwenn (lanodan) Monnier
5e3207045e
lib/mix/tasks/unsubscribe_user.ex: Fix syntax from bad line copy
6 years ago
Haelwenn (lanodan) Monnier
64c0289893
lib/mix/tasks: Add remaining documentation for mix tasks
6 years ago
Haelwenn (lanodan) Monnier
8b2541e4e7
Document the mix tasks in ex_doc instead
6 years ago
Haelwenn (lanodan) Monnier
e1814bb322
Document mix tasks
6 years ago
William Pitcock
f584a603f9
user: make User.delete() return data consistent with Object.delete()
6 years ago
scarlett
b92e38d2d4
Add user reactivation task.
6 years ago
William Pitcock
69192f36ff
mix tasks: add new task to unsubscribe all users from, and then ban a remote user (e.g. followbots)
6 years ago
Greizgh
a494508320
Cleanup postgresql setup script
...
Drop unused CREATEDB privilege.
Do not try to handle multiple run.
6 years ago
William Pitcock
8e28e8a18f
mix: remove fix_ap_users task, now obsolete
6 years ago
Thurloat
d424e9fa5f
fix S3 ref in sample config to generate proper path.
6 years ago
Thurloat
ab9e5d64d6
add a sample swift config
6 years ago
William Pitcock
03c35e579b
sample config: add S3 public endpoint option
6 years ago
William Pitcock
e95d958b52
sample config: show how amazon s3 support is activated, including third-party clones like wasabi
6 years ago
kaniini
0f5bff8c66
Merge branch 'develop' into 'feature/relay'
...
# Conflicts:
# lib/pleroma/web/activity_pub/utils.ex
6 years ago
Jorty
ba6e3eba33
Move invite task to pleroma namespace
...
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.
6 years ago
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.
6 years ago
lambda
13440a80e1
Merge branch 'feature/invites' into 'develop'
...
Invites
Closes #108
See merge request pleroma/pleroma!208
6 years ago
lambda
1e9d152d60
Update generate_invite_token.ex
6 years ago
William Pitcock
266b314051
relay: fix invoking federator, use a timer to sleep the mix task to force a context switch
6 years ago
William Pitcock
99be3d3dcc
relay: add relay follow/unfollow tasks
6 years ago
Henry Jameson
0b1ca6a584
Token-generating task
6 years ago
eal
3326205f95
set_moderator: ensureall applications are started.
6 years ago
lambda
3f42806b1b
Merge branch 'develop' into 'develop'
...
Dedupe uploads
See merge request pleroma/pleroma!115
6 years ago
lambda
f34232da86
Update sample_config.eex
6 years ago
William Pitcock
3208611bfc
mix: add task for setting an account as locked or not
6 years ago
eal
18837c2fed
make_moderator.ex: set cache on update
6 years ago
Sir_Boops
3f0440ac3c
Dedupe uploads
6 years ago
lambda
ad563669c8
Merge branch 'feature/remote-user-deactivation' into 'develop'
...
remote user deactivation
See merge request pleroma/pleroma!154
6 years ago
lain
1d4bbec6b3
Fix User search.
...
Now uses a trigram based search. This is a lot faster and gives better
results. Closes #185 .
6 years ago
William Pitcock
a6a6915aaf
add mix task for deactivating a user by nickname
6 years ago
Mark Felder
aaacebd906
Fix unused variables, imports, and aliases
6 years ago
Mark Felder
636f0fa402
Clean up unused aliases and imports
6 years ago
lain
0b4ff1bfe2
fix again
7 years ago
lain
7b96a756fb
fix again
7 years ago
lain
77fc40d5d7
Fix generate config
7 years ago
eal
e30a056476
Revert "Ask for proxy URL if proxy enabled."
...
The most common case is running it on the same server.
7 years ago
eal
b586ead6b8
rm_user: also ensure that cache is running.
7 years ago
eal
4e3fc530db
Fix rm_user task.
7 years ago
Phenethylamine
13a64b82e3
Switch to User.delete for rm_user task
7 years ago
Phenethylamine
4478b9115c
Add rm_user mix task
7 years ago
lain
b910483c16
Fix register_user task.
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
lain
6744710908
Fixes 4: In Da Hood.
7 years ago
lain
42f30d67fa
Fixes Christmas Special
7 years ago
lain
541a4cbbb6
Oh no! More fixes!
7 years ago
lain
1555b7fab5
Add AP fixup task.
7 years ago
lain
56cfe71858
Add moderator task.
7 years ago
lain
765671a5b0
Add password reset task.
7 years ago
eal
d56ab43609
Ask for proxy URL if proxy enabled.
...
Also change the true/false question to y/n
7 years ago
Sebastian Huebner
29b7e822fb
added question about activating mediaproxy to config generator
7 years ago
Henry Jameson
964e2dd2f0
unfuck
7 years ago
Henry Jameson
6b60f5f64a
made psql script compatible with migrations or generate_config reruns
7 years ago
Henry Jameson
071f518028
reverts config gen
7 years ago
Henry Jameson
a884e08271
fix
7 years ago
Henry Jameson
4071403117
fixes
7 years ago
Henry Jameson
0673511d39
first version of safe DB setup
7 years ago
Lain Iwakura
44dc694882
Add configuration generation tool, update readme.
7 years ago
Roger Braun
40706b4c4f
Use changeset in user registration mix task.
8 years ago
Roger Braun
8c2aad1cab
Make new users follow themselves.
8 years ago
Roger Braun
567ec494c5
Add user registration mix task.
8 years ago