306886a42b
Auth (Test-Mode):
- middleware.AuthMiddleware now takes a devMode flag. In dev,
requests without Authorization fall back to a deterministic dev
UUID (00000000-...-001) and role=teacher. ENVIRONMENT=production
re-enables the strict 401 path.
- main.go wires devMode = cfg.Environment != "production".
- page.tsx replaces the red 'Anmeldung noch nicht integriert' banner
with a softer Testumgebung notice; the manual-token form moves
behind a nested details block.
Export endpoints (school-service):
- LoadExportLessons joins tt_lesson with tt_period for wall-clock
times; one query feeds both CSV and ICS.
- WriteCSV streams 10 columns including pinned flag.
- WriteICS emits one VEVENT per lesson anchored to a Monday — caller
overridable via ?start=YYYY-MM-DD. RFC 5545 escapes for ',', ';',
'\n' in icsEscape().
- NextMonday helper for the default anchor.
- GET /timetable/solutions/:id/export.{csv,ics} handlers attach
Content-Disposition: attachment so browsers download instead of
rendering.
Frontend:
- lib/stundenplan/api.ts downloadSolutionExport() fetches as blob,
triggers a synthetic <a download> click, and forwards the JWT when
present.
- PlanView gains CSV / ICS / Drucken buttons next to the perspective
selector. The toolbar carries class 'no-print' so window.print()
yields only the grid.
- globals.css @media print rule hides chrome, forces white
background, gives the table proper borders for A4.
Docs:
- docs-src/services/stundenplan/{index,architecture,constraints,
solver-tuning,export}.md with nav entry in mkdocs.yml under
Services → Stundenplaner.
- sbom/stundenplan/README.md lists manually-verified key dependencies
and the policy reference. scripts/stundenplan-sbom.sh generates
full machine-readable inventories via go-licenses + pip-licenses
+ license-checker when those tools are available.
Tests:
- internal/services/timetable_exports_test.go: 4 unit tests covering
CSV column layout + quoting, ICS structure + DTSTART formatting,
icsEscape special chars, NextMonday weekday math.
- studio-v2/e2e/stundenplan-export.spec.ts split out of the main spec
file (LOC budget) — 3 tests for button render, CSV download,
ICS download.
- mockSchoolApi extended with export.csv + export.ics routes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
99 lines
3.2 KiB
YAML
99 lines
3.2 KiB
YAML
site_name: BreakPilot Lehrer - Dokumentation
|
|
site_url: https://macmini:8010
|
|
docs_dir: docs-src
|
|
site_dir: docs-site
|
|
|
|
theme:
|
|
name: material
|
|
language: de
|
|
palette:
|
|
- scheme: default
|
|
primary: blue
|
|
accent: blue
|
|
toggle:
|
|
icon: material/brightness-7
|
|
name: Dark Mode
|
|
- scheme: slate
|
|
primary: blue
|
|
accent: blue
|
|
toggle:
|
|
icon: material/brightness-4
|
|
name: Light Mode
|
|
features:
|
|
- search.highlight
|
|
- search.suggest
|
|
- navigation.tabs
|
|
- navigation.sections
|
|
- navigation.expand
|
|
- navigation.top
|
|
- content.code.copy
|
|
- toc.follow
|
|
|
|
plugins:
|
|
- search:
|
|
lang: de
|
|
|
|
markdown_extensions:
|
|
- admonition
|
|
- pymdownx.details
|
|
- pymdownx.superfences:
|
|
custom_fences:
|
|
- name: mermaid
|
|
class: mermaid
|
|
format: !!python/name:pymdownx.superfences.fence_code_format
|
|
- pymdownx.tabbed:
|
|
alternate_style: true
|
|
- pymdownx.highlight:
|
|
anchor_linenums: true
|
|
- pymdownx.inlinehilite
|
|
- pymdownx.snippets
|
|
- tables
|
|
- attr_list
|
|
- md_in_html
|
|
- toc:
|
|
permalink: true
|
|
|
|
nav:
|
|
- Start: index.md
|
|
- Projekt:
|
|
- Vision & Mission: projekt/vision-und-mission.md
|
|
- Roadmap: projekt/roadmap.md
|
|
- Hardware & Distribution: projekt/hardware-und-distribution.md
|
|
- Services:
|
|
- KI-Daten-Pipeline:
|
|
- Uebersicht: services/ki-daten-pipeline/index.md
|
|
- Architektur: services/ki-daten-pipeline/architecture.md
|
|
- Klausur-Service:
|
|
- Uebersicht: services/klausur-service/index.md
|
|
- BYOEH Systemerklaerung: services/klausur-service/byoeh-system-erklaerung.md
|
|
- BYOEH Architektur: services/klausur-service/BYOEH-Architecture.md
|
|
- BYOEH Developer Guide: services/klausur-service/BYOEH-Developer-Guide.md
|
|
- NiBiS Pipeline: services/klausur-service/NiBiS-Ingestion-Pipeline.md
|
|
- OCR Pipeline: services/klausur-service/OCR-Pipeline.md
|
|
- OCR Kombi Pipeline: services/klausur-service/OCR-Kombi-Pipeline.md
|
|
- TrOCR ONNX: services/klausur-service/TrOCR-ONNX.md
|
|
- OCR Labeling: services/klausur-service/OCR-Labeling-Spec.md
|
|
- OCR Vergleich: services/klausur-service/OCR-Compare.md
|
|
- RAG Admin: services/klausur-service/RAG-Admin-Spec.md
|
|
- Worksheet Editor: services/klausur-service/Worksheet-Editor-Architecture.md
|
|
- Chunk-Browser: services/klausur-service/Chunk-Browser.md
|
|
- RAG Landkarte: services/klausur-service/RAG-Landkarte.md
|
|
- Voice-Service:
|
|
- Uebersicht: services/voice-service/index.md
|
|
- Agent-Core:
|
|
- Uebersicht: services/agent-core/index.md
|
|
- Stundenplaner:
|
|
- Uebersicht: services/stundenplan/index.md
|
|
- Architektur: services/stundenplan/architecture.md
|
|
- Constraints: services/stundenplan/constraints.md
|
|
- Solver-Tuning: services/stundenplan/solver-tuning.md
|
|
- Export: services/stundenplan/export.md
|
|
- Architektur:
|
|
- Multi-Agent System: architecture/multi-agent.md
|
|
- Zeugnis-System: architecture/zeugnis-system.md
|
|
- Entwicklung:
|
|
- Testing: development/testing.md
|
|
- Regression Testing: development/regression-testing.md
|
|
- Dokumentation: development/documentation.md
|
|
- CI/CD Pipeline: development/ci-cd-pipeline.md
|