Skip to content

Commit 68ac3c5

Browse files
committed
Bumped required version to Moodle 5 and support up to Moodle 5.1
Updated release notes
1 parent cc89617 commit 68ac3c5

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/moodle-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
services:
99
postgres:
10-
image: postgres:14
10+
image: postgres:15
1111
env:
1212
POSTGRES_USER: 'postgres'
1313
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -34,7 +34,7 @@ jobs:
3434
# moodle-branch: 'MOODLE_402_STABLE'
3535
# database: 'mariadb'
3636
- php: '8.3'
37-
moodle-branch: 'MOODLE_500_STABLE'
37+
moodle-branch: 'MOODLE_501_STABLE'
3838
database: 'pgsql'
3939
steps:
4040
- name: Checkout

amd/build/selection.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/src/selection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ define(function() {
5959
if (hidden === null || hidden.disabled === true) {
6060
return;
6161
}
62-
if (isSelected === true) {
62+
if (isSelected === true) {
6363
selection.classList.remove('selected');
6464
selection.removeAttribute('title');
6565
selection.setAttribute('aria-checked', 'false');

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
# Version 2.55 of the Moodle Wordselect question type by Marcus Green Oct 25
3+
Confirmed compatibility with Moodle 5.1
4+
Moved items class to a separate file for coding standards compliance
5+
26
# Version 2.54 of the Moodle Wordselect question type by Marcus Green April 25
37
Confirmed compatibility with Moodle 5.0
48
Thanks to Philipp Imhof with help getting the ci testing to work. Thanks to Ralf Erlebach for a fix to a division by zero error.

version.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
defined('MOODLE_INTERNAL') || die();
2626

2727
$plugin->component = 'qtype_wordselect';
28-
$plugin->version = 2025041500;
29-
$plugin->requires = 2022040100; // Moodle 4.0.
30-
$plugin->supported = [404, 500];
28+
$plugin->version = 2025101500;
29+
$plugin->requires = 2025031400; // Moodle 5.0.
30+
$plugin->supported = [500, 501];
3131
$plugin->maturity = MATURITY_STABLE;
32-
$plugin->release = '2.54';
32+
$plugin->release = '2.55';

0 commit comments

Comments
 (0)