Commit Graph

266 Commits (38dc238e49caea9d9384cca466cc444904de3a13)

Author SHA1 Message Date
Sahat Yalkabov 007d561d88 Merge branch 'master' of https://github.com/mediaburst/hackathon-starter into mediaburst-master
* 'master' of https://github.com/mediaburst/hackathon-starter:
  Update README.md
  Using the newest clockwork npm package
  Removed commentted out lines from clockwork.jade
  Tweak to the clockwork view
  Adding clockwork SMS to the API mix

Conflicts:
	controllers/api.js
	package.json
2014-02-27 19:27:11 -05:00
Sahat Yalkabov 0318c1fa79 Added comments, removed console.log statements, paypal POST route refactoring 2014-02-27 18:05:10 -05:00
Sahat Yalkabov 53f89c355f Code formatting update 2014-02-27 17:39:18 -05:00
Sahat Yalkabov 582cdf4e54 A bunch of improvements to Linkedin API 2014-02-27 17:29:16 -05:00
Sahat Yalkabov c3320f28f2 Added LinkedIn API example that displays connection and your profile information 2014-02-27 16:51:38 -05:00
Sahat Yalkabov f80546bf84 Add LinkedIn API example route and controller 2014-02-27 14:48:09 -05:00
Matt Roberts a76a500d76 Using the newest clockwork npm package 2014-02-27 16:34:45 +00:00
Matt Roberts c78085b73e Merge remote-tracking branch 'upstream/master'
Conflicts:
	package.json
2014-02-27 16:16:13 +00:00
Amit K e08830df35 hack to exclude internal links from the list 2014-02-26 05:26:59 +05:30
Matt Roberts babcdd3afe Adding clockwork SMS to the API mix 2014-02-24 11:25:51 +00:00
Sahat Yalkabov 8aeae3f254 Add success flash notification on successful password reset 2014-02-18 03:46:03 -05:00
Sahat Yalkabov b7b74e70b3 Forgot password token changed to hex instead of base64 to avoid having slashes in the url 2014-02-18 03:33:32 -05:00
Sahat Yalkabov d24045ec49 Merged first and second waterfall steps into one, added var secrets = require('../config/secrets');, and mongoose query now returns a user object instead of an array 2014-02-18 03:29:25 -05:00
Sahat Yalkabov 4d434aef3c Converted reset controller from eventemitter to async.waterfall. 2014-02-18 03:21:05 -05:00
Sahat Yalkabov 6d3bdaeaea Added callback to async.waterfall for error handling via express middleware 2014-02-18 03:13:00 -05:00
Sahat Yalkabov 597f137a2b Update flash message on successful forgot password request 2014-02-18 02:38:31 -05:00
Sahat Yalkabov 71c5d31521 Update POST /forgot description. 2014-02-18 02:20:56 -05:00
Sahat Yalkabov ffb2c7b798 Refactor Forgot controller 2014-02-18 02:15:03 -05:00
Sahat Yalkabov 76a73943f4 Converted workflow/eventemitter code to async.waterfall 2014-02-18 02:09:51 -05:00
Sahat Yalkabov 6549966a16 Update error flash message, redirect to /forgot if no reset token is found or if it has expired 2014-02-18 01:40:03 -05:00
Sahat Yalkabov 58c3db89ed Updated expiration of password token to 1hr, updated flash message when email is sent with password recovery instructions. 2014-02-18 01:16:34 -05:00
Sahat Yalkabov 0777294c98 Updated email template text, removed token salting, changed token to base64 (24bit) 2014-02-17 20:45:29 -05:00
Sahat Yalkabov 7e06b6a161 Add title "Forgot Password" to GET /forgot template 2014-02-17 19:46:37 -05:00
Sahat Yalkabov 27dab8fbf9 Removed redundant check for empty email address field 2014-02-17 19:45:33 -05:00
Sahat Yalkabov de1ee38f8e Swapped Gmail for Sendgrid on Forgot Password Send Email workflow 2014-02-17 18:54:46 -05:00
Dan Stroot 1faf279877 Added complete password reset function 2014-02-17 10:00:43 -08:00
Sahat Yalkabov a987efea4a JavaScript style formatting.
SendGrid as a default service for contact form.
2014-02-11 10:46:39 -05:00
Sahat Yalkabov b6391fccf8 Merge branch 'add-mailgun' of https://github.com/leemunroe/hackathon-starter into leemunroe-add-mailgun
* 'add-mailgun' of https://github.com/leemunroe/hackathon-starter:
  Add Nodemailer and Mailgun option for contact form
2014-02-11 10:32:14 -05:00
Sahat Yalkabov f12422ba1b Removed todo comments 2014-02-11 08:40:33 -05:00
Sahat Yalkabov 6b7c68c1c6 Fixed a typo and added form placeholders 2014-02-11 08:24:04 -05:00
Sahat Yalkabov c5a73443d6 Fixed typo and added payment.target.user to recentPayments table in case User ID was used instead of email or phone # to send a payment 2014-02-11 08:14:50 -05:00
Sahat Yalkabov 241baf179a Add venmo recent payments 2014-02-11 08:04:20 -05:00
Sahat Yalkabov f0b5ad7bf0 Add isNumeric constraint on Venmo phone validation 2014-02-11 07:50:47 -05:00
Sahat Yalkabov d14732e0df Display Venmo error flash message on POST request if statusCode is not 200 2014-02-11 00:06:33 -05:00
Sahat Yalkabov 5275607bdb Add send a payment form, route and controller for Venmo API 2014-02-10 23:55:32 -05:00
Sahat Yalkabov 81d4712ba9 Get profile data in getVenmo controller 2014-02-10 20:59:39 -05:00
Sahat Yalkabov 45613cda0e Add venmo authorize, callback and API urls, and a corresponding Venmo controller 2014-02-10 19:21:54 -05:00
Lee Munroe c46c321978 Add Nodemailer and Mailgun option for contact form 2014-02-10 13:32:38 -08:00
Sahat Yalkabov e357b39700 Changed successful login message to "success" flash instead of "info" 2014-02-10 11:04:36 -05:00
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 69a52ad3e1 Add comment blocks for twilio get and post controllers 2014-02-06 08:40:14 -05:00
Sahat Yalkabov aec3807d34 Updated docs button group on Twilio page.
Pass err.message instead of error object to the middleware.
2014-02-06 08:33:37 -05:00
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