folder settings bugfix

This commit is contained in:
Braun Patrik 2017-07-15 17:48:29 +02:00
parent 935f0e35ec
commit 1cf911e186
9 changed files with 61 additions and 62 deletions

View File

@ -50,6 +50,7 @@ export class AuthenticationMWs {
return next(); return next();
} }
public static async authenticate(req: Request, res: Response, next: NextFunction) { public static async authenticate(req: Request, res: Response, next: NextFunction) {
if (Config.Client.authenticationRequired === false) { if (Config.Client.authenticationRequired === false) {

View File

@ -1,4 +1,4 @@
import {Entity, Column, PrimaryGeneratedColumn, OneToMany, ManyToOne} from "typeorm"; import {Column, Entity, ManyToOne, OneToMany, PrimaryGeneratedColumn} from "typeorm";
import {DirectoryDTO} from "../../../../common/entities/DirectoryDTO"; import {DirectoryDTO} from "../../../../common/entities/DirectoryDTO";
import {PhotoEntity} from "./PhotoEntity"; import {PhotoEntity} from "./PhotoEntity";

View File

@ -18,7 +18,7 @@
*/ */
/** IE9, IE10 and IE11 requires all of the following polyfills. **/ /** IE9, IE10 and IE11 requires all of the following polyfills. **/
// import 'core-js/es6/symbol'; // import 'core-js/es6/symbol';
import 'core-js/es6/object'; import "core-js/es6/object";
// import 'core-js/es6/function'; // import 'core-js/es6/function';
// import 'core-js/es6/parse-int'; // import 'core-js/es6/parse-int';
// import 'core-js/es6/parse-float'; // import 'core-js/es6/parse-float';
@ -26,7 +26,7 @@
// import 'core-js/es6/math'; // import 'core-js/es6/math';
// import 'core-js/es6/string'; // import 'core-js/es6/string';
// import 'core-js/es6/date'; // import 'core-js/es6/date';
import 'core-js/es6/array'; import "core-js/es6/array";
// import 'core-js/es6/regexp'; // import 'core-js/es6/regexp';
// import 'core-js/es6/map'; // import 'core-js/es6/map';
// import 'core-js/es6/weak-map'; // import 'core-js/es6/weak-map';
@ -44,17 +44,14 @@ import "core-js/es7/reflect";
* Zone JS is required by Angular itself. * Zone JS is required by Angular itself.
*/ */
import "zone.js/dist/zone"; // Included with Angular CLI. import "zone.js/dist/zone"; // Included with Angular CLI.
/*************************************************************************************************** /***************************************************************************************************
* APPLICATION IMPORTS * APPLICATION IMPORTS
*/ */
/** /**
* Date, currency, decimal and percent pipes. * Date, currency, decimal and percent pipes.
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
*/ */
import 'intl'; // Run `npm install --save intl`. import "intl"; // Run `npm install --save intl`.
/** /**
* Need to import at least one locale-data with intl. * Need to import at least one locale-data with intl.
*/ */

View File

@ -17,7 +17,8 @@ exports.config = {
jasmineNodeOpts: { jasmineNodeOpts: {
showColors: true, showColors: true,
defaultTimeoutInterval: 30000, defaultTimeoutInterval: 30000,
print: function() {} print: function () {
}
}, },
onPrepare() { onPrepare() {
require('ts-node').register({ require('ts-node').register({