summaryrefslogtreecommitdiff
path: root/lib/mix/tasks
AgeCommit message (Collapse)Author
2021-02-03Improve OpenAPI spec and deploy it to api.pleroma.socialrinpatch
Too many changes in OpenAPI spec to describe each one, but basically it is tag fixes, bringing consitency to operation summaries and fixing some incorrect information.
2021-01-15Remove toggle_confirmation; require explicit state changeMark Felder
Also cosmetic changes to make the code clearer
2021-01-15Change user.confirmation_pending field to user.is_confirmedMark Felder
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-12-28Revert "Merge branch 'features/hashtag-column' into 'develop'"Haelwenn
This reverts merge request !2824
2020-12-28pleroma.database fill_old_hashtags: Add month_limit argumentHaelwenn (lanodan) Monnier
2020-12-22Insert text representation of hashtags into object["hashtags"]Haelwenn (lanodan) Monnier
Includes a new mix task: pleroma.database fill_old_hashtags
2020-12-17Merge remote-tracking branch 'upstream/develop' into registration-workflowAlex Gleason
2020-12-16Merge branch 'fix/2336-mastoapi-ws-posts-dropping' into 'develop'lain
Fix mastoapi ws posts dropping Closes #2336 See merge request pleroma/pleroma!3198
2020-12-14Fix for dropping posts/notifs in WS when mix task is executedAlexander Strizhakov
- 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)
2020-12-12instance.gen: Warn that stripping exif requires exiftoolrinpatch
And default to no if it is not installed Closes #2343
2020-12-12instance.gen task: Only show files which will be actually overwrittenrinpatch
2020-12-07Merge branch 'feature/configdb-mix-tasks' into 'develop'lain
Add mix tasks to give additional ConfigDB recovery and debugging options See merge request pleroma/pleroma!3174
2020-12-07Print out settings that will be removed when specifying the group and key ↵Mark Felder
for consistency Fix error message when specified key doesn't exist
2020-12-07FormattingMark Felder
2020-12-07Apply 1 suggestion(s) to 1 file(s)feld
2020-12-06[#3174] Refactoring: ConfigDB fetching functions, ConfigDB tests.Ivan Tashkinov
Minor fixes.
2020-12-04shell_yes?/1 was not showing the correct message and always defaults to yes ↵Mark Felder
which is dangerous
2020-12-04More compact representationMark Felder
2020-12-04Ensure deleting entire group prints out settings that will be removed before ↵Mark Felder
actually removing them
2020-12-04Fix deleting an entire group. Also utilize Pleroma.ConfigDB.delete/1Mark Felder
2020-12-04Use Pleroma.ConfigDB.delete/1 instead of rolling our ownMark Felder
2020-12-04Use Enum.any? to ensure we return true if there are resultsMark Felder
2020-12-03config_db search methodsAlexander Strizhakov
2020-12-03dump_key/2 no longer usedMark Felder
2020-12-03Apply 6 suggestion(s) to 1 file(s)feld
2020-12-03CredoMark Felder
2020-12-02Make the --force flag for reset command consistent with the others and ↵Mark Felder
deduplicate db truncation
2020-12-02Add --force flag for delete and reset commandsMark Felder
Bunch of reorganization and consolidation
2020-12-02Add comment for this mysterious behaviorMark Felder
2020-12-02No need for a separate functions hereMark Felder
2020-12-02Use a callback strategy to short circuit the functions and print a nice errorMark Felder
2020-12-02Centralize check that configdb is enabled which now raises an exceptionMark Felder
2020-12-02Left public during debuggingMark Felder
2020-12-02Use inspect instead of faking the outputMark Felder
2020-12-02Remove unnecessary keys commandMark Felder
2020-12-02Ensure scary warning starts on a new lineMark Felder
2020-12-02Print whole config when resetting and include a scary looking message.Mark Felder
2020-12-02Both are really atomsMark Felder
2020-12-02Transform strings to atoms for all cases, including when the atom is a ↵Mark Felder
module like Pleroma.Emails.Mailer
2020-12-02Support atoms and strings as args to the mix taskMark Felder
Improve output. Show the user what will be deleted before the prompt.
2020-12-02Fix deletion regression due to strings instead of atomsMark Felder
Improve message after successful deletion
2020-12-02Improve dumping groups and specific keys; add prompts for delete and resetMark Felder
2020-12-02Support listing groups, listing keys in a group, and dumping the config ↵Mark Felder
based on group or specific key in that group
2020-12-02Sort output by groupMark Felder
Not the best sorting, but better than nothing.
2020-12-02Rename keys to groupsMark Felder
2020-12-02Document how to delete individual configuration groups and completely reset ↵Mark Felder
the config without SQL
2020-12-02Better deletion messageMark Felder
2020-12-02Add mix tasks to give additional recovery and debugging optionsMark Felder
- 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.
2020-11-21Merge remote-tracking branch 'upstream/develop' into registration-workflowAlex Gleason