Commit Graph

4 Commits

Author SHA1 Message Date
wb
2389d377b8 fix(pdf): replace fpdf2 with weasyprint for proper md→PDF rendering
fpdf2's built-in Helvetica was Latin-1 only and required manual line-by-line
markdown parsing, causing indentation artifacts at speaker changes. weasyprint
renders via HTML+CSS so layout, wrapping, and Unicode all work correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 09:30:34 +02:00
wb
aff166f89d feat(email): result as HTML body, intermediate steps as .md + .pdf attachments
- Final pipeline result becomes the email body (plain text + HTML
  rendered from Markdown via multipart/alternative)
- All intermediate steps (transcript + prior analyses) are attached
  each as a .md file and a .pdf file
- _md_to_pdf(): pure-Python PDF generation via fpdf2 with minimal
  Markdown rendering (headers, bullets, numbered lists, inline cleanup)
- _collect_doc_chain(): walks source_document_id links to gather all
  ancestor documents oldest-first
- Add fpdf2==2.8.3 to requirements.txt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 15:27:52 +02:00
1c9953251f feat(diarization-ui): render markdown in document preview 2026-03-21 14:32:24 +01:00
25793c022c feat(diarization-ui): add FastAPI UI backend with sqlite storage and Ollama analysis pipeline 2026-03-21 13:47:36 +01:00