No description
  • Python 68.9%
  • HTML 20.9%
  • CSS 6.9%
  • JavaScript 3.1%
  • Dockerfile 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sven Bröckling 117c49b26a
All checks were successful
Publish container image / publish (push) Successful in 1m31s
Updated dependencies
2026-12-04 22:19:50 +01:00
.forgejo/workflows Moved ci to forgejo 2026-09-03 19:06:48 +02:00
base Removed the images from the dashboard gathering rows again 2026-12-04 21:25:38 +01:00
contrib Added nginx config; fixed media url 2026-07-17 20:09:38 +02:00
docs Removed the images from the dashboard gathering rows again 2026-12-04 21:25:38 +01:00
fellowships Gave Fellowship gatherings one page inside their Fellowship, managed by its admins and GMs 2026-12-02 19:32:03 +01:00
gatherings Named whose date poll it is and confirmed poll dates through a modal that says who gets mails 2026-12-02 21:42:06 +01:00
locale/de/LC_MESSAGES Named whose date poll it is and confirmed poll dates through a modal that says who gets mails 2026-12-02 21:42:06 +01:00
mail_queue Kept the query on moved gathering links and stopped re-queueing mails whose retries are used up 2026-12-02 19:40:26 +01:00
profiles Applied the new mail design to every mail 2026-12-02 18:46:07 +01:00
QuestBoard Added a beat task that queues mails again when their send task got lost 2026-12-02 19:09:20 +01:00
rpgs Removed tests that only checked the RPG seed catalog 2026-11-04 23:49:33 +01:00
static Removed the images from the dashboard gathering rows again 2026-12-04 21:25:38 +01:00
templates Moved dashboard gathering images to the row end and gave all date tiles one size 2026-12-04 16:30:01 +01:00
.dockerignore Fix Discord webhook SSRF, repair the test suite, clean up dead code 2026-09-20 13:59:05 +02:00
.env.docker.example Fix Discord webhook SSRF, repair the test suite, clean up dead code 2026-09-20 13:59:05 +02:00
.env.example Added a beat task that queues mails again when their send task got lost 2026-12-02 19:09:20 +01:00
.gitignore Added AGENTS.md 2026-09-20 14:00:52 +02:00
.python-version Initial commit 2026-06-26 14:39:35 +02:00
AGENTS.md Removed the images from the dashboard gathering rows again 2026-12-04 21:25:38 +01:00
CLAUDE.md Added the mail queue and routed every outbound mail through it 2026-12-02 18:31:35 +01:00
docker-compose.yml Added migrations to app image; updated python 2026-07-17 19:15:54 +02:00
docker-entrypoint.sh Wait for the database in the container entrypoint 2026-11-05 00:15:17 +01:00
Dockerfile Added migrations to app image; updated python 2026-07-17 19:15:54 +02:00
manage.py Added ruff and formatted all files 2026-11-04 15:13:35 +01:00
pyproject.toml Added the mail queue and routed every outbound mail through it 2026-12-02 18:31:35 +01:00
README.md Add the possibility to create concrete gathering 2026-09-09 20:39:14 +02:00
uv.lock Updated dependencies 2026-12-04 22:19:50 +01:00

QuestBoard

QuestBoard is a lightweight Django scheduling app for tabletop RPG gatherings. It supports anonymous gathering polls with public participation links and private admin links, optional registered game-master accounts, Discord webhook notifications, email notifications, and Celery background jobs.

Stack

  • Python 3.12 managed with uv
  • Django 6
  • PostgreSQL via POSTGRES_* environment variables
  • Celery with Redis
  • HTMX, vanilla JavaScript, Bootstrap CSS
  • Local static assets only, no CDN references in templates

Local Setup

Create the database and Redis service however you prefer, then configure the app:

cp .env.example .env
uv sync
uv run python manage.py migrate
uv run python manage.py createsuperuser
uv run python manage.py runserver

For a quick SQLite-only smoke test:

USE_SQLITE=True uv run python manage.py test

Container publishing and deployment

Pushing to main runs the Forgejo Action in .forgejo/workflows/publish-image.yml. It publishes lorebase.eu/sven/questboard with both latest and the commit SHA; it never deploys the application. Configure the repository Action secret REGISTRY_TOKEN with permission to publish packages before the first push.

Deployments are deliberately manual on the server:

ssh -p 33161 sven@jaar.nimbostratus.de
cd /home/sven/deployments/questboard
./deploy.sh [commit-sha]

Omit the optional commit SHA to deploy latest. The deployment directory's .env must define FORGEJO_TOKEN with package-read access. REGISTRY_USER defaults to sven and can be overridden when the token belongs to another Forgejo account.

Background Jobs

Run a Celery worker:

uv run celery -A QuestBoard worker -l info

Run Celery beat for scheduled deadline and reminder processing:

uv run celery -A QuestBoard beat -l info

The configured periodic tasks are:

  • gatherings.tasks.process_registration_deadlines
  • gatherings.tasks.send_due_reminders

Application Areas

  • base: landing page, imprint, privacy policy
  • profiles: custom profiles.User, profile editing, profile detail, anonymous gathering claiming
  • gatherings: gathering polls, anonymous participation, admin/public hash URLs, notification services, Celery tasks

Notes

  • Production should set a real SECRET_KEY, ALLOWED_HOSTS, email backend, PostgreSQL settings, and Redis URL.
  • The imprint and privacy templates are placeholders and must be replaced before public deployment.
  • Discord webhook calls are isolated in gatherings.services.NotificationService so additional providers can be added without changing views.
  • RPG catalog curation and the Wikimedia Attention Index are documented in docs/rpg-catalog.md.