Skip to content

[RELEASE] Pod 4.2.0#1407

Merged
Badatos merged 16 commits intomainfrom
dev_v4
Mar 3, 2026
Merged

[RELEASE] Pod 4.2.0#1407
Badatos merged 16 commits intomainfrom
dev_v4

Conversation

@Badatos
Copy link
Copy Markdown
Collaborator

@Badatos Badatos commented Mar 3, 2026

Prepare next release 4.2.0

Warning: This version drop compatibility with Python 3.9
Minimal Python Version is now 3.10

dependabot Bot and others added 15 commits January 8, 2026 11:09
* Bump project version to 4.1.0
* Bump urllib3 from 2.6.0 to 2.6.3

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.0 to 2.6.3.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.6.0...2.6.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions <github-actions@github.com>
* Bump django from 4.2.27 to 4.2.28

---
updated-dependencies:
- dependency-name: django
  dependency-version: 4.2.28
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…lability button (#1398)

* Fixup. Format code with Black
* Forbid Ai enrichment when vidéo isn't encoded

---------

Co-authored-by: Céline Didier <ceine.didier@univ-lorraine.fr>
* Bump pillow from 10.3.0 to 12.1.1
* Bump minimal Python version to 3.10
   Pillow 12 requires python >=3.10
* Remove Python 3.9 from supported versions.
---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.1.1
  dependency-type: direct:production

---------

Co-authored-by: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Lorsque que l'on souhaite prévisualiser une vidéo dans la liste "revendiquer un enregistrement", et si la vidéo est un peu volumineuse, la prévisualisation ne démarre pas. Le service worker empêche de démarrer la lecture avec un rechargement partiel.
=> Solution : empêcher le cache du service worker sur les fichier mp4
---------

Co-authored-by: Charneau Franck <franck.charneau@univ-lr.fr>
## Summary
This PR introduces Runner Manager support for video encoding/transcription workflows, with queue management, webhook result ingestion, admin tooling, and related UI/API/documentation updates.

## Motivation
The goal is to support a robust outsourced processing pipeline ([Esup-Runner](https://github.com/EsupPortail/esup-runner)) while keeping Pod task state synchronized, observable, and recoverable.

## Main Changes
- Added new configuration support and documentation for:
  - `USE_RUNNER_MANAGER`
  - `RM_TASKS_DELETED_AFTER_DAYS`
- Added Runner Manager domain models:
  - `RunnerManager`
  - `Task`
- Added Runner Manager orchestration modules:
  - task dispatch and fallback between managers
  - round-robin behavior inside same-priority groups
  - pending task ranking utilities
  - remote artifact import/finalization helpers
- Added periodic management command:
  - `process_tasks` (designed to run via cron)
  - checks stalled tasks, submits pending tasks, refreshes ranks, cleans old completed tasks
- Added callback endpoint and integration:
  - `/runner/notify_task_end/`
  - secure bearer-token validation
  - result download/import for encoding, studio, and transcription outputs
- Updated encoding/transcription entry points to delegate to Runner Manager when enabled.
- Updated cut flow to queue encoding (`launch_encode`) instead of forcing immediate start.
- Added admin features:
  - Runner Manager “Test connection” action
  - Task relaunch admin action
  - Recorder admin action to encode selected studio recordings
- Added queue visibility in video templates (rank and total pending).
- Added/updated tests for webhook auth, admin connectivity, round-robin ordering, queue ranking, studio integration, and helper utilities.
- Added minor maintenance updates (typing/import cleanup).
- Updated video API filtering to include `additional_owners`.

## Operational Notes
- No functional change unless `USE_RUNNER_MANAGER=True`.
- `process_tasks` must be scheduled periodically for queue processing.
- Runner Manager URL/token must be configured for each site.
…8n updates (#1406)

## Summary
This PR improves dashboard filtering behavior, strengthens runner manager administration and task routing, and updates translation catalogs.

## What changed
- Added support for dashboard filters using slugs, numeric IDs, and comma-separated query values.
- Improved filter synchronization between URL parameters, session storage, dashboard chips, and the category aside.
- Added a clear category filter action in the aside and kept UI state aligned with current query params.
- Hardened dashboard refresh JavaScript with defensive checks for missing globals and DOM elements.
- Added an `is_active` flag on runner managers to enable/disable managers without deleting configuration.
- Updated task dispatching and background processing to use active runner managers only.
- Kept tasks in pending state when no active runner manager is available for retry later.
- Improved runner admin UX with status badges and direct links to remote runner administration.
- Enhanced remote thumbnail import to support multiple generated thumbnails and avoid duplicate attachment.
- Added/updated tests for category CSV filtering, ID/CSV filters, runner admin UI behavior, and inactive-manager exclusion.
- Updated French translation catalogs.

## Impact
- More robust and predictable dashboard filtering UX.
- Safer and clearer runner manager operations in admin and processing flows.
- Translation coverage updated for newly introduced admin and filter labels.
+ Bootstrap Icons were not displayed in iframe display. (css not loaded)
+ Replace old modals in "iframe" mode by BS5 modals.
+ Display icons on video metadatas
@Badatos Badatos self-assigned this Mar 3, 2026
@Badatos Badatos added this to the 4.x milestone Mar 3, 2026
@Badatos Badatos merged commit 82a38ac into main Mar 3, 2026
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants