Commit Graph

81 Commits

Author SHA1 Message Date
Huong Nguyen 746815af49 weekly release 5.2dev 2026-02-10 08:41:08 +07:00
Mihail Geshoski dbf9b2bc1f weekly release 5.2dev 2026-02-05 20:22:57 +08:00
Huong Nguyen 2777159cbd Merge branch 'MDL-86444_main' of https://github.com/marxjohnson/moodle 2026-02-05 17:23:51 +07:00
Shamim Rezaie e3c2a760e4 Merge branch 'MDL-85640_main' of https://github.com/marxjohnson/moodle 2026-02-05 11:32:11 +08:00
Mark Johnson 8a020b3637 MDL-85640 questions: Add unique index on question_versions
Adds a unique index on questionbankentryid and version in the
question_versions table, to prevent various issues and query
performance.

Although there should not be, it's possible that there are existing
versions that violate this index, so the upgrade step finds these and
renumbers them.
2026-02-03 10:59:52 +00:00
Mark Johnson 1a63189b56 MDL-86444 questions: Fix question categories with incorrect top parents 2026-02-03 10:47:45 +00:00
Benjamin Walker dac9930a58 MDL-86601 core_task: Add index for scheduled task lastruntime 2026-01-30 22:54:06 +10:00
Benjamin Walker 502f469b5d MDL-86601 core_task: Add index for large adhoc task queues 2026-01-30 22:53:27 +10:00
Huong Nguyen 5f23e7ec57 weekly release 5.2dev 2026-01-30 15:38:55 +07:00
Huong Nguyen b3cd83bd48 weekly release 5.2dev 2026-01-26 10:38:36 +07:00
Sara Arjona e43eaa5de2 MDL-86832 blocks: Remove activity_modules block 2026-01-16 13:12:28 +01:00
Jake Dallimore 19c8567f01 weekly release 5.2dev 2026-01-16 16:38:08 +08:00
Jake Dallimore 2854c6fcf4 Merge branch 'MDL-73602_main' of https://github.com/marxjohnson/moodle 2026-01-16 15:20:06 +08:00
Huong Nguyen e20212e861 Merge branch 'MDL-87120' of https://github.com/paulholden/moodle 2026-01-16 15:14:29 +08:00
Huong Nguyen 09590d30cf weekly release 5.2dev 2026-01-09 08:40:59 +07:00
Paul Holden 156c6f69ac MDL-87120 course: observe activity dates display in course requests.
Upgrade step to ensure the default value for this field in the schema
matches the default value used in the interface itself.
2026-01-07 16:43:16 +00:00
Mark Johnson 3d5e54f7b4 MDL-73602 questions: Remove qtype_random 2026-01-02 15:37:54 +00:00
Mark Johnson c25d5fd063 MDL-86798 questions: Track next version for question bank entries
This adds a new "nextversion" field to `question_bank_entries` to track
which version number the next version of the question should have. This
ensures that version numbers are not re-used if the latest version is
deleted.

To use this field, you must call
`\core_question\versions::get_next_version()`. This will initialise the
field to the correct value if it is currently null.

If you create a new version using this value, you must then call
`\core_question\versions::increment_next_version()` to increment the
counter.
2025-12-19 09:45:27 +00:00
Huong Nguyen 8316779bd9 weekly release 5.2dev 2025-12-19 09:03:57 +07:00
Huong Nguyen 2151750577 Merge branch 'MDL-86679-main' of https://github.com/andimendunia/moodle 2025-12-15 08:45:22 +07:00
Shamim Rezaie 5cf0c68c51 weekly release 5.2dev 2025-12-12 14:05:57 +11:00
Andi Permana 8e0409ca46 MDL-86679 core: Fix MS field mappings in upgrade script 2025-12-05 14:17:12 +07:00
Huong Nguyen d58091724b weekly release 5.2dev 2025-12-05 08:08:13 +07:00
Mihail Geshoski d10c1bd130 Merge branch 'MDL-86749_master' of https://github.com/santoshndev/moodle 2025-12-03 10:58:53 +08:00
Luca Bösch c5bd7dfe2c MDL-85405 modinfo: Don't show modules without FEATURE_CAN_DISPLAY
Question banks were displaying in places they shouldn't, because
FEATURE_CAN_DISPLAY wasn't fully implemented. This broadens its
usage in the following areas:

- Availability info - Not relevant to qbank. However you could feasibly
have some module which isn't shown to students, but the teacher can
use
  it to track completion, so dont display the link.
- Activities block - links to each activity's index page. We already
have
the Question banks page in the secondary nav. No need to have it here
too.
- Overview report - It doesn't make sense to display question banks
here,
  as they're not an activity students can participate in, they wont have
  dates etc.
- Externallib - Return with candisplay = false. The app needs to handle
  this correctly.
- Visibility options, moodleform_mod, modvisible and visibility
selector.
Not relevant for qbank since it doesn't include the standard
coursemodule
  options, but if an activity with without CAN_DISPLAY did display a
  visibility setting, "Hidden" should be the only option.
- Activity names filter - we dont want automatic links to question
banks.
2025-11-27 15:06:25 +00:00
Mihail Geshoski 52c6473e16 weekly release 5.2dev 2025-11-27 19:39:47 +08:00
Huong Nguyen a280753085 weekly release 5.2dev 2025-11-21 14:32:56 +07:00
Santosh Nagargoje b691287982 MDL-86749 questions: Added index on hashcode column
Identified performance bottlenecks in clear_cached_data() from
mod/quiz/report/statistics/report.php. The delete_records() calls on
question_statistics, question_response_analysis, and quiz_statistics tables
use the hashcode column for filtering, which becomes inefficient with large
datasets.
2025-11-18 17:07:14 +05:30
Mihail Geshoski 982a10e9cf weekly release 5.2dev 2025-11-13 18:48:28 +08:00
Huong Nguyen 6aaf2256bd Merge branch 'mdl-84440-main' of https://github.com/matthewhilton/moodle 2025-11-10 15:39:40 +07:00
Huong Nguyen a331b32bef weekly release 5.2dev 2025-11-07 14:48:24 +07:00
Mihail Geshoski c1118422d5 Merge branch 'MDL-86010_main' of https://github.com/marxjohnson/moodle 2025-11-06 11:46:21 +08:00
Matthew Hilton ee4bbaf2cd MDL-84440 backup: Add configurable default backup filename format 2025-11-06 09:21:36 +10:00
Mihail Geshoski 543bf96cb7 weekly release 5.2dev 2025-10-30 18:10:39 +08:00
Huong Nguyen c39b6a6751 weekly release 5.2dev 2025-10-24 10:59:37 +07:00
Andrew Nicols d33ecac29c weekly on-sync release 5.2dev 2025-10-17 07:21:28 +08:00
Andrew Nicols 1ce68a5efe weekly release 5.2dev 2025-10-17 06:49:42 +08:00
Huong Nguyen 0efd4011ad weekly release 5.2dev 2025-10-09 21:58:07 +07:00
Huong Nguyen 4e9fd0b248 weekly back-to-dev release 5.2dev 2025-10-04 10:19:07 +07:00
Huong Nguyen eb47eff071 Moodle release 5.1 2025-10-04 09:06:25 +07:00
Shamim Rezaie 80a00e5fa5 Moodle release 5.1rc2 2025-10-03 20:03:45 +10:00
Huong Nguyen ff21ed3e55 MDL-86792 versions: Main version bump 2025-10-02 10:19:33 +07:00
cescobedo a828ba12c1 Moodle release 5.1rc1 2025-09-26 13:45:44 +02:00
Jun Pataleta 33275d6ec4 MDL-86744 customfield: Pass toggle data only when necessary 2025-09-25 07:19:01 +08:00
Sara Arjona ffe71d0f0f Moodle release 5.1beta 2025-09-23 17:22:38 +02:00
Paul Holden 627bfa5d1a MDL-84763 customfield: increase size of category/field name fields.
Allows for more flexibility for multi-lingual sites using filtered
text.
2025-09-22 09:13:53 +01:00
Huong Nguyen 74ee977521 on-demand release 5.1dev+ 2025-09-19 15:35:15 +07:00
Amaia Anabitarte e20745801f Merge branch 'MDL-86208-main' of https://github.com/roland04/moodle 2025-09-17 12:32:22 +02:00
David Carrillo 78dc974150 MDL-86065 customfield: Add shared custom fields
- Now we can create shared custom field categories and use the
fields created in these categories in any other entity in Moodle.
2025-09-16 18:02:48 +02:00
Huong Nguyen 0ec57fc3f2 on-demand release 5.1dev+ 2025-09-16 20:59:42 +07:00