1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/config/management
epriestley b62ecb7c11 Make UX for misspelled or delted config much less bad
Summary:
Fixes T3436. Currently, when installs have configuration options which we don't know about, we raise a fairly confusing/ambiguous message about the options being unknown. Instead:

  - Keep a list of previously valid (but now deleted) config, with explanatory reasons for what happened to it. Present this information, along with altenate wording ("Obsolete Config" instead of "Unknown Config") where applicable.
  - Show a list of all the places the config is defined.
  - Provide an active link to delete it from the web UI.
  - Provide a command to delete it from the CLI.
  - Allow `bin/config delete` to delete configuration options which no longer have a definition.

Test Plan:
  - Set an auth key in database, local and file config.
  - Walked through the setup issue, cleaning it up.
  - Set an invalid key and made sure I still got a reasonable error (this now has better cleanup instructions).

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T3436

Differential Revision: https://secure.phabricator.com/D6317
2013-06-26 11:01:19 -07:00
..
PhabricatorConfigManagementDeleteWorkflow.php Make UX for misspelled or delted config much less bad 2013-06-26 11:01:19 -07:00
PhabricatorConfigManagementGetWorkflow.php Increase the power of bin/config 2013-01-21 15:27:42 -08:00
PhabricatorConfigManagementListWorkflow.php Increase the power of bin/config 2013-01-21 15:27:42 -08:00
PhabricatorConfigManagementSetWorkflow.php Updated the CLI for smoother use 2013-04-29 12:14:54 -07:00
PhabricatorConfigManagementWorkflow.php Increase the power of bin/config 2013-01-21 15:27:42 -08:00