activityoverlord20
activityoverlord20 copied to clipboard
This is an update to activityOverlord.
Hi, I bought and read your book Sails in action. I created a simple app with Vue.js for client side rendering and routing and Sails.js as back end. I wrote...
Sign-up seems broken. Any email address gets rejected by validator. ``` err: Error (E_VALIDATION) :: 1 attribute is invalid at WLValidationError.WLError (/Users/armellarcier/Code/activityoverlord20/node_modules/sails/node_modules/waterline/lib/waterline/error/WLError.js:26:15) at new WLValidationError (/Users/armellarcier/Code/activityoverlord20/node_modules/sails/node_modules/waterline/lib/waterline/error/WLValidationError.js:20:28) at /Users/armellarcier/Code/activityoverlord20/node_modules/sails/node_modules/waterline/lib/waterline/query/validate.js:46:43 at allValidationsChecked...
it is difficult to know the version of external library that are used, and which files belongs to which library a solution MAY be to store them in a structured...
$http.put('/login', { email: $scope.loginForm.email, password: $scope.loginForm.password })
Fixes spelling error mostly. Also fixes a not well-formed HTML. Picture below is before the fix (note locations of 'circled' elements):  Basically, closing tags...
Put `lastLoggedIn` user attribute to good use! Updates `user.lastLoggedIn` upon logging in.
Handle any unexpected errors from user signup. Also, changed `==` to `===`
Fix the bug in which a user that doesn't exist will never log out (unless browser is closed, of course)
Problem: When there is a login error, the expected error is always true Solution: compare: sailsResponse.status === 404
Hi Irl, So, now that it is May 2015, I experienced a problem with the updated angular-toastr. I've found that starting with version 1.0, we must now use **angular-toastr.tpls.js** instead,...