William Pitcock
16b260fb19
add mix task to prune the object database using a configured retention period
5 years ago
Sergey Suprunenko
2c303afc8b
Remove duplicated entries in users' following lists
5 years ago
Mark Felder
efa61c1610
Move to pleroma.database mix task
5 years ago
Mark Felder
ebb0482116
Merge branch 'develop' into conversations-import
5 years ago
Alexander Strizhakov
73ae58fdfa
Feature/896 toggling confirmation
5 years ago
lain
f168a1cbdc
Merge remote-tracking branch 'origin/develop' into conversations-import
5 years ago
Mark Felder
498bfdf403
Switch to Jason over Poison
5 years ago
Alexander Strizhakov
a2be420f94
differences_in_mastoapi_responses.md: fullname & bio are optionnal
...
[ci skip]
5 years ago
Mark Felder
786f2c7a84
Update shortdoc description
5 years ago
Roman Chvanikov
f1f7a11222
Merge develop
5 years ago
lain
6d19bb4eae
Conversations: Add mix task to 'import' old DMs.
5 years ago
Alex S
a76e2622ca
emoji dowload follow redirects
5 years ago
Roman Chvanikov
b6b5b16ba4
Merge develop
5 years ago
Alexander Strizhakov
ce6ca0fefe
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/845-improve-status-deletion
5 years ago
Alex S
f11e7037c2
test fixes
5 years ago
Roman Chvanikov
0f0cc2703b
Merge develop
5 years ago
rinpatch
952a4ae68e
Fix unclosed ` and put synopsis into a code block in pleroma.emoji mix
...
task docs
6 years ago
Egor
b9cdf6d3b9
Use `User.get_cached*` everywhere
6 years ago
Ekaterina Vaartis
153f5375a6
Replace MD5 with SHA256 for emoji pack verification
6 years ago
Ekaterina Vaartis
d5c0fd35e1
Wrap the docstrings to 70 characters
6 years ago
Roman Chvanikov
60f213bb1a
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/digest-email
6 years ago
Roman Chvanikov
64a2c6a041
Digest emails
6 years ago
Ekaterina Vaartis
53a3e61016
Fix priv/static/instance/static to be just instance/static
...
It was a misunderstanding
6 years ago
Ekaterina Vaartis
31cff7dbca
Document the pleroma.emoji task
6 years ago
Ekaterina Vaartis
1e311d6662
Add a newline at the end of pack in ls-packs
6 years ago
Ekaterina Vaartis
9bd5e2dec9
Make emoji default_manifest a config option
6 years ago
Ekaterina Vaartis
98d4b3de53
Treat the manifest path as a file if it doesn't start with http
6 years ago
Ekaterina Vaartis
aaaa428512
mix format
6 years ago
Ekaterina Vaartis
a141f0807b
Assume packs without emoji.txt only have emoji pictures, unhardcode
...
unhardcode: remove hardcoded /instance/static and actually use the config option
as it is used in other places.
packs without emoji.txt: these are now assumed to have .png files that
are all emojis, their names are used as shortcodes
6 years ago
Ekaterina Vaartis
eff725c3af
Add a task to generate emoji packs
6 years ago
Ekaterina Vaartis
c5b7286b5f
Move helper functions of emoji manager task down in the file
6 years ago
Ekaterina Vaartis
06db3ee1a8
Add MD5 verification for emoji pack source
6 years ago
Ekaterina Vaartis
af5494f942
Separate emoji pack file lists in a different file
...
The file should be in the same directory as the manifest file
6 years ago
Ekaterina Vaartis
21b39c54a3
Allow using a custom manfest and getting multiple packs at once
...
A custom manifest can be provided as a command-line options --manifest/-m
6 years ago
Ekaterina Vaartis
c26724cc55
Remove finmoji and add a way to download emojis in packs
...
These packs are stored in a git repo on pleroma gitlab
6 years ago
rinpatch
73b8c5387b
Add some logging
6 years ago
rinpatch
945325013a
remove query timeouts
6 years ago
rinpatch
099f89367e
Replace embedded object migration with a mix task
6 years ago
Alex S
fe511a6c65
Merge branch 'develop' into feature/788-separate-email-addresses
6 years ago
Alex S
fe13a1d78c
adding notify_email setting for trigger emails
6 years ago
Alex S
012bb5dcc9
renaming expire_at -> expires_at
...
keyword style change
6 years ago
Alex S
ce8d457132
little channges
6 years ago
Alex S
47b07cec49
token -> invite renaming
6 years ago
Alex S
0484f3a8b1
generating tokens with mix
6 years ago
Sachin Joshi
cd41584ac4
Generate permissive or restrictive robots.txt in the config generator
6 years ago
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
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
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
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
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
5f91d6b859
Fix toggle_deactivated to reactivate a deactivated user
6 years ago
rinpatch
fe2759bc9f
Attempt to resolve merge conflict
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