Problem/Motivation
Upgrade and extend the Mediaflow contrib module on the Drupal 10/11 stack. Work covers (1) fixing the critical bugs that block media import/save, (2) replacing the exposed MFP key with a secure token flow and tightening CSP, and (3) exposing Mediaflow assets directly inside Media Library and Gutenberg so editors can pick images/videos without leaving the editor.
Remaining tasks
Scope
- Scope of fixes – address the open issues on drupal.org (form reload #3504791, credential exposure #3504798, malformed entity #3504810, node-save exception #3504827) plus coding-standards cleanup #3516623.
- Security – swap hard-coded key for token-based requests and whitelist Mediaflow domains in CSP (api.mediaflow.com, files.mediaflow.com, play.mediaflowpro.com, mfstatic.com, *.inviewer.se).
- Compatibility – ensure clean install on Drupal 10.x and readiness for Drupal 11; add static testing.
- Editor experience – register a Mediaflow browser in Media Library and a Gutenberg block that supports caption, alignment, and size controls.
Issue fork mediaflow-3536769
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 2.0.x
changes, plain diff MR !6
- 3504827-drupalcoreentityentitystorageexception-on-saving
compare
- 3537660-ensure-drupal-10-11
compare
- 3516623-fix-phpcs-and-phpstan
compare
- 3537430-fix-mediaflow-ckeditor5
compare
- 3504798-confidential-module-settings
compare
- 3537125-csp-policies
compare
- 3537100-fix-allowed-field
compare
- 3537078-entity-queries-must
compare
- 3503025-trying-to-access-array-offset-on-value-of-type-null
compare
- 3502814-uncaught-typeerror-once
changes, plain diff MR !5
Comments
Comment #2
oleksandr yushchenko commentedComment #6
mediaflow commentedMerged to 2.0.0, released Dec 17 2025.
Comment #8
mediaflow commented