mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
updating dependencies
This commit is contained in:
parent
eb63ac6a58
commit
77c01fa230
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import {ConfigLoader} from "./../../backend/config/ConfigLoader";
|
||||
import * as path from "path";
|
||||
|
@ -1,5 +1,5 @@
|
||||
///<reference path="../customtypings/ExtendedRequest.d.ts"/>
|
||||
///<reference path="../../../typings/main.d.ts"/>
|
||||
///<reference path="../../../typings/index.d.ts"/>
|
||||
|
||||
import {NextFunction, Request, Response} from "express";
|
||||
import {Error, ErrorCodes} from "../../../common/entities/Error";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../../typings/main.d.ts"/>
|
||||
///<reference path="../../../typings/index.d.ts"/>
|
||||
|
||||
import * as mongoose from "mongoose";
|
||||
import {Schema} from "mongoose";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import {AuthenticationMWs} from "../middlewares/user/AuthenticationMWs";
|
||||
import {UserRoles} from "../../common/entities/User";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import {RenderingMWs} from "../middlewares/RenderingMWs";
|
||||
import {Error, ErrorCodes} from "../../common/entities/Error";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import {AuthenticationMWs} from "../middlewares/user/AuthenticationMWs";
|
||||
import {GalleryMWs} from "../middlewares/GalleryMWs";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import * as _express from "express";
|
||||
import {NextFunction, Request, Response} from "express";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import {AuthenticationMWs} from "../middlewares/user/AuthenticationMWs";
|
||||
import {UserRoles} from "../../common/entities/User";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
///<reference path="../../typings/index.d.ts"/>
|
||||
|
||||
import {UserMWs} from "../middlewares/user/UserMWs";
|
||||
import {UserRoles} from "../../common/entities/User";
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../typings/main.d.ts"/>
|
||||
///<reference path="../typings/index.d.ts"/>
|
||||
|
||||
import * as _express from "express";
|
||||
import * as _session from "express-session";
|
||||
|
@ -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);
|
||||
|
2
frontend/browser.d.ts
vendored
2
frontend/browser.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
/// <reference path="../typings/browser.d.ts"/>
|
||||
/// <reference path="../typings/index.d.ts"/>
|
||||
/// <reference path="../common/common-classes.d.ts" />
|
||||
/// <reference path="../node_modules/tslint/lib/tslint.d.ts" />
|
||||
/// <reference path="../node_modules/@angular/core/index.d.ts" />
|
||||
|
@ -1,4 +1,4 @@
|
||||
///<reference path="../typings/browser.d.ts"/>
|
||||
///<reference path="./browser.d.ts"/>
|
||||
|
||||
import {bootstrap} from "@angular/platform-browser-dynamic";
|
||||
import {AppComponent} from "./app/app.component.ts";
|
||||
|
17
package.json
17
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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user