Merge pull request 'Refactor/brand plenario io' (#15) from refactor/brand-plenario-io into main
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Successful in 4s

Reviewed-on: #15
This commit was merged in pull request #15.
This commit is contained in:
gnilebein committed 2026-11-07 16:36:24 +01:00
commit 4eed568a64
18 files changed
+28 -24

No files matched your search

+1 -1
View File
@@ -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
+4 -1
View File
@@ -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 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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.
*/
+1 -1
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -8,7 +8,7 @@ use Cake\Event\EventInterface;
use Cake\Http\Response;
/**
* Base controller of Plenario.
* Base controller of PlenarIO.
*/
class AppController extends Controller
{
+1 -1
View File
@@ -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
*/
+2 -2
View File
@@ -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()
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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><span>Plenar<span class="brand__io">IO</span></span>
</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') ?>
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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><span>Plenar<span class="brand__io">IO</span></span></a>
</div>
</header>
<main class="container main">
+1 -1
View File
@@ -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']) ?>
+2 -1
View File
@@ -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
*/
@@ -112,6 +112,7 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.brand__mark { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(var(--c0) 0 40%, var(--c1) 0 65%, var(--c2) 0 85%, var(--c3) 0); }
.brand__io { color: var(--primary); }
.site-nav { display: flex; gap: 20px; font-size: .95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
+1 -1
View File
@@ -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]