From 77c01fa230e05b0977b0232aeadc9a26a68fc1ba Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Thu, 26 May 2016 09:44:13 +0200 Subject: [PATCH] updating dependencies --- backend/config/Config.ts | 2 +- backend/middlewares/user/AuthenticationMWs.ts | 2 +- backend/model/mongoose/DatabaseManager.ts | 2 +- backend/routes/AdminRouter.ts | 2 +- backend/routes/ErrorRouter.ts | 2 +- backend/routes/GalleryRouter.ts | 2 +- backend/routes/PublicRouter.ts | 2 +- backend/routes/SharingRouter.ts | 2 +- backend/routes/UserRouter.ts | 2 +- backend/server.ts | 2 +- .../app/model/network/authentication.service.ts | 2 +- frontend/browser.d.ts | 2 +- frontend/main.ts | 2 +- package.json | 17 +++++++++-------- typings.json | 2 +- 15 files changed, 23 insertions(+), 22 deletions(-) diff --git a/backend/config/Config.ts b/backend/config/Config.ts index ab795094..cd0defb1 100644 --- a/backend/config/Config.ts +++ b/backend/config/Config.ts @@ -1,4 +1,4 @@ -/// +/// import {ConfigLoader} from "./../../backend/config/ConfigLoader"; import * as path from "path"; diff --git a/backend/middlewares/user/AuthenticationMWs.ts b/backend/middlewares/user/AuthenticationMWs.ts index c55fab17..52efd349 100644 --- a/backend/middlewares/user/AuthenticationMWs.ts +++ b/backend/middlewares/user/AuthenticationMWs.ts @@ -1,5 +1,5 @@ /// -/// +/// import {NextFunction, Request, Response} from "express"; import {Error, ErrorCodes} from "../../../common/entities/Error"; diff --git a/backend/model/mongoose/DatabaseManager.ts b/backend/model/mongoose/DatabaseManager.ts index dd2d46f1..502ac9f0 100644 --- a/backend/model/mongoose/DatabaseManager.ts +++ b/backend/model/mongoose/DatabaseManager.ts @@ -1,4 +1,4 @@ -/// +/// import * as mongoose from "mongoose"; import {Schema} from "mongoose"; diff --git a/backend/routes/AdminRouter.ts b/backend/routes/AdminRouter.ts index 31f3757a..b1913507 100644 --- a/backend/routes/AdminRouter.ts +++ b/backend/routes/AdminRouter.ts @@ -1,4 +1,4 @@ -/// +/// import {AuthenticationMWs} from "../middlewares/user/AuthenticationMWs"; import {UserRoles} from "../../common/entities/User"; diff --git a/backend/routes/ErrorRouter.ts b/backend/routes/ErrorRouter.ts index ed4d2f81..41803ccc 100644 --- a/backend/routes/ErrorRouter.ts +++ b/backend/routes/ErrorRouter.ts @@ -1,4 +1,4 @@ -/// +/// import {RenderingMWs} from "../middlewares/RenderingMWs"; import {Error, ErrorCodes} from "../../common/entities/Error"; diff --git a/backend/routes/GalleryRouter.ts b/backend/routes/GalleryRouter.ts index 6a8d3514..82871b13 100644 --- a/backend/routes/GalleryRouter.ts +++ b/backend/routes/GalleryRouter.ts @@ -1,4 +1,4 @@ -/// +/// import {AuthenticationMWs} from "../middlewares/user/AuthenticationMWs"; import {GalleryMWs} from "../middlewares/GalleryMWs"; diff --git a/backend/routes/PublicRouter.ts b/backend/routes/PublicRouter.ts index 406e0941..67cf5540 100644 --- a/backend/routes/PublicRouter.ts +++ b/backend/routes/PublicRouter.ts @@ -1,4 +1,4 @@ -/// +/// import * as _express from "express"; import {NextFunction, Request, Response} from "express"; diff --git a/backend/routes/SharingRouter.ts b/backend/routes/SharingRouter.ts index d7603099..97760027 100644 --- a/backend/routes/SharingRouter.ts +++ b/backend/routes/SharingRouter.ts @@ -1,4 +1,4 @@ -/// +/// import {AuthenticationMWs} from "../middlewares/user/AuthenticationMWs"; import {UserRoles} from "../../common/entities/User"; diff --git a/backend/routes/UserRouter.ts b/backend/routes/UserRouter.ts index 738650ae..df66c996 100644 --- a/backend/routes/UserRouter.ts +++ b/backend/routes/UserRouter.ts @@ -1,4 +1,4 @@ -/// +/// import {UserMWs} from "../middlewares/user/UserMWs"; import {UserRoles} from "../../common/entities/User"; diff --git a/backend/server.ts b/backend/server.ts index 90951b06..6befc1aa 100644 --- a/backend/server.ts +++ b/backend/server.ts @@ -1,4 +1,4 @@ -/// +/// import * as _express from "express"; import * as _session from "express-session"; diff --git a/frontend/app/model/network/authentication.service.ts b/frontend/app/model/network/authentication.service.ts index cf2581ea..686a0efc 100644 --- a/frontend/app/model/network/authentication.service.ts +++ b/frontend/app/model/network/authentication.service.ts @@ -23,7 +23,7 @@ export class AuthenticationService { this.OnUserChanged = new Event(); //picking up session.. - if (this.isAuthenticated() == false && Cookie.getCookie('pigallery2-session') != null) { + if (this.isAuthenticated() == false && Cookie.get('pigallery2-session') != null) { if (typeof ServerInject !== "undefined" && typeof ServerInject.user !== "undefined") { console.log("user found"); this.setUser(ServerInject.user); diff --git a/frontend/browser.d.ts b/frontend/browser.d.ts index b128e8cb..f5230794 100644 --- a/frontend/browser.d.ts +++ b/frontend/browser.d.ts @@ -1,4 +1,4 @@ -/// +/// /// /// /// diff --git a/frontend/main.ts b/frontend/main.ts index 264ab165..39f6419e 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -1,4 +1,4 @@ -/// +/// import {bootstrap} from "@angular/platform-browser-dynamic"; import {AppComponent} from "./app/app.component.ts"; diff --git a/package.json b/package.json index fd2306f2..6b2b3d53 100644 --- a/package.json +++ b/package.json @@ -34,23 +34,24 @@ "body-parser": "^1.15.1", "core-js": "^2.4.0", "debug": "^2.2.0", - "ejs": "^2.4.1", + "ejs": "^2.4.2", "exif-parser": "^0.1.9", "express": "^4.13.4", "express-session": "^1.13.0", + "html-webpack-plugin": "^2.17.0", "jimp": "^0.2.24", "mime": "^1.3.4", - "mongoose": "^4.4.16", + "mongoose": "^4.4.19", "morgan": "^1.7.0", - "ng2-cookies": "^0.1.5", + "ng2-cookies": "^0.1.9", "node-iptc": "^1.0.4", "optimist": "^0.6.1", "rxjs": "5.0.0-beta.6", "ts-loader": "^0.8.2", - "tslint": "^3.10.1", + "tslint": "^3.10.2", "typescript": "^1.8.10", - "typings": "^0.8.1", - "webpack": "^1.13.0", + "typings": "^1.0.4", + "webpack": "^1.13.1", "zone.js": "^0.6.12" }, "devDependencies": { @@ -75,12 +76,12 @@ "karma-phantomjs-launcher": "^1.0.0", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "1.7.0", - "mocha": "^2.4.5", + "mocha": "^2.5.3", "ng2lint": "0.0.10", "phantomjs-prebuilt": "^2.1.7", "protractor": "^3.2.2", "raw-loader": "0.5.1", - "remap-istanbul": "^0.6.2", + "remap-istanbul": "^0.6.4", "rimraf": "^2.5.2", "source-map-loader": "^0.1.5", "style-loader": "^0.13.0", diff --git a/typings.json b/typings.json index 8d37456f..9b63bfd4 100644 --- a/typings.json +++ b/typings.json @@ -1,7 +1,7 @@ { "name": "PiGallery2", "version": false, - "ambientDependencies": { + "globalDependencies": { "body-parser": "registry:dt/body-parser#0.0.0+20160317120654", "chai": "registry:dt/chai#3.4.0+20160317120654", "core-js": "registry:dt/core-js#0.0.0+20160317120654",