Paul Holden [Tue, 25 Feb 2025 10:59:41 +0000 (10:59 +0000)]
Merge branch 'MDL-78711_final-removal-of-edit_default_completion' of https://github.com/ziegenberg/moodle into main
Paul Holden [Tue, 25 Feb 2025 10:56:49 +0000 (10:56 +0000)]
Merge branch 'MDL-84178_uprade-symfony-deprecation-contracts-to-3-5-1' of https://github.com/ziegenberg/moodle into main
Paul Holden [Tue, 25 Feb 2025 10:48:22 +0000 (10:48 +0000)]
Merge branch 'MDL-84526-main' of https://github.com/roland04/moodle into main
Huong Nguyen [Tue, 25 Feb 2025 09:17:20 +0000 (16:17 +0700)]
Merge branch 'MDL-83404-main' of https://github.com/andrewnicols/moodle
Paul Holden [Mon, 24 Feb 2025 23:48:57 +0000 (23:48 +0000)]
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
ferran [Mon, 24 Feb 2025 14:24:13 +0000 (15:24 +0100)]
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.
ferran [Fri, 24 Jan 2025 11:08:35 +0000 (12:08 +0100)]
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.
meirzamoodle [Tue, 25 Feb 2025 06:56:31 +0000 (13:56 +0700)]
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>
Huong Nguyen [Tue, 25 Feb 2025 04:00:29 +0000 (11:00 +0700)]
Merge branch 'MDL-84051-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Tue, 25 Feb 2025 02:39:45 +0000 (09:39 +0700)]
MDL-83401 core: Upgrade laravel/serializable to 2.0.3
Huong Nguyen [Tue, 25 Feb 2025 02:35:29 +0000 (09:35 +0700)]
Merge branch 'MDL-83401-main' of https://github.com/andrewnicols/moodle
meirzamoodle [Fri, 31 Jan 2025 02:11:10 +0000 (09:11 +0700)]
MDL-84051 core: Call parent function to clear session data in the table
Paul Holden [Mon, 24 Feb 2025 22:19:50 +0000 (22:19 +0000)]
MDL-84298 mod_assign: target only first label for grade popout button.
Van Binh Dang [Mon, 27 Jan 2025 19:32:19 +0000 (14:32 -0500)]
MDL-75442 quiz: Highlight error message when manually grading
ferran [Tue, 4 Feb 2025 17:15:37 +0000 (18:15 +0100)]
MDL-83892 core_course: log course overview events
ferran [Fri, 24 Jan 2025 15:38:39 +0000 (16:38 +0100)]
MDL-83892 core_course: overview page redirection method
ferran [Fri, 24 Jan 2025 13:26:57 +0000 (14:26 +0100)]
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.
Huong Nguyen [Mon, 24 Feb 2025 14:04:45 +0000 (21:04 +0700)]
Merge branch 'MDL-78349-main' of https://github.com/HuongNV13/moodle
meirzamoodle [Mon, 13 Jan 2025 03:29:45 +0000 (10:29 +0700)]
MDL-78349 tiny_recordrtc: Convert recorded audio to MP3 format
meirzamoodle [Mon, 13 Jan 2025 03:29:37 +0000 (10:29 +0700)]
MDL-78349 tiny_recordrtc: Add lamejs library
Paul Holden [Mon, 24 Feb 2025 12:51:47 +0000 (12:51 +0000)]
MDL-84597 blog: confirm blogs enabled prior to settings nav access.
Mikel Martín [Mon, 24 Feb 2025 12:27:27 +0000 (13:27 +0100)]
MDL-84628 report_log: Fix report filters layout after BS5 upgrade
Mikel Martín [Thu, 20 Feb 2025 15:43:32 +0000 (16:43 +0100)]
MDL-84346 courseformat: Replace css class for completion buttons
Mikel Martín [Thu, 20 Feb 2025 15:41:52 +0000 (16:41 +0100)]
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
Mihail Geshoski [Fri, 21 Feb 2025 04:29:33 +0000 (12:29 +0800)]
MDL-84532 qtype_ordering: Update query to use $DB->sql_compare_text()
The change introduced in MDL-46739, which modified the 'value' column in
the 'user_preferences' database table from CHAR to TEXT, caused the
upgrade query to fail due to the '=' comparison operator being used on
this column in the WHERE clause. This fix updates the query to use
$DB->sql_compare_text() instead.
Mihail Geshoski [Wed, 19 Feb 2025 15:21:44 +0000 (23:21 +0800)]
MDL-84532 qtype_ordering: Fix failing query in mssql on upgrade
The SELECT statement can only include columns that are part of the
GROUP BY clause. To resolve this issue, instead of including all columns
('*'), only the 'id' column is now included in the SELECT statement,
while still preserving the existing GROUP BY statement. This column is
the only one needed to identify the relevant qtype_ordering_options
record that requires updating in the next step.
Sara Arjona [Mon, 24 Feb 2025 07:20:28 +0000 (08:20 +0100)]
Merge branch 'MDL-84412' of https://github.com/jfederico/moodle
Laurent David [Tue, 11 Feb 2025 09:38:00 +0000 (10:38 +0100)]
MDL-84407 admin: Fix plugin stats badge display
* Fix plugin overview display regarding stats for
all plugins/additional plugins.
Laurent David [Tue, 11 Feb 2025 14:18:04 +0000 (15:18 +0100)]
MDL-84379 theme_boost: Fix course management page layout
Laurent David [Tue, 11 Feb 2025 11:25:02 +0000 (12:25 +0100)]
MDL-84378 mod_quiz: Fix Switch bank button
* Fix alignment issue for Switch bank button in quiz
Laurent David [Tue, 11 Feb 2025 11:24:15 +0000 (12:24 +0100)]
MDL-84378 mod_assign: Fix right alignment for action button
* Fix the alignment for quick grading action button
Laurent David [Mon, 3 Feb 2025 17:52:53 +0000 (18:52 +0100)]
MDL-81155 report_log: Final deprecation for $grouplist
* The grouplist has been introduced in MDL-41465 and is not
used anymore since the patch in MDL-80565.
Laurent David [Thu, 28 Nov 2024 09:25:42 +0000 (10:25 +0100)]
MDL-83764 core_courseformat: Deprecate externservercourse.php feature
* Add deprecation message and testing
Laurent David [Tue, 4 Feb 2025 11:46:17 +0000 (12:46 +0100)]
MDL-75875 core: Remove Single Button primary parameter
* Final deprecation for the use of a boolean as 'primary' parameter
(4th parameter of the constructor), used before to specify a button
was a primary button. This has been replaced by a wider range of
choices.
Huong Nguyen [Mon, 24 Feb 2025 03:09:15 +0000 (10:09 +0700)]
Merge branch 'MDL-84213' of https://github.com/paulholden/moodle
jfederico [Fri, 21 Feb 2025 14:19:13 +0000 (14:19 +0000)]
MDL-84412 mdl_bigbluebuttonbn: Change the BigBlueButtonBN activity icon
sam marshall [Fri, 8 Nov 2024 15:41:39 +0000 (15:41 +0000)]
MDL-83674 Files: pluginfile.php debugging if user not allowed course
Mikel Martín [Wed, 12 Feb 2025 15:05:37 +0000 (16:05 +0100)]
MDL-84526 theme_boost: Fix forum table after BS5 upgrade
Bootstrap 5 upgrade in MDL-75669 generated a regression in Forum table
where form switches in "Subscribe" column were not correcly displayed.
This commit fixes that UI problem.
Because the fix is affecting "toggle all" checkboxes, an small fix was
also needed there.
Mikel Martín [Fri, 24 Jan 2025 11:57:14 +0000 (12:57 +0100)]
MDL-84324 core: Add jQuery compatibility for BS5
You don’t need jQuery in Bootstrap 5, but it’s still possible to use our components with jQuery.
If Bootstrap detects jQuery in the window object, it’ll add all of our components in jQuery’s plugin system.
This allows you to do the following:
$('#myTooltip').tooltip('show')
Mikel Martín [Fri, 21 Feb 2025 10:01:19 +0000 (11:01 +0100)]
MDL-84613 theme_boost: Fix visually hidden focusable content
Albert Gasset [Fri, 21 Feb 2025 10:01:57 +0000 (11:01 +0100)]
MDL-83108 tiny_h5p: Remove redundant aria-label attributes
Albert Gasset [Fri, 21 Feb 2025 10:01:57 +0000 (11:01 +0100)]
MDL-83108 tiny_h5p: New option to enable auto-play in the app
Daniel Ziegenberg [Thu, 12 Sep 2024 21:44:32 +0000 (23:44 +0200)]
MDL-82825 libraries: Remove php-enum library
It was a dependency of zipstream, but is no longer required as this
functionality has been replaced by native PHP functionality.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Julien Boulen [Fri, 21 Feb 2025 08:25:18 +0000 (09:25 +0100)]
MDL-83136 course: Add missing value on unknowncategory exception message
Andrew Gosali [Fri, 21 Feb 2025 06:05:04 +0000 (17:05 +1100)]
MDL-84431 mod_forum: fix visual issue on forum reply button :focus
Huong Nguyen [Fri, 21 Feb 2025 03:14:58 +0000 (10:14 +0700)]
weekly release 5.0dev
Huong Nguyen [Fri, 21 Feb 2025 03:14:58 +0000 (10:14 +0700)]
NOBUG: Add upgrade notes
Simey Lameze [Thu, 20 Feb 2025 23:44:26 +0000 (07:44 +0800)]
MDL-84607 behat: use the correct ai generator entity
raortegar [Thu, 20 Feb 2025 12:27:36 +0000 (13:27 +0100)]
MDL-84327 mod_quiz: Quiz notification excludes suspended users.
Only active users will receive "quiz opens soon" notifications.
Co-authored-by: Leon Stringer <leonstr@users.noreply.github.com>
raortegar [Thu, 20 Feb 2025 12:19:57 +0000 (13:19 +0100)]
MDL-84327 mod_assign: Suspended account error
Change list_participants() to exclude both suspended users and users
with auth='nologin' when show_only_active_users() is true. This
prevents the failure of notification tasks when such users are enrolled
in the course.
Co-authored-by: Leon Stringer <leonstr@users.noreply.github.com>
raortegar [Tue, 18 Feb 2025 15:04:25 +0000 (16:04 +0100)]
MDL-84327 mod_assign: Add availability conditions in assign notification
Only users meeting availability conditions (time, group, etc.) in an assignment,
will receive the messages for Assignments notifications
raortegar [Thu, 13 Feb 2025 11:19:35 +0000 (12:19 +0100)]
MDL-84327 mod_quiz: Add availability conditions in quiz notification
Only users meeting availability conditions (time, group, etc.) in a quiz,
will receive the message for quiz opens soon notifications
Andrew Nicols [Thu, 20 Feb 2025 02:58:06 +0000 (10:58 +0800)]
MDL-84595 tool_behat: Allow accessibility tests to run for a single Node
Daniel Ziegenberg [Sun, 2 Feb 2025 18:10:29 +0000 (19:10 +0100)]
MDL-84178 libraries: Upgrade Symfony Deprecation contracts to 3.5.1
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Dmitrii Metelkin [Thu, 20 Feb 2025 03:40:32 +0000 (14:40 +1100)]
MDL-84593 events: remove course_module_instances_list_viewed event
Huong Nguyen [Thu, 20 Feb 2025 04:15:59 +0000 (11:15 +0700)]
Merge branch 'MDL-80156_remove-SCSS-deprecated-in-4-4' of https://github.com/ziegenberg/moodle
Jun Pataleta [Thu, 20 Feb 2025 04:09:58 +0000 (12:09 +0800)]
Merge branch 'MDL-84448-main' of https://github.com/lameze/moodle
Huong Nguyen [Thu, 20 Feb 2025 03:59:52 +0000 (10:59 +0700)]
Merge branch 'MDL-84453' of https://github.com/paulholden/moodle
Simey Lameze [Thu, 20 Feb 2025 03:59:01 +0000 (11:59 +0800)]
MDL-84448 behat: return null if theme has no config
Amanda Doughty [Fri, 7 Feb 2025 08:52:01 +0000 (08:52 +0000)]
MDL-84448 lib: Fixed behat context check for grandchild themes
Jun Pataleta [Thu, 20 Feb 2025 03:45:32 +0000 (11:45 +0800)]
Merge branch 'MDL-84592-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Thu, 20 Feb 2025 03:16:32 +0000 (10:16 +0700)]
Merge branch 'MDL-84528' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 20 Feb 2025 02:49:53 +0000 (10:49 +0800)]
Merge branch 'MDL-84590-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Thu, 20 Feb 2025 02:49:14 +0000 (09:49 +0700)]
Merge branch 'MDL-78489-main' of https://github.com/aanabit/moodle
Huong Nguyen [Thu, 20 Feb 2025 02:44:27 +0000 (09:44 +0700)]
Merge branch 'MDL-75189_final-deprecation-of-functions-in_mod-data-lib.php' of https://github.com/ziegenberg/moodle
Andrew Nicols [Thu, 20 Feb 2025 02:26:00 +0000 (10:26 +0800)]
MDL-84592 tool_behat: Improve accessibility failure information
Andrew Nicols [Thu, 20 Feb 2025 01:58:28 +0000 (09:58 +0800)]
MDL-84590 tool_behat: Axe tests must use all wcag rules
Rules are not additive. That is to say that the wcag22a tag does not
include wcag21a or wcag2a. They all need to be specified.
Shamim Rezaie [Thu, 20 Feb 2025 01:15:33 +0000 (12:15 +1100)]
Merge branch 'MDL-82980-main' of https://github.com/HuongNV13/moodle
Paul Holden [Wed, 6 Nov 2024 11:01:24 +0000 (11:01 +0000)]
MDL-83265 course: user placeholders for request approval notification.
Huong Nguyen [Fri, 27 Dec 2024 02:54:28 +0000 (09:54 +0700)]
MDL-82980 AI: Model settings
Sara Arjona [Wed, 19 Feb 2025 11:43:19 +0000 (12:43 +0100)]
Merge branch 'MDL-83872-main-v03' of https://github.com/ferranrecio/moodle
ferran [Tue, 18 Feb 2025 11:53:35 +0000 (12:53 +0100)]
MDL-83872 course: adding overview tables to course overview
The course overview page can represent a table with the overview
integration implemented by the activity plugins. Each plugin
table is loaded as a fragment to optimize the course overview
loading time.
ferran [Tue, 18 Feb 2025 11:50:30 +0000 (12:50 +0100)]
MDL-83872 course: adding activity overview base classes
The course overview page allows plugins to implementa an
activity overview integration. This commit adds all the
base classes for the integration, and also the "resources"
integration used by default in all plugins considered
resources like url, file, folder...
Stefan Hanauska [Wed, 19 Feb 2025 11:15:49 +0000 (12:15 +0100)]
MDL-84584 badges: Don't delete all draft files
Sara Arjona [Wed, 19 Feb 2025 10:58:21 +0000 (11:58 +0100)]
Merge branch 'MDL-83784' of https://github.com/cwarwicker/moodle
Sara Arjona [Wed, 19 Feb 2025 10:55:30 +0000 (11:55 +0100)]
Merge branch 'MDL-84547-main' of https://github.com/micaherne/moodle
Huong Nguyen [Wed, 19 Feb 2025 09:42:54 +0000 (16:42 +0700)]
Merge branch 'MDL-81759-main' of https://github.com/sarjona/moodle
Conn Warwicker [Fri, 31 Jan 2025 10:53:41 +0000 (10:53 +0000)]
MDL-83784 mod_quiz: Fix quiz unusable if question category missing.
Random questions set to question categories which no longer exist
was throwing an error making it impossible to use or edit the quiz
to fix it. This will now allow the user to view the questions and
edit the quiz in order to fix the problem of the missing category.
Huong Nguyen [Wed, 19 Feb 2025 06:39:44 +0000 (13:39 +0700)]
Merge branch 'MDL-80682-master' of https://github.com/NashTechOpenUniversity/moodle
Sara Arjona [Wed, 19 Feb 2025 06:12:27 +0000 (07:12 +0100)]
Merge branch 'MDL-84300-main' of https://github.com/andrewnicols/moodle
Sara Arjona [Wed, 19 Feb 2025 06:08:56 +0000 (07:08 +0100)]
Merge branch 'MDL-84476-main' of https://github.com/lucaboesch/moodle
ferran [Mon, 27 Jan 2025 12:01:48 +0000 (13:01 +0100)]
MDL-83872 core_courseformat: prepare completion button for reuse
The current completion button has specific templates only for the course
view page. However, from now on this component may be used in other
places and it needs a main template to be rendered in a standard way.
Tim Hunt [Mon, 17 Feb 2025 11:54:08 +0000 (11:54 +0000)]
MDL-84558 question bank: fix the PHPdocs for default_sort
Paul Holden [Mon, 1 Jul 2024 09:28:11 +0000 (10:28 +0100)]
MDL-80173 reportbuilder: remove various Oracle support/workarounds.
"True happiness is to rejoice in the
<removal of Oracle compatibility>."
Reference:
ba1f9cb2,
892b68d5,
c63af985,
208adcf3,
9a244403,
3894fa94,
62d22c66,
628541b5,
429508a7.
Paul Holden [Fri, 17 Jan 2025 00:43:27 +0000 (00:43 +0000)]
MDL-80173 reportbuilder: improve performance of date aggregation.
Due to Oracle re-factoring, we can improve the performance of date
aggregation by only executing the column supplied query once. We
can also improve the generated GROUP BY query to re-use the column
alias on supported DBs, rather than executing the aggregation again.
Paul Holden [Thu, 13 Feb 2025 14:25:33 +0000 (14:25 +0000)]
MDL-84527 tag: add formatted tag name column to report entity.
Huong Nguyen [Tue, 18 Feb 2025 13:39:50 +0000 (20:39 +0700)]
MDL-84341 qbank_history: Behat cleanup
Huong Nguyen [Tue, 18 Feb 2025 13:37:53 +0000 (20:37 +0700)]
Merge branch 'MDL-84341' of https://github.com/cwarwicker/moodle
Sara Arjona [Tue, 18 Feb 2025 12:12:06 +0000 (13:12 +0100)]
Merge branch '84348-hide-h5p-preview-message-main' of https://github.com/DSI-Universite-Rennes2/moodle
Sara Arjona [Tue, 18 Feb 2025 11:57:26 +0000 (12:57 +0100)]
Merge branch 'MDL-84208-main' of https://github.com/ferranrecio/moodle
Sara Arjona [Tue, 18 Feb 2025 10:23:32 +0000 (11:23 +0100)]
Merge branch 'MDL-75669-main' of https://github.com/roland04/moodle
Mikel Martín [Tue, 18 Feb 2025 09:37:06 +0000 (10:37 +0100)]
MDL-75669 theme_boost: Fix chrome behat failures after BS5 upgrade
Paul Holden [Tue, 11 Feb 2025 09:26:27 +0000 (09:26 +0000)]
MDL-84172 libraries: upgrade to version 4.10.2 of axe-core.
Marina Glancy [Fri, 6 Dec 2024 16:21:30 +0000 (16:21 +0000)]
MDL-83942 tag: allow to make default collection not searchable
Andrew Nicols [Mon, 17 Feb 2025 22:19:38 +0000 (06:19 +0800)]
MDL-84446 core: Check existence of pcntl_signal
Sara Arjona [Mon, 17 Feb 2025 15:50:26 +0000 (16:50 +0100)]
Merge branch 'MDL-75669-main' of https://github.com/roland04/moodle
Michael Aherne [Mon, 17 Feb 2025 11:55:39 +0000 (11:55 +0000)]
MDL-84547 questionbank: Rename import_form.php to enable autoloading.
Conn Warwicker [Tue, 4 Feb 2025 15:23:31 +0000 (15:23 +0000)]
MDL-84341 qbank_history: Fix version ordering
Previously the version ordering was done on timecreated which
wasn't always correct. This now uses the version number instead.
Also set the default sorting on the history page to be version.
Juan Leyva [Mon, 17 Feb 2025 09:53:01 +0000 (10:53 +0100)]
MDL-84554 tool_mobile: Remove partitioned cookies support
DangHieu1407 [Wed, 31 Jan 2024 04:23:27 +0000 (11:23 +0700)]
MDL-80682 core_question: Question version information should be clearer