diff --git a/CHANGELOG.md b/CHANGELOG.md index 03f4fef6d..803c8b967 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). -## Unreleased +## 3.62.0 - 2026-08-27 ### Added diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts index b7ad09553..f28d13544 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts @@ -212,6 +212,10 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { return this.accessForm?.get('type')?.value === 'PUBLIC'; } + protected get showExpiresAtErrorMessage() { + return this.accessForm?.get('expiresAt')?.invalid === true; + } + protected onCancel() { this.dialogRef.close(); } diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html index a802b2291..cf0d8f2be 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html @@ -45,8 +45,12 @@ -
- +
+ Expiration Date - @if (accessForm.get('expiresAt')?.invalid) { + @if (showExpiresAtErrorMessage) { Please select a date in the future. } diff --git a/package-lock.json b/package-lock.json index 10a2a8509..3b5b6b475 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ghostfolio", - "version": "3.61.0", + "version": "3.62.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ghostfolio", - "version": "3.61.0", + "version": "3.62.0", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/package.json b/package.json index 735498ca4..4946cfdf6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "3.61.0", + "version": "3.62.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio", diff --git a/prisma/migrations/20260826000000_added_expires_at_to_access/migration.sql b/prisma/migrations/20260826000000_added_expires_at_to_access/migration.sql index 979d5b0f6..9d00521d8 100644 --- a/prisma/migrations/20260826000000_added_expires_at_to_access/migration.sql +++ b/prisma/migrations/20260826000000_added_expires_at_to_access/migration.sql @@ -4,7 +4,7 @@ ALTER TABLE "Access" ADD COLUMN "expiresAt" TIMESTAMP(3); -- Give an access which was granted before a date in the far future, because it -- was granted with no expiration date UPDATE "Access" -SET "expiresAt" = '2030-12-31 23:59:59.999' +SET "expiresAt" = '2050-12-31 12:00:00' WHERE "expiresAt" IS NULL; -- AlterTable