Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
8 additions and
13 deletions
-
CHANGELOG.md
-
apps/client/src/app/core/auth.guard.ts
-
package.json
-
prisma/migrations/20221016065824_removed_rakuten_from_data_source/migration.sql
-
prisma/schema.prisma
|
|
@ -5,13 +5,12 @@ 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.205.0 - 16.10.2022 |
|
|
|
## 1.205.1 - 16.10.2022 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Persisted the language on url change |
|
|
|
- Improved the portfolio evolution chart |
|
|
|
- Removed the data source type `RAKUTEN` |
|
|
|
- Refactored the appearance (dark mode) in user settings (from `appearance` to `colorScheme`) |
|
|
|
- Improved the wording on the landing page |
|
|
|
|
|
|
|
|
|
@ -77,9 +77,13 @@ export class AuthGuard implements CanActivate { |
|
|
|
|
|
|
|
if (userLanguage && document.documentElement.lang !== userLanguage) { |
|
|
|
this.dataService |
|
|
|
.putUserSetting({ language: userLanguage }) |
|
|
|
.putUserSetting({ language: document.documentElement.lang }) |
|
|
|
.subscribe(() => { |
|
|
|
this.userService.remove(); |
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
window.location.reload(); |
|
|
|
}, 300); |
|
|
|
}); |
|
|
|
|
|
|
|
resolve(false); |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{ |
|
|
|
"name": "ghostfolio", |
|
|
|
"version": "1.205.0", |
|
|
|
"version": "1.205.1", |
|
|
|
"homepage": "https://ghostfol.io", |
|
|
|
"license": "AGPL-3.0", |
|
|
|
"scripts": { |
|
|
|
|
|
@ -1,9 +0,0 @@ |
|
|
|
-- AlterEnum |
|
|
|
BEGIN; |
|
|
|
CREATE TYPE "DataSource_new" AS ENUM ('ALPHA_VANTAGE', 'EOD_HISTORICAL_DATA', 'GHOSTFOLIO', 'GOOGLE_SHEETS', 'MANUAL', 'RAPID_API', 'YAHOO'); |
|
|
|
ALTER TABLE "MarketData" ALTER COLUMN "dataSource" TYPE "DataSource_new" USING ("dataSource"::text::"DataSource_new"); |
|
|
|
ALTER TABLE "SymbolProfile" ALTER COLUMN "dataSource" TYPE "DataSource_new" USING ("dataSource"::text::"DataSource_new"); |
|
|
|
ALTER TYPE "DataSource" RENAME TO "DataSource_old"; |
|
|
|
ALTER TYPE "DataSource_new" RENAME TO "DataSource"; |
|
|
|
DROP TYPE "DataSource_old"; |
|
|
|
COMMIT; |
|
|
@ -206,6 +206,7 @@ enum DataSource { |
|
|
|
GHOSTFOLIO |
|
|
|
GOOGLE_SHEETS |
|
|
|
MANUAL |
|
|
|
RAKUTEN |
|
|
|
RAPID_API |
|
|
|
YAHOO |
|
|
|
} |
|
|
|