Marcin Kuzminski
c081457f2c
repo-schemas: refactor repository schemas and use it in API update/create functions.
...
- now it uses consistent way of serializing/validating data
- parent groups are consistenty handled by name parameter
- fixes #4133
- fixes other problems with bad data
- changes API slightly
- validation chain ordering, first permissions, then uniqness.
Helps prevent resource disvovery
2016-11-24 23:48:10 +01:00
Marcin Kuzminski
1943efb1b8
validation-schema: added StringBoolean type and IPAddr validator.
2016-11-23 15:22:02 +01:00
Marcin Kuzminski
ba9bf581d6
validators: fix glob validator raise statement misplacement.
2016-11-21 23:33:09 +01:00
Daniel Dourvaris
9b38ba8c8f
reviewers: add repo review rule models and expose default
...
reviewers route for pull requests via ajax, refs #1131
2016-09-06 16:02:35 +03:00
Daniel Dourvaris
b51406ec1d
account: convert change password form to colander schema and fix bug
...
where user could use same password as before when changing
password, fixes #2264
2016-08-05 06:55:35 +03:00
Marcin Kuzminski
198c6fda61
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
2016-07-31 20:11:12 +02:00