1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 01:12:41 +01:00
phorge-phorge/src/applications/config
epriestley 7e0558612b Fix excessively harsh validation of certain complex configuration
Summary:
See IRC. We're supposed to repair configuration, but if custom validators throw a generic `Exception` or use `PhutilTypeSpec` to do a check, we may explode way harder than we intend to.

Instead, soften these exceptions into validation exceptions so we repair configuration, raise a setup issue, and continue.

Test Plan: {F1059609}

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D14998
2016-01-11 14:20:11 -08:00
..
application Add dialog to purge opcode/data caches 2015-09-10 14:19:02 -07:00
check Swap S3 to first-party client 2016-01-10 07:55:27 -08:00
controller Drop "-pro" suffix and "editpro" URIs for EditEngine in Maniphest 2015-12-08 17:56:59 -08:00
custom Allow installs to customize project icons 2016-01-08 14:01:53 -08:00
editor Allow bin/config to affect database configuration and migrate between local and database configuration 2014-10-08 16:15:05 -07:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
issue Extend from Phobject 2015-06-15 18:02:27 +10:00
json Improve UI formatting of some configuration values 2015-12-05 09:58:47 -08:00
management Improve bin/config set errors for complex values 2015-09-08 08:49:33 -07:00
module Fix Versions page 2015-12-05 22:34:03 +00:00
option Fix excessively harsh validation of certain complex configuration 2016-01-11 14:20:11 -08:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
response Clean up a text string 2015-02-13 07:03:09 -08:00
schema Implement query and policy rules for subprojects 2015-12-23 14:38:35 -08:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
view Swap S3 to first-party client 2016-01-10 07:55:27 -08:00