Customer feedback round (4 items):
- Packages: one-click "Sichtbar/Ausgeblendet" toggle per package (saved
immediately). Hidden packages disappear from the model page; the tier
look of the remaining cards is ranked across all packages so it stays
stable.
- Packages: badge per card (Empfohlen, Am beliebtesten, Tipp, Coming soon
or custom text) plus an optional video link shown as "Zum Video". Legacy
is_featured maps to "Empfohlen".
- New download area (/downloads + Admin -> Downloads): upload with
progress, inline audio player, allow-listed file types, optional access
password, new permission downloads.manage. Files live in
api/uploads/downloads/ (gitignored, created at runtime).
- Performance:
- SetupGate no longer refetches and remounts the whole app on every
navigation.
- Page loader waits only for pending API calls and above-the-fold images
(fixes an 8 s hang on /leistungen caused by lazy images inside the
hidden container).
- Admin pages lazy-loaded; icon library moved out of the main bundle
(initial JS 2.2 MB -> 0.48 MB).
- Background video loads only near the viewport and was re-encoded to
720p (32 MB -> 8.5 MB).
- Visitors without a session cookie get no PHP session, so their parallel
API requests no longer queue on the session lock.
- index.html is served with Cache-Control: no-cache so browsers don't
keep a stale build after deploys.
- Fonts (Barlow, Barlow Condensed, Michroma) are self-hosted instead of
loaded from Google Fonts; the default privacy policy mentions this, lists
all local storage uses and uses the new TDDDG name.
- A code update that adds a table no longer sends the site into the setup
wizard while an admin exists.
Run "Datenbankstruktur aktualisieren" after deploying (new package
columns, downloads table, app_settings.downloads_password).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
59 lines
2.5 KiB
Text
59 lines
2.5 KiB
Text
# Dieses Repo lebt im XAMPP htdocs-Ordner zusammen mit anderen, projektfremden
|
|
# Verzeichnissen (Standard-XAMPP-Dateien, andere lokale Seiten). Nur die beiden
|
|
# HifiPlanet-Ordner (hifi/ und hifi-src/) sollen versioniert werden.
|
|
/*
|
|
!/hifi/
|
|
!/hifi-src/
|
|
!/.gitignore
|
|
!/.github/
|
|
!/DEPLOY.md
|
|
|
|
# Von NPM regenerierbare Abhängigkeiten. Der Composer-vendor von hifi/api wird
|
|
# dagegen BEWUSST versioniert: das Kunden-Hosting (All-Inkl) hat keine
|
|
# CI-Anbindung, deshalb muss main das komplett deploybare hifi/ enthalten.
|
|
/hifi-src/node_modules/
|
|
|
|
# Der Vite-Build-Output (hifi/index.html + hifi/assets/) wird ebenfalls BEWUSST
|
|
# versioniert - gleicher Grund: main ist der einzige Branch und zugleich das
|
|
# Deploy-Artefakt (siehe DEPLOY.md). Vor jedem Commit lokal "npm run build"
|
|
# ausführen; das prebuild-Script in hifi-src/package.json räumt assets/ vorher
|
|
# leer, damit sich keine veralteten Hash-Chunks ansammeln.
|
|
|
|
# Umgebungsspezifische DB-Zugangsdaten (wird vom Admin-Panel automatisch neu geschrieben,
|
|
# unterscheidet sich zwischen Dev-/Live-Umgebung und gehört daher nicht ins Repo)
|
|
/hifi/api/config/db.php
|
|
|
|
# Einmalpasswort für den Ersteinrichtungs-Assistenten (siehe setup.php.example) -
|
|
# pro Umgebung unterschiedlich und darf nicht öffentlich einsehbar sein
|
|
/hifi/api/config/setup.php
|
|
|
|
# Google-Service-Account-Schlüssel für die Analytics-Data-API-Anbindung im Dashboard
|
|
# (wird vom Admin-Panel automatisch neu geschrieben, enthält einen privaten Schlüssel)
|
|
/hifi/api/config/ga-service-account.json
|
|
|
|
# Merkt sich den aktuell installierten Git-Commit fürs Auto-Update-Feature
|
|
# (GitUpdateService) - pro Umgebung unterschiedlich, wird automatisch geschrieben.
|
|
/hifi/api/config/update-state.php
|
|
|
|
# Dateien des Download-Bereichs (Songs usw., vom Admin hochgeladen) - koennen sehr gross
|
|
# sein und sind Inhalte der jeweiligen Umgebung, kein Code. Der Ordner samt Schutz-.htaccess
|
|
# wird vom DownloadController beim ersten Upload selbst angelegt.
|
|
/hifi/api/uploads/downloads/
|
|
|
|
# Arbeits-/Backup-Verzeichnis des Auto-Update-Features. Die Backup-ZIPs darin enthalten
|
|
# zwangsläufig db.php (siehe oben) - darf NIE ins Repo gelangen, sonst landen
|
|
# Datenbank-Zugangsdaten im (öffentlichen!) Git-Repo.
|
|
/hifi/_update/
|
|
|
|
# Claude-Code-Tooling (Skills/lokale Einstellungen) - gehört nicht zum Website-Projekt
|
|
/hifi/.claude/
|
|
/hifi/.agents/
|
|
/hifi/skills-lock.json
|
|
/hifi-src/.claude/
|
|
/hifi-src/.agents/
|
|
/hifi-src/skills-lock.json
|
|
|
|
# Von XAMPP/Editoren erzeugte Laufzeit-/Cache-Dateien
|
|
*.log
|
|
Thumbs.db
|
|
.DS_Store
|