From 896b414fec77b8771de65fa2b586402b63418ac9 Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Thu, 23 Apr 2026 09:05:42 +0200 Subject: [PATCH 1/3] 3.2.0 --- CHANGELOG.md | 2 +- jamf.xml | 5 +++++ setup.php | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8724e11..ffecb02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Jamf Plugin for GLPI Changelog -## [UNRELEASED] +## [3.2.0] - 2026-04-23 ### Added diff --git a/jamf.xml b/jamf.xml index 1425d61..42def62 100644 --- a/jamf.xml +++ b/jamf.xml @@ -38,6 +38,11 @@ Utilisation Curtis Conard + + 3.2.0 + ~11.0.0 + https://github.com/pluginsGLPI/jamf/releases/download/v3.2.0/glpi-jamf-v3.2.0.tar.bz2 + 3.2.0-beta1 ~11.0.0 diff --git a/setup.php b/setup.php index af8478a..f20a15d 100644 --- a/setup.php +++ b/setup.php @@ -34,7 +34,7 @@ use function Safe\define; use function Safe\preg_replace; -define('PLUGIN_JAMF_VERSION', '3.2.0-beta1'); +define('PLUGIN_JAMF_VERSION', '3.2.0'); define('PLUGIN_JAMF_MIN_GLPI', '11.0.0'); define('PLUGIN_JAMF_MAX_GLPI', '11.1.0'); From 798a637607aa64a686971e089af68e61f0512550 Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Thu, 23 Apr 2026 09:21:13 +0200 Subject: [PATCH 2/3] fix --- jamf.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jamf.xml b/jamf.xml index 42def62..9e24965 100644 --- a/jamf.xml +++ b/jamf.xml @@ -43,11 +43,6 @@ Utilisation ~11.0.0 https://github.com/pluginsGLPI/jamf/releases/download/v3.2.0/glpi-jamf-v3.2.0.tar.bz2 - - 3.2.0-beta1 - ~11.0.0 - https://github.com/pluginsGLPI/jamf/releases/download/v3.2.0-beta1/glpi-jamf-v3.2.0-beta1.tar.bz2 - 3.1.2 ~10.0.0 From 62adceddd2848e715c32e30d791981491baa030f Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Thu, 23 Apr 2026 09:46:34 +0200 Subject: [PATCH 3/3] fix --- ajax/cron.php | 2 +- ajax/sendMDMCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ajax/cron.php b/ajax/cron.php index 0755351..695f256 100644 --- a/ajax/cron.php +++ b/ajax/cron.php @@ -55,7 +55,7 @@ } $accepted_tasks = ['importJamf', 'syncJamf']; -if (!in_array($_REQUEST['crontask'], $accepted_tasks)) { +if (!in_array($_REQUEST['crontask'], $accepted_tasks, true)) { throw new RuntimeException('Unacceptable cron task!'); } diff --git a/ajax/sendMDMCommand.php b/ajax/sendMDMCommand.php index 9bd1f59..c8e014f 100644 --- a/ajax/sendMDMCommand.php +++ b/ajax/sendMDMCommand.php @@ -56,7 +56,7 @@ $fields = []; if (isset($_POST['fields'])) { - parse_str($_POST['fields'], $fields); + parse_str((string) $_POST['fields'], $fields); } $valid_types = ['MobileDevice'];