From 38031374c1c8e88d4ac1fc82ab4c035d87a3ec91 Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Wed, 22 Apr 2026 11:23:00 +0200 Subject: [PATCH] fix(partage): smtp view missing in schema + thanks redirect broken - Add v_smtp_active VIEW to schema.sql (was only in migration 012, causing SmtpRelay::isConfigured() to always return false on fresh installs) - Change thanks redirect from /partage/thanks.php to /partage/thanks (nginx 'location ~ \.php$ { deny all }' blocked the .php URL) - Route /partage/thanks in index.php before slug validation - Guard App::boot() in thanks.php to avoid double-boot when included --- TODO.md | 1 + app/public/partage/index.php | 9 ++++++++- app/public/partage/thanks.php | 7 ++++--- app/storage/schema.sql | 3 +++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index cc5db90..a221bc8 100644 --- a/TODO.md +++ b/TODO.md @@ -9,4 +9,5 @@ - [x] Lock body scroll on all pages (admin + public); only `main` or inner element scrolls - [x] Unify form CSS between admin `add.php` and student partage form: move licence/share-badge styles into `admin.css`, remove inline `