video-accessibility/backend/app
Vadym Samoilenko 16000a8bd9 fix(glossary,vtt): 4 bugs — locale fallback, ingestion source, cue settings, overlap on save
- glossary_service: _get_translation now handles bare→specific fallback (fr→fr-FR);
  previously only specific→bare worked, causing zero term matches when job uses
  bare locale codes ("fr") but XLSX has region columns ("fr_fr" → "fr-FR")
- ingest_and_ai: use title + brand_context as glossary source text; previously
  empty brand_context caused glossary to be skipped entirely during AI ingestion
- routes_jobs.py: apply fix_overlapping_cues before validating PATCH /vtt;
  mirrors what AI generation already does — prevents save errors for minor overlaps
- frontend/vtt.ts: preserve raw cue settings (line:0%, align:end, etc.) through
  parse→build round-trip; previously settings were parsed into positionTop flag
  only and dropped on serialization, losing caption positioning after edit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 16:58:13 +01:00
..
api/v1 fix(glossary,vtt): 4 bugs — locale fallback, ingestion source, cue settings, overlap on save 2026-05-13 16:58:13 +01:00
core refactor(tts): switch Gemini TTS from AI Studio API to Cloud TTS API 2026-05-08 17:16:32 +01:00
lib fix(pipeline): fix 5 QA tickets — caption alignment, glossary, source_has_ad render, filler words, NL error surfacing 2026-05-08 18:36:59 +01:00
middleware fix(middleware): add word boundaries to injection patterns; default role to admin 2026-05-06 09:45:28 +01:00
migrations fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
models fix: 7 caption/AD quality bugs + retranslation error handling 2026-05-07 15:38:20 +01:00
prompts fix(pipeline): fix 5 QA tickets — caption alignment, glossary, source_has_ad render, filler words, NL error surfacing 2026-05-08 18:36:59 +01:00
schemas feat(translation): enforce EN-first pipeline with cue-preserving translations 2026-05-06 12:11:35 +01:00
services fix(glossary,vtt): 4 bugs — locale fallback, ingestion source, cue settings, overlap on save 2026-05-13 16:58:13 +01:00
tasks fix(glossary,vtt): 4 bugs — locale fallback, ingestion source, cue settings, overlap on save 2026-05-13 16:58:13 +01:00
telemetry chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00
main.py chore: push all session changes — backend hardening, tests, apache config, deploy scripts 2026-04-30 15:52:14 +01:00