Browse Source

Merge branch 'main' into feature/upgrade-prisma-to-version-4.9.0

pull/1630/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
6f76123dfc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build-code.yml
  2. 1
      .nvmrc
  3. 9
      CHANGELOG.md
  4. 4
      Dockerfile
  5. 2
      README.md
  6. 1
      apps/api/src/app/import/import.controller.ts
  7. 3
      apps/api/src/app/user/user.controller.ts
  8. 60
      apps/client/src/app/pages/blog/2023/01/ghostfolio-auf-sackgeld-vorgestellt/ghostfolio-auf-sackgeld-vorgestellt-page.html
  9. 2
      apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

2
.github/workflows/build-code.yml

@ -10,7 +10,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node_version: node_version:
- 16 - 18
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3

1
.nvmrc

@ -0,0 +1 @@
v16

9
CHANGELOG.md

@ -7,10 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Added
- Added a quote to the blog post _Ghostfolio auf Sackgeld.com vorgestellt_
### Changed ### Changed
- Upgraded `Node.js` from version `16` to `18` (`Dockerfile`)
- Upgraded `prisma` from version `4.8.0` to `4.9.0` - Upgraded `prisma` from version `4.8.0` to `4.9.0`
### Fixed
- Fixed the click of unknown accounts in the portfolio proportion chart component
## 1.229.0 - 2023-01-21 ## 1.229.0 - 2023-01-21
### Added ### Added

4
Dockerfile

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:16-slim as builder FROM --platform=$BUILDPLATFORM node:18-slim as builder
# Build application and add additional files # Build application and add additional files
WORKDIR /ghostfolio WORKDIR /ghostfolio
@ -50,7 +50,7 @@ COPY package.json /ghostfolio/dist/apps/api
RUN yarn database:generate-typings RUN yarn database:generate-typings
# Image to run, copy everything needed from builder # Image to run, copy everything needed from builder
FROM node:16-slim FROM node:18-slim
RUN apt update && apt install -y \ RUN apt update && apt install -y \
openssl \ openssl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

2
README.md

@ -148,7 +148,7 @@ Please follow the instructions of the Ghostfolio [Unraid Community App](https://
### Prerequisites ### Prerequisites
- [Docker](https://www.docker.com/products/docker-desktop) - [Docker](https://www.docker.com/products/docker-desktop)
- [Node.js](https://nodejs.org/en/download) (version 16+) - [Node.js](https://nodejs.org/en/download) (version 16)
- [Yarn](https://yarnpkg.com/en/docs/install) - [Yarn](https://yarnpkg.com/en/docs/install)
- A local copy of this Git repository (clone) - A local copy of this Git repository (clone)

1
apps/api/src/app/import/import.controller.ts

@ -20,7 +20,6 @@ import { REQUEST } from '@nestjs/core';
import { AuthGuard } from '@nestjs/passport'; import { AuthGuard } from '@nestjs/passport';
import { DataSource } from '@prisma/client'; import { DataSource } from '@prisma/client';
import { StatusCodes, getReasonPhrase } from 'http-status-codes'; import { StatusCodes, getReasonPhrase } from 'http-status-codes';
import { isEmpty } from 'lodash';
import { ImportDataDto } from './import-data.dto'; import { ImportDataDto } from './import-data.dto';
import { ImportService } from './import.service'; import { ImportService } from './import.service';

3
apps/api/src/app/user/user.controller.ts

@ -1,6 +1,4 @@
import { ConfigurationService } from '@ghostfolio/api/services/configuration.service';
import { PropertyService } from '@ghostfolio/api/services/property/property.service'; import { PropertyService } from '@ghostfolio/api/services/property/property.service';
import { PROPERTY_IS_USER_SIGNUP_ENABLED } from '@ghostfolio/common/config';
import { User, UserSettings } from '@ghostfolio/common/interfaces'; import { User, UserSettings } from '@ghostfolio/common/interfaces';
import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { hasPermission, permissions } from '@ghostfolio/common/permissions';
import type { RequestWithUser } from '@ghostfolio/common/types'; import type { RequestWithUser } from '@ghostfolio/common/types';
@ -31,7 +29,6 @@ import { UserService } from './user.service';
@Controller('user') @Controller('user')
export class UserController { export class UserController {
public constructor( public constructor(
private readonly configurationService: ConfigurationService,
private readonly jwtService: JwtService, private readonly jwtService: JwtService,
private readonly propertyService: PropertyService, private readonly propertyService: PropertyService,
@Inject(REQUEST) private readonly request: RequestWithUser, @Inject(REQUEST) private readonly request: RequestWithUser,

60
apps/client/src/app/pages/blog/2023/01/ghostfolio-auf-sackgeld-vorgestellt/ghostfolio-auf-sackgeld-vorgestellt-page.html

@ -4,7 +4,7 @@
<article> <article>
<div class="mb-4 text-center"> <div class="mb-4 text-center">
<h1 class="mb-1">Ghostfolio auf Sackgeld.com vorgestellt</h1> <h1 class="mb-1">Ghostfolio auf Sackgeld.com vorgestellt</h1>
<div class="text-muted"><small>2023-01-21</small></div> <div class="mb-3 text-muted"><small>2023-01-21</small></div>
<img <img
alt="Ghostfolio auf Sackgeld.com vorgestellt Teaser" alt="Ghostfolio auf Sackgeld.com vorgestellt Teaser"
class="border rounded w-100" class="border rounded w-100"
@ -16,7 +16,26 @@
<p> <p>
Wir freuen uns darüber, dass unsere Open Source Portfolio Tracking Wir freuen uns darüber, dass unsere Open Source Portfolio Tracking
Software <a href="https://ghostfol.io">Ghostfolio</a> auf dem Software <a href="https://ghostfol.io">Ghostfolio</a> auf dem
Fintech News Portal <i>Sackgeld.com</i> vorgestellt wurde. FinTech Newsportal <i>Sackgeld.com</i> vorgestellt wurde.
</p>
<div class="container my-4">
<div class="row">
<div class="col-md-10 offset-md-1">
<blockquote class="blockquote m-0">
<p class="mb-0">
«Ghostfolio ist ein umfassender Portfolio Performance
Tracker der einfach zu bedienen ist, mit einigen sehr
innovativen Features aufwartet und echten Mehrwert für den
Investor bringt.»
</p>
</blockquote>
</div>
</div>
</div>
<p>
Im ausführlichen Bericht wird die Funktionsweise von Ghostfolio
erläutert, die unterstützten Assets aufgeführt sowie die
Preisstruktur im Vergleich zu anderen Anbietern dargelegt.
</p> </p>
</section> </section>
<section class="mb-4"> <section class="mb-4">
@ -24,23 +43,23 @@
Ghostfolio – Open Source Wealth Management Software Ghostfolio – Open Source Wealth Management Software
</h2> </h2>
<p> <p>
Ghostfolio ermöglicht es dir, deine Portfolio-Performance einfach zu Ghostfolio ermöglicht es dir, dein Portfolio einfach zu verfolgen
verfolgen und zu analysieren. Es bietet dir detaillierte und zu analysieren. Es bietet dir detaillierte Informationen über
Informationen über deine Positionen, historische Entwicklung und die deine Positionen, historische Entwicklung, Performance und die
Zusammenstellung deines Portfolios. Durch die Open Source-Lizenz (<a Zusammenstellung deines Portfolios. Durch die Open Source-Lizenz (<a
href="https://github.com/ghostfolio/ghostfolio/blob/main/LICENSE" href="https://github.com/ghostfolio/ghostfolio/blob/main/LICENSE"
target="_blank" target="_blank"
>GNU Affero General Public License v3.0</a >GNU Affero General Public License v3.0</a
>) wird die Software ständig weiterentwickelt und verbessert und du >) wird die Software ständig weiterentwickelt, verbessert und du
hast sogar die Möglichkeit, dich selbst daran zu beteiligen. Wir hast sogar selbst die Möglichkeit, dich daran zu beteiligen. Wir
sind davon überzeugt, mit dem Open-Source-Ansatz von Ghostfolio das sind davon überzeugt, mit diesem Open-Source-Ansatz von Ghostfolio
Finanzwissen und Investieren für alle zugänglicher zu machen. das Finanzwissen und Investieren für alle zugänglicher zu machen.
</p> </p>
</section> </section>
<section class="mb-4"> <section class="mb-4">
<h2 class="h4">Sackgeld.com – App für ein höheres Sackgeld</h2> <h2 class="h4">Sackgeld.com – App für ein höheres Sackgeld</h2>
<p> <p>
Das Schweizer Fintech News Portal Das Schweizer FinTech Nachrichtenportal
<a href="https://www.sackgeld.com" target="_blank">Sackgeld.com</a> <a href="https://www.sackgeld.com" target="_blank">Sackgeld.com</a>
informiert über die neuesten Entwicklungen und Innovationen im informiert über die neuesten Entwicklungen und Innovationen im
Bereich FinTech. Dazu gehören News, Artikel und persönliche Bereich FinTech. Dazu gehören News, Artikel und persönliche
@ -51,15 +70,12 @@
<section class="mb-4"> <section class="mb-4">
<p> <p>
Wenn du mehr über Ghostfolio erfahren möchtest, kannst du hier den Wenn du mehr über Ghostfolio erfahren möchtest, kannst du hier den
ganzen Artikel "<a ganzen Artikel nachlesen:
<a
href="https://www.sackgeld.com/was-taugt-ghostfolio-als-portfolio-performance-tracking-tool" href="https://www.sackgeld.com/was-taugt-ghostfolio-als-portfolio-performance-tracking-tool"
target="_blank" target="_blank"
>Was taugt Ghostfolio als Portfolio Performance Tracking-Tool?</a >Was taugt Ghostfolio als Portfolio Performance Tracking-Tool?</a
>" nachlesen. >
</p>
<p>
Wir freuen uns auf dein Feedback.<br />
Thomas von Ghostfolio
</p> </p>
</section> </section>
<section class="mb-4"> <section class="mb-4">
@ -79,6 +95,9 @@
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">App</span> <span class="badge badge-light">App</span>
</li> </li>
<li class="list-inline-item">
<span class="badge badge-light">Asset</span>
</li>
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Feedback</span> <span class="badge badge-light">Feedback</span>
</li> </li>
@ -103,6 +122,9 @@
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Lizenz</span> <span class="badge badge-light">Lizenz</span>
</li> </li>
<li class="list-inline-item">
<span class="badge badge-light">Media</span>
</li>
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Open Source</span> <span class="badge badge-light">Open Source</span>
</li> </li>
@ -118,6 +140,9 @@
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Portfolio</span> <span class="badge badge-light">Portfolio</span>
</li> </li>
<li class="list-inline-item">
<span class="badge badge-light">Presse</span>
</li>
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Sackgeld</span> <span class="badge badge-light">Sackgeld</span>
</li> </li>
@ -139,6 +164,9 @@
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Vermögen</span> <span class="badge badge-light">Vermögen</span>
</li> </li>
<li class="list-inline-item">
<span class="badge badge-light">Vorsorge</span>
</li>
<li class="list-inline-item"> <li class="list-inline-item">
<span class="badge badge-light">Wealth Management</span> <span class="badge badge-light">Wealth Management</span>
</li> </li>

2
apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

@ -357,7 +357,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
} }
public onAccountChartClicked({ symbol }: UniqueAsset) { public onAccountChartClicked({ symbol }: UniqueAsset) {
if (symbol) { if (symbol && symbol !== UNKNOWN_KEY) {
this.router.navigate([], { this.router.navigate([], {
queryParams: { accountId: symbol, accountDetailDialog: true } queryParams: { accountId: symbol, accountDetailDialog: true }
}); });

Loading…
Cancel
Save