No description
  • TypeScript 91.4%
  • CSS 7.7%
  • Shell 0.6%
  • Dockerfile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
oliver.maklott 3221696abf
All checks were successful
Check / check (pull_request) Successful in 1m42s
Test / test (pull_request) Successful in 1m9s
E2E / e2e (pull_request) Successful in 6m44s
Test / test (push) Successful in 1m2s
Check / check (push) Successful in 1m36s
Publish / publish (push) Successful in 1m49s
E2E / e2e (push) Successful in 4m18s
chore: release 1.5.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 07:58:35 +00:00
.forgejo ci: publish the mock IdP as its own image (lvb-mock-idp) 2026-11-24 19:11:38 +00:00
assets feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
components feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
deploy feat: Microsoft Entra provider kind; form-action allows discovered IdP endpoints (D026, D027) 2026-11-24 18:43:13 +00:00
docker ci: publish the mock IdP as its own image (lvb-mock-idp) 2026-11-24 19:11:38 +00:00
docs feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
e2e feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
islands fix: distinguishable rating states; criteria legend lists each list once (D024) 2026-11-22 16:45:48 +00:00
lib feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
locales/de feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
routes feat: park assignments of unregistered Kürzel and provision them on registration (D028, D029) 2026-11-25 07:58:35 +00:00
scripts M8: hardening, docs, 1.0.0 (#14) 2026-11-14 00:59:59 +01:00
static M0: repo foundation (#1) 2026-11-13 21:41:39 +01:00
test feat: Microsoft Entra provider kind; form-action allows discovered IdP endpoints (D026, D027) 2026-11-24 18:43:13 +00:00
.dockerignore M1d: docker, compose, e2e, publish (#5) 2026-11-13 22:44:50 +01:00
.env.example fix: provider issuer sync, OIDC2 settings (1.0.1) (#15) 2026-11-14 01:29:21 +01:00
.gitignore fix: header breakpoints with headroom for wider system fonts (1.3.1) 2026-11-22 17:48:31 +00:00
CLAUDE.md M0: repo foundation (#1) 2026-11-13 21:41:39 +01:00
client.ts M4: evaluation (#10) 2026-11-13 23:51:37 +01:00
deno.json chore: release 1.5.0 2026-11-25 07:58:35 +00:00
deno.lock feat: class and school output as one PDF, optional duplex padding (D023) 2026-11-22 13:53:32 +00:00
main.ts M2: school master data and administration (#8) 2026-11-13 23:20:28 +01:00
README.md fix: filter row alignment; production image without dev environment (1.1.2) (#19) 2026-11-15 17:51:21 +01:00
utils.ts feat: in-app notifications with header bell, messages and reminders 2026-11-22 13:08:50 +00:00
vite.config.ts fix: filter row alignment; production image without dev environment (1.1.2) (#19) 2026-11-15 17:51:21 +01:00

LVB – Leistungs- und Verhaltensbeschreibung

Web application for teachers to record behaviour and learning evaluations of students and to produce the school's reports (PDF/Word). Built with Deno, Fresh 2 and PostgreSQL; deployed with Docker Compose and operated with lvbcmd.

Document Content
docs/HANDBUCH.md User handbook (German): teachers, class heads, administration
docs/OPERATIONS.md Operator handbook (German): installation, updates, backups, recovery, IdP change
docs/SECURITY.md Security and privacy model, threat model
docs/OPS-CONTRACT.md Contract between the image and lvbcmd
docs/IMPLEMENTATION-PLAN.md Plan and milestones
docs/decisions.md Decision log

Development

deno install
docker run -d --name lvb-pg -e POSTGRES_PASSWORD=postgres -p 127.0.0.1:55432:5432 postgres:17-alpine
export TEST_DATABASE_ADMIN_URL=postgres://postgres:postgres@127.0.0.1:55432/postgres
deno task check   # fmt, lint, types, i18n guard
deno task test    # unit + integration (real PostgreSQL)
e2e/run.sh        # full stack in Docker + Playwright (PLAYWRIGHT_DOCKER=1 to run browsers in Docker)

Images

docker/Dockerfile builds two images:

Target Content
runtime (default) Production: built web app, bundled worker/ops (runtime/*.js), catalogs, pg client, age – no sources, tests, node_modules or build tools
dev Development container: full source and toolchain (vite, tests, mock IdP); never deployed
docker build -f docker/Dockerfile --target dev -t lvb-dev .
# Tooling on the working tree (the image keeps its own node_modules):
docker run --rm -it -v "$PWD:/app" -v /app/node_modules lvb-dev deno task check
# Vite dev server on http://localhost:5173 (needs the variables of .env.example):
docker run --rm -it -p 5173:5173 --env-file .env -v "$PWD:/app" -v /app/node_modules lvb-dev

e2e/run.sh builds both, runs the mock IdPs from the dev image and fails if the production image contains anything besides _fresh/, locales/ and runtime/.

Conventions are in CLAUDE.md. Real school data (*.xlsx, *.docx, the prototype) must never be committed; tests use synthetic fixtures (test/fixtures/).