Skip to content

Commit d82184b

Browse files
authored
Merge pull request #215 from learnweb/update/500
Update for Moodle 5.0
2 parents 0702bd3 + 52f2a2d commit d82184b

File tree

4 files changed

+73
-12
lines changed

4 files changed

+73
-12
lines changed

.github/pull_request_template.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
> **Note:** Please fill out all required sections and remove irrelevant ones.
2+
3+
### 📋 Kind of PR
4+
5+
- [ ] Fixes a bug
6+
- [ ] Updates for a new Moodle version
7+
- [ ] Adds a new feature of functionality
8+
- [ ] Improves or enhances existing features
9+
- [ ] Refactoring: restructures code for better performance or maintainability
10+
- [ ] Testing: add missing or improve existing tests
11+
- [ ] Miscellaneous: code cleaning (without functional changes), documentation, configuration, ...
12+
---
13+
14+
### 🧩 Description
15+
16+
Please describe the purpose of this PR in a few sentences.
17+
18+
- What feature or bug does it address?
19+
- Why is this change or addition necessary?
20+
- What is the expected behavior after the change?
21+
22+
---
23+
24+
### ✅ Checklist
25+
26+
Please confirm the following (check all that apply):
27+
28+
- [ ] I have `phpunit` and/or `behat` tests that cover my changes or additions.
29+
- [ ] Code passes the code checker without errors and warnings.
30+
- [ ] Code passes the moodle-ci/cd pipeline on all supported Moodle versions or the ones the plugin supports.
31+
- [ ] Code does not have `var_dump()` or `var_export` or any other debugging statements that should not appear on the productive branch.
32+
- [ ] Code only uses language strings instead of hard-coded strings.
33+
- [ ] If there are changes in the database: I updated/created the necessary upgrade steps in `db/upgrade.php` and updated the `version.php`.
34+
- [ ] If there are changes in javascript: I build new `.min` files with the `grunt amd` command.
35+
- [ ] If it is a Moodle update PR: I read the release notes, updated the `version.php` and added the new moodle version to the workflow file. I ran all tests thoroughly checking for errors.
36+
37+
---
38+
39+
### 🧱 Related Issue
40+
41+
- Related to #[IssueNumber]
42+
43+
---
44+
45+
### 🗒️ Additional Notes
46+
47+
Any other relevant information.

.github/workflows/config.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
{
2-
"main-moodle": "MOODLE_405_STABLE",
2+
"moodle-plugin-ci": "4.5.7",
3+
"main-moodle": "MOODLE_500_STABLE",
34
"main-php": "8.3",
4-
"moodle-php": {
5-
"MOODLE_401_STABLE": ["8.0", "8.1"],
6-
"MOODLE_402_STABLE": ["8.1", "8.2"],
7-
"MOODLE_403_STABLE": ["8.1", "8.2"],
8-
"MOODLE_404_STABLE": ["8.2", "8.3"],
9-
"MOODLE_405_STABLE": ["8.1", "8.2", "8.3"]
10-
},
11-
"moodle-plugin-ci": "4.5.5"
12-
}
5+
"main-db": "pgsql",
6+
"moodle-testmatrix": {
7+
"MOODLE_401_STABLE": {
8+
"php": ["8.0", "8.1"]
9+
},
10+
"MOODLE_404_STABLE": {
11+
"php": ["8.1", "8.2", "8.3"]
12+
},
13+
"MOODLE_405_STABLE": {
14+
"php": ["8.1", "8.2", "8.3"],
15+
"db": ["pgsql", "mariadb", "mysqli"]
16+
},
17+
"MOODLE_500_STABLE": {
18+
"php": ["8.2", "8.3", "8.4"],
19+
"db": ["pgsql", "mariadb", "mysqli"]
20+
}
21+
}
22+
}

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CHANGELOG
22
=========
33

4+
5.0 (2025-06-24)
5+
------------------
6+
7+
48
4.5.1 (2025-05-19)
59
------------------
610
[HOTFIX] #214

version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
defined('MOODLE_INTERNAL') || die();
2929

3030
$plugin->component = 'mod_moodleoverflow';
31-
$plugin->version = 2025050601;
31+
$plugin->version = 2025062400;
3232
$plugin->requires = 2022112800;
3333
$plugin->release = 'v4.5-r2';
3434
$plugin->supported = [401, 405];
35-
$plugin->maturity = MATURITY_STABLE;
35+
$plugin->maturity = MATURITY_RC;

0 commit comments

Comments
 (0)