Sahat Yalkabov
1bb2fd89a4
Updated LinkedIn auth routes to include mandatory "state" object
2014-02-27 13:14:09 -05:00
Sahat Yalkabov
b09223a0cc
Add linkedin /auth and /auth/callback routes
2014-02-27 11:28:31 -05: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
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
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