diff --git a/.gitignore b/.gitignore index 32c42c1..618b3a9 100644 --- a/.gitignore +++ b/.gitignore @@ -83,7 +83,7 @@ yarn-error.log # PHP CS Fixer .php_cs.cache .php-cs-fixer.cache -# Plenario: lokale SQLite-Datenbank und Mail-Dumps +# PlenarIO: lokale SQLite-Datenbank und Mail-Dumps /data/*.sqlite /data/*.sqlite-journal /data/*.sqlite-wal diff --git a/AGENTS.md b/AGENTS.md index c322ba3..293c080 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,7 @@ Du arbeitest in diesem Projekt als **Senior PHP-Entwickler** (CakePHP, modernes ## Projekt in einem Satz -Plenario ist ein Mentimeter-/Claper-ähnliches Live-Umfragetool auf **CakePHP 5.4**: Umfrage per +PlenarIO ist ein Mentimeter-/Claper-ähnliches Live-Umfragetool auf **CakePHP 5.4**: Umfrage per E-Mail anlegen, kein Login, Verwaltung über einen geheimen Admin-Link, Teilnahme per Code. ## Befehle @@ -184,6 +184,9 @@ Kein WebSocket: Presenter (`/admin/{token}/state`) und Teilnehmende (`/p/{code}/ ## Konventionen - Sprache der UI: **Deutsch**, Texte über `__()`. Code, Kommentare, Bezeichner: Englisch. +- Produktname in allen sichtbaren Texten, Mails, Doku und Kommentaren: **PlenarIO** (Wortspiel Plenum + Input/Output). + Technische Bezeichner bleiben unverändert (`Plenario.*` in der Config, `window.Plenario`, `PlenarioTestTrait`, + `plenario.css/js`, Cookie `plenario_pid`, `localStorage`-Schlüssel, Repo, Domain, DB-Datei); bestehende Migrationen nicht anfassen. - PHP: `declare(strict_types=1);`, CakePHP Coding Standard (`phpcs.xml`), typisierte Properties statt dynamischer. - Tables über `fetchTable()` holen und in typisierte Properties legen. - Einrückung 4 Spaces, LF (siehe `.editorconfig`). diff --git a/README.md b/README.md index b5a64f7..d2f2318 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Plenario +# PlenarIO Live-Umfragen für Vorträge, Workshops und Meetings – ähnlich wie Mentimeter oder Claper, aber **ohne Login**: Wer eine Umfrage anlegt, bekommt einen geheimen Admin-Link per E-Mail. diff --git a/config/.env.example b/config/.env.example index 87cd847..d10b755 100644 --- a/config/.env.example +++ b/config/.env.example @@ -1,4 +1,4 @@ -# Plenario environment configuration +# PlenarIO environment configuration # Copy to config/.env (not committed) or set these as real environment variables. # Real environment variables take precedence over this file. @@ -19,7 +19,7 @@ APP_DEFAULT_LOCALE=de_DE # Empty = .eml files in tmp/mails/ (development only!) # EMAIL_TRANSPORT_DEFAULT_URL=smtp://user:password@mail.example.org:587?tls=true MAIL_FROM=noreply@plenario.example.org -MAIL_FROM_NAME=Plenario +MAIL_FROM_NAME=PlenarIO # --- Captcha ---------------------------------------------------------------- # none | math | recaptcha diff --git a/config/app.php b/config/app.php index 7e27c73..ab3698d 100644 --- a/config/app.php +++ b/config/app.php @@ -9,7 +9,7 @@ use function Cake\Core\env; return [ /* - * Plenario application settings. + * PlenarIO application settings. * * Every value can be overridden in config/app_local.php or via environment * variables (see config/.env.example). @@ -306,7 +306,7 @@ return [ 'Email' => [ 'default' => [ 'transport' => 'default', - 'from' => [env('MAIL_FROM', 'noreply@localhost') => env('MAIL_FROM_NAME', 'Plenario')], + 'from' => [env('MAIL_FROM', 'noreply@localhost') => env('MAIL_FROM_NAME', 'PlenarIO')], /* * Will by default be set to config value of App.encoding, if that exists otherwise to UTF-8. */ diff --git a/config/bootstrap.php b/config/bootstrap.php index b97741e..b8b9d4b 100644 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -66,7 +66,7 @@ require CAKE . 'functions.php'; * security risks. See https://github.com/josegonzalez/php-dotenv#general-security-information * for more information for recommended practices. */ -// Plenario: config/.env is optional. Real environment variables always win. +// PlenarIO: config/.env is optional. Real environment variables always win. if (file_exists(CONFIG . '.env')) { $dotenv = new \josegonzalez\Dotenv\Loader([CONFIG . '.env']); $dotenv->parse() diff --git a/config/routes.php b/config/routes.php index 3df5ccb..93f74c6 100644 --- a/config/routes.php +++ b/config/routes.php @@ -1,6 +1,6 @@ setTo($email) - ->setSubject(__('Deine Admin-Links bei Plenario')) + ->setSubject(__('Deine Admin-Links bei PlenarIO')) ->setEmailFormat('both') ->setViewVars(compact('links')) ->viewBuilder() diff --git a/src/Model/Entity/Poll.php b/src/Model/Entity/Poll.php index e7bfc81..22d7236 100644 --- a/src/Model/Entity/Poll.php +++ b/src/Model/Entity/Poll.php @@ -62,7 +62,7 @@ class Poll extends Entity } /** - * Shows a slide to the participants (from Plenario itself: no embed timeout). + * Shows a slide to the participants (from PlenarIO itself: no embed timeout). * * @param int $slideId Slide id (must belong to this poll, checked by the caller) * @return void diff --git a/src/Model/Table/PollsTable.php b/src/Model/Table/PollsTable.php index d51485a..4614459 100644 --- a/src/Model/Table/PollsTable.php +++ b/src/Model/Table/PollsTable.php @@ -277,7 +277,7 @@ class PollsTable extends Table /** * Pauses the poll when the embedded slide that made itself live has stopped reporting - * (presentation moved on to a non-Plenario slide, or was closed without a pause beacon). + * (presentation moved on to a non-PlenarIO slide, or was closed without a pause beacon). * Called lazily whenever the state is read, like SlidesTable::closeIfExpired(). * * @param \App\Model\Entity\Poll $poll Poll diff --git a/templates/layout/default.php b/templates/layout/default.php index 15ae39c..5a136cb 100644 --- a/templates/layout/default.php +++ b/templates/layout/default.php @@ -15,7 +15,7 @@ $title = $this->fetch('title'); fetch('noindex')) : ?> -