Files
openproject/app/services/attachments
Christophe Bliard 643a58f801 Trigger virus scanning after completing direct upload to S3 storage
https://community.openproject.org/wp/67664

When storing attachments on S3, the file is not fully uploaded until the
direct upload finishes (hook called from client browser when file is
finished uploading).

The `FinishDirectUploadService#schedule_jobs` now calls
`attachment.enqueue_jobs` to ensure the same jobs are run on attachment
creation (useful when s3 storage is not used) and on attachment upload
completion. This means virus scanning job is now triggered correctly.
2025-09-24 12:21:58 +02:00
..