Browse Source
Feature/remove version from client (#2522)
* Remove version
* Update changelog
pull/2525/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
3 additions and
13 deletions
-
CHANGELOG.md
-
apps/client/src/app/app.component.html
-
apps/client/src/app/app.component.ts
-
apps/client/src/app/components/admin-overview/admin-overview.component.ts
-
apps/client/src/app/pages/about/overview/about-overview-page.component.ts
-
apps/client/src/app/pages/about/overview/about-overview-page.html
-
apps/client/src/environments/environment.prod.ts
-
apps/client/src/environments/environment.ts
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the error message in the activities import for `csv` files |
|
|
|
- Removed the application version from the client |
|
|
|
- Allowed to edit today’s historical market data in the asset profile details dialog of the admin control panel |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
@ -165,7 +165,6 @@ |
|
|
|
<div class="row text-center"> |
|
|
|
<div class="col"> |
|
|
|
© 2021 - {{ currentYear }} <a href="https://ghostfol.io">Ghostfolio</a> |
|
|
|
{{ version }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
@ -17,7 +17,6 @@ import { DeviceDetectorService } from 'ngx-device-detector'; |
|
|
|
import { Subject } from 'rxjs'; |
|
|
|
import { filter, takeUntil } from 'rxjs/operators'; |
|
|
|
|
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { DataService } from './services/data.service'; |
|
|
|
import { TokenStorageService } from './services/token-storage.service'; |
|
|
|
import { UserService } from './services/user/user.service'; |
|
|
@ -60,7 +59,6 @@ export class AppComponent implements OnDestroy, OnInit { |
|
|
|
public routerLinkResources = ['/' + $localize`resources`]; |
|
|
|
public showFooter = false; |
|
|
|
public user: User; |
|
|
|
public version = environment.version; |
|
|
|
|
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; |
|
|
|
import { MatCheckboxChange } from '@angular/material/checkbox'; |
|
|
|
import { environment } from '@ghostfolio/client/../environments/environment'; |
|
|
|
import { AdminService } from '@ghostfolio/client/services/admin.service'; |
|
|
|
import { CacheService } from '@ghostfolio/client/services/cache.service'; |
|
|
|
import { DataService } from '@ghostfolio/client/services/data.service'; |
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; |
|
|
|
import { environment } from '@ghostfolio/client/../environments/environment'; |
|
|
|
import { DataService } from '@ghostfolio/client/services/data.service'; |
|
|
|
import { UserService } from '@ghostfolio/client/services/user/user.service'; |
|
|
|
import { User } from '@ghostfolio/common/interfaces'; |
|
|
@ -20,7 +19,6 @@ export class AboutOverviewPageComponent implements OnDestroy, OnInit { |
|
|
|
public routerLinkFaq = ['/' + $localize`faq`]; |
|
|
|
public routerLinkFeatures = ['/' + $localize`features`]; |
|
|
|
public user: User; |
|
|
|
public version = environment.version; |
|
|
|
|
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
|
|
@ -35,9 +35,6 @@ |
|
|
|
title="Contributors to Ghostfolio" |
|
|
|
>contributors</a |
|
|
|
>. |
|
|
|
<ng-container *ngIf="version"> |
|
|
|
This instance is running Ghostfolio {{ version }}. |
|
|
|
</ng-container> |
|
|
|
<ng-container *ngIf="hasPermissionForSubscription" |
|
|
|
>Check the system status at |
|
|
|
<a href="https://status.ghostfol.io" title="Ghostfolio Status" |
|
|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
export const environment = { |
|
|
|
lastPublish: '{BUILD_TIMESTAMP}', |
|
|
|
production: true, |
|
|
|
stripePublicKey: '', |
|
|
|
version: `v${require('../../../../package.json').version}` |
|
|
|
stripePublicKey: '' |
|
|
|
}; |
|
|
|
|
|
@ -5,8 +5,7 @@ |
|
|
|
export const environment = { |
|
|
|
lastPublish: null, |
|
|
|
production: false, |
|
|
|
stripePublicKey: '', |
|
|
|
version: 'dev' |
|
|
|
stripePublicKey: '' |
|
|
|
}; |
|
|
|
|
|
|
|
/* |
|
|
|