semblance-dev/backend/app/routes
Vadym Samoilenko 33272cc677 Allow document uploads (PDF, DOCX, TXT, etc.) as focus group assets
- Expand allowed file types from images-only to also include:
  PDF, DOCX, DOC, TXT, MD, CSV, XLSX, XLS, PPTX, PPT, RTF
- validate_asset_file: skip PIL validation for non-image files; 50MB limit for docs / 10MB for images
- Correct MIME type detection for document extensions
- Store asset_type: "document"|"image" in metadata
- ImageDescriptionService: text files → LLM summary; binary docs → label; images → existing multimodal flow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 17:08:30 +00:00
..
ai_personas.py Migrate task result delivery from WebSocket to HTTP polling 2026-03-23 16:46:58 +00:00
auth.py Apply Jintech security audit remediation (sprint 3) — 87/92 findings fixed 2026-03-20 12:51:18 +00:00
focus_group_ai.py Fix data isolation + conversation/decision 500 errors 2026-03-23 17:02:10 +00:00
focus_groups.py Allow document uploads (PDF, DOCX, TXT, etc.) as focus group assets 2026-03-23 17:08:30 +00:00
folders.py Apply Jintech security audit remediation (sprint 3) — 87/92 findings fixed 2026-03-20 12:51:18 +00:00
personas.py Fix data isolation + conversation/decision 500 errors 2026-03-23 17:02:10 +00:00
tasks.py Fix data isolation + conversation/decision 500 errors 2026-03-23 17:02:10 +00:00