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
Sahat Yalkabov
a5e8329769
app.js cleanup, cache defaults to 1 year for maxAge
2014-10-27 19:38:52 -07:00
Sahat Yalkabov
093bbfd679
pass session object directly into connect-mongo
2014-10-18 15:27:08 -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