Commit Graph

1525 Commits (91dd9c6c183b9a7f700b73078e912019f476c0c6)

Author SHA1 Message Date
Sahat Yalkabov cbc9ec3506 removed admin middleware, also provider is now dynamically set on unauthorized page button url 2013-12-07 02:08:53 -05:00
Sahat Yalkabov b0a745cc3b Added links on Tumblr page 2013-12-07 02:07:57 -05:00
Sahat Yalkabov 388599ac28 Tumblr now also redirects to unauthorized page if no token found 2013-12-07 01:46:49 -05:00
Sahat Yalkabov 2c15e7774c Created a separate page to which user gets redirected if no token is present (foursquare) 2013-12-07 01:39:11 -05:00
Sahat Yalkabov 3871e7c0ec Inline tumblr callback instead of placing it in passportConfig 2013-12-07 01:05:19 -05:00
Sahat Yalkabov 435b006967 Refactoring tumblr authorization 2013-12-07 00:50:37 -05:00
Sahat Yalkabov c9dcfd6292 code cleanup 2013-12-07 00:34:23 -05:00
Sahat Yalkabov 2a35732fe8 Changed tumblr route middleware to passport.authorize 2013-12-07 00:30:28 -05:00
Sahat Yalkabov f60960be79 Added new tumblr token field 2013-12-07 00:29:57 -05:00
Sahat Yalkabov 6751de2c26 Added passReqToCallback to tumblr oauth strategy to get currently logged in user 2013-12-07 00:29:32 -05:00
Sahat Yalkabov e05f2eaf7f Tumblr OAuth strategy 2013-12-06 22:49:40 -05:00
Sahat Yalkabov f332cf8500 Updated some controller names
Added tumblr oauth routes
Tumblr Get token button
2013-12-06 22:23:05 -05:00
Sahat Yalkabov a3af42e529 Added comments indicating which routes each controller corresponds to 2013-12-06 22:22:12 -05:00
Sahat Yalkabov 074352ceed Multiple vars instead of 1 var per multiple libs 2013-12-06 22:21:46 -05:00
Sahat Yalkabov a0a0c0e4ae Minor corrections 2013-12-06 21:41:59 -05:00
Sahat Yalkabov 2ee6aa4f9f changed folder back to css 2013-12-06 21:41:33 -05:00
Sahat Yalkabov 6c17d8e0ce Removed mongodb and added a basic demo jasmine spec 2013-12-06 20:59:23 -05:00
Sahat Yalkabov e5b0e27c38 Added Express error-handler plus other changes borrowed from the express 3.4.6 skeleton 2013-12-06 20:34:45 -05:00
Sahat Yalkabov c7d3905fa2 Updated config.js references 2013-12-06 20:18:21 -05:00
Sahat Yalkabov 17d7188b23 Added passport-oauth package 2013-12-06 20:17:35 -05:00
Sahat Yalkabov f86b9b7be4 First jasmine test 2013-12-06 20:17:14 -05:00
Sahat Yalkabov 06a616c00f css folder is now stylesheets 2013-12-06 20:16:59 -05:00
Sahat Yalkabov b2bb32332d Cleaned up and refactored passport configuration file 2013-12-06 20:16:39 -05:00
Sahat Yalkabov 4887ec5dd8 Nonexisting routes will simply return an error page instead of redirecting to home page 2013-12-06 03:07:45 -05:00
Sahat Yalkabov 09c1f649fc Removed page-header class 2013-12-06 02:56:56 -05:00
Sahat Yalkabov 410fdf00f5 UI Cleanup, Added new API links 2013-12-06 02:53:12 -05:00
Sahat Yalkabov 4a2702860e New shiny sendgrid logo on contact page 2013-12-06 02:19:57 -05:00
Sahat Yalkabov d4df06f2d9 client-side input required on email and passwords fields 2013-12-06 02:04:20 -05:00
Sahat Yalkabov bc2fa13d22 Sparse indexing on username field to prevent duplicate null username error 2013-12-06 02:03:27 -05:00
Sahat Yalkabov 62a87a8542 Facebook strategy refactoring 2013-12-06 01:51:50 -05:00
Sahat Yalkabov 8de4c4369e Refactored github strategy 2013-12-06 01:44:45 -05:00
Sahat Yalkabov 67636b2462 Refactored twitter strategy 2013-12-06 01:24:12 -05:00
Sahat Yalkabov 52827c7c9b removed picture selectors on account page 2013-12-06 01:14:10 -05:00
Sahat Yalkabov 1affaa4859 Added active class to profile name in navbar if current page is account management 2013-12-06 00:58:41 -05:00
Sahat Yalkabov bc433afe9f Display user profile picture on navbar next to the name 2013-12-06 00:54:22 -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 ce3a8c78ec Added gender to user schema and radio buttons to account page 2013-12-06 00:18:39 -05:00
Sahat Yalkabov 9c389c1afb Profile data defaults to empty string to prevent value of undefined on account page 2013-12-06 00:03:07 -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 69f41c296a Schema refactoring 2013-12-05 23:46:47 -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
Sahat Yalkabov 0c842286ef Added google token, modified admin attribute, email is now username and old email is just plain email, no longer a primary key, first name and last name are just name now 2013-12-05 22:42:20 -05:00
Sahat Yalkabov 3e41002cf2 Tweaks to paddings 2013-12-05 20:51:05 -05:00
Sahat Yalkabov cdc7e2f0c2 Increased margin on page-header 2013-12-05 19:11:06 -05:00
Sahat Yalkabov e82160ede9 Major account page redesign 2013-12-05 16:42:30 -05:00
Sahat Yalkabov 65b44f7000 Added jasny bootstrap package 2013-12-05 16:00:21 -05:00
Sahat Yalkabov c3853fb46c Fixed css issue with nav-tabs (non-justified) 2013-12-05 15:29:53 -05:00
Sahat Yalkabov e70d02625f Reduced span column of contact form 2013-12-05 15:05:07 -05:00