Commit Graph

70 Commits (0d4f2ae8fd79fb244eb496f97d1a11e744434e6a)

Author SHA1 Message Date
Sahat Yalkabov 0d4f2ae8fd Merge branch 'master' of https://github.com/JahlomP/hackathon-starter into JahlomP-master
* 'master' of https://github.com/JahlomP/hackathon-starter:
  Replaced hardcoded success flash with express-flash
2014-02-10 10:58:31 -05:00
Sahat Yalkabov a456508e60 Update jsdoc strings 2014-02-07 10:21:18 -05:00
Sahat Yalkabov f3bcafb42f Remove mongoose reference 2014-02-07 09:57:05 -05:00
Precious Jahlom Agboado de3d62b66b Replaced hardcoded success flash with express-flash 2014-02-07 08:04:22 +00:00
Sahat Yalkabov 246b51a793 Removed redundant express-validator validations, notEmpty() 2014-02-01 03:53:50 -05:00
Sahat Yalkabov 7396a6d7ab Changed updatePassword controller validation to use express-validator instead of custom if statements 2014-02-01 03:39:11 -05:00
Sahat Yalkabov fdecdc5b53 Flash notification on OAuth Provider Unlink 2014-02-01 00:04:54 -05:00
Sahat Yalkabov e177ac10de Updated message if user with that email already exists 2014-01-31 22:18:57 -05:00
Sahat Yalkabov 967ab7fe0a Updating email on profile page will correctly update it in the databse. Fixes issue #25 2014-01-30 17:29:06 -05:00
Sahat Yalkabov 45d0c35f9d Update flash notifications on login, profile, signup pages to work with new express-flash 2014-01-28 17:41:13 -05:00
Sahat Yalkabov 940d52bd43 Fix [Object object] displayed on profile update success instead of the actual message text. 2014-01-27 07:58:32 -05:00
Sahat Yalkabov 11f9c12b1e Add Login route express validations 2014-01-23 22:47:21 -05:00
Sahat Yalkabov be73f9c62f Add express validators to signup page, replaces custom written if statements 2014-01-23 22:39:59 -05:00
Sahat Yalkabov a5eff415f0 POST signup controller updated username to email field during new User creation. 2014-01-18 01:56:55 -05:00
Sahat Yalkabov 3ed327e2e8 Updated jsdoc comments 2014-01-13 04:34:54 -05:00
Sahat Yalkabov 3dc90ac05b Updated error messages 2014-01-12 15:31:17 -05:00
Sahat Yalkabov bd36575122 Refactoring 2014-01-07 18:15:14 -05:00
Sahat Yalkabov e2184ae4ee Refactoring + improved validation on POST signup 2014-01-07 17:45:42 -05:00
Sahat Yalkabov 5559f2f8a5 Updated token unlinking 2014-01-07 14:35:23 -05:00
Sahat Yalkabov 5d5d546d25 Refactoring 2014-01-07 14:13:35 -05:00
Sahat Yalkabov 41f6b1c5f0 Renamed template account to profile 2014-01-07 13:37:13 -05:00
Sahat Yalkabov 6ad1073f7c Consolidated account login and signup templates under account folder 2014-01-07 13:36:44 -05:00
Sahat Yalkabov f660cd5129 Declared Passport helper middleware so you don't have to explicitly pass user: req.user explicitly to templates 2014-01-03 18:19:11 -05:00
Sahat Yalkabov 30a610be2c Cleaned up code + simplified 2013-12-20 14:12:29 -05:00
Sahat Yalkabov 2f0fe0eb27 Add authentication middleware to github route.
Removed old ios7 signup login page for now.
2013-12-20 02:39:51 -05:00
Sahat Yalkabov 6c00a31588 Comments on User controller routes 2013-12-20 01:59:05 -05:00
Sahat Yalkabov a6d762b071 Code refactoring 2013-12-20 00:50:44 -05:00
Sahat Yalkabov 010fc0c9fb Error handling via middleware in routes 2013-12-19 20:17:15 -05:00
Sahat Yalkabov 11e8385b77 Error handlers for some routes on users controller 2013-12-19 13:40:43 -05:00
Sahat Yalkabov efa84dba1b Removed unusued code and images 2013-12-19 13:16:32 -05:00
Sahat Yalkabov b98bf72107 Created username availability controller 2013-12-18 15:00:33 -05:00
Sahat Yalkabov 6e708d2998 Refactoring 2013-12-15 14:11:57 -05:00
Sahat Yalkabov 273bd0afcc Refactoring and code cleanup 2013-12-15 14:02:41 -05:00
Sahat Yalkabov 7175005e2c Google linking and unlinking works successfully now 2013-12-13 01:12:59 -05:00
Sahat Yalkabov 9de1748bc2 Updated URLs 2013-12-13 00:50:37 -05:00
Sahat Yalkabov bedd03c420 Unlink provider: delete its tokens and provider id 2013-12-13 00:49:46 -05:00
Sahat Yalkabov 2da4d4ab1c Remove user's token and provider ID on oauth unlink 2013-12-13 00:27:51 -05:00
Sahat Yalkabov f0bbf2985c Implemented change password functionality 2013-12-12 21:47:34 -05:00
Sahat Yalkabov debb395326 Switched the order of confirm password and ToS validation, in addition removed logical OR for checking username/password and assigning an empty string if username or password is undefined 2013-12-12 20:57:47 -05:00
Sahat Yalkabov e0bdccbd2c Oauth linking and unlinking controller and route placeholders 2013-12-12 14:05:35 -05:00
Sahat Yalkabov ef967cafda Linked profiles are determined dynamically 2013-12-12 14:01:19 -05:00
Sahat Yalkabov 6870bcc098 Implemented Delete account feature 2013-12-12 12:41:29 -05:00
Sahat Yalkabov 11296bccd4 Added terms of service checkbox validation 2013-12-12 00:26:57 -05:00
Sahat Yalkabov eb070884be Added Get current user information from facebook example 2013-12-07 22:33:49 -05:00
Sahat Yalkabov 3c610a5b18 Fixed signup page exceptions 2013-12-07 03:17:48 -05:00
Sahat Yalkabov 93abd14e28 Updating gender radio button now correctly updates the database value 2013-12-06 00:25:49 -05:00
Sahat Yalkabov 4d92ad9d16 User profile information is now successfully saved and retrieved back on account profile page 2013-12-05 23:53:14 -05:00
Sahat Yalkabov 44a985f838 Updated email input fields to username id and name 2013-12-05 23:24:12 -05:00
Sahat Yalkabov 1ddd639592 Client-side required password and email fields 2013-12-05 23:12:43 -05:00
Sahat Yalkabov 3ecd3ad148 Simplified local strategy signup process, email is now a username 2013-12-05 22:48:09 -05:00