Skip to content

[Release] 4.3.0#1427

Open
Badatos wants to merge 21 commits intomainfrom
dev_v4
Open

[Release] 4.3.0#1427
Badatos wants to merge 21 commits intomainfrom
dev_v4

Conversation

@Badatos
Copy link
Copy Markdown
Collaborator

@Badatos Badatos commented Apr 2, 2026

Prepare the future release of Esup-Pod 4.3.0

dependabot Bot and others added 13 commits March 6, 2026 14:45
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.4.1 to 3.8.1.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](Python-Markdown/markdown@3.4.1...3.8.1)

---
updated-dependencies:
- dependency-name: markdown
  dependency-version: 3.8.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [django](https://github.com/django/django) from 4.2.28 to 4.2.29.
- [Commits](django/django@4.2.28...4.2.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## Summary

This PR fixes a frontend safety issue and hardens the transcript/remote-encoding workflow to prevent unintended field overwrites.

## Changes

- Frontend (`completion.js`):
  - Safely remove `formalertdiv` only when it exists, preventing a client-side error in the error-rendering path.

- Backend (`video_encode_transcript`):
  - Replaced several full model `save()` calls with targeted `QuerySet.update()` calls for `encoding_in_progress`, `duration`, and `is_video`.
  - Prevented stale object saves from overwriting unrelated fields, especially `thumbnail`.
  - Added thumbnail persistence diagnostics (selected vs persisted thumbnail IDs).
  - Added a fallback thumbnail assignment path when persistence unexpectedly returns `NULL`.
  - Added warning logs when a thumbnail is still missing after remote import.

## Why

Using full-object saves in long workflows could overwrite fields set by other steps. This change reduces that risk and improves traceability when thumbnail persistence fails.
* Add missing scheme in obsolete notification
* Add i18n files
Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.4...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## Summary
This PR makes Runner Manager response handling more robust when an endpoint returns HTTP 200 with an invalid body.

## What changed
- Added safe parsing/validation of Runner Manager responses.
- Ignored non-JSON or unexpected JSON payloads with warning logs.
- If a response is invalid, the flow now tries the next available Runner Manager.

## Impact
More reliable task dispatching and fewer failures caused by proxy/misconfiguration responses.
Remove "print" & "paste" from default TinyMCE plugins (as they are in core now)

Fix Issue #1419
* Add title attr on some iframe
* Cleanup some i18n strings
* Replace wrong titles on event secondary iframes
* correct fr string
* Upgrade GH actions
## Summary

This PR improves how video encoding failures are handled in the backend and how they are exposed in the UI.

## Changes

- Attach video metadata to runner payloads.
- Mark videos as failed and clear `encoding_in_progress` when runner tasks end with `failed` or `timeout`.
- Add tests covering failure and timeout notifications from the runner.
- Display an error indicator on video cards and selection views when a video has an encoding issue.
- Show clearer error messages on the video edit page and video page for invalid source files, zero-duration inputs, and generic processing failures.
- Update French and Dutch translation strings for the new messages.
- Apply manifest file permissions after replace and add tests

## Notes

This helps keep the video state consistent with runner task results and gives users better visibility when an encoding error occurs.
@Badatos Badatos added this to the 4.x milestone Apr 2, 2026
@Badatos Badatos self-assigned this Apr 2, 2026
Badatos and others added 8 commits April 3, 2026 16:12
Bumps [django](https://github.com/django/django) from 4.2.28 to 4.2.30.
- [Commits](django/django@4.2.28...4.2.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.1.1 to 12.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.1.1...12.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ers (#1429)

Improves two reliability behaviors:
1. It prevents failure alert emails from being sent when email settings are still placeholders or incomplete.
2. It updates caption character counting to ignore line breaks and reflect visible characters only.
Dans certains cas on peut avoir besoin de préciser le nombre d'éléments retournés par l'API REST, voir de mettre une grande valeur pour ne pas paginer.
…ads (#1434)

## Summary

This PR refactors runner manager task submission to reduce duplicated logic and keep payload generation consistent across direct runner manager calls and the `process_tasks` management command.

## Changes

- move shared runner manager submission logic into reusable helpers
- reuse shared payload builders from `runner_manager.py` in `process_tasks.py`
- align encoding and transcription payloads sent by `process_tasks` with direct runner manager flows
- add dedicated tests for `process_tasks` payload generation and delegation
- simplify dressing metadata handling in `runner_manager.py` to satisfy flake8 complexity checks
- Add video_bitrate and audio_bitrate to each rendition entry sent to the Runner Manager payload.
- Update related helper and process task tests to validate the enriched rendition format.
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.

3 participants