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

+38
View File
@@ -0,0 +1,38 @@
# Plenario environment configuration
# Copy to config/.env (not committed) or set these as real environment variables.
# Real environment variables take precedence over this file.
# --- Core -------------------------------------------------------------------
DEBUG=false
# Absolute URL used in e-mails, MUST be set in production
APP_FULL_BASE_URL=https://plenario.example.org
# Generate with: php -r "echo bin2hex(random_bytes(32));"
SECURITY_SALT=change-me-to-a-long-random-string
APP_DEFAULT_LOCALE=de_DE
# --- Database ---------------------------------------------------------------
# Empty = SQLite file data/plenario.sqlite
# DATABASE_URL=mysql://user:password@localhost/plenario?encoding=utf8mb4
# DATABASE_URL=postgres://user:password@localhost/plenario
# --- Mail -------------------------------------------------------------------
# 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
# --- Captcha ----------------------------------------------------------------
# none | math | recaptcha
CAPTCHA_TYPE=math
# Only for CAPTCHA_TYPE=recaptcha (reCAPTCHA v2 checkbox, https://www.google.com/recaptcha/admin)
RECAPTCHA_SITE_KEY=
RECAPTCHA_SECRET_KEY=
# --- Behaviour --------------------------------------------------------------
# Show the admin link right after creation (development only, never in production)
SHOW_ADMIN_LINK_AFTER_CREATE=false
# Max. polls / recovery mails per IP and hour (0 = unlimited)
THROTTLE_CREATE_PER_HOUR=10
THROTTLE_RECOVER_PER_HOUR=5
# How often presenter and participant pages poll for updates (ms)
POLL_INTERVAL_MS=2000