docling-studio/document-parser
Pier-Jean Malandrino d02731b622
feat(settings): paste-image size/type limits for #195 (#196)
* docs: rename Clean Architecture → Hexagonal Architecture (ports & adapters)

Le backend suit le pattern ports & adapters (ports dans domain/ports.py,
adaptateurs dans infra/), pas Clean Architecture au sens Uncle Bob.
Aligne la terminologie dans README, docs/architecture.md, ADR guide,
audit master, fiche audit 01, et la nav mkdocs.

Les noms de fichiers et la commande /audit:clean-architecture restent
stables pour preserver les liens croises et les skills existants.

* 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-27 17:22:19 +02:00
..
api feat(settings): paste-image size/type limits for #195 (#196) 2026-04-27 17:22:19 +02:00
domain feat(reasoning): bidirectional PDF ↔ graph focus + DocumentView mode 2026-04-23 22:07:58 +02:00
infra feat(settings): paste-image size/type limits for #195 (#196) 2026-04-27 17:22:19 +02:00
persistence feat(reasoning): reasoning-trace viewer v1 with SQLite-backed graph 2026-04-21 11:30:47 +02:00
services feat(neo4j): Day 3 — ChunkWriter, graph API, GraphView, README 2026-04-20 10:13:18 +02:00
tests feat(settings): paste-image size/type limits for #195 (#196) 2026-04-27 17:22:19 +02:00
.dockerignore Work on full Docker integration 2026-03-17 13:33:36 +01:00
conftest.py Format backend codebase with ruff 2026-04-02 12:33:07 +02:00
Dockerfile Fix RapidOCR model download permission in local image 2026-04-03 10:44:20 +02:00
main.py feat(settings): paste-image size/type limits for #195 (#196) 2026-04-27 17:22:19 +02:00
package-lock.json Add slide on side bar in Studio mode 2026-03-20 16:24:38 +01:00
pyproject.toml Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
pytest.ini Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
requirements-local.txt Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
requirements-test.txt feat: add hexagonal architecture tests with pytestarch (#177) 2026-04-16 08:32:07 +00:00
requirements.txt feat(reasoning): live docling-agent runner + UX polish 2026-04-21 17:11:54 +02:00