0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/data
Jason Williams ef1858b6c7 Fix validations on user settings page
Closes #3271
- Change validations on both server and client to allow the
  Website field to be empty or a valid URL.
- Add new schema validation helper isEmptyOrURL.
- Remove duplicate call to UserValidator in the save action
  of the SettingsUser controller.
- User.last_login and User.created_at are already Moment objects
  so Moment#fromNow can be called on them directly.
2014-07-14 18:12:57 +00:00
..
export Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
fixtures Refactoring fixtures 2014-07-14 15:52:47 +01:00
import Refactor API arguments 2014-05-15 10:41:05 +01:00
migration Refactoring fixtures 2014-07-14 15:52:47 +01:00
utils Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
validation Fix validations on user settings page 2014-07-14 18:12:57 +00:00
versioning Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
default-settings.json Add app permission checking to canThis 2014-04-16 18:06:39 +02:00
schema.js Fix validations on user settings page 2014-07-14 18:12:57 +00:00