Extend submission config: .mxf/codec/frame-rate checks, regex naming, shot/asset tabs

- Movie spec checks now also cover codec (h264/h265/mjpeg/dnxhd/dnxhr/
  prores/uncompressed/avid/cineform) and frame rate (23.976/24/30/48/60),
  detected in-browser via mediainfo.js container parsing - works even
  for formats the native <video> element can't decode (MXF, ProRes,
  DNxHD). Added .mxf to the supported/allowed format lists.
- Naming pattern supports a raw regex mode (validated by compiling
  server-side at save time) as an alternative to the token pattern,
  and gained three more tokens: {task_name}, {project_name},
  {project_code} (fetched lazily only when referenced).
- Submission Configuration settings page now splits Shot Tasks /
  Asset Tasks into separate tabs instead of one merged list; the
  per-task-type card was extracted into SubmissionTypeConfigCard.vue
  to avoid duplicating it across both tabs.
This commit is contained in:
2026-07-19 19:15:05 +08:00
parent 23740af816
commit 981808b901
6 changed files with 284 additions and 184 deletions
+1
View File
@@ -97,6 +97,7 @@ export interface ProjectSettings {
export interface SubmissionTypeConfig {
allowed_extensions: string[]
naming_pattern_is_regex: boolean
naming_pattern?: string | null
check_naming: boolean
required: boolean