Commit Graph

51 Commits (8ff1aeac2aba117a0661ee0420520e5bff25b138)

Author SHA1 Message Date
boban 8ff1aeac2a Fix: Wizard Step 5 — per-Domain-Fortschritt, Cert-Fallback, ssl_configured
- mailwolt-apply-domains schreibt jetzt pro Domain running/done/error/nodns
  in die State-Dateien während certbot läuft (statt alles auf einmal am Ende)
- get_cert_dir() erstellt fullchain.pem/privkey.pem Symlinks auf cert.pem/key.pem
  wenn kein LE-Zertifikat vorhanden — verhindert nginx-t-Fehler und kaputten Redirect
- WizardDomains.php: ssl_configured wird jetzt anhand /etc/letsencrypt/live/ geprüft
  statt per Shell-Output (der wegen exec>>LOG immer leer war)
- Shell-Script schreibt done-Datei selbst; PHP nur noch als Absturz-Fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 12:54:11 +02:00
boban 9d3cbd88b6 Fix: Race Condition SSL-Wizard + fastcgi_param HTTPS on
- mailwolt-apply-domains schreibt State-Dateien (done=1) BEVOR nginx auf HTTPS
  switcht, dann sleep 6s → Browser kann noch über HTTP redirecten
- WizardDomains.php überschreibt done nicht wenn Shell-Script es bereits gesetzt hat
- fastcgi_param HTTPS on in HTTPS-Blocks ergänzt (ohne dies liefert Laravel 404
  weil Request-Schema falsch erkannt wird)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 16:06:25 +02:00
boban 1547302297 Fix: Wizard leitet nach SSL-Setup automatisch auf HTTPS weiter
- SESSION_SECURE_COOKIE wird nicht mehr automatisch gesetzt (verursachte 419 während HTTP-Poll)
- pollSetup() leitet Browser sofort auf https://domain/setup weiter sobald SSL fertig
- verhindert dass Livewire-Polling über HTTP läuft während nginx schon auf HTTPS umgestellt hat

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 15:54:08 +02:00
boban 7d30faa7d7 Fix: SESSION_SECURE_COOKIE verhindert HTTP-Setup (419-Fehler)
Installer setzt SESSION_SECURE_COOKIE=false initial – damit Setup-Wizard
über http://ip erreichbar ist. WizardDomains setzt es auf true nach
erfolgreichem SSL. mount()-Redirect ohne exit (sauberer Return).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 14:29:13 +02:00
boban 01e7db589a Fix: Installer + Wizard Step 5 robuster gegen IPv6/SSL-Fehler
- installer.sh: mailwolt-apply-domains mit 3-Phasen certbot (HTTP → LE → SSL),
  IPv6-Check vor certbot, Zertifikat-Ablauf-Check (10 Tage), Version-Datei schreiben
- WizardDomains: noipv6-Status aus Helper-Output erkennen
- Wizard: retryDomains()-Methode für Wiederholung ohne neuen Wizard-Durchlauf
- Step 5 Blade: Hints pro Fehlerstatus, Retry-Button, "Trotzdem zum Login"
- UpdatePage: Version aus Datei, Fallback auf git describe (kein "dev" mehr)
- UpdatePage: refreshLowLevelState behandelt fehlende State-Datei als idle

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 13:16:42 +02:00
boban e833ab72c6 Fix: WizardDomains übergibt SSL-Handling komplett an mailwolt-apply-domains
- Kein certbot --nginx mehr im Wizard (scheitert an catch-all server_name)
- mailwolt-apply-domains erstellt Vhosts zuerst, dann certbot --webroot
- sudoers-Eintrag für certbot im Installer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 22:48:47 +02:00
boban 627ef668e5 Feature: Domain Auto-fill, SSL-Skip, Dashboard SSL-Banner
- Wizard Schritt 2: leere Domain-Felder werden beim Tippen auto-gefüllt
  (wer nur eine Domain nutzt muss sie nur einmal eingeben)
- Wizard Schritt 4: Checkbox "SSL jetzt überspringen" mit Hinweistext
- Wizard Schritt 5: skip-Status wird pro Domain angezeigt
- WizardDomains schreibt ssl_configured=0/1 in Settings
- SettingsForm: setzt ssl_configured=1 nach erfolgreichem applyDomains
- Dashboard: gelber Banner wenn ssl_configured != 1, Link zu Einstellungen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 02:36:11 +02:00
boban 077a029ff4 Feature: Wizard Schritt 5 — Domain-Setup mit Fortschrittsanzeige
- Neuer Schritt 5: SSL-Registrierung läuft im Hintergrund pro Domain
- Artisan-Command mailwolt:wizard-domains schreibt per-Domain Status-Dateien
- Wizard pollt alle 2s: pending → running → done/nodns/error
- "Zum Login" Button erscheint wenn alle Domains abgeschlossen
- Mail-Domain erhält ebenfalls SSL-Zertifikat (für STARTTLS/IMAPS)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 02:29:52 +02:00
boban b52ea46f22 Fix: Lokal immer git describe als installierte Version verwenden
Auf APP_ENV=local wird die aktuelle Version direkt aus git describe
gelesen statt aus /var/lib/mailwolt/version — verhindert falschen
"Update verfügbar" Hinweis auf der Entwicklungsmaschine.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 02:02:57 +02:00
boban ad60bd61fe Fix: Update-Prüfung als www-data (git safe.directory), Toggle-Switch statt Checkbox
- CheckUpdates: git safe.directory vor fetch setzen damit www-data-Ausführung funktioniert
- Auto-Scroll: nativen Checkbox durch CSS Toggle-Switch ersetzt (passt zum Dark-Design)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 02:00:35 +02:00
boban 7bb922191f Feature: Update-System, Backup-Cron, SSL-Workflow, UI-Verbesserungen
- Update-Seite (/system/update) mit Log-Viewer, Fortschrittsbalken und goldenem Nav-Badge
- /usr/local/sbin/mailwolt-update Wrapper + backup:scheduled Cron-Command
- SSL: Checkbox entfernt, immer automatisch in Prod; local-Modus überspringt certbot mit manuellem Erzwingen-Modal
- Domain-Felder: live Validierung via updatedUiDomain/updatedMailDomain/updatedWebmailDomain
- DNS-Check in applyDomains() wiederhergestellt
- Backup-Cron: BackupScheduled Command + Laravel-Scheduler Eintrag in console.php
- /etc/cron.d/mailwolt-scheduler angelegt für schedule:run
- mailwolt-installer als regulärer Ordner (kein Submodule)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 01:23:43 +02:00
boban 659f3cb7ae Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-29 02:45:40 +01:00
boban 4645b168f7 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-28 20:20:30 +01:00
boban 3152dc94e2 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-28 19:51:33 +01:00
boban 59c495af84 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-28 19:38:37 +01:00
boban a5d3ac08c6 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-28 19:27:52 +01:00
boban dd645aed68 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-28 18:53:11 +01:00
boban 3108d521a5 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-28 18:07:37 +01:00
boban 93c87b8d89 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 19:04:45 +01:00
boban 18447dbf21 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 18:57:23 +01:00
boban c11d330c38 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 18:41:54 +01:00
boban a943b42fec Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 18:19:02 +01:00
boban 7a636fb496 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 17:34:03 +01:00
boban 9d2e8d2606 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 16:50:03 +01:00
boban ea12b97497 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 16:46:16 +01:00
boban 0d41b6b658 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-26 15:53:40 +01:00
boban 3504ca59c8 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-25 15:31:50 +02:00
boban f4e03fab82 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-25 14:56:01 +02:00
boban a9609d358b Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-25 13:10:06 +02:00
boban e67c8613b3 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-24 23:25:14 +02:00
boban 3396aab47f Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-24 01:08:49 +02:00
boban 300928851a Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 20:54:00 +02:00
boban 57b01654cc Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 20:41:15 +02:00
boban f69ea2ddcb Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 20:14:54 +02:00
boban 6fc74a0906 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 20:00:08 +02:00
boban 95ab70e251 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 19:53:09 +02:00
boban 7f4f2adbe5 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 19:32:44 +02:00
boban 323c6032af Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 18:30:20 +02:00
boban 2fecb09984 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 02:33:38 +02:00
boban a25de8c7b7 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 02:32:37 +02:00
boban 878dae8876 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 02:19:40 +02:00
boban fdfa282af0 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 01:57:37 +02:00
boban 45ec38452c Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 01:51:12 +02:00
boban 45d0071302 Fix: Mailbox Stats über Dovecot mit config/mailpool.php 2025-10-21 01:14:15 +02:00
boban c16fb74cd1 Rechtebechebung für User mit Sudorechte 2025-10-20 21:21:25 +02:00
boban d99913df06 Domain Create Modal anpassen Fehler auf Null 2025-10-17 18:40:12 +02:00
boban 0a03324eec Anpassen der Tlsa Record erstellung 2025-10-17 06:30:50 +02:00
boban 44a3056de9 Anpassen der Tlsa Record erstellung 2025-10-17 00:30:09 +02:00
boban 8bd603733f Init Mailwolt Installer 2025-10-16 10:33:51 +02:00
boban 7af7b2fb2b Hinzufügen der Seiten Seccrity und Domains 2025-10-07 20:24:26 +02:00