Security Improvements (P0.0-P0.4): - P0.0: Migrate to Gemini-only AI stack (simplified, single billing) - P0.1: Fix CORS to restrict allowed origins from env (was *) - P0.2: Remove hardcoded dev password, require env var - P0.3: Add rate limiting (slowapi) - 3-10 req/min on sensitive endpoints - P0.4: Add request size limits (100MB default via middleware) New Features: - Unified LLM service with Google Gemini priority - OXML geometry extractor for layout parsing - TSX validator for generated React components - Client ID support in presentation requests with access control - Configurable LLM/image timeouts via env vars Modern Design System (P0.9 - partial): - Enhanced CSS design tokens (primary, semantic colors, shadows) - Typography scale (h1-h4, body variants, caption) - Modern animations (fadeIn, slideIn, scaleIn) - Updated Button component with better variants and hover effects - Created unified Card and StatusBadge components - Applied design system to Dashboard and Settings pages Backend Improvements: - Master deck parser simplification - Slide-to-HTML endpoint cleanup (325 lines removed) - Better error handling in prompts endpoint Frontend Improvements: - Settings UI simplified to show only Google/Gemini - Dashboard uses CSS variables instead of hardcoded colors - Improved button transitions and hover states Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[project]
|
|
name = "oliver-deckforge-backend"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
requires-python = ">=3.11,<3.12"
|
|
dependencies = [
|
|
"aiohttp>=3.12.15",
|
|
"aiomysql>=0.2.0",
|
|
"aiosqlite>=0.21.0",
|
|
"anthropic>=0.60.0",
|
|
"asyncpg>=0.30.0",
|
|
"chromadb>=1.0.15",
|
|
"dirtyjson>=1.0.8",
|
|
"docling>=2.43.0",
|
|
"fastapi[standard]>=0.116.1",
|
|
"fastmcp>=2.11.0",
|
|
"google-genai>=1.28.0",
|
|
"nltk>=3.9.1",
|
|
"openai>=1.98.0",
|
|
"pathvalidate>=3.3.1",
|
|
"pdfplumber>=0.11.7",
|
|
"pytest>=8.4.1",
|
|
"python-docx>=1.1",
|
|
"python-pptx>=1.0.2",
|
|
"layoutparser>=0.3",
|
|
"opencv-python-headless>=4.8",
|
|
"redis>=5.0,<6",
|
|
"sqlmodel>=0.0.24",
|
|
"alembic>=1.15",
|
|
"msal>=1.31",
|
|
"python-jose[cryptography]>=3.3",
|
|
"openpyxl>=3.1",
|
|
"trafilatura>=2.0",
|
|
"arq>=0.26",
|
|
"pytest-asyncio>=0.25",
|
|
"httpx>=0.28",
|
|
"slowapi>=0.1.9",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[[tool.uv.index]]
|
|
name = "pytorch-cpu"
|
|
url = "https://download.pytorch.org/whl/cpu"
|
|
explicit = true
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["api*", "enums*", "models*", "services*", "constants*", "utils*", "scripts*", "workers*", "migrations*"]
|