diff --git a/Internal/README.md b/Internal/README.md index 41120f7..e90a8ce 100644 --- a/Internal/README.md +++ b/Internal/README.md @@ -1,6 +1,6 @@ # Internal Documentation -Updated: 2026-08-03 +Updated: 2026-08-10 Canonical internal project documentation lives in this directory. @@ -11,6 +11,8 @@ Canonical internal project documentation lives in this directory. - `en/README.md` - `en/PROJECT_CONTEXT.md` - `en/PROJECT_STRUCTURE.md` +- `db/schema.sql` +- `archive/legacy-root-files/` ## Maintenance Rule - German and English documentation must be maintained as fully parallel references. diff --git a/.projectstructure.txt b/Internal/archive/legacy-root-files/.projectstructure.txt similarity index 100% rename from .projectstructure.txt rename to Internal/archive/legacy-root-files/.projectstructure.txt diff --git a/.projektstructure.txt b/Internal/archive/legacy-root-files/.projektstructure.txt similarity index 100% rename from .projektstructure.txt rename to Internal/archive/legacy-root-files/.projektstructure.txt diff --git a/PROJECT_CONTEXT.md b/Internal/archive/legacy-root-files/PROJECT_CONTEXT.md similarity index 100% rename from PROJECT_CONTEXT.md rename to Internal/archive/legacy-root-files/PROJECT_CONTEXT.md diff --git a/schema.sql b/Internal/db/schema.sql similarity index 100% rename from schema.sql rename to Internal/db/schema.sql diff --git a/Internal/de/PROJECT_STRUCTURE.md b/Internal/de/PROJECT_STRUCTURE.md index d94447c..e65c71c 100644 --- a/Internal/de/PROJECT_STRUCTURE.md +++ b/Internal/de/PROJECT_STRUCTURE.md @@ -1,6 +1,6 @@ # Papa-Kind-Treff – Projektstruktur -Stand: 2026-08-05 +Stand: 2026-08-10 ## Projektordner - `config/`: Konfigurationen, inklusive `prod/` und `staging/` @@ -10,6 +10,8 @@ Stand: 2026-08-05 - `debug/`: Debug-Hilfen und Logs - `api/`: technische Endpunkte - `Internal/`: interne Projektdokumentation in Deutsch und Englisch +- `Internal/db/`: internes Datenbankschema +- `Internal/archive/`: archivierte frühere interne Root-Dateien ## Aktuelle Strukturhinweise - Avatar-Verwaltung: `src/App/Avatar/AvatarManager.php` @@ -21,7 +23,7 @@ Stand: 2026-08-05 - Kalender-Export und abonnierbarer Feed: `src/App/CalendarSync.php` plus `public/page/calendar/export.php` und `public/page/calendar/feed.php` - UI für getrennte Bereiche `Events` und `Ausflugsziele` im Mitgliederbereich: `partials/landing/account/dashboard.php` - Preis-, Bild- und Ortseingabe für Ausflugsziele sowie reduzierte Event-Maske: `partials/landing/account/dashboard.php` plus Speicherung in `src/App/ListingCatalog.php` -- Legacy-Eigen-Events wurden erweitert in `src/App/AccountPages.php` und `schema.sql` um Kategorie- und Bildfelder +- Legacy-Eigen-Events wurden erweitert in `src/App/AccountPages.php` und `Internal/db/schema.sql` um Kategorie- und Bildfelder - Kategorien-Prüfung und Zusammenführung für Seiten-Admins liegen ebenfalls in `partials/landing/account/dashboard.php` mit Logik in `src/App/ListingCatalog.php` ## Dokumentationsregel @@ -34,3 +36,4 @@ Kanonische interne Dokumentation: Zusätzlich: - `README.md` im Hauptordner bleibt als Start-Doku für neue Chats bestehen. - Änderungen an der internen Struktur müssen immer in Deutsch und Englisch parallel dokumentiert werden. +- Frühere interne Root-Dokumente liegen jetzt unter `Internal/archive/legacy-root-files/`. diff --git a/Internal/de/README.md b/Internal/de/README.md index 32a07cf..9186b1e 100644 --- a/Internal/de/README.md +++ b/Internal/de/README.md @@ -1,6 +1,6 @@ # Papa-Kind-Treff -Stand: 2026-08-05 +Stand: 2026-08-10 Papa-Kind-Treff ist eine PHP-basierte Plattform für Väter mit Fokus auf lokale Events, Termine und Treffen, Community-Austausch und einen geschützten Mitgliederbereich. @@ -39,7 +39,7 @@ Papa-Kind-Treff ist eine PHP-basierte Plattform für Väter mit Fokus auf lokale - Templates: `partials/` - App-Logik: `src/App/` - Assets: `public/assets/` -- Datenbankschema: `schema.sql` +- Datenbankschema: `Internal/db/schema.sql` - neue Basisklassen: `src/App/SystemSettings.php`, `src/App/ListingCatalog.php` ## Datenschutz und Sicherheit @@ -61,3 +61,7 @@ Bei jeder Änderung im Projekt mitprüfen und bei Bedarf aktualisieren: - Die Dokumentation in `Internal/de/` und `Internal/en/` ist inhaltlich vollständig parallel zu halten. - Deutsch und Englisch sind beide verbindliche interne Referenzen. - Die Root-`README.md` im Hauptordner bleibt der feste Einstieg für neue Chats und verweist auf diese Struktur. + +## Root-Regel +- Im Root liegt für neue Chats inhaltlich nur noch die `README.md` als Einstieg. +- Frühere Root-Dokumente wurden nach `Internal/archive/legacy-root-files/` verschoben. diff --git a/Internal/en/PROJECT_STRUCTURE.md b/Internal/en/PROJECT_STRUCTURE.md index a13b37f..617ff1f 100644 --- a/Internal/en/PROJECT_STRUCTURE.md +++ b/Internal/en/PROJECT_STRUCTURE.md @@ -1,6 +1,6 @@ # Papa-Kind-Treff – Project Structure -Updated: 2026-08-05 +Updated: 2026-08-10 ## Main Directories - `config/`: configuration, including `prod/` and `staging/` @@ -10,6 +10,8 @@ Updated: 2026-08-05 - `debug/`: debugging helpers and logs - `api/`: technical endpoints - `Internal/`: internal documentation in German and English +- `Internal/db/`: internal database schema +- `Internal/archive/`: archived former internal root files ## Current Structure Notes - avatar management: `src/App/Avatar/AvatarManager.php` @@ -21,9 +23,10 @@ Updated: 2026-08-05 - calendar export and subscribable feed: `src/App/CalendarSync.php` plus `public/page/calendar/export.php` and `public/page/calendar/feed.php` - separated `Events` and `Outings` UI in member area: `partials/landing/account/dashboard.php` - pricing, image upload, and place/address input for outings plus a reduced own-event form: `partials/landing/account/dashboard.php` with persistence in `src/App/ListingCatalog.php` -- legacy own events were extended in `src/App/AccountPages.php` and `schema.sql` with category and image fields +- legacy own events were extended in `src/App/AccountPages.php` and `Internal/db/schema.sql` with category and image fields ## Documentation Rule - canonical internal documentation lives in `Internal/de/` and `Internal/en/` - `README.md` in the project root remains as the startup document for new chats - structural changes must always be documented in German and English in parallel +- former internal root documentation files now live under `Internal/archive/legacy-root-files/` diff --git a/Internal/en/README.md b/Internal/en/README.md index 01155c8..d7ecb8f 100644 --- a/Internal/en/README.md +++ b/Internal/en/README.md @@ -1,6 +1,6 @@ # Papa-Kind-Treff -Updated: 2026-08-05 +Updated: 2026-08-10 Papa-Kind-Treff is a PHP-based platform for fathers focused on local events, appointments, and meetups, community exchange, and a protected member area. @@ -38,7 +38,7 @@ Papa-Kind-Treff is a PHP-based platform for fathers focused on local events, app - templates: `partials/` - application logic: `src/App/` - assets: `public/assets/` -- database schema: `schema.sql` +- database schema: `Internal/db/schema.sql` - new base classes: `src/App/SystemSettings.php`, `src/App/ListingCatalog.php` ## Privacy and Security @@ -60,3 +60,7 @@ Whenever project behavior or structure changes, review and update: - Documentation in `Internal/de/` and `Internal/en/` must remain fully parallel in content. - German and English are both binding internal references. - The root `README.md` remains the fixed start document for new chats and must be reviewed when core project assumptions change. + +## Root Rule +- In the root directory, only `README.md` remains as the content entry point for new chats. +- Former root documentation files were moved to `Internal/archive/legacy-root-files/`. diff --git a/README.md b/README.md index 8991394..4dd8f95 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@ # Papa-Kind-Treff – Start-Doku -Stand: 2026-08-07 +Stand: 2026-08-10 Diese Datei ist die zentrale Start-Doku für neue Chats und den schnellen Projekteinstieg. ## Für neue Chats -Bitte immer zuerst diese Datei lesen und danach die kanonische interne Dokumentation unter `Internal/` vollständig prüfen. +Für neue Chats reicht es, zuerst diese Datei zu nennen und lesen zu lassen. +Diese Datei ist der verbindliche Root-Einstieg und verweist auf alle weiteren Pflichtdokumente unter `Internal/`. + +Danach muss die kanonische interne Dokumentation unter `Internal/` vollständig geprüft werden. Verbindliche deutsche Referenz: - `Internal/de/README.md` @@ -44,6 +47,7 @@ Papa-Kind-Treff ist eine PHP-basierte Plattform für Väter mit Fokus auf: - Im Mitgliederbereich `Events` gibt es jetzt zusätzlich einen ICS-Download und einen persönlichen abonnierbaren Kalender-Feed für alle eigenen Events und Event-Teilnahmen - Der Bereich `Events` ist im Mitgliederbereich jetzt zusätzlich in die Tabs `Meine Events`, `Synchronisation` und `Abgelaufene Events` gegliedert - Für später vorgemerkt: direkte Kalender-Anbindung großer Anbieter wie Google und Microsoft/Outlook per OAuth, zusätzlich zum bestehenden ICS-Feed +- Interne Projektdateien und das Datenbankschema liegen nicht mehr im Root, sondern unter `Internal/` ## Datenschutz und Sicherheit - sensible Profilfelder werden app-seitig verschlüsselt gespeichert @@ -55,3 +59,5 @@ Papa-Kind-Treff ist eine PHP-basierte Plattform für Väter mit Fokus auf: ## Hinweis zur internen Ablage - Endnutzertexte, Landingpages und UI gehören nicht nach `Internal/` - `Internal/` ist ausschließlich für interne Projekt- und Systemdokumentation gedacht +- Das Datenbankschema liegt unter `Internal/db/schema.sql` +- Alte frühere Root-Dokumente wurden nach `Internal/archive/legacy-root-files/` verschoben diff --git a/partials/landing/account/dashboard.php b/partials/landing/account/dashboard.php index 01d56c6..19e72e9 100755 --- a/partials/landing/account/dashboard.php +++ b/partials/landing/account/dashboard.php @@ -296,7 +296,7 @@ if (!empty($canManageSystemSettings)) {

Von dir organisierte Treffen oder Events mit eigener Teilnahme-Logik.

- +