diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000000..4ef45fae30 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,47 @@ +> **Note:** Please fill out all required sections and remove irrelevant ones. + +### 📋 Kind of PR + +- [ ] Fixes a bug +- [ ] Updates for a new Moodle version +- [ ] Adds a new feature of functionality +- [ ] Improves or enhances existing features +- [ ] Refactoring: restructures code for better performance or maintainability +- [ ] Testing: add missing or improve existing tests +- [ ] Miscellaneous: code cleaning (without functional changes), documentation, configuration, ... +--- + +### 🧩 Description + +Please describe the purpose of this PR in a few sentences. + +- What feature or bug does it address? +- Why is this change or addition necessary? +- What is the expected behavior after the change? + +--- + +### ✅ Checklist + +Please confirm the following (check all that apply): + +- [ ] I have `phpunit` and/or `behat` tests that cover my changes or additions. +- [ ] Code passes the code checker without errors and warnings. +- [ ] Code passes the moodle-ci/cd pipeline on all supported Moodle versions or the ones the plugin supports. +- [ ] Code does not have `var_dump()` or `var_export` or any other debugging statements that should not appear on the productive branch. +- [ ] Code only uses language strings instead of hard-coded strings. +- [ ] If there are changes in the database: I updated/created the necessary upgrade steps in `db/upgrade.php` and updated the `version.php`. +- [ ] If there are changes in javascript: I build new `.min` files with the `grunt amd` command. +- [ ] 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. + +--- + +### 🧱 Related Issue + +- Related to #[IssueNumber] + +--- + +### 🗒️ Additional Notes + +Any other relevant information. diff --git a/.github/workflows/config.json b/.github/workflows/config.json index 7da43e1a52..7a643bc495 100644 --- a/.github/workflows/config.json +++ b/.github/workflows/config.json @@ -1,12 +1,22 @@ { - "main-moodle": "MOODLE_405_STABLE", + "moodle-plugin-ci": "4.5.7", + "main-moodle": "MOODLE_500_STABLE", "main-php": "8.3", - "moodle-php": { - "MOODLE_401_STABLE": ["8.0", "8.1"], - "MOODLE_402_STABLE": ["8.1", "8.2"], - "MOODLE_403_STABLE": ["8.1", "8.2"], - "MOODLE_404_STABLE": ["8.2", "8.3"], - "MOODLE_405_STABLE": ["8.1", "8.2", "8.3"] - }, - "moodle-plugin-ci": "4.5.5" -} + "main-db": "pgsql", + "moodle-testmatrix": { + "MOODLE_401_STABLE": { + "php": ["8.0", "8.1"] + }, + "MOODLE_404_STABLE": { + "php": ["8.1", "8.2", "8.3"] + }, + "MOODLE_405_STABLE": { + "php": ["8.1", "8.2", "8.3"], + "db": ["pgsql", "mariadb", "mysqli"] + }, + "MOODLE_500_STABLE": { + "php": ["8.2", "8.3", "8.4"], + "db": ["pgsql", "mariadb", "mysqli"] + } + } +} \ No newline at end of file diff --git a/CHANGES.md b/CHANGES.md index 21d35d99cd..e490f2344c 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,10 @@ CHANGELOG ========= +5.0 (2025-06-24) +------------------ + + 4.5.1 (2025-05-19) ------------------ [HOTFIX] #214 diff --git a/version.php b/version.php index 3fc2c38d83..c9db47e9c2 100644 --- a/version.php +++ b/version.php @@ -28,8 +28,8 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_moodleoverflow'; -$plugin->version = 2025050601; +$plugin->version = 2025062400; $plugin->requires = 2022112800; $plugin->release = 'v4.5-r2'; $plugin->supported = [401, 405]; -$plugin->maturity = MATURITY_STABLE; +$plugin->maturity = MATURITY_RC;