Commit Graph

156 Commits (9da5a60ff34810bff1ac5ce9f56fcada58d64180)

Author SHA1 Message Date
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 666a70a50e Update contact page to work with express-flash 2014-01-28 17:44:25 -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
Tim Messerschmidt cdb73bf261 Adds PayPal SDK sample to the API controller 2014-01-27 12:22:12 -08: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 213e3afead Display error message when Last.fm api key is missing 2014-01-26 21:00:02 -05:00
Sahat Yalkabov f36fa1e0f7 Add error message when NYT API KEY is missing 2014-01-26 20:19:41 -05:00
Sahat Yalkabov 12e456db51 Removed geo-ip, hard-coded NYC coordinates on the foursquare api example 2014-01-26 19:11:04 -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 f26940942a Mapped sengrid error message to msg property so it matches express-validator 2014-01-23 22:36:28 -05:00
Sahat Yalkabov 2c351ea6eb Update sendgrid email address 2014-01-23 22:25:13 -05:00
Sahat Yalkabov 76475411d1 Add contact page server side validation assertions using express-validator 2014-01-23 22:19:18 -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 38245ccfb8 Code cleanup, updated jsdoc comments, added missing "next" error middleware to api.js controllers. 2014-01-13 04:24:31 -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 7e1db0e455 Top level index layout renamed to home 2014-01-07 13:39:58 -05:00
Sahat Yalkabov 72dd19c6f9 Moved api browser template into api folder, renamed to index.jade 2014-01-07 13:39:25 -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 85320d216b Fixed hacker news api web scraping example 2014-01-03 05:12:00 -05:00
Sahat Yalkabov 30a610be2c Cleaned up code + simplified 2013-12-20 14:12:29 -05:00
Sahat Yalkabov 36ba87ce09 Code refactoring, renamed token to accessToken in user schema, comment strings for routes, 2013-12-20 13:48:33 -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 a9ac61e063 Renamed config.js to secrets.js to better match the intents of the file 2013-12-20 01:31:16 -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 7497f36c03 Append Name field to the bottom of email on contact form 2013-12-19 13:31:20 -05:00
Sahat Yalkabov 47e62c39ea Moved Last.fm key/secret into config.js 2013-12-19 13:25:52 -05:00
Sahat Yalkabov 0256770848 refactoring 2013-12-19 13:22:42 -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 0555681dd5 Pass user object to aviary, last.fm and NYT api pages 2013-12-12 23:05:44 -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