docling-studio/document-parser/infra
Pier-Jean Malandrino 1fa9256338 feat(settings): add paste-image size/type limits surfaced via /api/health
Introduces MAX_PASTE_IMAGE_SIZE_MB (default 10) and
PASTE_ALLOWED_IMAGE_TYPES (default image/png,image/jpeg,image/webp)
env vars so the upcoming Verify-mode clipboard-paste handler can
validate client-side against the same limits the backend enforces.

Follows the existing MAX_FILE_SIZE_MB pattern. Ships the accepted
design doc at docs/design/195-copy-paste-image-verify-mode.md.

Refs #195
2026-04-23 23:21:33 +02:00
..
neo4j chore(lint): fix ruff violations on Neo4j files 2026-04-20 10:22:33 +02:00
__init__.py Refactor backend to hexagonal architecture for converter extensibility 2026-03-31 10:34:07 +02:00
bbox.py Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
embedding_client.py feat: add embedding microservice and EmbeddingService port 2026-04-10 20:53:24 +02:00
local_chunker.py feat(neo4j): Day 3 — ChunkWriter, graph API, GraphView, README 2026-04-20 10:13:18 +02:00
local_converter.py refactor: centralize magic numbers for page dimensions, limits, and timeout (#168) 2026-04-16 08:32:07 +00:00
opensearch_store.py refactor: centralize magic numbers for page dimensions, limits, and timeout (#168) 2026-04-16 08:32:07 +00:00
rate_limiter.py Add in-memory rate limiting middleware 2026-04-03 13:56:05 +02:00
serve_converter.py feat: enable chunking in remote (Docling Serve) mode 2026-04-16 15:11:14 +02:00
settings.py feat(settings): add paste-image size/type limits surfaced via /api/health 2026-04-23 23:21:33 +02:00