Commit graph

117139 commits

Author SHA1 Message Date
Mikel Martín
d28678b426 MDL-84637 reportbuilder: Fix help buttons in editor
After the Bootstrap 5 upgrade the help buttons on the editor page
were not working anymore. This commit fixes the JS related error.
2025-02-26 08:02:49 +01:00
Jun Pataleta
ce73ff3d84
MDL-83970 core: Bump upgrade code version properly 2025-02-26 14:57:51 +08:00
Jun Pataleta
6885f03931
Merge branch 'MDL-83970-main' of https://github.com/meirzamoodle/moodle 2025-02-26 14:38:52 +08:00
Shamim Rezaie
b50f4f03e4 Merge branch 'MDL-82942-main' of https://github.com/davewoloszyn/moodle 2025-02-26 17:28:00 +11:00
Jun Pataleta
465144b15a
Merge branch 'MDL-84554-main' of https://github.com/jleyva/moodle 2025-02-26 14:25:38 +08:00
Sara Arjona
2f79a4367d
Merge branch 'MDL-84607-main' of https://github.com/lameze/moodle 2025-02-26 07:04:09 +01:00
David Woloszyn
aa3ccbda4e MDL-82942 aiplacement_courseassist: Improve response formatting 2025-02-26 16:03:55 +11:00
David Woloszyn
4bcadda1b6 MDL-82942 aiplacement_courseassist: Integrate Explain action into UI
Part of this change required refactoring of several course assist files.
The updates now accommodates for multiple course assist actions.
2025-02-26 12:26:58 +11:00
David Woloszyn
b5be13d2d6 MDL-82942 aiplacement_courseassist: Add explain action 2025-02-26 11:52:39 +11:00
Jun Pataleta
f5f227f737
Merge branch 'MDL-83674-main' of https://github.com/sammarshallou/moodle 2025-02-26 07:19:35 +08:00
Jun Pataleta
34c0ed5d12
Merge branch 'MDL-84628-main' of https://github.com/roland04/moodle 2025-02-26 07:16:10 +08:00
Jun Pataleta
5461afb6f4
Merge branch 'MDL-84324-main' of https://github.com/roland04/moodle 2025-02-26 07:13:31 +08:00
Jun Pataleta
c5948d002e
Merge branch 'MDL-84125-main' of https://github.com/davewoloszyn/moodle 2025-02-26 07:09:20 +08:00
Paul Holden
81ce30d0c1
Merge branch 'MDL-84379-main' of https://github.com/laurentdavid/moodle into main 2025-02-25 17:11:35 +00:00
Paul Holden
7e52d971a9
Merge branch 'MDL-84378-main' of https://github.com/laurentdavid/moodle into main 2025-02-25 17:02:48 +00:00
Paul Holden
7513e55194
Merge branch 'MDL-84407-main' of https://github.com/laurentdavid/moodle into main 2025-02-25 16:57:08 +00:00
Mikel Martín
932ac1198f MDL-84643 theme_boost: Fix form inputs colour contrast
After the Bootstrap 5 upgrade the contrast of the form inputs was
not enough. This commit adds the same colour contrast as before.
2025-02-25 15:50:59 +01:00
Mikel Martín
89dd407bcf MDL-84381 tool_componentlibrary: Remove Bootstrap 4 documentation
After Bootstrap 5 upgrade in MDL-75669, Bootstrap 4 docs included are not
applicable anymore.
2025-02-25 15:06:26 +01:00
Mikel Martín
ac146ac14e MDL-84324 core: Fix Bootstrap dropdown key listeners
Bootstrap EventHandler is managing the keydown event at document
level in the capture phase. That is conflicting with dropdown elements
with form autocomplete inputs inside, because when suggestions panel is
open, pressing the "Esc" key will close the whole dropdown.
This commit fixes that behaviour by realocating the Bootsrap dropdown
event listener to the body instead of the document.
2025-02-25 13:31:41 +01:00
Mikel Martín
f9d5238ccb MDL-80519 theme_boost: Fix deprecated BS4 SCSS usages 2025-02-25 13:13:58 +01:00
Mikel Martín
d85a71ffc7 MDL-80519 theme_boost: Add backward compatibility for BS4 SCSS
This commit will add a bs4-compat SCSS file with some of the helper classes
that are dropped in BS5. That will help third-party plugins to do the migration.

- Add backward compatibility for .media
- Add backward compatibility for badges
- Add backward compatibility for forms
- Add backward compatibility for cards
- Add backward compatibility for .no-gutters
- Add backward compatibility for spacing
- Add backward compatibility for margins and paddings
- Add backward compatibility for float directions
- Add backward compatibility for border directions
- Add backward compatibility for text directions
- Add backward compatibility for .close
- Add backward compatibility for font utilities
- Add backward compatibility for rounded sizes
- Add backward compatibility for sr-only
- Add backward compatibility for custom controls
- Add backward compatibility for .btn-block
2025-02-25 13:13:58 +01:00
Sara Arjona
741c072b58
Merge branch 'MDL-83892-main-v02' of https://github.com/ferranrecio/moodle 2025-02-25 12:18:38 +01:00
Paul Holden
33e6c7eb10
Merge branch 'MDL-83108-main' of https://github.com/albertgasset/moodle into main 2025-02-25 11:04:43 +00:00
Paul Holden
18d2b2e679
Merge branch 'MDL-78711_final-removal-of-edit_default_completion' of https://github.com/ziegenberg/moodle into main 2025-02-25 10:59:41 +00:00
Paul Holden
2f13b8c341
Merge branch 'MDL-84178_uprade-symfony-deprecation-contracts-to-3-5-1' of https://github.com/ziegenberg/moodle into main 2025-02-25 10:56:49 +00:00
Paul Holden
0524210983
Merge branch 'MDL-84526-main' of https://github.com/roland04/moodle into main 2025-02-25 10:48:22 +00:00
Huong Nguyen
a18f38b0a6 Merge branch 'MDL-83404-main' of https://github.com/andrewnicols/moodle 2025-02-25 16:17:20 +07:00
Paul Holden
025cb9c66a
MDL-84639 reportbuilder: replace deprecated trait test mocking.
"getObjectForTrait() is deprecated and will be removed in PHPUnit 12
without replacement."

See: https://github.com/sebastianbergmann/phpunit/issues/5244
2025-02-25 08:48:19 +00:00
ferran
fd905bcacc MDL-83892 course: fix section name in single activity format
The course activities overview shows the section name under each
activity. However, this information should not be present when the
course format does not support sections.
2025-02-25 09:41:44 +01:00
ferran
a26db489d0 MDL-83892 mod_feedback: add course overview integration
Adds the necessary code to present the feedback information in the
course overview page. Due to this integration, the message user gets
when a feedback is already submitted has been unified and it is now the
same on both activity UI and the overview report.
2025-02-25 09:41:44 +01:00
meirzamoodle
a5b90c1969 MDL-83970 core_ai: Updated get_name() to return the provider's name
The changes also affect the AI usage report. The provider column will show
the provider plugin name instead of the plugin class in the database.

Co-authored-by: Stevani Andolo <stevani.andolo@moodle.com>
2025-02-25 13:56:31 +07:00
Huong Nguyen
bae7fb6318 Merge branch 'MDL-84051-main' of https://github.com/meirzamoodle/moodle 2025-02-25 11:00:29 +07:00
Huong Nguyen
9bd78e48d2 MDL-83401 core: Upgrade laravel/serializable to 2.0.3 2025-02-25 09:39:45 +07:00
Huong Nguyen
e04fc99655 Merge branch 'MDL-83401-main' of https://github.com/andrewnicols/moodle 2025-02-25 09:35:29 +07:00
meirzamoodle
b6d04b4882 MDL-84051 core: Call parent function to clear session data in the table 2025-02-25 08:50:35 +07:00
ferran
ff05e78de3 MDL-83892 core_course: log course overview events 2025-02-24 15:29:15 +01:00
ferran
ecb96b5089 MDL-83892 core_course: overview page redirection method 2025-02-24 15:29:15 +01:00
ferran
c1e8684813 MDL-83892 core_course: activity record from cm_info
Adds a new get_instance_record in the cm_info object so core can get the
activity table record without using the $DB object every time. Also, the
method caches de result so getting more than once per execution is much
faster.
2025-02-24 15:29:15 +01:00
Huong Nguyen
569ef2eafc Merge branch 'MDL-78349-main' of https://github.com/HuongNV13/moodle 2025-02-24 21:04:45 +07:00
meirzamoodle
d3139ac91b MDL-78349 tiny_recordrtc: Convert recorded audio to MP3 format 2025-02-24 20:51:44 +07:00
meirzamoodle
c857e0c6ac MDL-78349 tiny_recordrtc: Add lamejs library 2025-02-24 20:51:28 +07:00
Mikel Martín
eda3d16912 MDL-84628 report_log: Fix report filters layout after BS5 upgrade 2025-02-24 13:27:27 +01:00
Mikel Martín
c69e005068 MDL-84346 courseformat: Replace css class for completion buttons 2025-02-24 12:49:25 +01:00
Mikel Martín
0e8dd50d91 MDL-84346 theme_boost: Add new '.btn-subtle-' helper class
- Add new .btn-subtle helper class that accept different colour themes
(.btn-subtle-success, .btn-subtle-warning, ...) and also .btn-subtle-body
for basic styling
- Remove specific styles in course.scss that are not needed anymore
- Adjust some styles in course.scss that were affected by this change
2025-02-24 12:49:17 +01:00
Sara Arjona
b363438b6e
Merge branch 'MDL-84412' of https://github.com/jfederico/moodle 2025-02-24 08:20:28 +01:00
Laurent David
6da65220da MDL-84407 admin: Fix plugin stats badge display
* Fix plugin overview display regarding stats for
all plugins/additional plugins.
2025-02-24 06:58:04 +01:00
Laurent David
d0483c0e6c MDL-84379 theme_boost: Fix course management page layout 2025-02-24 06:57:32 +01:00
Laurent David
69cac2249b MDL-84378 mod_quiz: Fix Switch bank button
* Fix alignment issue for Switch bank button in quiz
2025-02-24 06:56:46 +01:00
Laurent David
83f3427b54 MDL-84378 mod_assign: Fix right alignment for action button
* Fix the alignment for quick grading action button
2025-02-24 06:56:46 +01:00
Laurent David
1f7d376ac4 MDL-83764 core_courseformat: Deprecate externservercourse.php feature
* Add deprecation message and testing
2025-02-24 06:49:43 +01:00