Commit Graph

130 Commits (862ddb33fd520281336707ca8b05ed076dfbebf6)

Author SHA1 Message Date
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
Brian Ridings f9ec861151 Added CSRF Protection to all form views 2014-02-03 13:02:24 -05:00
Brian Ridings 8c0981a1d6 Move session secret in to config Secret file 2014-02-03 12:21:41 -05:00
Brian Ridings 71f05d2852 Add CSRF Security measures on login forms
just added the csrf middleware
2014-02-03 11:33:55 -05:00
Sahat Yalkabov 924a030c2c Remove res.locals.cacheBuster. Cache busting is done by connect-assets 2014-02-03 09:28:38 -05:00
Sahat Yalkabov cb6781aec6 Removed less middleware 2014-02-03 09:16:20 -05:00
Sahat Yalkabov 81534d6d63 Add support for assets concatenation and minification 2014-02-03 08:34:12 -05:00
Sahat Yalkabov 7b0faee208 MongoDB connection error printed out with a console.error() instead of console.log() with a red method to make control the text color 2014-02-03 07:36:55 -05:00
Sahat Yalkabov 81d30c2925 Return 404 status on a 404 page. Fixed #33 2014-02-02 06:11:22 -05: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 e820b9f02a Separated routes into 3 categories with comments explaining which is which instead of having one giant block of routes. 2014-02-01 03:30:14 -05:00
Sahat Yalkabov 6557f72d99 Added isAuthorized middleware to twitter and facebook api example routes 2014-01-30 18:49:36 -05:00
Sahat Yalkabov 9f8caca659 Add auto_reconnect option to connect-mongo middleware 2014-01-30 04:22:35 -05:00
Sahat Yalkabov dae13cbc4b connect-mongo will now use existing mongoose connection 2014-01-30 04:19:33 -05:00
Sahat Yalkabov b9d3ec8463 Add friendlier variables for cache time: hour, day, week, month instead of a large number in milliseconds 2014-01-30 04:18:34 -05:00
Sahat Yalkabov d31c00ec0e Add mode type to console.log when you start the server 2014-01-30 04:16:50 -05:00
Sahat Yalkabov 9596ac6a48 Placed app = express() right after module dependencies 2014-01-30 03:05:14 -05:00
Sahat Yalkabov f80c890287 Added connect-mongo for storing sessions in the MongoDB database instead of memory 2014-01-29 00:49:09 -05:00
Sahat Yalkabov e541ac0793 Removed forgot_password URLs for now until they are implemented on another branch 2014-01-29 00:01:33 -05:00
Sahat Yalkabov cecba541a7 Add Forgot your password routes 2014-01-28 18:58:37 -05:00
Sahat Yalkabov 4e21e761ad Remove flash messages view helper 2014-01-28 17:50:23 -05:00
Ignazio Setti 28d3c14bca Make flash messages available to every view 2014-01-28 20:03:01 +01:00
Ignazio Setti be7f77dbb9 Replace connect-flash with express-flash 2014-01-28 20:02:45 +01:00
Sahat Yalkabov 96d9719daf Automatically try to re-connect to MongoDB every 5 seconds in case of connection.error 2014-01-28 12:48:29 -05:00
Sahat Yalkabov d7b1bfe032 Update mongodb connection error message 2014-01-28 12:43:17 -05:00
Sahat Yalkabov e9b2555e1b Refactor 404 middleware 2014-01-28 01:46:33 -05:00
Sahat Yalkabov 639db23067 Static content caching 2014-01-28 01:45:45 -05:00
Sahat Yalkabov 0a0cc7493b Enable express.compress() middleware for "gzipping" content 2014-01-28 00:24:55 -05:00
Sahat Yalkabov 6d54b34723 Remove unused 'fs' module 2014-01-28 00:02:16 -05:00
Tim Messerschmidt b023ea1c01 Adds PayPal routes for the SDK 2014-01-27 11:35:23 -08:00
Sahat Yalkabov 9a4c5450eb Added error validation express middleware 2014-01-23 22:18:35 -05:00
Sahat Yalkabov 41e85876e3 Remove MongoStore 2014-01-20 05:07: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 e8b1616e13 Replaced clusters in favor of mongoose connection error handler. Plus, Css updates. 2014-01-11 22:53:31 -05:00
Sahat Yalkabov b09c8f16ac Added clusters for zero-downtime.
mongoose auto-reconnect set to true.
2014-01-08 01:37:40 -05:00
Sahat Yalkabov 0e82538dd3 Updated 404 page.
Deleted 500 page.
Switched to default Connect's expressHandler() that show stack trace.
2014-01-08 00:41:56 -05:00
Sahat Yalkabov bd36575122 Refactoring 2014-01-07 18:15:14 -05:00
Sahat Yalkabov 5d5d546d25 Refactoring 2014-01-07 14:13:35 -05:00