0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/models
Jason Williams 13229fb6a4 Fix server-side validation
Closes #3122
-Fix validation so that all values are validated instead
 of just values that evaluate to true.
-Ensure validation methods consistently return promises
 and switch error handling from try/catch to promise.catch
 to get rid of unhandled rejection warnings.
-Add 0 and 1 to list of acceptable values in boolean validation.
2014-07-03 14:57:57 +00:00
..
accesstoken.js oAuth 2014-06-30 14:58:10 +02:00
app.js Generate slug when adding new app. 2014-06-24 22:20:35 +00:00
appField.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
appSetting.js Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
base.js New setup screen for blog installation. 2014-06-26 15:31:44 +02:00
client.js oAuth 2014-06-30 14:58:10 +02:00
index.js oAuth 2014-06-30 14:58:10 +02:00
permission.js Sanitize models' attributes/options before passing to bookshelf/knex 2014-05-06 23:02:49 -04:00
post.js Fix limit parameter 2014-06-20 14:28:01 +02:00
refreshtoken.js oAuth 2014-06-30 14:58:10 +02:00
role.js Refactor API arguments 2014-05-15 10:41:05 +01:00
session.js Refactor API arguments 2014-05-15 10:41:05 +01:00
settings.js Fix server-side validation 2014-07-03 14:57:57 +00:00
tag.js Refactor API arguments 2014-05-15 10:41:05 +01:00
user.js Invite user API 2014-07-02 16:22:18 +02:00