Commit Graph

22582 Commits (1d02702a462dd61a578f169cc47db521de8cd2c8)

Author SHA1 Message Date
Sahat Yalkabov dd81615dbc Updated routes to use custom foursquare strategy instead of node-foursquare 2013-12-07 12:32:34 -05:00
Sahat Yalkabov 4da392f736 Added oauth2 foursquare passport strategy 2013-12-07 12:30:54 -05:00
Sahat Yalkabov 3c610a5b18 Fixed signup page exceptions 2013-12-07 03:17:48 -05:00
Sahat Yalkabov 2da4c99cd3 Simple tumblr api demo that displays my blog name 2013-12-07 02:50:07 -05:00
Sahat Yalkabov d3fb6a30a4 Modified the rest of strategies to use new token schema 2013-12-07 02:21:20 -05:00
Sahat Yalkabov 73d26e4a7f Send user instead of req.user 2013-12-07 02:18:26 -05:00
Sahat Yalkabov c03d62da08 Changed tokens from an object of objects to just an array, Tumblr strategy now pushes a new token in addition to tokenSecret as well as token kind 2013-12-07 02:17:46 -05:00
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