chore(release): v0.10.0 (#400)

Photo Essay mode, client proofing, studio-modern preset, admin panel overhaul, watermark, cookieless analytics, subpage toggle, SEO title templates. Analytics API now admin-only, Trivy scan on publish. Album order mirrors the Immich timeline; map theme, admin status panel, lightbox counter and Docker health check fixed.

See CHANGELOG.md for the full list and the health-check upgrade note.
This commit is contained in:
Ralksta
2026-08-10 09:56:20 +02:00
committed by GitHub
parent c9036fdc94
commit 2318409e75
78 changed files with 3848 additions and 553 deletions

View File

@@ -22,7 +22,12 @@ export async function GET() {
// 2. Config Health Check
let galleryValid = false;
let settingsValid = false;
// settings.yaml is optional — getConfig() falls back to defaults when it is
// absent, so a missing file is a valid installation, not a fault. Only a file
// that exists and cannot be parsed counts as degraded: readSettingsYaml()
// returns null for ENOENT and rethrows everything else.
let settingsValid = true;
try {
const gallery = await readGalleryYaml();
galleryValid = !!gallery;
@@ -31,17 +36,17 @@ export async function GET() {
}
try {
const settings = await readSettingsYaml();
settingsValid = !!settings;
await readSettingsYaml();
} catch (err) {
console.error('[Admin API] Settings YAML parse failed:', err);
settingsValid = false;
}
// 3. Backup Info
const galleryBackups = await listBackups('gallery.yaml');
const settingsBackups = await listBackups('settings.yaml');
const backupCount = galleryBackups.length + settingsBackups.length;
// Find timestamp of the latest backup
let lastBackup: string | null = null;
const allBackups = [...galleryBackups, ...settingsBackups].sort().reverse();
@@ -60,7 +65,7 @@ export async function GET() {
status: immichOk ? 'connected' : 'disconnected',
},
config: {
status: (galleryValid && settingsValid) ? 'valid' : 'invalid',
status: galleryValid && settingsValid ? 'valid' : 'invalid',
gallery: galleryValid ? 'valid' : 'invalid',
settings: settingsValid ? 'valid' : 'invalid',
},