32 Commits
Author SHA1 Message Date
TomandClaude Opus 5.5 79c23e42e1 Keep line breaks in event notes
The note was rendered as plain text, so the browser collapsed the editor's
line breaks into spaces. white-space: pre-line keeps them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:50:03 +02:00
TomandClaude Opus 5.5 f1a06956f7 Serve downloadable PDFs from a PocketBase documents collection
- New collection "documents" (title, slug, file, category, order, public);
  editors upload PDFs in the admin, no developer or redeploy needed
- The app serves each file at /dokumente/<slug>.pdf, a URL that survives a
  new upload (PocketBase's own file name gets a random suffix)
- New "documents" embed lists them as file cards, grouped by category;
  /downloads uses it
- List/view rules are "public = true", so a draft PDF is not reachable through
  the PocketBase API either
- Dev seed adds example documents with generated PDFs and fixes the
  const reassignment that broke seeding a fresh volume
- Docs: editor guide, architecture, and the manual production setup steps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:15:18 +02:00
TomandClaude Opus 5.5 24c787fb58 Move server-wide docs to the Infrastructure repo
- docs/unraid-infrastructure.md goes; host, network pattern, NPM, monitoring
  and the other containers now live in Tom/Infrastructure, referenced by its
  Gitea URL instead of a local path
- deployment.md stays self-contained: new prerequisite for proxynet and NPM,
  dig by IP (AdGuard blocks rzone.de), no docker login needed on Unraid,
  drops the finished Compose Manager switch and the generic NPM/runner pitfalls
- architektur.md AE-5 reflects the deploy from the repo and the Gitea secret
- entwicklung.md lists all three services of compose.yaml
- CLAUDE.md drops the obsolete YamlDotNet note (#50)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 14:46:16 +02:00
TomandClaude Opus 5.5 e003d53b49 Document the editor login with MFA and the PocketBase admin settings
- Login guide for editors (code by mail, leave the Id field alone) and the
  terminal fallback via `pocketbase superuser otp|upsert`
- Settings that live only in pb_data: app name/URL, X-Real-IP proxy header,
  rate limiting, SMTP via kontakt@, OTP+MFA, locked users collection
- German mail templates as one shared frame plus per-template parts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:42:32 +02:00
TomandClaude Opus 5.5 35073273d1 Serve the PocketBase admin at redaktion.elternbeirat-igmh.info
- eb-pocketbase joins proxynet so NPM reaches it as eb-pocketbase:8090, and
  drops the 8090 host port; no service publishes a port on Unraid anymore
- docs/deployment.md covers the Strato CNAME, the NPM proxy host and the
  / -> /_/ redirect (full URL, or nginx adds its :4443 container port)
- PB_URL in .env.example and the editor docs point at the subdomain

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 22:26:28 +02:00
TomandClaude Opus 5.5 955e2faa3f Remove untagged images after a healthy deploy
Every deploy leaves the previous :latest behind untagged on Unraid. The deploy
job now prunes untagged images once the health gate passed; a rollback pulls
its :<sha> from the registry anyway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 20:53:41 +02:00
TomandClaude Opus 5.5 05b1666f81 Deploy the stack from the repo's compose.yaml via Gitea Actions
- deploy.yml gets a deploy job after the build: pull, compose up on Unraid
  through the runner's Docker socket, then a health gate on eb-blazor /health
  from inside proxynet; docs-only pushes trigger nothing, manual runs allowed
- STRATO_DYNDNS_PASSWORD comes from a Gitea secret instead of the Compose
  Manager env file
- restart: always, because Unraid stops containers explicitly on shutdown and
  unless-stopped would leave the stack down after a reboot; the dev overlay
  turns it off
- Docs describe the automatic rollout and the one-time switch away from the
  Compose Manager stack

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:37:42 +02:00
TomandClaude Opus 5.5 4968b62f06 Put the site behind NPM via proxynet, add Strato DynDNS updater
- eb-blazor joins the external network proxynet and publishes no host port;
  NPM forwards to eb-blazor:8080 by name
- Stack network gets the fixed name eb-internal (Compose Manager derives the
  project name from the stack folder); the dev overlay resets it and turns
  proxynet into a local network
- eb-ddns keeps the A record of elternbeirat-igmh.info at Strato current
- docs/unraid-infrastructure.md records the actual Unraid state

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:12:18 +02:00
tleininger 7e56e83953 Serve static maintenance page with 503 when PocketBase is unreachable 2026-10-01 17:12:00 +02:00
tleininger 602f258257 Unify team grid, limit avatars to brand colours, keep duty tags on one line 2026-10-01 16:04:12 +02:00
tleininger a5a68ed122 Add ::: team block rendering board members as person cards with initials avatars 2026-10-01 15:55:28 +02:00
tleininger b2dc033de1 Add post and event cards, shared calendar sheet and per-event ICS; rework past events and next-event card 2026-10-01 15:32:01 +02:00
tleininger 6e5a30607e Polish home page: clamp tile teasers, balance hero heading, fix embed gap 2026-10-01 14:44:55 +02:00
tleininger c24ca16a41 Add home hero with intro and buttons from the body, next-event card and page tiles 2026-10-01 14:23:55 +02:00
tleininger e51afeb34b Add home hero with intro and buttons from the body, next-event card and page tiles 2026-10-01 14:05:25 +02:00
tleiningerandClaude Opus 5.5 5eb36ad3e9 Style editor Markdown with .markdown-body and add ::: design blocks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:52:51 +02:00
tleininger 33fa1e4e93 Add the design foundation: self-hosted Nunito, type scale, new tokens and an Icon component 2026-10-01 12:03:39 +02:00
tleininger 8fb5044062 Align the FAQ docs with the faq_topics collection 2026-10-01 11:37:04 +02:00
tleininger c7c55c0c6c Let editors define FAQ topics freely instead of a hard-coded map 2026-09-24 14:49:15 +02:00
tleininger 0f7e968c16 Harden the content contracts and enforce the slug rule 2026-09-24 12:08:56 +02:00
tleininger 6d3260db49 Read a post's date as the Berlin calendar day, not the raw UTC day 2026-09-24 09:11:37 +02:00
tleininger aef05fb090 Convert PocketBase dates to Berlin time; document code conventions 2026-09-24 08:53:47 +02:00
tleininger c3da5eb6e1 Auto-seed dev PocketBase and share its schema with the tests 2026-09-23 15:59:15 +02:00
tleininger 47d9841532 Remove the leftover file content layer and align the docs 2026-09-23 15:30:53 +02:00
tleininger b1d1953a62 Run PocketBase as a compose stack, tests included, without Testcontainers 2026-09-23 10:03:16 +02:00
tleininger f7fad64bcb Dissolve plan.md into docs/, move open work to Gitea issues 2026-09-22 13:39:27 +02:00
tleininger af051ef4bd Add Gitea Actions workflow to build and push the image on main 2026-09-22 08:35:33 +02:00
tleininger 9459d2aeaa Add events calendar with ICS feed and switch content naming to English 2026-09-21 16:22:56 +02:00
tleininger c4c7ca2ee4 Switch code, scripts and docs to English; drop plan.md references 2026-09-21 15:25:01 +02:00
tleiningerandClaude Opus 4.8 94d9cac77b Add release/dev build scripts and branch-based deploy workflow
- scripts/release.sh: build from main, tag :latest + short SHA, push
  both. Aborts if not on main or working tree is dirty; warns on
  unpushed commits. Prevents dev states from becoming :latest.
- scripts/dev-build.sh: local dev image (tagged per branch), never
  pushed -- keeps development builds off the registry.
- docs/deployment.md: document branch/PR workflow, replace manual
  build/push steps with the scripts, SHA-based rollback now standard.
- .gitattributes: force LF on *.sh so the shebang works on Windows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-21 07:58:46 +02:00
tleiningerandClaude Opus 4.8 467c7a3eb9 Document Unraid registry login (pitfalls, plaintext token note)
Add a dedicated Unraid login step to deployment.md: terminal-based
login (plugin has no UI field), the PowerShell-vs-Unraid mix-up, the
stuck-wrong-username fix (logout first), and the plaintext token
warning. Note a credential helper as a later cleanup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-21 00:09:51 +02:00
tleiningerandClaude Opus 4.8 ee90877dea Add deployment docs, switch compose to pull from registry
- docs/deployment.md: manual build/push/pull workflow via Gitea
  registry, token handling (no secrets in repo), test vs. production
  compose variants, rollback and later CI automation notes.
- compose.yaml: pull the prebuilt image from the Gitea registry instead
  of building from source on Unraid (source is not checked out there).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-20 23:31:43 +02:00