Commit Graph

267 Commits (db2ad0db21357fb2f575dd78ec549240cdcb5575)

Author SHA1 Message Date
Michael Q Larson e85cf837cd add new relic require to app.js and fix challenges.js 2014-11-17 21:16:32 -08:00
Michael Q Larson fdff7d1691 add learn-to-code 2014-11-11 17:52:03 -08:00
Michael Q Larson 24d57f0eaf possibly prevent app from crashing 2014-11-10 10:29:16 -08:00
Sahat Yalkabov 887462f734 removed helperContext property from connect assets 2014-11-08 20:54:55 -08:00
Sahat Yalkabov 2dcea49f70 user model cleanup 2014-11-08 20:42:48 -08:00
Michael Q Larson ca0c71b77f redirects to correct challenge upon authentication 2014-11-06 23:01:01 -08:00
Michael Q Larson e36a98cf2a ajax seems to work and we now seem to track completion of challenges 2014-11-06 22:47:35 -08:00
Michael Q Larson 86d433aaba closer to getting ajax to work 2014-11-06 17:38:47 -08:00
Michael Q Larson 944f4d6a1d purge old views and now using simple numeric system 2014-11-06 16:27:18 -08:00
Michael Q Larson 80fbe1dee4 fix nonprofit form and fix some mistakes in video links 2014-11-04 14:57:00 -08:00
Michael Q Larson 97ddb9bc21 add a lot of content to challenges 2014-11-03 12:32:02 -08:00
Michael Q Larson 5a2de8c47b start grooming the challenges 2014-11-02 12:24:37 -08:00
Michael Q Larson de29af1e8a update views and add routes to app.js 2014-11-02 09:07:40 -08:00
Michael Q Larson ff5f12cda8 update views and remove additional cruft 2014-11-01 18:07:59 -07:00
Sahat Yalkabov a5e8329769 app.js cleanup, cache defaults to 1 year for maxAge 2014-10-27 19:38:52 -07:00
Michael Q Larson 029daa816f rename non-profit to nonprofit 2014-10-26 09:32:57 -07:00
Michael Q Larson 2387e00ca8 update non-profit route 2014-10-26 09:22:53 -07:00
Michael Q Larson 942b154f70 fix minor problems and use s3 2014-10-20 16:25:24 -07:00
Michael Q Larson fa76554a5b finish setting up layouts 2014-10-20 15:35:42 -07:00
Michael Q Larson 972c52ca47 add named routes to courses 2014-10-20 13:28:23 -07:00
Michael Q Larson 8f3c7b44c5 start creating partials and views 2014-10-20 12:37:48 -07:00
Sahat Yalkabov 093bbfd679 pass session object directly into connect-mongo 2014-10-18 15:27:08 -07:00
Michael Q Larson 5dbbb935a5 thrashing on the routes a bit 2014-10-18 00:46:30 -07:00
Michael Q Larson 58761e7c2b start adding challenge routes and controllers 2014-10-18 00:01:26 -07:00
Michael Q Larson d9e68463be completely purge websockets 2014-10-17 19:23:53 -07:00
Michael Q Larson 0ec7a052d1 rip out chat component 2014-10-17 19:10:53 -07:00
Michael Q Larson 88bc8e14f8 got username in scope in variable 2014-10-16 18:04:32 -07:00
Michael Q Larson 093bc73375 views are wired up 2014-10-16 17:04:28 -07:00
Michael Q Larson 4a36e58756 allow access to both production and development databases 2014-10-15 15:57:51 -07:00
Michael Q Larson a380cf2564 add oauth strategies back in 2014-10-15 14:26:34 -07:00
Michael Q Larson 254740c065 socket io is connecting 2014-10-13 18:00:37 -07:00
Michael Q Larson a5985cd73d start building out views 2014-10-13 14:14:51 -07:00
Michael Q Larson 05c31ba15d firechat and firepad installed but not fully working 2014-10-12 01:51:55 -07:00
Sahat Yalkabov af616e0e21 Use __dirname for connect-assets paths configuration. Fixes #172 2014-07-28 02:15:24 -04:00
Sahat Yalkabov efc5980c26 Fixed express-session deprecation warning. Fixes #169 2014-07-12 00:23:43 -04:00
Sahat Yalkabov 738713fe02 fixed body parser warning 2014-07-02 01:12:11 -04:00
Sahat Yalkabov 04c5262bea windows-cr line endings commit 2014-07-01 17:05:49 -04:00
Sahat Yalkabov 1b3a6716e6 CSRF middleware refactoring 2014-06-06 15:57:04 -04:00
Sahat Yalkabov 4c7b0d275b Reverted back to express 3 style routes 2014-06-06 15:23:28 -04:00
Sahat Yalkabov 1807e9edc7 Updated comments, added missing semicolons, moved compress() middleware up one level above connect-assets 2014-06-06 14:58:30 -04:00
Sahat Yalkabov bdc495782a Use new Express 4 routes notation 2014-06-05 20:21:03 -04:00
Sahat Yalkabov f5e41d53d2 Fixed a returnTo bug
Bumped version to 2.1.4
2014-06-05 11:08:30 -04:00
Sahat Yalkabov 0049a879cd Minor updates, added comments for custom express middleware 2014-06-01 11:52:28 -04:00
Sahat Yalkabov 0f3eb15d72 Added "Compose New Tweet" form on Twitter API demo 2014-05-29 18:29:16 -04:00
Sahat Yalkabov 754789e085 Added yahoo api example 2014-05-13 01:35:46 -04:00
Sahat Yalkabov 4381743358 Removed underscore "require" from app.js. No longer used. 2014-05-06 01:21:48 -04:00
Sahat Yalkabov 9e90ccb3e6 CSRF refactoring 2014-05-06 00:44:30 -04:00
Sahat Yalkabov 5ce1cb4444 Removed unused POST route for instagram api example 2014-04-30 00:02:05 -04:00
Sahat Yalkabov fc55e385e4 Added Instagram authentication 2014-04-22 15:00:27 -04:00
Sahat Yalkabov 0440635fb0 Code refactoring 2014-04-21 16:51:43 -04:00
Sahat Yalkabov 4621ecd56c Removed connect-favicon middleware 2014-04-21 16:42:22 -04:00
Sahat Yalkabov 347b757782 Removed 404 error handler and 404 page 2014-04-21 16:41:26 -04:00
Sahat Yalkabov 429fc5a8ac Code cleanup, updated README packages table 2014-04-18 14:37:06 -04:00
Sahat Yalkabov d5f5bd185d Swapped connect-csrf for lusca and added conditional csrf 2014-04-18 14:29:30 -04:00
Sahat Yalkabov 05f825d3c8 Removed PayPal API 2014-04-14 17:58:49 -04:00
Sahat Yalkabov 2dae0ee0ab Only two Stripe routes: GET and POST /api/stripe 2014-04-14 16:58:08 -04:00
Sahat Yalkabov b9fee1cb35 Merge branch 'master' of https://github.com/tmcpro/hackathon-starter
# By Tyler McIntyre
# Via Tyler McIntyre
* 'master' of https://github.com/tmcpro/hackathon-starter:
  Added to Readme file
  Stripe API finished
  stripe API added

Conflicts:
	package.json
	views/api/index.jade
2014-04-14 16:15:46 -04:00
Sahat Yalkabov 8fc3899def Updated caching time variables 2014-04-12 14:17:37 -04:00
Sahat Yalkabov 2103163428 Upgraded Hackathon Starter to Express 4 2014-04-12 12:43:07 -04:00
Tyler McIntyre 5c51aab076 Stripe API finished 2014-03-31 17:14:15 -04:00
Tyler McIntyre dfc5a2c435 stripe API added 2014-03-31 16:00:51 -04:00
Sahat Yalkabov 0151ff130f Removed favicon middleware
For reference: https://github.com/visionmedia/express/issues/1979
2014-03-30 15:43:53 -04:00
Sahat Yalkabov 963c07e999 Merge pull request #115 from ammit/patch-1
Minor Updates
2014-03-28 19:08:01 -04:00
Brian Ridings 05f7191c19 Change token to _csrf 2014-03-28 10:37:16 -04:00
Ammit b6f3dc9620 use app.get('env') 2014-03-28 03:12:57 +05:30
Ammit e659018576 Update returnTo middleware
by default express doesn't do case sensitive routing, so `/login` & '/LogIn' are treated same.
2014-03-28 03:03:04 +05:30
Sahat Yalkabov 727983e1ae Added environment variables. Fixes #100 2014-03-13 16:33:56 -04:00
Sahat Yalkabov b82cef30b7 Redirect back to original destination after a successful sign-in via OAuth 2014-03-08 14:58:27 -05:00
Sahat Yalkabov c2cda88433 Merged forgot/reset controllers into user controller 2014-03-07 14:08:56 -05:00
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 933c79e15b Added isAuthenticated and isAuthorized on LinkedIn 2014-02-27 17:56:46 -05:00
Sahat Yalkabov f80546bf84 Add LinkedIn API example route and controller 2014-02-27 14:48:09 -05:00
Sahat Yalkabov 1bb2fd89a4 Updated LinkedIn auth routes to include mandatory "state" object 2014-02-27 13:14:09 -05:00
Matt Roberts a76a500d76 Using the newest clockwork npm package 2014-02-27 16:34:45 +00:00
Sahat Yalkabov b09223a0cc Add linkedin /auth and /auth/callback routes 2014-02-27 11:28:31 -05:00
Matt Roberts c78085b73e Merge remote-tracking branch 'upstream/master'
Conflicts:
	package.json
2014-02-27 16:16:13 +00:00
Sahat Yalkabov 88b3da68c6 Changed mongoStore db property to url 2014-02-26 02:35:57 -05:00
Sahat Yalkabov 5dddb91621 Code refactoring 2014-02-25 22:39:28 -05:00
Weston Platter 3dc900b725 bring in basic controller testing. NOTE: changes solve Mongo Session issue,
Error: Error setting TTL index on collection : sessions
    at /Users/weston/git/hackathon-starter/node_modules/connect-mongo/lib/connect-mongo.js:161:23
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1404:28
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1542:30
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:159:22
    at commandHandler (/Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:678:48)
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1806:9
2014-02-24 23:15:55 -07:00
Matt Roberts babcdd3afe Adding clockwork SMS to the API mix 2014-02-24 11:25:51 +00:00
Sahat Yalkabov 43df13b12a Update connect-assets to v3.0-beta1 2014-02-21 17:29:06 -05:00
Sahat Yalkabov bde061debf Removed user _id from reset route. Use only token value. It's random enough that you don't need to include user id as well. 2014-02-17 20:46:21 -05:00
Dan Stroot 1faf279877 Added complete password reset function 2014-02-17 10:00:43 -08:00
Sahat Yalkabov 4bc0642a48 Removed console.log from venmo success callback 2014-02-11 08:31:56 -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
Cheng Zhou ed70466c43 introduce configurable login providers to selectively show/hide different login methods 2014-02-06 21:52:49 -06: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 5aadeed73a Re-arranged routes, added comment blocks 2014-02-05 19:57:29 -05:00
Sahat Yalkabov a2f4ffbf2b Merge branch 'master' of https://github.com/KarlJakober/hackathon-starter into KarlJakober-master
* 'master' of https://github.com/KarlJakober/hackathon-starter:
  removes steam auth, sets up steam api requests in async
2014-02-05 17:13:43 -05:00
Karl Jakober 1687440588 removes steam auth, sets up steam api requests in async 2014-02-05 21:04:02 +00:00
Sahat Yalkabov 20621d535d Merge branch 'master' of https://github.com/KarlJakober/hackathon-starter into KarlJakober-master
* 'master' of https://github.com/KarlJakober/hackathon-starter:
  Adds Steam auth and API
2014-02-05 12:26:23 -05:00
Karl Jakober aa36ad9fbb Adds Steam auth and API 2014-02-05 16:37:48 +00:00
Dan Stroot 7121cbfe83 Better approach to Twitter email and Facebook location 2014-02-04 08:23:52 -08:00
Brian Ridings ba1916c7d3 Removed extra app.use(express.csrf()); 2014-02-03 13:31:04 -05:00
Brian Ridings 8f0e61c26b Removed dynamicHelpers comment 2014-02-03 13:27:06 -05:00
Brian Ridings ae2c6f7dce Merge pull request #1 from GeneralZero/master
Changed Views to accept CSRF token
2014-02-03 10:10:43 -08:00
Brian Ridings c99c8fe1f8 Changed Views to accept CSRF token 2014-02-03 13:08:34 -05:00