From 4b07a16ac011dcbedbd8dc2f3020f207d5afcd6f Mon Sep 17 00:00:00 2001 From: Adis Date: Tue, 1 Oct 2024 16:55:23 +0200 Subject: [PATCH] 2024100100 release code --- .github/workflows/moodle-ci.yml | 9 ++++++--- classes/plugininfo.php | 4 ++++ version.php | 6 +++--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index fb77a72..225002c 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -15,7 +15,7 @@ jobs: services: postgres: - image: postgres:12 + image: postgres:13 env: POSTGRES_USER: 'postgres' POSTGRES_HOST_AUTH_METHOD: 'trust' @@ -38,8 +38,11 @@ jobs: fail-fast: false matrix: include: - - php: '8.1' - moodle-branch: 'master' + - php: '8.3' + moodle-branch: 'main' + database: 'pgsql' + - php: '8.3' + moodle-branch: 'MOODLE_404_STABLE' database: 'pgsql' - php: '8.2' moodle-branch: 'MOODLE_403_STABLE' diff --git a/classes/plugininfo.php b/classes/plugininfo.php index 3caafe0..9862941 100644 --- a/classes/plugininfo.php +++ b/classes/plugininfo.php @@ -87,6 +87,10 @@ public static function get_plugin_configuration_for_context( global $COURSE, $CFG, $PAGE; $ltitool = \panoptoblock_lti_utility::get_course_tool($COURSE->id); + + // Remove sensitive info from $config. + unset($ltitool->config['password'], $ltitool->config['servicesalt']); + $resourcebase = sha1( $PAGE->url->__toString() . '&' . $PAGE->course->sortorder . '&' . $PAGE->course->timecreated diff --git a/version.php b/version.php index dffcc96..55c230d 100644 --- a/version.php +++ b/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); // The current plugin version (Date: YYYYMMDDXX). -$plugin->version = 2024070900; +$plugin->version = 2024100100; // Requires this Moodle version - 4.1.0 $plugin->requires = 2022112800; @@ -37,8 +37,8 @@ // Support from the Moodle 4.1 series. 401, - // To the Moodle 4.3 series. - 403, + // To the Moodle 4.4 series. + 404, ]; // This is considered as ready for production sites.