Use PlenarIO as product name spelling
Display name in layouts, mails, docs and comments is now "PlenarIO". Technical identifiers (config keys, JS namespace, file names, cookies, existing migrations) stay unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
187af50bcf
commit
6c0b7ebf3f
18 files changed
+27
-24
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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`).
|
||||
|
||||
@@ -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.
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Plenario routes.
|
||||
* PlenarIO routes.
|
||||
*
|
||||
* Public: / start page (create poll, join by code)
|
||||
* /recover re-send admin links by e-mail
|
||||
|
||||
@@ -8,7 +8,7 @@ use Cake\Event\EventInterface;
|
||||
use Cake\Http\Response;
|
||||
|
||||
/**
|
||||
* Base controller of Plenario.
|
||||
* Base controller of PlenarIO.
|
||||
*/
|
||||
class AppController extends Controller
|
||||
{
|
||||
|
||||
@@ -133,7 +133,7 @@ class EmbedController extends AppController
|
||||
|
||||
/**
|
||||
* Still visible: keeps the slide live – but never takes it back when the
|
||||
* presenter has switched to another slide in Plenario in the meantime.
|
||||
* presenter has switched to another slide in PlenarIO in the meantime.
|
||||
*
|
||||
* @return \Cake\Http\Response
|
||||
*/
|
||||
|
||||
@@ -7,7 +7,7 @@ use App\Model\Entity\Poll;
|
||||
use Cake\Mailer\Mailer;
|
||||
|
||||
/**
|
||||
* Mails sent by Plenario. Templates: templates/email/{html,text}/.
|
||||
* Mails sent by PlenarIO. Templates: templates/email/{html,text}/.
|
||||
*/
|
||||
class PollMailer extends Mailer
|
||||
{
|
||||
@@ -41,7 +41,7 @@ class PollMailer extends Mailer
|
||||
{
|
||||
$this
|
||||
->setTo($email)
|
||||
->setSubject(__('Deine Admin-Links bei Plenario'))
|
||||
->setSubject(__('Deine Admin-Links bei PlenarIO'))
|
||||
->setEmailFormat('both')
|
||||
->setViewVars(compact('links'))
|
||||
->viewBuilder()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -15,7 +15,7 @@ $title = $this->fetch('title');
|
||||
<?php if ($this->fetch('noindex')) : ?>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<?php endif; ?>
|
||||
<title><?= $title ? h($title) . ' · ' : '' ?>Plenario</title>
|
||||
<title><?= $title ? h($title) . ' · ' : '' ?>PlenarIO</title>
|
||||
<?= $this->element('theme_init') ?>
|
||||
<?= $this->Html->meta('icon') ?>
|
||||
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
|
||||
@@ -26,7 +26,7 @@ $title = $this->fetch('title');
|
||||
<header class="site-header">
|
||||
<div class="container site-header__inner">
|
||||
<a class="brand" href="<?= $this->Url->build(['_name' => 'home']) ?>">
|
||||
<span class="brand__mark" aria-hidden="true"></span>Plenario
|
||||
<span class="brand__mark" aria-hidden="true"></span>PlenarIO
|
||||
</a>
|
||||
<nav class="site-nav">
|
||||
<a href="<?= $this->Url->build(['_name' => 'join']) ?>"><?= __('Teilnehmen') ?></a>
|
||||
@@ -40,7 +40,7 @@ $title = $this->fetch('title');
|
||||
<?= $this->fetch('content') ?>
|
||||
</main>
|
||||
<footer class="site-footer container">
|
||||
<span>Plenario – <?= __('Live-Umfragen ohne Login') ?></span>
|
||||
<span>PlenarIO – <?= __('Live-Umfragen ohne Login') ?></span>
|
||||
</footer>
|
||||
<?= $this->Html->script('plenario') ?>
|
||||
<?= $this->fetch('script') ?>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</head>
|
||||
<body style="margin:0;padding:24px;background:#f4f5fb;font-family:Segoe UI,Helvetica,Arial,sans-serif;color:#1d1f33;">
|
||||
<div style="max-width:560px;margin:0 auto;background:#ffffff;border-radius:12px;padding:32px;">
|
||||
<p style="margin:0 0 24px;font-size:20px;font-weight:700;color:#4b3fe0;">Plenario</p>
|
||||
<p style="margin:0 0 24px;font-size:20px;font-weight:700;color:#4b3fe0;">PlenarIO</p>
|
||||
<?= $this->fetch('content') ?>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<?= $this->Html->charset() ?>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex">
|
||||
<title><?= h($this->fetch('title')) ?> · Plenario</title>
|
||||
<title><?= h($this->fetch('title')) ?> · PlenarIO</title>
|
||||
<?= $this->element('theme_init') ?>
|
||||
<?= $this->Html->meta('icon') ?>
|
||||
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
|
||||
@@ -19,7 +19,7 @@
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<div class="container site-header__inner">
|
||||
<a class="brand" href="<?= $this->Url->build('/') ?>"><span class="brand__mark" aria-hidden="true"></span>Plenario</a>
|
||||
<a class="brand" href="<?= $this->Url->build('/') ?>"><span class="brand__mark" aria-hidden="true"></span>PlenarIO</a>
|
||||
</div>
|
||||
</header>
|
||||
<main class="container main">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="csrf-token" content="<?= h((string)$this->request->getAttribute('csrfToken')) ?>">
|
||||
<title><?= h($this->fetch('title')) ?> · Plenario</title>
|
||||
<title><?= h($this->fetch('title')) ?> · PlenarIO</title>
|
||||
<?= $this->element('theme_init', ['key' => 'plenario-theme-present', 'fallback' => 'dark']) ?>
|
||||
<?= $this->Html->meta('icon') ?>
|
||||
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Plenario stylesheet – no framework, no build step.
|
||||
* PlenarIO stylesheet – no framework, no build step.
|
||||
* Sections: tokens · base · layout · components · forms · admin · participant · results · presenter
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Plenario frontend – plain JavaScript, no build step, no dependencies.
|
||||
* PlenarIO frontend – plain JavaScript, no build step, no dependencies.
|
||||
*
|
||||
* Modules (auto-initialised by data attributes):
|
||||
* - [data-copy] copy the value of the sibling [data-copy-source]
|
||||
|
||||
Reference in new issue
Block a user