Commit Graph

7675 Commits (24673b6ca35c5600f0d2a8f5b8b89a402f387bf6)

Author SHA1 Message Date
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
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
4 years ago
Mark Felder ae7d37de06 Fix deletion regression due to strings instead of atoms
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
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
4 years ago
Alexander Strizhakov 6aadb1cb40
digest algorithm is taken from header
4 years ago
Mark Felder 751712d970 Prevent mix tasks from spewing any internal logging unless DEBUG is in the env
4 years ago
Alexander Strizhakov 5eef4988bf
fix for elixir 1.11
4 years ago
lain 67b15cc033 Search: Save detected pg version in a persistent term.
4 years ago
lain f9a4cf2097 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch
4 years ago
feld ecd1ef8cb5 Merge branch 'fix/2302-report-duplicates' into 'develop'
4 years ago
lain e4289792d2 Linting.
4 years ago
lain 9a1e5f5d48 Search: Change search method based on detected pg version
4 years ago
lain a407e33c78 Application: Save postgres version in the environment
4 years ago
Alexander Strizhakov 0a5b22bc3b
start limiters in mix tasks
4 years ago
feld 79a509ee61 Merge branch '2301-users-search-discoverability-fix' into 'develop'
4 years ago
feld cd1b4155d5 Merge branch 'oban-jobs-to-simple-tasks' into 'develop'
4 years ago
Ivan Tashkinov b27d8f7437 Merge remote-tracking branch 'remotes/origin/develop' into 2301-users-search-discoverability-fix
4 years ago
lain 5e04f4156c Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch
4 years ago
Ivan Tashkinov e164c37139 [#2301] Proper handling of `User.is_discoverable`: users appear in in-service search but are hidden from external services like search bots.
4 years ago
Haelwenn c8d11c3064 Merge branch '2317-old-reset-tokens' into 'develop'
4 years ago
lain 8b90d62506 Search: Only skip ordering the rum index.
4 years ago
lain a60242464e Search: Add option to search with the websearch function
4 years ago
Ivan Tashkinov fcad3e716a [#2301] Quick fix: users with is_discoverable == false (default!) are included in search results.
4 years ago