video-accessibility/backend/app/api/v1
Vadym Samoilenko 4c6624c3d4 fix: code health sweep — M-01 through M-07
M-01 authz.py: move cache_key above try block to avoid NameError when
     first Redis call returns None
M-02 main.py: re-enable validation middleware (was TEMPORARILY DISABLED)
M-03 routes_auth.py / main.py: replace print() debug lines with
     structured logger calls; logger now module-level in routes_auth.py
M-04 gcs.py: asyncio.get_event_loop() → get_running_loop() (deprecation)
M-05 translate_and_synthesize.py: bind loop vars in closure defaults
     to fix B023 ruff warnings (transcreate/translate_captions/etc.)
M-06 rate_limiting.py: only trust X-Forwarded-For when X-Forwarded-Proto
     is https; use rightmost entry (proxy-appended) not leftmost
M-07 validation.py: extend MongoDB operator blocklist to cover $expr,
     $function, $accumulator, $nin, $gte, $lte, $jsonSchema, $mod

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 14:18:02 +01:00
..
__pycache__ more fixes for refresh token - this time maintaining the username and role properly across refresh 2025-10-08 23:09:29 -05:00
routes_admin.py feat: audit log integration sweep + cost tracker URL fix + audit log admin UI 2026-04-29 11:34:06 +01:00
routes_auth.py fix: code health sweep — M-01 through M-07 2026-04-29 14:18:02 +01:00
routes_clients.py feat(saas): Phase 3 — membership-based authz + Mailgun + job.organization_id 2026-04-27 16:56:42 +01:00
routes_files.py feat: audit log integration sweep + cost tracker URL fix + audit log admin UI 2026-04-29 11:34:06 +01:00
routes_glossaries.py feat: per-client glossary — hybrid exact/vector retrieval + AI injection 2026-04-29 13:03:38 +01:00
routes_invitations.py feat(saas): Phase 3 — membership-based authz + Mailgun + job.organization_id 2026-04-27 16:56:42 +01:00
routes_jobs.py feat: per-language QC workflow with linguist assignment 2026-04-29 12:09:40 +01:00
routes_language_qc.py feat: per-language QC workflow with linguist assignment 2026-04-29 12:09:40 +01:00
routes_organizations.py feat(saas): Phase 3 — membership-based authz + Mailgun + job.organization_id 2026-04-27 16:56:42 +01:00
routes_review_notes.py feat: add linguist role and user management navigation 2026-04-16 11:46:33 +01:00
routes_tts.py feat: Client → Team → Project isolation system with Project Manager role 2026-04-27 15:11:13 +01:00
routes_vtt_versions.py feat: VTT version control — snapshots, diff, restore 2026-04-29 11:46:21 +01:00
routes_websockets.py wrote docker files and deployment instructions 2025-10-08 16:00:12 -05:00