*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content

Move inline scripts into their separate files

Moser, Maximilian requested to merge dev2 into master

in order to remove the CSP header script-src 'unsafe-inline', we move the inline scripts into their separate files since the webpack'd JS files are static, we have to feed the matomo config values into the scripts via the DOM, similar to how it's done in the deposit form in invenio-app-rdm

unfortunately, the CK Editor (used in the deposit form) still requires style-src 'unsafe-inline' in its currently used form according to the documentation (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/csp.html), this could be remedied by changing the build process

Merge request reports