Übergabestand 2026-10-29

Alpenwerk HR 0.1.1

Sicherheitsupdates
- Next.js 16.4.3: behebt unter anderem Remote Code Execution auf Windows-Servern und in der Bildoptimierung, Server-Side Request Forgery und Cache Poisoning
- Aktualisierte Abhängigkeiten; npm audit meldet keine Schwachstellen
This commit is contained in:
2026-10-29 19:44:43 +01:00
parent 46c1b1fabd
commit 63ecfb9f36
7 changed files with 761 additions and 813 deletions

View File

@@ -173,3 +173,5 @@ Die Anwendung läuft auf Windows Server im IIS. Das Betriebshandbuch
Installation, neue Stände, Rückstieg, Plattform-Updates, Zugang und
Fehlersuche. Das Paket dafür baut `npm run paket:windows`; an jedem Release
dieses Repositoriums hängt es fertig gebaut (`.github/workflows/release.yml`).
Installationsanleitung und Betriebshandbuch liegen als PDF in `docs/` und im
Hauptordner jedes Pakets.

View File

@@ -81,8 +81,10 @@ if ($fehlend.Count -gt 0) { throw "Unvollstaendige Konfiguration in ${Ziel}: $($
$port = [int]$app['PORT']
$url = $verwaltung['MIGRATE_DATABASE_URL']
# Als reine Zeichenketten: Get-Content haengt jeder Zeile Eigenschaften wie
# PSPath an, und ConvertTo-Json schriebe sie mit in letztes-update.json.
function Get-Version([string]$Datei) {
if (Test-Path -LiteralPath $Datei) { return @(Get-Content -LiteralPath $Datei -Encoding UTF8 | Where-Object { $_ -ne '' }) }
if (Test-Path -LiteralPath $Datei) { return @(Get-Content -LiteralPath $Datei -Encoding UTF8 | Where-Object { $_ -ne '' } | ForEach-Object { [string]$_ }) }
return @()
}

Binary file not shown.

Binary file not shown.

1549
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "alpenwerk-hr",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"dev": "next dev",
@@ -25,7 +25,7 @@
"exceljs": "^4.4.0",
"kysely": "^0.29.4",
"lucide-react": "^1.26.0",
"next": "^16.2.11",
"next": "^16.4.3",
"next-auth": "^5.0.0-beta.32",
"pg": "^8.22.0",
"react": "^19.2.8",
@@ -41,16 +41,17 @@
"@types/pg": "^8.20.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/coverage-v8": "^4.1.12",
"eslint": "^9.39.5",
"eslint-config-next": "^16.2.11",
"eslint-config-next": "^16.4.3",
"jsdom": "^29.1.1",
"postcss": "^8.5.19",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.3",
"vitest": "^4.1.10"
"vitest": "^4.1.12"
},
"overrides": {
"postcss": "^8.5.19"
"postcss": "^8.5.19",
"uuid": "^11.1.1"
}
}

View File

@@ -108,6 +108,12 @@ cpSync("deploy/db-init/01-auth-attrappe.sql", join(app, "deploy/db-init/01-auth-
// ── Betriebsskripte ───────────────────────────────────────────────────
cpSync("deploy/windows", join(ziel, "windows"), { recursive: true });
// Installationsanleitung und Betriebshandbuch liegen als PDF im Hauptordner,
// damit sie beim Entpacken als Erstes zu sehen sind.
for (const datei of readdirSync("docs").filter((d) => d.endsWith(".pdf"))) {
cpSync(join("docs", datei), join(ziel, datei));
}
writeFileSync(
join(ziel, "VERSION.txt"),
[