Ghost/core/server
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
..
api Settings: Admin User Tab 2014-07-14 08:52:06 -04:00
apps correct settings.edit call signature for installedApps 2014-05-24 08:21:17 +02:00
config Move creation of knex instance to config module 2014-07-10 08:00:24 -04:00
controllers Turn on update notifications for Ember admin 2014-07-11 15:02:26 +00:00
data Fix validations on user settings page 2014-07-14 18:12:57 +00:00
errors Invite user API 2014-07-02 16:22:18 +02:00
helpers Turn on update notifications for Ember admin 2014-07-11 15:02:26 +00:00
middleware Move setup to API 2014-07-11 14:17:09 +02:00
models Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
permissions Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
routes Move setup to API 2014-07-11 14:17:09 +02:00
storage Update when.js dependency to version 3.2.3 2014-06-16 04:11:22 +00:00
utils Invite user API 2014-07-02 16:22:18 +02:00
views Turn on update notifications for Ember admin 2014-07-11 15:02:26 +00:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
bookshelf-session.js Upgrade to Express 4.0 2014-06-08 17:41:25 -04:00
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js Only reference model properties through the models module. 2014-07-10 08:04:32 -04:00
mail.js Update when.js dependency to version 3.2.3 2014-06-16 04:11:22 +00:00
middleware.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js Move creation of knex instance to config module 2014-07-10 08:00:24 -04:00
xmlrpc.js Add distinct error classes 2014-05-09 12:11:29 +02:00