From 7c98600e82c34506fdf1aace2c78628b4e90faa7 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Wed, 2 Jul 2014 01:36:34 -0400 Subject: [PATCH 1/5] added modern theme screenshot --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dbb103f484..a771794b55 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,19 @@ if for example you are only interested in **Sign in with Google** authentication Chances are you do not need all authentication methods or API examples. As of **Hackathon Starter 2.1** it is possible to selectively check which authentication methods you need by running `node setup.js`. -

Flatly Bootstrap Theme

+

Modern Theme

+ +![](https://lh6.googleusercontent.com/-KQTmCFNK6MM/U7OZpznjDuI/AAAAAAAAERc/h3jR27Uy1lE/w1366-h1006-no/Screenshot+2014-07-02+01.32.22.png) + +

Flatly Bootstrap Theme

![](https://lh5.googleusercontent.com/-oJ-7bSYisRY/U1a-WhK_LoI/AAAAAAAAECM/a04fVYgefzw/w1474-h1098-no/Screen+Shot+2014-04-22+at+3.08.33+PM.png) -

Default Theme

+

Default Theme

![](https://lh6.googleusercontent.com/-J4_ttNHnWZo/U5IivU_0-XI/AAAAAAAAEIg/XikKjaSdReU/w1320-h986-no/Screenshot+2014-06-06+16.20.41.png) -

Hackathon Starter Generator

+

Hackathon Starter Generator

![](https://lh4.googleusercontent.com/-ncBLUzq6czE/U3KkYE0UXsI/AAAAAAAAEEM/YsZeIqOlZg8/w1288-h874-no/Screenshot+2014-05-13+19.01.15.png) From 20f2619c51e876da6a1957518a614832735b08f7 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 4 Jul 2014 01:16:50 -0400 Subject: [PATCH 2/5] Updated IBM Bluemix info --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a771794b55..6aa79d9a99 100644 --- a/README.md +++ b/README.md @@ -1171,7 +1171,7 @@ Add this to `package.json`, after *name* and *version*. This is necessary becaus -- Go to [Codename: Bluemix](http://bluemix.net) to signup for the free beta, or login with your *IBM id* +- Go to [Codename: Bluemix](http://bluemix.net) to signup for the free trial, or login with your *IBM id* - Install [Cloud Foundry CLI](https://github.com/cloudfoundry/cli) - Navigate to your **hackathon-starter** directory and then run `cf push [your-app-name] -m 512m` command to deploy the application - **Note:** You must specify a unique application name in place of `[your-app-name]` From e3c0895213aee58457613072baf69abd8dfffe18 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 5 Jul 2014 01:34:20 -0400 Subject: [PATCH 3/5] Update package.json --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index e2310bcf19..ffa51afca0 100644 --- a/package.json +++ b/package.json @@ -16,21 +16,21 @@ "cheerio": "^0.17.0", "clockwork": "^0.1.1", "compression": "^1.0.8", - "connect-assets": "^3.0.1", + "connect-assets": "^3.0.2", "connect-mongo": "^0.4.1", - "cookie-parser": "^1.3.1", + "cookie-parser": "^1.3.2", "csso": "^1.3.11", "errorhandler": "^1.1.1", "express": "^4.4.4", "express-flash": "^0.0.2", - "express-session": "^1.5.1", + "express-session": "^1.6.1", "express-validator": "^2.3.0", "fbgraph": "^0.2.10", "github-api": "^0.7.0", "instagram-node": "^0.4.0", "jade": "^1.3.1", "lastfm": "^0.9.0", - "less": "^1.7.2", + "less": "^1.7.3", "lodash": "^2.4.1", "lusca": "^1.0.0", "method-override": "^2.0.2", @@ -49,13 +49,13 @@ "passport-oauth": "^1.0.0", "passport-twitter": "^1.0.2", "request": "^2.36.0", - "stripe": "^2.6.3", + "stripe": "^2.7.3", "tumblr.js": "^0.0.4", "twilio": "^1.6.0", "twit": "^1.1.15", "uglify-js": "^2.4.14", "validator": "^3.13.0", - "yui": "^3.17.1" + "yui": "^3.17.2" }, "devDependencies": { "blessed": "0.0.33", From e281278753dbbc8efc6cc0df9b2f730b3f7f411e Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 11 Jul 2014 11:58:04 -0400 Subject: [PATCH 4/5] Update package.json --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ffa51afca0..70afb938d1 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "cookie-parser": "^1.3.2", "csso": "^1.3.11", "errorhandler": "^1.1.1", - "express": "^4.4.4", + "express": "^4.5.1", "express-flash": "^0.0.2", "express-session": "^1.6.1", "express-validator": "^2.3.0", @@ -29,11 +29,11 @@ "github-api": "^0.7.0", "instagram-node": "^0.4.0", "jade": "^1.3.1", - "lastfm": "^0.9.0", + "lastfm": "^0.9.2", "less": "^1.7.3", "lodash": "^2.4.1", "lusca": "^1.0.0", - "method-override": "^2.0.2", + "method-override": "^2.1.0", "mongoose": "^3.8.12", "morgan": "^1.1.1", "node-foursquare": "^0.2.1", @@ -48,13 +48,13 @@ "passport-local": "^1.0.0", "passport-oauth": "^1.0.0", "passport-twitter": "^1.0.2", - "request": "^2.36.0", + "request": "^2.37.0", "stripe": "^2.7.3", "tumblr.js": "^0.0.4", "twilio": "^1.6.0", "twit": "^1.1.15", "uglify-js": "^2.4.14", - "validator": "^3.13.0", + "validator": "^3.16.1", "yui": "^3.17.2" }, "devDependencies": { From efc5980c26dbc43ef9c5cabefde39302f4322abf Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Sat, 12 Jul 2014 00:23:43 -0400 Subject: [PATCH 5/5] Fixed express-session deprecation warning. Fixes #169 --- app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.js b/app.js index 4a0ad061b7..6638981534 100644 --- a/app.js +++ b/app.js @@ -81,6 +81,8 @@ app.use(expressValidator()); app.use(methodOverride()); app.use(cookieParser()); app.use(session({ + resave: true, + saveUninitialized: true, secret: secrets.sessionSecret, store: new MongoStore({ url: secrets.db,