- Backend (FastAPI): - Attachment and AttachmentVersion models with migration - FileStorageService with SHA-256 checksum validation - File type validation (whitelist/blacklist) - Full CRUD API with version control support - Audit trail integration for upload/download/delete - Configurable upload directory and file size limit - Frontend (React + Vite): - AttachmentUpload component with drag & drop - AttachmentList component with download/delete - TaskAttachments combined component - Attachments service for API calls - Testing: - 12 tests for storage service and API endpoints - OpenSpec: - add-document-management change archived 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
1.0 KiB
Python
24 lines
1.0 KiB
Python
from app.models.user import User
|
|
from app.models.role import Role
|
|
from app.models.department import Department
|
|
from app.models.space import Space
|
|
from app.models.project import Project
|
|
from app.models.task_status import TaskStatus
|
|
from app.models.task import Task
|
|
from app.models.workload_snapshot import WorkloadSnapshot
|
|
from app.models.comment import Comment
|
|
from app.models.mention import Mention
|
|
from app.models.notification import Notification
|
|
from app.models.blocker import Blocker
|
|
from app.models.audit_log import AuditLog, AuditAction, SensitivityLevel, EVENT_SENSITIVITY, ALERT_EVENTS
|
|
from app.models.audit_alert import AuditAlert
|
|
from app.models.attachment import Attachment
|
|
from app.models.attachment_version import AttachmentVersion
|
|
|
|
__all__ = [
|
|
"User", "Role", "Department", "Space", "Project", "TaskStatus", "Task", "WorkloadSnapshot",
|
|
"Comment", "Mention", "Notification", "Blocker",
|
|
"AuditLog", "AuditAlert", "AuditAction", "SensitivityLevel", "EVENT_SENSITIVITY", "ALERT_EVENTS",
|
|
"Attachment", "AttachmentVersion"
|
|
]
|