Initial commit - Help Service for Coolify
This commit is contained in:
241
content/entwicklung/next-session.md
Normal file
241
content/entwicklung/next-session.md
Normal file
@@ -0,0 +1,241 @@
|
||||
---
|
||||
id: next-session
|
||||
title: Naechste Session
|
||||
icon: calendar-check
|
||||
description: Aktuelle Aufgaben und Session-Zusammenfassung
|
||||
section: Entwicklung
|
||||
tags: [Session, Aufgaben, Aktuell, Todo]
|
||||
related: [entwicklung/sprint-uebersicht, features]
|
||||
order: 92
|
||||
---
|
||||
|
||||
# Naechste Session
|
||||
|
||||
Quick-Start Guide fuer die naechste Entwicklungs-Session.
|
||||
|
||||
---
|
||||
|
||||
## Aktueller Stand
|
||||
|
||||
**Letztes Update:** 16. Dezember 2025 (Nacht)
|
||||
|
||||
**Letzte Session:** Sprint 11 - Custom Database Tables
|
||||
|
||||
**Status:** Kurs-Booking 100% | PRODUCTION READY
|
||||
|
||||
---
|
||||
|
||||
## DEPLOYMENT MORGEN (17.12.2025)
|
||||
|
||||
### Status: BEREIT
|
||||
|
||||
| Komponente | Status |
|
||||
|------------|--------|
|
||||
| Kurs-Booking auf 8200 | ✅ Installiert |
|
||||
| Redis Object Cache | ✅ Aktiv |
|
||||
| Nginx FastCGI Cache | ✅ Aktiv |
|
||||
| Coolify Config | ✅ Erstellt |
|
||||
| Deployment-Checkliste | ✅ Fertig |
|
||||
|
||||
### Deployment-Dateien
|
||||
|
||||
```
|
||||
coolify/
|
||||
├── docker-compose.yml
|
||||
├── nginx/nginx.conf
|
||||
├── nginx/default.conf
|
||||
├── docker-entrypoint-permissions.sh
|
||||
└── DEPLOYMENT-CHECKLIST.md
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Session 16.12.2025 (Nacht) - Sprint 11
|
||||
|
||||
### Erledigte Aufgaben
|
||||
|
||||
| Aufgabe | Status | Details |
|
||||
|---------|--------|---------|
|
||||
| Custom Database Tables | ✅ | Performance-Optimierung |
|
||||
| class-database.php | ✅ | Schema, Migration, Installer |
|
||||
| class-buchung-repository.php | ✅ | Optimierte Query-Methoden |
|
||||
| Sync-Hooks | ✅ | Auto-Sync bei CRUD |
|
||||
| Admin-UI | ✅ | Fortschrittsbalken, Migration-Button |
|
||||
| AJAX Migration | ✅ | Batch-Migration via Button |
|
||||
| Sync 8200 | ✅ | Alles synchronisiert |
|
||||
|
||||
### Neue Dateien
|
||||
|
||||
- `includes/class-database.php` - Schema + Migration
|
||||
- `includes/class-buchung-repository.php` - Repository-Pattern
|
||||
|
||||
### Custom Table Schema
|
||||
|
||||
```sql
|
||||
wp_kurs_buchungen (
|
||||
id, post_id, kurs_id, variante_id, status,
|
||||
name, email, phone, anzahl, total_price,
|
||||
deposit_amount, payment_status, sevdesk_*,
|
||||
confirm_token, created_at, confirmed_at, cancelled_at
|
||||
)
|
||||
-- Indizes: post_id, kurs_id, status, email, created_at
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Session 16.12.2025 (Spaet) - Sprint 10
|
||||
|
||||
### Erledigte Aufgaben
|
||||
|
||||
| Aufgabe | Status | Details |
|
||||
|---------|--------|---------|
|
||||
| Kontext-Hilfe-System | ✅ | Info-Icons mit Tooltips |
|
||||
| Helper-Methoden | ✅ | `render_help_icon()` + `help_icon()` |
|
||||
| Tooltip CSS | ✅ | 4 Positionen, Responsive, Animiert |
|
||||
| Info-Icons eingebaut | ✅ | Module, Preise, Rechtliches, Bank |
|
||||
| Help-Topic Links | ✅ | "Mehr erfahren" im Tooltip |
|
||||
| Sync 8200 | ✅ | Alles synchronisiert |
|
||||
|
||||
### Neue Funktionen
|
||||
|
||||
```php
|
||||
// Verwendung in Settings-Tabs:
|
||||
self::help_icon(
|
||||
'Erklaerungstext fuer dieses Feld',
|
||||
'help-topic-slug', // Optional: Link zu Help-Service
|
||||
'right' // Position: top, bottom, left, right
|
||||
);
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Session 16.12.2025 (Abend) - Sprint 9
|
||||
|
||||
### Erledigte Aufgaben
|
||||
|
||||
| Aufgabe | Status | Details |
|
||||
|---------|--------|---------|
|
||||
| Pop-up Neuigkeiten | ✅ | Komplettes Marketing-Popup-System |
|
||||
| class-neuigkeit.php | ✅ | ~830 Zeilen, Post-Type + Frontend |
|
||||
| class-subscriber.php | ✅ | Fuer spaeteren Newsletter |
|
||||
| Kurs-Auswahl-Modi | ✅ | Einzeln, Kategorie, Produktart, Alle |
|
||||
| Zufalls-Selektion | ✅ | Zufaelliger Kurs aus Pool |
|
||||
| Statistiken | ✅ | Views, Klicks, Schliessungen |
|
||||
| Help-Service Doku | ✅ | popup-neuigkeiten.md + Marketing-Sektion |
|
||||
| Sync 8200 | ✅ | Alles synchronisiert |
|
||||
|
||||
### Neue Dateien
|
||||
|
||||
- `includes/class-neuigkeit.php` - Popup-Logik
|
||||
- `includes/class-subscriber.php` - Newsletter (spaeter)
|
||||
- `help-service/content/popup-neuigkeiten.md` - Dokumentation
|
||||
|
||||
---
|
||||
|
||||
## Session 16.12.2025 (Vormittag) - Production Deployment
|
||||
|
||||
### Erledigte Aufgaben
|
||||
|
||||
| Aufgabe | Status | Details |
|
||||
|---------|--------|---------|
|
||||
| Backup 8200 | ✅ | WordPress + DB gesichert |
|
||||
| Kurs-Booking Migration | ✅ | Plugin + Daten von 8300 → 8200 |
|
||||
| MEC Cleanup | ✅ | Alle MEC-Plugins geloescht |
|
||||
| Permission-Script | ✅ | Optimiert (50s → 1.4s) |
|
||||
| Redis Setup | ✅ | WP_REDIS_* konfiguriert |
|
||||
| FastCGI Cache | ✅ | nginx.conf erstellt |
|
||||
| Coolify Config | ✅ | Komplettes Deployment-Paket |
|
||||
| Portal-Fix | ✅ | JavaScript-Redirect |
|
||||
|
||||
### Caching-Stack (verifiziert)
|
||||
|
||||
| Layer | Test |
|
||||
|-------|------|
|
||||
| Redis Object Cache | `redis-cli ping` → PONG |
|
||||
| Nginx FastCGI Cache | `X-FastCGI-Cache: HIT` |
|
||||
|
||||
### Bugfixes
|
||||
|
||||
| Problem | Loesung |
|
||||
|---------|---------|
|
||||
| Duplicator Pro 500 | PHP memory_limit auf 1024M |
|
||||
| 502 Bad Gateway | Docker DNS Resolver |
|
||||
| Kundenportal-Link | JavaScript window.open() |
|
||||
| FastCGI Cache fehlt | cache_path in http-Block |
|
||||
|
||||
---
|
||||
|
||||
## Naechste Aufgaben
|
||||
|
||||
### Prioritaet 1: Coolify Deployment (17.12.2025)
|
||||
|
||||
1. [ ] Domain in .env eintragen
|
||||
2. [ ] Sichere Passwoerter generieren
|
||||
3. [ ] Datenbank exportieren + URLs ersetzen
|
||||
4. [ ] In Coolify deployen
|
||||
5. [ ] WordPress einrichten
|
||||
6. [ ] Plugins aktivieren
|
||||
7. [ ] Redis aktivieren
|
||||
8. [ ] Finale Tests
|
||||
|
||||
### Prioritaet 2: Nach Go-Live
|
||||
|
||||
- [ ] SSL/HTTPS pruefen
|
||||
- [ ] E-Mail-Versand testen
|
||||
- [ ] Buchungsformular testen
|
||||
- [ ] sevDesk Integration pruefen
|
||||
|
||||
---
|
||||
|
||||
## Test-URLs
|
||||
|
||||
| Seite | URL |
|
||||
|-------|-----|
|
||||
| **Production Ready** | http://192.168.100.93:8200 |
|
||||
| Staging (Kadence) | http://192.168.100.93:8300 |
|
||||
| Original (Backup) | http://192.168.100.93:8600 |
|
||||
| Help-Service | http://192.168.100.93:5050 |
|
||||
|
||||
---
|
||||
|
||||
## Cache-Test Befehle
|
||||
|
||||
```bash
|
||||
# FastCGI Cache Status
|
||||
curl -sI http://192.168.100.93:8200/ | grep X-FastCGI-Cache
|
||||
|
||||
# Redis Status
|
||||
docker exec mec_redis_refactoring redis-cli ping
|
||||
|
||||
# Cache leeren
|
||||
docker exec mec_nginx_refactoring rm -rf /var/cache/nginx/fastcgi/*
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Coolify Environment Variables
|
||||
|
||||
```bash
|
||||
PROJECT_NAME=kursbooking
|
||||
DOMAIN=islandpferde-melanieworbs.de
|
||||
DB_NAME=wordpress_kursbooking
|
||||
DB_USER=wordpress
|
||||
DB_PASSWORD=<SICHERES_PASSWORT>
|
||||
DB_ROOT_PASSWORD=<SICHERES_PASSWORT>
|
||||
TABLE_PREFIX=kb_
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Quick Links
|
||||
|
||||
| Ressource | Beschreibung |
|
||||
|-----------|--------------|
|
||||
| [Sprint-Uebersicht](entwicklung/sprint-uebersicht) | Alle Sprints |
|
||||
| [Shortcodes](shortcodes) | Shortcode-Dokumentation |
|
||||
| [Buchungsfelder](buchungsfelder-uebersicht) | Feld-Konfiguration |
|
||||
|
||||
---
|
||||
|
||||
**Session beendet:** 16.12.2025
|
||||
**Naechste Session:** Production Deployment auf Coolify
|
||||
Reference in New Issue
Block a user