aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/pleroma/config.ex
AgeCommit message (Collapse)Author
2022-02-25Copyright bump for 2022Sean King
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-03-23suggestionAlexander Strizhakov
2021-03-23migrating config to tmp folderAlexander Strizhakov
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-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-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-09-17Deny ConfigDB migration when deprecated settings foundMark Felder
2020-07-13LintMark Felder
2020-07-13Pick up env for both source and OTP installsMark Felder
2020-07-12Still allow passing the arg, but fallback to MIX_ENVMark Felder
2020-07-12Improve database config migration and add documentationMark Felder
2020-06-20Apply suggestion to lib/mix/tasks/pleroma/config.exlain
2020-06-17fixed migration the settings to DBMaksim Pechnikov
2020-06-16Mogrify args as custom tuplesAlexander Strizhakov
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-01-23restart config id after truncateAlexander Strizhakov