diff --git a/CHANGELOG.md b/CHANGELOG.md index e0ea036..16836f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Add Transifex translations link to README +### Changed + +- Make the plugin compatible with the Content Security Policy + ## [2.11.0] - 2026-10-05 ### Added diff --git a/setup.php b/setup.php index 113ba5c..31c95cf 100644 --- a/setup.php +++ b/setup.php @@ -98,12 +98,13 @@ function plugin_init_geninventorynumber() function plugin_version_geninventorynumber() { return [ - 'name' => __s('Inventory number generation', 'geninventorynumber'), - 'version' => PLUGIN_GENINVENTORYNUMBER_VERSION, - 'author' => "TECLIB' + KK", - 'homepage' => 'https://github.com/pluginsGLPI/geninventorynumber', - 'license' => 'GPLv3+', - 'requirements' => [ + 'name' => __s('Inventory number generation', 'geninventorynumber'), + 'version' => PLUGIN_GENINVENTORYNUMBER_VERSION, + 'author' => "TECLIB' + KK", + 'homepage' => 'https://github.com/pluginsGLPI/geninventorynumber', + 'license' => 'GPLv3+', + 'csp_compliant' => true, + 'requirements' => [ 'glpi' => [ 'min' => PLUGIN_GENINVENTORYNUMBER_MIN_GLPI, 'max' => PLUGIN_GENINVENTORYNUMBER_MAX_GLPI,