diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index c3985b3f..77a186c5 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -29,11 +29,11 @@ jobs: matrix: include: - php: '7.3' - moodle-branch: 'master' # TODO change to MOODLE_400_STABLE when released + moodle-branch: 'MOODLE_400_STABLE' database: pgsql extensions: - php: '8.0' - moodle-branch: 'master' # TODO change to MOODLE_400_STABLE when released + moodle-branch: 'MOODLE_400_STABLE' database: mariadb extensions: xmlrpc-beta diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0fcda96d..1dbc79f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ variables: MOODLE_REPO_WORKPLACE: git@git.in.moodle.com:workplace/workplacedev.git MOODLE_BRANCH_WORKPLACE: master MOODLE_REPO_LMS: git@git.in.moodle.com:moodle/moodle.git - MOODLE_BRANCH_LMS: master # TODO change to MOODLE_400_STABLE when released + MOODLE_BRANCH_LMS: MOODLE_400_STABLE MOODLE_BEHAT_WDHOST: "http://selenium-standalone-chrome:4444/wd/hub" POSTGRES_USER: postgres POSTGRES_PASSWORD: "" diff --git a/CHANGELOG.md b/CHANGELOG.md index 9080f733..3a262cda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 4.0.0 (2022042000) +### Changed +- This version of the plugin is only for Moodle LMS 4.0 and above + ## 3.11.6 (2022031500) ### Added - Setting 'Show share on LinkedIn'. When enabled users can add their certificates to LinkedIn diff --git a/element/border/version.php b/element/border/version.php index 9d36a5e5..b661e8a7 100644 --- a/element/border/version.php +++ b/element/border/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_border'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/code/version.php b/element/code/version.php index 28415189..8582a77d 100644 --- a/element/code/version.php +++ b/element/code/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_code'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/date/version.php b/element/date/version.php index fb3fc1b2..8179ca13 100644 --- a/element/date/version.php +++ b/element/date/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_date'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/digitalsignature/version.php b/element/digitalsignature/version.php index 7fb11e7f..21d2595c 100644 --- a/element/digitalsignature/version.php +++ b/element/digitalsignature/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_digitalsignature'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/image/version.php b/element/image/version.php index ee237240..9cad0fde 100644 --- a/element/image/version.php +++ b/element/image/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_image'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/program/version.php b/element/program/version.php index bed145f7..05713161 100644 --- a/element/program/version.php +++ b/element/program/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_program'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/text/version.php b/element/text/version.php index 21ff5894..17e2f6ce 100644 --- a/element/text/version.php +++ b/element/text/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_text'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/userfield/version.php b/element/userfield/version.php index dc01aef5..6cffe2d0 100644 --- a/element/userfield/version.php +++ b/element/userfield/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_userfield'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/element/userpicture/version.php b/element/userpicture/version.php index d83b5fdf..996960d6 100644 --- a/element/userpicture/version.php +++ b/element/userpicture/version.php @@ -26,7 +26,7 @@ // This plugin is part of Moodle Workplace product. $plugin->component = 'certificateelement_userpicture'; -$plugin->release = '3.11.5'; -$plugin->version = 2022011800; -$plugin->requires = 2020061502.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; diff --git a/version.php b/version.php index 83ab7978..c704e2ce 100644 --- a/version.php +++ b/version.php @@ -25,8 +25,8 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'tool_certificate'; -$plugin->release = '4.0dev'; -$plugin->version = 2022031900; -$plugin->requires = 2022030800.00; +$plugin->release = '4.0.0'; +$plugin->version = 2022042000; +$plugin->requires = 2022041900.00; $plugin->maturity = MATURITY_STABLE; $plugin->supported = [400, 400];