gendesign/backend
Light1YT 2c19f35eff feat(exporters): Site Finder report PDF exporter (#989, 955-A3)
Add backend/app/services/exporters/report_pdf.py: export_report_pdf(report)->bytes,
the additive PDF counterpart to excel.export_report_xlsx (#991). Renders a
SiteFinderReport (#987) to PDF via WeasyPrint across the 6 §13 content sections
(Сводка/Рынок сейчас/Будущий рынок/Продукт ТЗ/Сценарии/Скоринг).

Mirrors house style: _normalize (instance or as_dict), named-const titles/CSS/
microcopy, RU labels, None→"—", graceful-never-raise, ADVISORY marker, local
weasyprint import. All dynamic fields html.escape'd. STRICTLY ADDITIVE — zero
edits to the 3 live PDF exporters (tradein/layout/snapshot) per tech-analyst
blast-radius analysis; "unify pdf.py" deferred (would rewrite 3 working features
for no gain). Endpoint wiring is #959. 16 tests (render proven via Rosetta x86_64;
6 native-render cases need Docker/CI matched-arch libgobject — pure-logic green).
2026-06-03 14:08:26 +05:00
..
alembic ops: alembic baseline, pre-commit, TIGER cleanup, pg_dump scripts 2026-04-26 13:08:51 +03:00
app feat(exporters): Site Finder report PDF exporter (#989, 955-A3) 2026-06-03 14:08:26 +05:00
db/init ops: alembic baseline, pre-commit, TIGER cleanup, pg_dump scripts 2026-04-26 13:08:51 +03:00
output feat(geo): NSPD bulk-fetcher без Playwright + resume-friendly UI 2026-05-11 08:53:28 +03:00
tests feat(exporters): Site Finder report PDF exporter (#989, 955-A3) 2026-06-03 14:08:26 +05:00
.dockerignore fix(scraper): диагностируем «кнопка не работает» — Redis lock + task_received log 2026-04-28 23:17:42 +03:00
.env.example refactor(security): убрать X-Admin-Token (Caddy basic_auth достаточен) (#437) 2026-05-23 10:41:22 +00:00
.env.runtime.example sprint1: nspd scraper industrialization, per-bucket elasticity, cadastre cross-check, sentry releases 2026-04-30 21:51:19 +03:00
alembic.ini ops: alembic baseline, pre-commit, TIGER cleanup, pg_dump scripts 2026-04-26 13:08:51 +03:00
debug.log feat(geo): NSPD bulk-fetcher без Playwright + resume-friendly UI 2026-05-11 08:53:28 +03:00
Dockerfile fix(scraper): диагностируем «кнопка не работает» — Redis lock + task_received log 2026-04-28 23:17:42 +03:00
pyproject.toml feat(rbac): role-based access control via X-Authenticated-User middleware (#585) 2026-05-26 06:18:40 +00:00
uv.lock feat(rbac): role-based access control via X-Authenticated-User middleware (#585) 2026-05-26 06:18:40 +00:00