diff --git a/TODO.md b/TODO.md index e359ecd..c5a79be 100644 --- a/TODO.md +++ b/TODO.md @@ -47,6 +47,9 @@ - [x] Update `nginx/README.md`, `nginx/SETUP.md`, and all `nginx/docs/*.md` - [x] Update PHP source: `Database.php`, `SystemController.php`, `MediaController.php`, `LiveReloadController.php`, `SmtpRelay.php`, `live-reload.php`, export actions - [x] Update `app/migrations/run.php`, `app/tests/README.md`, `app/storage/README.md` +- [x] Replace all remaining "Post-ERG" branding with "XAMXAM" (scripts, PHP source, schema, docs) +- [x] `deploy-server.sh`: remove legacy `sites-enabled/posterg` symlink to fix duplicate `limit_req_zone` nginx error +- [x] Rename local `storage/posterg.db` → `storage/xamxam.db` ## CSS refactor diff --git a/app/public/admin/README.md b/app/public/admin/README.md index 7ba702e..25707a8 100644 --- a/app/public/admin/README.md +++ b/app/public/admin/README.md @@ -1,6 +1,6 @@ # Admin Panel Structure -This directory contains the admin panel for managing Post-ERG thesis database. +This directory contains the admin panel for managing XAMXAM thesis database. ## Directory Structure diff --git a/app/public/admin/actions/settings.php b/app/public/admin/actions/settings.php index 555ddaa..e303692 100644 --- a/app/public/admin/actions/settings.php +++ b/app/public/admin/actions/settings.php @@ -39,7 +39,7 @@ if ($section === 'formulaire') { 'encryption' => $_POST['smtp_encryption'] ?? 'tls', 'username' => $_POST['smtp_username'] ?? '', 'from_email' => $_POST['smtp_from_email'] ?? '', - 'from_name' => $_POST['smtp_from_name'] ?? 'Post-ERG', + 'from_name' => $_POST['smtp_from_name'] ?? 'XAMXAM', ]; // Only update password when user actually typed something. $pwd = $_POST['smtp_password'] ?? ''; diff --git a/app/public/admin/actions/smtp-test.php b/app/public/admin/actions/smtp-test.php index 2da9698..9aa807f 100644 --- a/app/public/admin/actions/smtp-test.php +++ b/app/public/admin/actions/smtp-test.php @@ -32,16 +32,16 @@ if (!SmtpRelay::isConfigured($db)) { exit; } -$subject = 'Test SMTP — Post-ERG'; +$subject = 'Test SMTP — XAMXAM'; $sentDate = date('d/m/Y à H:i:s'); $toSafe = htmlspecialchars($to); $body = <<

- Test d'envoi SMTP — Post-ERG + Test d'envoi SMTP — XAMXAM

-

Ceci est un e-mail de test envoyé depuis l'interface d'administration de Post-ERG.

+

Ceci est un e-mail de test envoyé depuis l'interface d'administration de XAMXAM.

Si vous recevez ce message, la configuration du relay SMTP est correcte.


diff --git a/app/src/Database.php b/app/src/Database.php index 5ab40c3..a07bb8f 100644 --- a/app/src/Database.php +++ b/app/src/Database.php @@ -1,7 +1,7 @@ '', 'password' => '', 'from_email' => '', - 'from_name' => 'Post-ERG', + 'from_name' => 'XAMXAM', ]; } diff --git a/app/storage/README.md b/app/storage/README.md index 8c3f05e..4a543cf 100644 --- a/app/storage/README.md +++ b/app/storage/README.md @@ -1,6 +1,6 @@ # Database Documentation -Complete documentation for the Post-ERG thesis database. +Complete documentation for the XAMXAM thesis database. ## 📚 Available Documentation diff --git a/app/storage/schema.sql b/app/storage/schema.sql index 40e9591..640fd23 100644 --- a/app/storage/schema.sql +++ b/app/storage/schema.sql @@ -1,4 +1,4 @@ --- Post-ERG Thesis Database Schema +-- XAMXAM Thesis Database Schema -- SQLite Database for managing final thesis projects (TFE) and doctoral theses -- ============================================================================ @@ -359,7 +359,7 @@ CREATE TABLE IF NOT EXISTS smtp_settings ( username TEXT NOT NULL DEFAULT '', password TEXT NOT NULL DEFAULT '', -- stored in clear for now; encrypt later from_email TEXT NOT NULL DEFAULT '', - from_name TEXT NOT NULL DEFAULT 'Post-ERG', + from_name TEXT NOT NULL DEFAULT 'XAMXAM', updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ); diff --git a/app/tests/README.md b/app/tests/README.md index 4c8f4a3..d7d3628 100644 --- a/app/tests/README.md +++ b/app/tests/README.md @@ -1,6 +1,6 @@ -# Post-ERG Test Suite +# XAMXAM Test Suite -Centralized test suite for the Post-ERG thesis management system. +Centralized test suite for the XAMXAM thesis management system. ## 📁 Structure @@ -145,7 +145,7 @@ just reset-db Successful test run: ``` ╔════════════════════════════════════════════╗ -║ Post-ERG Test Suite ║ +║ XAMXAM Test Suite ║ ╚════════════════════════════════════════════╝ ┌─────────────────────────────────────────┐ diff --git a/app/tests/run-tests.php b/app/tests/run-tests.php index 9027710..d82892d 100755 --- a/app/tests/run-tests.php +++ b/app/tests/run-tests.php @@ -1,12 +1,12 @@ #!/usr/bin/env php /dev/null; then