Commit Graph

321 Commits (e174972cbb3f54447b7a8599fd96f9aeeed2c19c)

Author SHA1 Message Date
Sahat Yalkabov 78a3e681fb Success notification and redirect back to Twilio API page on successful text send. 2014-02-06 08:16:35 -05:00
Sahat Yalkabov a34dabbc68 Added Twilio POST route and controller 2014-02-06 08:09:54 -05:00
Sahat Yalkabov 41cfc59cda Added Twilio API template, controller and route; + twilio library. 2014-02-06 07:46:47 -05:00
Sahat Yalkabov f0422b5dd8 Added error messages when Steam ID is invalid or missing 2014-02-06 04:13:42 -05:00
Sahat Yalkabov f34e5d57dc Changed playerSummaries to playerSummary since i am only getting information a single Steam ID 2014-02-06 03:54:26 -05:00
Sahat Yalkabov 888f4eb86a Include free games in getOwnedGames, added custom thumbnail hover effect 2014-02-06 02:51:16 -05:00
Sahat Yalkabov 0774772dcd Add owned games thumbnails 2014-02-05 23:27:13 -05:00
Sahat Yalkabov 7fa3a401e6 Steam API code refactoring, added ownedGames API call 2014-02-05 19:29:46 -05:00
Karl Jakober 1687440588 removes steam auth, sets up steam api requests in async 2014-02-05 21:04:02 +00:00
Karl Jakober aa36ad9fbb Adds Steam auth and API 2014-02-05 16:37:48 +00:00
Sahat Yalkabov 1db2daa01a Removed redundant req.assert for empty email
Swapped code order of a few things in app.js to make it more consistent in terms of coding style
2014-02-02 05:38:38 -05: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 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
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 06b4c3bcd6 Geolocation parameter on tweets 2013-12-10 02:58:03 -05:00
Sahat Yalkabov 2bee6008df Twitter API search tweets by keyword example 2013-12-10 02:14:44 -05:00
Sahat Yalkabov bb577d43ea NYT Bestsellers are now displayed in a sortable table with isbn, author, title and description of each book 2013-12-10 01:27:58 -05:00
Sahat Yalkabov 3bd21d9244 New york times bestsellers api implementation 2013-12-10 01:16:03 -05:00
Sahat Yalkabov 2a9901d2c2 Added top albums images on last.fm page 2013-12-10 00:36:52 -05:00
Sahat Yalkabov b72599151a Async parallel to retrieve artist's top albums as well 2013-12-10 00:32:23 -05:00
Sahat Yalkabov 4d20bf653a Cleanup 2013-12-09 23:53:47 -05:00
Sahat Yalkabov 135550d38d Added similar artists, artist stats 2013-12-09 23:46:10 -05:00
Sahat Yalkabov c5d2513e43 Added artist information on last.fm example with bio, tags, cover image, and stats 2013-12-09 23:11:41 -05:00
Sahat Yalkabov e8f2a6688b Added forms for artist and track retrieval on last.fm page 2013-12-09 21:20:41 -05:00
Sahat Yalkabov d4af82594f Last.fm get artist info example 2013-12-09 19:26:26 -05:00
Sahat Yalkabov 67da9d7f01 Last.fm auth callbacks 2013-12-09 17:14:20 -05:00
Sahat Yalkabov e0c8820e85 Added last-fm package 2013-12-09 16:57:26 -05:00
Sahat Yalkabov 3128b9bb2f Added doc comments to api controllers 2013-12-08 19:07:22 -05:00
Sahat Yalkabov 37392d1fae passport isAuthorized middleware. Fixed headers already sent errors. 2013-12-08 04:30:43 -05:00
Sahat Yalkabov 7b4549b368 Refactoring 2013-12-08 03:58:56 -05:00
Sahat Yalkabov 51001a0497 Created isAuthorized middleware 2013-12-08 02:10:49 -05:00
Sahat Yalkabov 06db58c554 Added aviary api example 2013-12-08 01:49:18 -05:00
Sahat Yalkabov 58805c678d Code cleanup 2013-12-08 01:17:12 -05:00
Sahat Yalkabov ba75d67688 Display just the latest tumblr photo post instead of all posts 2013-12-08 01:02:33 -05:00
Sahat Yalkabov ced190e0af Added Photos on tumblr example api 2013-12-08 00:35:35 -05:00
Sahat Yalkabov 36048fe2f5 User currently logged in user's facebook id instead of hard coding 2013-12-07 22:52:25 -05:00
Sahat Yalkabov 4f9d7727c0 Added facebook friends to fb api example 2013-12-07 22:50:27 -05:00
Sahat Yalkabov eb070884be Added Get current user information from facebook example 2013-12-07 22:33:49 -05:00
Sahat Yalkabov d7f19c483f New github api page with a repo information example
Bootstrap-Well ios7 style
2013-12-07 21:44:26 -05:00
Sahat Yalkabov 44c90b7156 Finished web scraping example with a hacker news top 30 links 2013-12-07 18:53:00 -05:00
Sahat Yalkabov 5b99baa007 Web scraping page 2013-12-07 17:45:20 -05:00
Sahat Yalkabov 2ceb35d036 Rounded user thumbnail in navbar 2013-12-07 14:56:36 -05:00
Sahat Yalkabov ccefcf5107 Removed foursquare callbacks (no longer used) 2013-12-07 12:38:45 -05:00
Sahat Yalkabov 189d142b79 Refactoring 2013-12-07 12:37:59 -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 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 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 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 a3af42e529 Added comments indicating which routes each controller corresponds to 2013-12-06 22:22:12 -05:00
Sahat Yalkabov c7d3905fa2 Updated config.js references 2013-12-06 20:18:21 -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
Sahat Yalkabov 2fe97293c7 Added name field to contact form 2013-12-04 20:55:01 -05:00
Sahat Yalkabov 62022240d5 Updated foursquare venue detail UI 2013-12-04 19:59:03 -05:00
Sahat Yalkabov 73bcd2df93 dataTable jquery plugin for foursquare api tables 2013-12-04 16:01:09 -05:00
Sahat Yalkabov b00b99ba79 First and last name fields from signup controller have been removed 2013-12-04 14:12:06 -05:00
Sahat Yalkabov 12368eaf95 Updated passport local strategy to use usernameEmail usernameField 2013-12-04 07:58:17 -05:00
Sahat Yalkabov 83dbe9c197 Redirect back to previous page when visiting login and sign up pages after user is already logged in 2013-12-04 07:44:07 -05:00
Sahat Yalkabov 5843ac3341 Code cleanup 2013-12-01 14:02:06 -05:00
Sahat Yalkabov cdcf5c5d46 Sendgrid now uses a more sophisticated Email object rather than plain object (more flexible for sending complex email message) 2013-11-30 13:34:28 -05:00
Sahat Yalkabov b5fc4a024f Success and error flash messages on contact form 2013-11-30 13:27:43 -05:00
Sahat Yalkabov 2778848043 Added sendgrid package and user/pass to config 2013-11-30 13:14:29 -05:00
Sahat Yalkabov d023e2f997 contact form improvements, partial POST form implementation 2013-11-30 02:30:00 -05:00
Sahat Yalkabov 4629af3765 refactoring of foursquare controller and template variable names 2013-11-30 02:11:04 -05:00
Sahat Yalkabov 501eda8593 Displays a flash message with an actual error message when foursquare token is not present 2013-11-30 02:07:29 -05:00
Sahat Yalkabov 6f97fb69b6 Display user checkins 2013-11-30 01:52:29 -05:00
Sahat Yalkabov f60c0ea23b added venue detail api example 2013-11-30 01:12:28 -05:00
Sahat Yalkabov d147d12290 trending venues are now processing using async parallel, cleaned up the foursquare controller as well 2013-11-30 00:56:31 -05:00
Sahat Yalkabov 39be015061 Code style refactoring 2013-11-30 00:28:30 -05:00
Sahat Yalkabov d9e3f0aca5 Cleanup + FB SDK package 2013-11-26 23:54:36 -05:00
Sahat Yalkabov fc42d8afc1 Facebook API page and controller 2013-11-26 23:32:33 -05:00
Sahat Yalkabov c37a4d7ba8 Code cleanup 2013-11-26 23:15:13 -05:00
Sahat Yalkabov 86946bb385 Added tumblr api for node package 2013-11-26 14:09:26 -05:00
Sahat Yalkabov 7acbf133ae Check if user has a foursquare token, if not display a button to get a token, otherwise display results from foursquare API 2013-11-25 11:57:06 -05:00
Sahat Yalkabov cbe55a79e9 Added template, route and barebone controller for Tumblr api 2013-11-23 15:01:17 -05:00
Sahat Yalkabov 378760377b added successredirect on google auth 2013-11-22 10:23:54 -05:00
Sahat Yalkabov 3db05555f8 Added contact form 2013-11-20 08:03:10 -05:00
Sahat Yalkabov 5cc7bb4800 Passwords do not match validation on signup page 2013-11-20 02:38:03 -05:00
Sahat Yalkabov 0108b4349a Added temporary footer 2013-11-19 23:19:53 -05:00
Sahat Yalkabov a3b5ab6e59 Updated Foursquare template 2013-11-19 22:42:58 -05:00
Sahat Yalkabov ef327a4813 Added geoip-lite to get Lat/Long coordinates based on user's ip address 2013-11-19 21:31:31 -05:00
Sahat Yalkabov 31a347afb1 display trending locations on foursquare page 2013-11-19 19:39:10 -05:00
Sahat Yalkabov f2fae1318b Added trending venues foursquare example 2013-11-19 17:42:56 -05:00
Sahat Yalkabov 594760b2e6 Pass user to api and foursquare api pages 2013-11-19 17:29:07 -05:00
Sahat Yalkabov 13bd8ef9c8 Changed tokens type from Array to Mixed to allow overriding existing tokens instead of pushing duplicates 2013-11-19 17:28:04 -05:00
Sahat Yalkabov 58457a58e7 Updated foursquare routes for authorization. Now properly retrives the Oauth token when app is authorized 2013-11-19 17:09:05 -05:00
Sahat Yalkabov 7bef3acaf3 Added foursquare API 2013-11-19 16:20:18 -05:00
Sahat Yalkabov b7cba35637 Created API and contact page templates 2013-11-19 14:36:10 -05:00
Sahat Yalkabov cfd376c538 added routes and controllers (not yet implemented) for contact and api sample browser pages 2013-11-19 14:33:11 -05:00
Sahat Yalkabov 4b1ee53d1e Added account management page 2013-11-19 13:20:50 -05:00
Sahat Yalkabov 07ac42ae8d Added password validator and facebook routes 2013-11-19 01:34:09 -05:00
Sahat Yalkabov 222dbc8b40 simplified validation error flash message output 2013-11-18 19:27:35 -05:00
Sahat Yalkabov 4adfe6497b validation errors for signup page 2013-11-18 18:21:42 -05:00
Sahat Yalkabov e4b3b26b61 Added error flash message on login page 2013-11-18 18:00:05 -05:00
Sahat Yalkabov 01f027430b Fixed Login passport configuration, plus code refactoring and cleanup 2013-11-18 17:37:50 -05:00
Sahat Yalkabov bdfec9f914 added flash messages to login route 2013-11-18 14:37:01 -05:00
Sahat Yalkabov 8322b40095 Display welcome message and Logout link if the user is already logged in 2013-11-18 14:26:25 -05:00
Sahat Yalkabov 50816337aa Send validation error to client if any of the required fields are missing 2013-11-18 14:19:27 -05:00
Sahat Yalkabov 11b0ed44d2 Added validation check for duplicate emails 2013-11-18 14:07:59 -05:00
Sahat Yalkabov 94b04f54e5 Updated schema 2013-11-18 13:53:06 -05:00
Sahat Yalkabov 8e637defc5 Navbar active class added depending on which URL you visit 2013-11-18 01:13:52 -05:00
Sahat Yalkabov f291954f13 added post signup controller 2013-11-17 15:15:05 -05:00
Sahat Yalkabov 0ef54bc015 added a new fancy login form 2013-11-16 13:24:06 -05:00
Sahat Yalkabov 26ddda1c0a Cleanup and refactoring 2013-11-15 11:13:21 -05:00
Sahat Yalkabov e9add46005 Added bootsnip buttons 2013-11-14 15:29:06 -05:00
Sahat Yalkabov c322527b7c added signup template and logout route 2013-11-14 13:29:13 -05:00
Sahat Yalkabov d9dbb2b79d fixed login partial issue 2013-11-14 02:37:37 -05:00
Sahat Yalkabov d18ae61019 Finally got angular to work with express partial routes 2013-11-14 02:29:55 -05:00
Sahat Yalkabov 56eb0e4e73 converted all auth functions to use mongoose 2013-11-14 00:15:52 -05:00
Sahat Yalkabov fc5563c70c added sample app for client-server authentication 2013-11-13 17:16:06 -05:00
Sahat Yalkabov 06b777cce9 Cleanup 2013-11-13 15:49:58 -05:00