🛂(frontend) use max size and extension from config

The max size and allowed extensions for document
import are now fetched from the application
configuration.
This ensures consistency across the app and
allows for easier updates to these
settings in the future.
This commit is contained in:
Anthony LC
2026-01-21 10:30:24 +01:00
parent be995fd211
commit b8bdcbf7ed
7 changed files with 137 additions and 90 deletions

View File

@@ -2340,6 +2340,8 @@ class ConfigView(drf.views.APIView):
"AI_FEATURE_ENABLED",
"COLLABORATION_WS_URL",
"COLLABORATION_WS_NOT_CONNECTED_READY_ONLY",
"CONVERSION_FILE_EXTENSIONS_ALLOWED",
"CONVERSION_FILE_MAX_SIZE",
"CRISP_WEBSITE_ID",
"ENVIRONMENT",
"FRONTEND_CSS_URL",