gists: use colander schema to validate input data.

- brings consistent validation acros API and web
- use nicer and stricter schemas to validate data
- fixes #4118
This commit is contained in:
Marcin Kuzminski 2016-07-31 20:11:12 +02:00
parent 95e32917c7
commit 198c6fda61
27 changed files with 773 additions and 237 deletions

View file

@ -34,8 +34,6 @@ from rhodecode.lib.vcs.exceptions import RepositoryError
log = logging.getLogger(__name__)
class OAttr(object):
"""
Special Option that defines other attribute, and can default to them