b494d29790
feat: v4.2.0 - series blocks (add to all days, delete one/all in series); 37 tests
Build & Push Docker / build (push) Has been cancelled
2026-02-20 17:58:56 +01:00
feb75219a7
feat: v4.2 - garant v editoru+PDF, footnote index v bloků, stránka s poznámkami
Build & Push Docker / build (push) Has been cancelled
2026-02-20 17:43:19 +01:00
6c4ca5e9be
feat: v4.1 - Czech diacritics in PDF (Liberation fonts), hour/min duration fields, day select in modal
Build & Push Docker / build (push) Has been cancelled
2026-02-20 17:39:38 +01:00
47add509ca
feat: v4.0 - multi-day horizontal canvas, duration input, overnight blocks, PDF horizontal layout
Build & Push Docker / build (push) Has been cancelled
2026-02-20 17:31:41 +01:00
25fd578543
feat: v3.0 - canvas editor, JSON-only, no Excel, new UI
...
Build & Push Docker / build (push) Has been cancelled
- Remove all Excel code (import, export, template, pandas, openpyxl)
- New canvas-based schedule editor with drag & drop (interact.js)
- Modern 3-panel UI: sidebar, canvas, documentation tab
- New data model: Block with id/date/start/end, ProgramType with id/name/color
- Clean API: GET /api/health, POST /api/validate, GET /api/sample, POST /api/generate-pdf
- Rewritten PDF generator using ScenarioDocument directly (no DataFrame)
- Professional PDF output: dark header, colored blocks, merged cells, legend, footer
- Sample JSON: "Zimní výjezd oddílu" with 11 blocks, 3 program types
- 30 tests passing (API, core models, PDF generation)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 17:02:51 +01:00
e2bdadd0ce
feat: refactor to FastAPI architecture v2.0
...
Build & Push Docker / build (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 16:28:21 +01:00
Martin Sukany
2f4c930739
Fix: step 2 -> step 2b/3 workflow
...
Build & Push Docker / build (push) Has been cancelled
Problem:
- Když uživatel importoval Excel a klikl 'Upravit v inline editoru' nebo 'Generovat',
dostal chybu 'Neplatný krok nebo chybějící data'
- step 2b vyžadoval file_item, ale formulář posílal file_content_base64
Řešení:
- Upravena podmínka pro step=2b aby akceptovala i file_content_base64
- Přidány 2 nové testy:
* test_excel_import_to_step2_workflow - testuje import -> step 2 -> step 3 (generate)
* test_excel_import_to_inline_editor_workflow - testuje import -> step 2 -> step 2b (inline editor)
Testy: 18/18 unit testů prošlo ✅
2025-11-13 16:15:23 +01:00
Martin Sukany
b7b56fe15f
Refactor: Oddělení business logiky + inline editor
...
Build & Push Docker / build (push) Has been cancelled
- Nový modul scenar/core.py (491 řádků čisté logiky)
- Refactored cgi-bin/scenar.py (450 řádků CGI wrapper)
- Inline editor s JavaScript row managementem
- Custom exceptions (ScenarsError, ValidationError, TemplateError)
- Kompletní test coverage (10 testů, všechny ✅ )
- Fixed Dockerfile (COPY scenar/, requirements.txt)
- Fixed requirements.txt (openpyxl==3.1.5)
- Fixed pytest.ini (pythonpath = .)
- Nové testy: test_http_inline.py, test_inline_builder.py
- HTTP testy označeny jako @pytest.mark.integration
- Build script: scripts/build_image.sh
- Dokumentace: COMPLETION.md
2025-11-13 16:06:32 +01:00
Martin Sukany
9a7ffdeb2c
copilot test
2025-11-13 11:37:28 +01:00