diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index b9a5294..6735f56 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -115,6 +115,18 @@ jobs: - php: '8.3' moodle-branch: 'MOODLE_404_STABLE' database: mariadb + - php: '8.2' + moodle-branch: 'MOODLE_405_STABLE' + database: pgsql + - php: '8.2' + moodle-branch: 'MOODLE_405_STABLE' + database: mariadb + - php: '8.3' + moodle-branch: 'MOODLE_405_STABLE' + database: pgsql + - php: '8.3' + moodle-branch: 'MOODLE_405_STABLE' + database: mariadb steps: - name: Check out repository code diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a8853f..2d1970e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 1.1.0 - 2024-10-11 +### Added +- CI tests for Moodle 4.5. +### Fixed +- Make options use filters. +- Fix all the ci errors. + ## 1.0.9 - 2024-05-03 ### Changed - Change "Save" for "Update" when the user has already voted. diff --git a/README.md b/README.md index 6399a7d..220e1a5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This plugin lets you rank multiple options in order of preference, instead of ju This way, the most preferred option by all the voters can win, even if it is not the most popular one. -This voting method is also known as [Condorcet method](https://en.wikipedia.org/wiki/Condorcet_method). +This voting method is also known as [Condorcet method for Voting](https://en.wikipedia.org/wiki/Condorcet_method), Card Sorting, Ranked Choice Voting (RCV) or Instant Runoff Voting (IRV). ## Examples: **Setup:** diff --git a/tests/privacy/provider_test.php b/tests/privacy/provider_test.php index 0f6bcaf..a1e0d54 100644 --- a/tests/privacy/provider_test.php +++ b/tests/privacy/provider_test.php @@ -41,6 +41,7 @@ final class provider_test extends \core_privacy\tests\provider_testcase { * {@inheritdoc} */ protected function setUp(): void { + parent::setUp(); $this->resetAfterTest(); global $DB; diff --git a/version.php b/version.php index c4f2b58..276b711 100644 --- a/version.php +++ b/version.php @@ -25,8 +25,8 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_sortvoting'; -$plugin->release = '1.0.9'; -$plugin->version = 2024050300; +$plugin->release = '1.1.0'; +$plugin->version = 2024101100; $plugin->requires = 2022041908; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = [];