Add initial Plenario live polling app
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Failing after 5s

CakePHP 5.4 app for live polls: create via email without login, manage
via secret admin link, join via code. Includes slide types (choice,
wordcloud, open, scale, content), presenter mode, CSV export, captcha,
throttling, tests and Gitea CI/deploy workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 13:24:29 +01:00
commit eb319f8c1e
120 files changed
+15572

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @since 0.10.0
* @license https://opensource.org/licenses/mit-license.php MIT License
* @var \App\View\AppView $this
*/
echo $this->fetch('content');
+46
View File
@@ -0,0 +1,46 @@
<?php
/**
* Default layout for public, participant and admin pages.
*
* @var \App\View\AppView $this
*/
$title = $this->fetch('title');
?>
<!DOCTYPE html>
<html lang="de">
<head>
<?= $this->Html->charset() ?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="<?= h((string)$this->request->getAttribute('csrfToken')) ?>">
<?php if ($this->fetch('noindex')) : ?>
<meta name="robots" content="noindex, nofollow">
<?php endif; ?>
<title><?= $title ? h($title) . ' · ' : '' ?>Plenario</title>
<?= $this->Html->meta('icon') ?>
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
<?= $this->fetch('meta') ?>
<?= $this->fetch('css') ?>
</head>
<body class="<?= h($this->fetch('bodyClass')) ?>">
<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
</a>
<nav class="site-nav">
<a href="<?= $this->Url->build(['_name' => 'join']) ?>"><?= __('Teilnehmen') ?></a>
<a href="<?= $this->Url->build(['_name' => 'recover']) ?>"><?= __('Admin-Link verloren?') ?></a>
</nav>
</div>
</header>
<main class="container main">
<?= $this->Flash->render() ?>
<?= $this->fetch('content') ?>
</main>
<footer class="site-footer container">
<span>Plenario – <?= __('Live-Umfragen ohne Login') ?></span>
</footer>
<?= $this->Html->script('plenario') ?>
<?= $this->fetch('script') ?>
</body>
</html>
+18
View File
@@ -0,0 +1,18 @@
<?php
/**
* @var \App\View\AppView $this
*/
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title><?= $this->fetch('title') ?></title>
</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>
<?= $this->fetch('content') ?>
</div>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
<?php
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @since 0.10.0
* @license https://opensource.org/licenses/mit-license.php MIT License
* @var \App\View\AppView $this
*/
echo $this->fetch('content');
+31
View File
@@ -0,0 +1,31 @@
<?php
/**
* Layout for production error pages (debug = false).
*
* @var \App\View\AppView $this
*/
?>
<!DOCTYPE html>
<html lang="de">
<head>
<?= $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>
<?= $this->Html->meta('icon') ?>
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
</head>
<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>
</div>
</header>
<main class="container main">
<section class="card card--narrow center">
<?= $this->fetch('content') ?>
<p><a class="button" href="<?= $this->Url->build('/') ?>"><?= __('Zur Startseite') ?></a></p>
</section>
</main>
</body>
</html>
+24
View File
@@ -0,0 +1,24 @@
<?php
/**
* Full screen presenter layout (dark, no navigation).
*
* @var \App\View\AppView $this
*/
?>
<!DOCTYPE html>
<html lang="de">
<head>
<?= $this->Html->charset() ?>
<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>
<?= $this->Html->meta('icon') ?>
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
</head>
<body class="present">
<?= $this->fetch('content') ?>
<?= $this->Html->script('plenario') ?>
<?= $this->fetch('script') ?>
</body>
</html>