feat: implement file upload with S3 storage and antivirus scanning#2971
Draft
feat: implement file upload with S3 storage and antivirus scanning#2971
Conversation
… 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
- 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
- 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
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #2755