feat: add mailing templates and mail the confirmed teamers of selected assignments

This commit is contained in:
fromme committed 2026-11-11 14:02:55 +01:00
1 parent 6c89f1b8a9
commit e285646bb2
57 files changed
+3525 -31

No files matched your search

+22
View File
@@ -68,6 +68,28 @@ oneup_uploader:
namer: app.upload_namer
storage:
directory: '%kernel.project_dir%/uploads/work_month'
# PDFs of mailing templates and of single assignment mailings. Keys and directories are
# exactly Upload::TYPE_MAILING_TEMPLATE and TYPE_MAILING_ATTACHMENT, like above. The
# dropzone limits size and type in the browser only, so the same limits are enforced
# here: 5 MB (5 * 1024 * 1024) and PDF by content, whatever the file is called.
mailing_template:
frontend: dropzone
use_orphanage: true
namer: app.upload_namer
max_size: 5242880
allowed_mimetypes:
application/pdf: []
storage:
directory: '%kernel.project_dir%/uploads/mailing_template'
mailing_attachment:
frontend: dropzone
use_orphanage: true
namer: app.upload_namer
max_size: 5242880
allowed_mimetypes:
application/pdf: []
storage:
directory: '%kernel.project_dir%/uploads/mailing_attachment'
chunks:
maxage: 86400
storage: