Haelwenn (lanodan) Monnier
acb03d591b
Insert text representation of hashtags into object["hashtags"]
...
Includes a new mix task: pleroma.database fill_old_hashtags
4 years ago
Alex Gleason
80891e83d8
Merge remote-tracking branch 'upstream/develop' into registration-workflow
4 years ago
lain
8b8c317c0f
Merge branch 'fix/2336-mastoapi-ws-posts-dropping' into 'develop'
...
Fix mastoapi ws posts dropping
Closes #2336
See merge request pleroma/pleroma!3198
4 years ago
Alexander Strizhakov
cebe3c7def
Fix for dropping posts/notifs in WS when mix task is executed
...
- start oban in mix tasks with empty queues, plugins and crontab
- fix for update_users_following_followers_counts
- fix for removed logo.png
- typo in resend confirmation emails mix task docs
- fix for uploads mix task (start Majic.Pool)
- fix for creating user mix task (start :fast_html app)
4 years ago
rinpatch
7133c0c5ea
instance.gen: Warn that stripping exif requires exiftool
...
And default to no if it is not installed
Closes #2343
4 years ago
rinpatch
6aece536eb
instance.gen task: Only show files which will be actually overwritten
4 years ago
lain
ed76323776
Merge branch 'feature/configdb-mix-tasks' into 'develop'
...
Add mix tasks to give additional ConfigDB recovery and debugging options
See merge request pleroma/pleroma!3174
4 years ago
Mark Felder
93428d7c11
Print out settings that will be removed when specifying the group and key for consistency
...
Fix error message when specified key doesn't exist
4 years ago
Mark Felder
61494b5245
Formatting
4 years ago
feld
d817bae802
Apply 1 suggestion(s) to 1 file(s)
4 years ago
Ivan Tashkinov
e00c667145
[ #3174 ] Refactoring: ConfigDB fetching functions, ConfigDB tests.
...
Minor fixes.
4 years ago
Mark Felder
50aadc3d5c
shell_yes?/1 was not showing the correct message and always defaults to yes which is dangerous
4 years ago
Mark Felder
9dfda37821
More compact representation
4 years ago
Mark Felder
3bf5c5b015
Ensure deleting entire group prints out settings that will be removed before actually removing them
4 years ago
Mark Felder
696d39c3dc
Fix deleting an entire group. Also utilize Pleroma.ConfigDB.delete/1
4 years ago
Mark Felder
685e5c8509
Use Pleroma.ConfigDB.delete/1 instead of rolling our own
4 years ago
Mark Felder
4aad066091
Use Enum.any? to ensure we return true if there are results
4 years ago
Alexander Strizhakov
a02eb88396
config_db search methods
4 years ago
Mark Felder
7fd4f4908b
dump_key/2 no longer used
4 years ago
feld
60c4ac0f70
Apply 6 suggestion(s) to 1 file(s)
4 years ago
Mark Felder
95e908e4e2
Credo
4 years ago
Mark Felder
16bdc2bcd0
Make the --force flag for reset command consistent with the others and deduplicate db truncation
4 years ago
Mark Felder
e379ab8277
Add --force flag for delete and reset commands
...
Bunch of reorganization and consolidation
4 years ago
Mark Felder
20a911f9f7
Add comment for this mysterious behavior
4 years ago
Mark Felder
25fab7da69
No need for a separate functions here
4 years ago
Mark Felder
13947999ad
Use a callback strategy to short circuit the functions and print a nice error
4 years ago
Mark Felder
a7b5280b5b
Centralize check that configdb is enabled which now raises an exception
4 years ago
Mark Felder
53a5ec1952
Left public during debugging
4 years ago
Mark Felder
5135a8189f
Use inspect instead of faking the output
4 years ago
Mark Felder
6334ba9ad3
Remove unnecessary keys command
4 years ago
Mark Felder
d0cb73527f
Ensure scary warning starts on a new line
4 years ago
Mark Felder
0847e3e496
Print whole config when resetting and include a scary looking message.
4 years ago
Mark Felder
d4320e0daf
Both are really atoms
4 years ago
Mark Felder
4bdfcf1682
Transform strings to atoms for all cases, including when the atom is a module like Pleroma.Emails.Mailer
4 years ago
Mark Felder
3df115b2b0
Support atoms and strings as args to the mix task
...
Improve output. Show the user what will be deleted before the prompt.
4 years ago
Mark Felder
ae7d37de06
Fix deletion regression due to strings instead of atoms
...
Improve message after successful deletion
4 years ago
Mark Felder
c6a0ca2213
Improve dumping groups and specific keys; add prompts for delete and reset
4 years ago
Mark Felder
67437feafc
Support listing groups, listing keys in a group, and dumping the config based on group or specific key in that group
4 years ago
Mark Felder
a51da3c1d8
Sort output by group
...
Not the best sorting, but better than nothing.
4 years ago
Mark Felder
ada073f251
Rename keys to groups
4 years ago
Mark Felder
e8a4062d9d
Document how to delete individual configuration groups and completely reset the config without SQL
4 years ago
Mark Felder
a82ba66662
Better deletion message
4 years ago
Mark Felder
6dcc36baa9
Add mix tasks to give additional recovery and debugging options
...
- pleroma.config dump: prints the entire config as it would be exported to the filesystem
- pleroma.config dump KEY: prints the configuration under a specific ConfigDB key in the database
- pleroma.config keylist: lists the available keys in ConfigDB
- pleroma.config keydel KEY: deletes ConfigDB entry stored under the key
This should prevent the need for users to manually execute SQL queries.
4 years ago
Mark Felder
751712d970
Prevent mix tasks from spewing any internal logging unless DEBUG is in the env
...
e.g., DEBUG=1 mix pleroma.config migrate_from_db
4 years ago
Alex Gleason
30ed7b502f
Merge remote-tracking branch 'upstream/develop' into registration-workflow
4 years ago
Alexander Strizhakov
0a5b22bc3b
start limiters in mix tasks
4 years ago
feld
a1056aace1
Merge branch 'fix/mix-task-user-delete_activities' into 'develop'
...
Fix mix pleroma.user delete_activities task
See merge request pleroma/pleroma!3156
4 years ago
Mark Felder
97201f7e37
Need to start web_resp cache or mix task fails
4 years ago
Egor Kislitsyn
f69fe36ebf
Merge branch 'develop' into frontend-admin-api
4 years ago
Alex Gleason
9546c1444c
Merge remote-tracking branch 'upstream/develop' into registration-workflow
4 years ago