Browse Source

Merge branch 'main' into pr/8312

pull/8312/head
Thomas Kaul 1 month ago
parent
commit
456e1d146f
  1. 6
      CHANGELOG.md
  2. 16
      apps/api/src/app/account-balance/account-balance.service.ts
  3. 4
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
  4. 2
      apps/client/src/app/pages/portfolio/activities/activities-page.html
  5. 2
      apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts
  6. 27
      apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html
  7. 4
      package-lock.json
  8. 2
      package.json

6
CHANGELOG.md

@ -5,10 +5,13 @@ 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).
## Unreleased
## 3.93.0 - 2026-10-25
### Changed
- Moved the support for filtering by activity type on the activities page from experimental to general availability
- Moved the allocation in the accounts tab of the holding detail dialog from experimental to general availability
- Moved the quantity in the accounts tab of the holding detail dialog from experimental to general availability
- Improved the style of the menu button in the asset profile details dialog of the admin control panel
- Improved the style of the menu button in the user detail dialog of the admin control panel
- Improved the consistency of the import of activities with _Ghostfolio AI_ (experimental)
@ -16,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed a race condition in the creation of an account balance
- Fixed the handling of an output of the model which does not agree with the schema in the import of activities with _Ghostfolio AI_ (experimental)
## 3.92.0 - 2026-10-24

16
apps/api/src/app/account-balance/account-balance.service.ts

@ -51,17 +51,13 @@ export class AccountBalanceService {
}: CreateAccountBalanceDto & {
userId: string;
}): Promise<AccountBalance> {
const dateOfBalance = resetHours(parseISO(date));
const accountBalance = await this.prismaService.accountBalance.upsert({
create: {
account: {
connect: {
id_userId: {
userId,
id: accountId
}
}
},
date: resetHours(parseISO(date)),
accountId,
userId,
date: dateOfBalance,
value: balance
},
update: {
@ -71,7 +67,7 @@ export class AccountBalanceService {
accountId_userId_date: {
accountId,
userId,
date: resetHours(parseISO(date))
date: dateOfBalance
}
}
});

4
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

@ -413,10 +413,10 @@
[hasPermissionToOpenDetails]="false"
[locale]="user?.settings?.locale"
[showActivitiesCount]="false"
[showAllocationInPercentage]="user?.settings?.isExperimentalFeatures"
[showAllocationInPercentage]="true"
[showBalance]="false"
[showFooter]="false"
[showQuantity]="user?.settings?.isExperimentalFeatures"
[showQuantity]="true"
[showValue]="false"
[showValueInBaseCurrency]="false"
/>

2
apps/client/src/app/pages/portfolio/activities/activities-page.html

@ -11,7 +11,7 @@
[hasPermissionToCreateActivity]="hasPermissionToCreateActivity"
[hasPermissionToDeleteActivity]="hasPermissionToDeleteActivity"
[hasPermissionToExportActivities]="!hasImpersonationId"
[hasPermissionToFilterByType]="user?.settings?.isExperimentalFeatures"
[hasPermissionToFilterByType]="true"
[hasPermissionToImportActivities]="hasPermissionToImportActivities"
[hasPermissionToUpdateActivity]="hasPermissionToUpdateActivity"
[locale]="user?.settings?.locale"

2
apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts

@ -26,6 +26,7 @@ import {
FileFormat,
GfFileDropAreaComponent
} from '@ghostfolio/ui/file-drop-area';
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator';
import { DataService } from '@ghostfolio/ui/services';
import {
@ -90,6 +91,7 @@ import {
GfDialogFooterComponent,
GfDialogHeaderComponent,
GfFileDropAreaComponent,
GfPremiumIndicatorComponent,
IonIcon,
MatButtonModule,
MatCheckboxModule,

27
apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html

@ -82,25 +82,32 @@
(fileSelected)="onFileSelected({ stepper, file: $event })"
/>
@if (
data.deviceType !== 'mobile' && hasPermissionToEnableGhostfolioAi
data.deviceType !== 'mobile' &&
(hasPermissionToEnableGhostfolioAi ||
(data.user?.subscription?.type === 'Basic' &&
data.user?.settings?.isExperimentalFeatures))
) {
<div class="align-items-center d-flex mt-4">
<mat-checkbox
color="primary"
[checked]="isGhostfolioAiEnabled"
[disabled]="isLoading"
[disabled]="isLoading || !hasPermissionToEnableGhostfolioAi"
(change)="onGhostfolioAiChange($event)"
>
<ng-container i18n>AI-assisted import</ng-container>
</mat-checkbox>
<span
class="align-items-center d-flex ms-1"
matTooltipPosition="above"
[class.text-body-secondary]="isLoading"
[matTooltip]="ghostfolioAiTooltip"
>
<ion-icon name="information-circle-outline" />
</span>
@if (data.user?.subscription?.type === 'Basic') {
<gf-premium-indicator class="ms-1" [enableLink]="false" />
} @else {
<span
class="align-items-center d-flex ms-1"
matTooltipPosition="above"
[class.text-body-secondary]="isLoading"
[matTooltip]="ghostfolioAiTooltip"
>
<ion-icon name="information-circle-outline" />
</span>
}
</div>
}
</div>

4
package-lock.json

@ -1,12 +1,12 @@
{
"name": "ghostfolio",
"version": "3.92.0",
"version": "3.93.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ghostfolio",
"version": "3.92.0",
"version": "3.93.0",
"hasInstallScript": true,
"license": "AGPL-3.0",
"dependencies": {

2
package.json

@ -1,6 +1,6 @@
{
"name": "ghostfolio",
"version": "3.92.0",
"version": "3.93.0",
"homepage": "https://ghostfol.io",
"license": "AGPL-3.0",
"repository": "https://github.com/ghostfolio/ghostfolio",

Loading…
Cancel
Save