any-file to PDF (Phase 2, Chunk A): pandoc converters for docx/odt/rtf/tex/latex/org/adoc/rst, 27 formats, 126 tests green

This commit is contained in:
sirdave73
2026-09-02 21:55:22 -04:00
parent 2931d547de
commit b19d8d3f52
8 changed files with 721 additions and 11 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ MAX_UPLOAD_MB = 400
# existing /health contract asserts only status + max_upload_mb.
SUPPORTED_FORMATS = ["epub", "html", "htm", "md", "markdown", "txt", "log",
"csv", "tsv", "json", "xml", "svg", "png", "jpg",
"jpeg", "webp", "tiff", "bmp", "pdf"]
"jpeg", "webp", "tiff", "bmp", "pdf",
"docx", "odt", "rtf", "tex", "latex", "org", "adoc", "rst"]
# ZIP-bomb guard: total uncompressed size must stay within 8x the upload
# size, with a 2 GiB floor so normal books always fit (finding: zip bomb,