mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
formulaire: correctifs identifiant/année, contact, fichiers optionnels
- Identifiant: mise à jour automatique quand l'année change en back-office (updateThesis + ThesisEditController) - Contact: hint enrichi (1 seul contact, formatage Instagram/Mastodon) - Fichiers: TFE rendu optionnel pour Site web/Performance/Installation (note d'intention reste obligatoire)
This commit is contained in:
@@ -52,19 +52,19 @@ class FilepondHandler
|
||||
];
|
||||
|
||||
public const QUEUE_SIZE_LIMITS = [
|
||||
'cover' => 20 * 1024 * 1024, // 20 MB
|
||||
'note_intention' => 100 * 1024 * 1024, // 100 MB
|
||||
'tfe' => 500 * 1024 * 1024, // 500 MB
|
||||
'video' => 500 * 1024 * 1024, // 500 MB
|
||||
'audio' => 500 * 1024 * 1024, // 500 MB
|
||||
'annexe' => 500 * 1024 * 1024, // 500 MB
|
||||
'peertube_video' => 500 * 1024 * 1024, // 500 MB
|
||||
'peertube_audio' => 500 * 1024 * 1024, // 500 MB
|
||||
'cover' => 20 * 1024 * 1024, // 20 MB
|
||||
'note_intention' => 100 * 1024 * 1024, // 100 MB
|
||||
'tfe' => 1024 * 1024 * 1024, // 1 GB (default for non-AV, non-PDF)
|
||||
'video' => 8 * 1024 * 1024 * 1024, // 8 GB
|
||||
'audio' => 8 * 1024 * 1024 * 1024, // 8 GB
|
||||
'annexe' => 1024 * 1024 * 1024, // 1 GB
|
||||
'peertube_video' => 8 * 1024 * 1024 * 1024, // 8 GB
|
||||
'peertube_audio' => 8 * 1024 * 1024 * 1024, // 8 GB
|
||||
];
|
||||
|
||||
public const AV_EXTENSIONS = ['mp4', 'webm', 'ogv', 'mov', 'mp3', 'ogg', 'oga', 'wav', 'flac', 'aac', 'm4a'];
|
||||
public const MAX_PDF_SIZE = 100 * 1024 * 1024; // 100 MB
|
||||
public const MAX_AV_SIZE = 2 * 1024 * 1024 * 1024; // 2 GB
|
||||
public const MAX_PDF_SIZE = 100 * 1024 * 1024; // 100 MB
|
||||
public const MAX_AV_SIZE = 8 * 1024 * 1024 * 1024; // 8 GB
|
||||
|
||||
// ── Log prefix for distinguishing admin vs partage ───────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user