From c456a8bcfecc1da8f2c2dd08c0a6f6161eb92b16 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 13 Aug 2022 20:33:43 +0200 Subject: [PATCH] Release/1.179.3 (#1147) * Clean up * Release 1.179.3 --- CHANGELOG.md | 2 +- angular.json | 4 ++-- apps/client/src/app/core/auth.guard.ts | 4 ---- apps/client/src/app/pages/auth/auth-page.component.ts | 4 ---- apps/client/src/app/services/token-storage.service.ts | 2 -- package.json | 2 +- 6 files changed, 4 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc0b6c64..fd5423198 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 1.179.2 - 13.08.2022 +## 1.179.3 - 13.08.2022 ### Added diff --git a/angular.json b/angular.json index b503b47a7..8ee428695 100644 --- a/angular.json +++ b/angular.json @@ -87,11 +87,11 @@ "input": "", "output": "./../assets" }, - /*{ + { "glob": "index.html", "input": "apps/client/src/assets", "output": "./../" - },*/ + }, { "glob": "LICENSE", "input": "", diff --git a/apps/client/src/app/core/auth.guard.ts b/apps/client/src/app/core/auth.guard.ts index 591479742..6161df1f2 100644 --- a/apps/client/src/app/core/auth.guard.ts +++ b/apps/client/src/app/core/auth.guard.ts @@ -48,8 +48,6 @@ export class AuthGuard implements CanActivate { .get() .pipe( catchError(() => { - console.log(`TODO: canActivate error (${state.url})`); - if (utmSource === 'ios') { this.router.navigate(['/demo']); resolve(false); @@ -74,8 +72,6 @@ export class AuthGuard implements CanActivate { }) ) .subscribe((user) => { - console.log(`TODO: canActivate`, user); - if ( state.url.startsWith('/home') && user.settings.viewMode === ViewMode.ZEN diff --git a/apps/client/src/app/pages/auth/auth-page.component.ts b/apps/client/src/app/pages/auth/auth-page.component.ts index 69d14bc00..75702c096 100644 --- a/apps/client/src/app/pages/auth/auth-page.component.ts +++ b/apps/client/src/app/pages/auth/auth-page.component.ts @@ -24,15 +24,11 @@ export class AuthPageComponent implements OnDestroy, OnInit { ) {} public ngOnInit() { - console.log('TODO: Init AuthPageComponent'); - this.route.params .pipe(takeUntil(this.unsubscribeSubject)) .subscribe((params) => { const jwt = params['jwt']; - console.log(`TODO: ${jwt}`); - this.tokenStorageService.saveToken( jwt, this.settingsStorageService.getSetting(STAY_SIGNED_IN) === 'true' diff --git a/apps/client/src/app/services/token-storage.service.ts b/apps/client/src/app/services/token-storage.service.ts index a37d0b994..5980f56e1 100644 --- a/apps/client/src/app/services/token-storage.service.ts +++ b/apps/client/src/app/services/token-storage.service.ts @@ -22,8 +22,6 @@ export class TokenStorageService { } public saveToken(token: string, staySignedIn = false): void { - console.log('TODO: saveToken', token); - if (staySignedIn) { window.localStorage.setItem(TOKEN_KEY, token); } diff --git a/package.json b/package.json index 50e5fdc2c..de97dd67f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.179.2", + "version": "1.179.3", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {