Skip to content

feat: implement file upload with S3 storage and antivirus scanning#2971

Draft
maxgfr wants to merge 4 commits intoalphafrom
maxgfr/antivirus
Draft

feat: implement file upload with S3 storage and antivirus scanning#2971
maxgfr wants to merge 4 commits intoalphafrom
maxgfr/antivirus

Conversation

@maxgfr
Copy link
Member

@maxgfr maxgfr commented Mar 12, 2026

fix #2755

  • Add S3 service for file storage and retrieval in multiple environments
  • Integrate ClamAV antivirus scanning with clamdjs library for uploaded files
  • Extend database schema with file_size and scan_status columns
  • Create file upload/download API routes and file validation service
  • Add Step2Upload UI components (PendingFileCard, UploadedFileCard) with file management
  • Configure Kubernetes secrets and ConfigMaps for S3 and ClamAV endpoints across environments

… scanning

- Add S3 service for file storage and retrieval in multiple environments
- Integrate ClamAV antivirus scanning with clamdjs library for uploaded files
- Extend database schema with file_size and scan_status columns
- Create file upload/download API routes and file validation service
- Add Step2Upload UI components (PendingFileCard, UploadedFileCard) with file management
- Configure Kubernetes secrets and ConfigMaps for S3 and ClamAV endpoints across environments
@revu-bot revu-bot bot requested a review from revu-bot March 12, 2026 09:27
- Add antivirus scanning and S3 backend for CSE opinion PDF uploads
- Implement second declaration form with multi-step workflow and data persistence
- Add joint evaluation form for collaborative employer-CSE review
- Route compliance path choice to corrective action or joint evaluation steps
- Extract PdfFileUpload and SubmitModal to shared module for reuse
- Expand database schema for improved declaration state tracking
@maxgfr maxgfr had a problem deploying to build-review-auto March 12, 2026 15:57 — with GitHub Actions Failure
- Replace shared PdfFileUpload component with custom form implementation
- Add drag-and-drop zone with visual feedback for file uploads
- Improve accessibility with ARIA labels, descriptions, and live regions
- Support listing of uploaded files via UploadedFileCard component
@maxgfr maxgfr had a problem deploying to build-review-auto March 12, 2026 17:37 — with GitHub Actions Failure
- Create /mon-espace as primary landing page for authenticated users instead of declaration page
- Extract SIREN selection logic from dynamic [siren] route into MonEspacePage component
- Update all navigation links to point to /mon-espace instead of /mon-espace/mes-entreprises/{siren}
- Change default auth redirect from /declaration-remuneration to /mon-espace across all flows
- Add NEXTAUTH_URL to required environment variables in env.js
- Simplify tRPC timing middleware by removing execution logging
@maxgfr maxgfr had a problem deploying to build-review-auto March 12, 2026 19:25 — with GitHub Actions Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gestion des fichiers - Upload PDF et antivirus

1 participant