Eloy Lafuente (stronk7) [Sun, 10 Mar 2024 17:11:25 +0000 (18:11 +0100)]
MDL-75952 general: Since php81, refection->setAccessible() is no-op
Refereces:
- https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
- https://www.php.net/manual/en/reflectionproperty.setaccessible.php
- https://www.php.net/manual/en/reflectionmethod.setaccessible.php
As of PHP 8.1.0, calling this method has no effect; all methods are
invokable by default. So, let's remove all uses from core, they are
no-op.
Sara Arjona [Fri, 8 Mar 2024 10:13:56 +0000 (11:13 +0100)]
on-demand release 4.4dev+
Ilya Tregubov [Fri, 8 Mar 2024 05:45:29 +0000 (13:45 +0800)]
Merge branch 'MDL-78547-main-phpunit' of https://github.com/HuongNV13/moodle
Huong Nguyen [Fri, 8 Mar 2024 05:14:00 +0000 (12:14 +0700)]
MDL-78547 quiz: Remove unnecessary call to clear_regrade_date_cache()
This method is designed to clear the values but these values are never set anywhere
It's safe to remove it out of the test now
Huong Nguyen [Fri, 8 Mar 2024 03:39:59 +0000 (10:39 +0700)]
Merge branch 'MDL-80235-main' of https://github.com/aanabit/moodle
Huong Nguyen [Fri, 8 Mar 2024 03:27:40 +0000 (10:27 +0700)]
Merge branch 'MDL-81082' of https://github.com/paulholden/moodle
Ilya Tregubov [Fri, 8 Mar 2024 03:15:16 +0000 (11:15 +0800)]
Merge branch 'MDL-79044-main' of https://github.com/geichelberger/moodle
Huong Nguyen [Fri, 8 Mar 2024 03:12:47 +0000 (10:12 +0700)]
Merge branch 'MDL-81123-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Fri, 8 Mar 2024 03:06:56 +0000 (10:06 +0700)]
Merge branch 'MDL-81046-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Fri, 8 Mar 2024 03:05:17 +0000 (11:05 +0800)]
Merge branch 'MDL-80550' of https://github.com/paulholden/moodle
Huong Nguyen [Fri, 8 Mar 2024 01:51:57 +0000 (08:51 +0700)]
Merge branch 'MDL-78547' of https://github.com/timhunt/moodle
Ilya Tregubov [Fri, 8 Mar 2024 01:42:25 +0000 (09:42 +0800)]
Merge branch 'MDL-80856-main' of https://github.com/roland04/moodle
Ilya Tregubov [Fri, 8 Mar 2024 01:35:55 +0000 (09:35 +0800)]
MDL-80943 reportbuilder: Fix bad conflict resolution.
Ilya Tregubov [Fri, 8 Mar 2024 01:21:44 +0000 (09:21 +0800)]
Merge branch 'MDL-80943' of https://github.com/paulholden/moodle
Jun Pataleta [Fri, 8 Mar 2024 00:00:41 +0000 (08:00 +0800)]
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle
Sara Arjona [Thu, 7 Mar 2024 16:54:52 +0000 (17:54 +0100)]
Merge branch 'MDL-81089-master' of https://github.com/jleyva/moodle
Paul Holden [Thu, 7 Mar 2024 16:52:00 +0000 (16:52 +0000)]
Merge branch 'MDL-80703' of https://github.com/Chocolate-lightning/moodle into main
Sara Arjona [Thu, 7 Mar 2024 16:40:20 +0000 (17:40 +0100)]
Merge branch 'MDL-80634' of https://github.com/paulholden/moodle
Juan Leyva [Thu, 29 Feb 2024 14:36:39 +0000 (15:36 +0100)]
MDL-81089 calendar: Return if module is branded
Juan Leyva [Thu, 29 Feb 2024 14:33:15 +0000 (15:33 +0100)]
MDL-81089 block_recentlyaccesseditems: Return module branded
Sara Arjona [Thu, 7 Mar 2024 16:15:17 +0000 (17:15 +0100)]
Merge branch 'MDL-81133-master' of https://github.com/jleyva/moodle
Tim Hunt [Mon, 4 Mar 2024 08:55:16 +0000 (08:55 +0000)]
MDL-78547 quiz: fix how deprecated add random calls structure
Tim Hunt [Fri, 19 Jan 2024 17:41:10 +0000 (17:41 +0000)]
MDL-78547 quiz: in a preview, if a question has been edited, update it
As part of implementing this, there is a new more efficient method
get_version_information_for_questions_in_attempt to see if any
questions in a quiz need to be updated. The regrade code was updated
to take advantage of this.
Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com>
Tim Hunt [Fri, 19 Jan 2024 17:12:12 +0000 (17:12 +0000)]
MDL-78547 questions: a way to replace a attempt in a usage
... without keeping the old attempt
Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com>
Sara Arjona [Thu, 7 Mar 2024 16:10:47 +0000 (17:10 +0100)]
Merge branch 'MDL-81054-master' of https://github.com/jleyva/moodle
Sara Arjona [Thu, 7 Mar 2024 16:01:55 +0000 (17:01 +0100)]
Merge branch 'MDL-81065-master' of https://github.com/jleyva/moodle
Juan Leyva [Mon, 26 Feb 2024 16:28:40 +0000 (17:28 +0100)]
MDL-81054 tool_dataprivacy: Return download link for data exports
Andrew Nicols [Thu, 7 Mar 2024 14:23:21 +0000 (22:23 +0800)]
MDL-81011 core_course: Update new course hooks to use attributes
These hooks landed in the past week. Updating them to use the new
attributes.
Juan Leyva [Tue, 27 Feb 2024 11:57:04 +0000 (12:57 +0100)]
MDL-81065 core_filters: New WS core_filters_get_all_states
Juan Leyva [Thu, 7 Mar 2024 12:26:03 +0000 (13:26 +0100)]
MDL-65978 blog: Fix unit tests (remove hardcoded entry ids)
Juan Leyva [Thu, 7 Mar 2024 12:13:24 +0000 (13:13 +0100)]
MDL-81133 tool_mobile: Add new features supported by app
Sara Arjona [Thu, 7 Mar 2024 11:20:01 +0000 (12:20 +0100)]
Merge branch 'MDL-81011-main' of https://github.com/andrewnicols/moodle
Paul Holden [Mon, 19 Feb 2024 11:22:56 +0000 (11:22 +0000)]
MDL-80634 libraries: upgrade to version 4.4.2 of ChartJS.
Sara Arjona [Thu, 7 Mar 2024 11:05:12 +0000 (12:05 +0100)]
Merge branch 'MDL-69656-fix' of https://github.com/sarjona/moodle
Sara Arjona [Thu, 7 Mar 2024 11:01:35 +0000 (12:01 +0100)]
MDL-69656 backup: Remove illegal whitespaces
Juan Leyva [Thu, 7 Mar 2024 09:46:42 +0000 (10:46 +0100)]
MDL-65978 blog: Fix removing associations
Andrew Nicols [Wed, 21 Feb 2024 14:48:05 +0000 (22:48 +0800)]
MDL-81011 core: Add attribute alternative to hooks interfaces
This change replaces the requirement for:
- \core\hook\deprecated_callback_replacement
- \core\hook\described_hook
These are replaced by appropriate Attributes.
Sara Arjona [Thu, 7 Mar 2024 09:15:18 +0000 (10:15 +0100)]
Merge branch 'MDL-65978-master' of https://github.com/jleyva/moodle
Huong Nguyen [Thu, 7 Mar 2024 03:04:10 +0000 (10:04 +0700)]
Merge branch 'MDL-79990-main' of https://github.com/lameze/moodle
Jun Pataleta [Thu, 7 Mar 2024 03:02:05 +0000 (11:02 +0800)]
Merge branch 'MDL-81044-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Thu, 7 Mar 2024 02:48:31 +0000 (10:48 +0800)]
Merge branch 'MDL-80460-main-fix' of https://github.com/lameze/moodle
Simey Lameze [Thu, 7 Mar 2024 02:22:34 +0000 (10:22 +0800)]
MDL-80460 behat: use the correct section name
Sara Arjona [Mon, 26 Feb 2024 08:33:46 +0000 (09:33 +0100)]
MDL-80920 course: Add behat step supporting section number
The selector "I am on the "Course > Section" "course > section" page
has been improved to also support section number.
When "Section x" is given, and there is no section with this name,
section number "x" is used.
Simey Lameze [Mon, 12 Feb 2024 10:08:35 +0000 (18:08 +0800)]
MDL-79990 behat: custom step to verify assign grading data
This commit also optimise the new behat test.
Ilya Tregubov [Thu, 7 Mar 2024 00:51:25 +0000 (08:51 +0800)]
Merge branch 'MDL-80342' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 7 Mar 2024 00:41:42 +0000 (08:41 +0800)]
Merge branch 'MDL-80460-main' of https://github.com/sarjona/moodle
Angelia Dela Cruz [Wed, 8 Nov 2023 03:07:57 +0000 (11:07 +0800)]
MDL-79990 gradingform: Behat test for marking guide information display
Andrew Nicols [Wed, 6 Mar 2024 15:26:45 +0000 (23:26 +0800)]
Merge branch 'MDL-79750' of https://github.com/ssj365/moodle
Andrew Nicols [Wed, 6 Mar 2024 15:23:13 +0000 (23:23 +0800)]
Merge branch 'MDL-69656-master' of https://github.com/sh-csg/moodle
Sara Arjona [Mon, 12 Feb 2024 16:36:03 +0000 (17:36 +0100)]
MDL-80460 behat: Fix tests to replace Topic with Section
The behat tests using the course format topics have been reviewed to:
- Add the 'inisections' parameter where necessary, facilitating automatic
renaming of section names.
- Evaluate failing tests due to slight changes in ordering. Notably, in
the topics format, sections are now uniformly named 'New section' without
any numbering.
Sara Arjona [Fri, 9 Feb 2024 14:53:33 +0000 (15:53 +0100)]
MDL-80460 format_topics: Replace name from "Topic X" with "New section"
From now on, the default section name for the topics course format is
"New section" instead of "Topic x" (where x was the section number).
A new item, initsections, has been added to the create_course() function
in the testing_data_generator class, to let the generator rename the
sections to "Section X"
AMOS BEGIN
CPY [sectionname,format_topics],[legacysectionname,format_topics]
AMOS END
Paul Holden [Wed, 14 Feb 2024 15:31:08 +0000 (15:31 +0000)]
MDL-80943 reportbuilder: select-type customfields should be text.
The column type determines the available aggregation options present
for the column. Custom fields of type "select" should be considered as
text fields for this purpose, because their stored value represents
the index to their available options, rather than having any distinct
meaning of it's own for display.
Shamiso.Jaravaza [Wed, 6 Mar 2024 07:49:54 +0000 (00:49 -0700)]
MDL-79750 mod_bigbluebuttonbn: set SHA256 checksum
Mathew May [Tue, 5 Mar 2024 07:26:20 +0000 (15:26 +0800)]
MDL-80703 block_calendar_upcoming: Final deprecation upcoming content
Stefan Hanauska [Wed, 6 Mar 2024 06:36:48 +0000 (07:36 +0100)]
MDL-69656 backup: Replace urlencoded pluginfile urls
Andrew Nicols [Wed, 6 Mar 2024 06:04:30 +0000 (14:04 +0800)]
Merge branch 'MDL-80183' of https://github.com/paulholden/moodle
Ilya Tregubov [Wed, 6 Mar 2024 05:51:21 +0000 (13:51 +0800)]
Merge branch 'MDL-80900' of https://github.com/ilyatregubov/moodle
Tim Hunt [Tue, 13 Feb 2024 18:58:55 +0000 (18:58 +0000)]
MDL-80900 quiz: refine attempt summary
* Move State to above all the times, rather than in the middle.
* Changed 'Completed on' to 'Completed' and 'Submitted on' to 'Submitted'.
Andrew Nicols [Wed, 6 Mar 2024 05:21:52 +0000 (13:21 +0800)]
Merge branch 'MDL-80646-main' of https://github.com/mihailges/moodle
Ilya Tregubov [Wed, 6 Mar 2024 05:16:42 +0000 (13:16 +0800)]
Merge branch 'MDL-80880' of https://github.com/timhunt/moodle
Andrew Nicols [Wed, 6 Mar 2024 05:00:00 +0000 (13:00 +0800)]
Merge branch 'MDL-79675-main-v6' of https://github.com/snake/moodle
Huong Nguyen [Wed, 6 Mar 2024 02:23:32 +0000 (09:23 +0700)]
Merge branch 'MDL-80241' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 6 Mar 2024 02:12:53 +0000 (09:12 +0700)]
Merge branch 'MDL-79278-master' of https://github.com/andelacruz/moodle
Angelia Dela Cruz [Mon, 11 Sep 2023 10:04:16 +0000 (18:04 +0800)]
MDL-79278 mod_quiz: Teacher can set how quiz questions behave behat
Co-authored-by: Simey Lameze <simey@moodle.com>
Jake Dallimore [Thu, 22 Feb 2024 08:58:46 +0000 (16:58 +0800)]
MDL-79675 enrol_lti: fix mocks depending on previously untyped props
When $launch_id wasn't typed, it was ok to call the getter, but now
that it is, php throws an error. Replaced with stub method.
Jake Dallimore [Thu, 22 Feb 2024 08:33:54 +0000 (16:33 +0800)]
MDL-79675 enrol_lti: fix class instantiation after library upgrade
Jake Dallimore [Thu, 22 Feb 2024 08:10:35 +0000 (16:10 +0800)]
MDL-79675 enrol_lti: fix client implementation signatures after upgrade
Not strictly required due to contravariance, but nice for readability.
Jake Dallimore [Thu, 18 Jan 2024 09:07:09 +0000 (17:07 +0800)]
MDL-79675 enrol_lti: fix deep linking return after library removals
Jake Dallimore [Thu, 18 Jan 2024 09:02:42 +0000 (17:02 +0800)]
MDL-79675 enrol_lti: fix JWKS generation after library removals
Jake Dallimore [Thu, 18 Jan 2024 08:51:00 +0000 (16:51 +0800)]
MDL-79675 enrol_lti: fix login redirection after library deprecations
v5.7.0 changed this process. Now, we just fetch the URL and do our own
redirect.
https://github.com/packbackbooks/lti-1-3-php-library/releases/tag/v5.7.0
Jake Dallimore [Thu, 18 Jan 2024 08:49:10 +0000 (16:49 +0800)]
MDL-79675 enrol_lti: migrate validate() calls to initialize() per v6.0.0
Calls to validate() have been replaced in v6.0.0.
https://github.com/packbackbooks/lti-1-3-php-library/releases/tag/v6.0.0
Jake Dallimore [Thu, 18 Jan 2024 06:35:09 +0000 (14:35 +0800)]
MDL-79675 enrol_lti: replace ImsCookie use with local implementation
The default implementation, previously included with the library, is no
longer shipped there. Clients must provide their own implementation of
the ICookie interface instead.
Jake Dallimore [Wed, 17 Jan 2024 02:48:12 +0000 (10:48 +0800)]
MDL-79675 libraries: upgrade lti1p3 to v6.0.0
Amaia Anabitarte [Mon, 4 Mar 2024 16:54:04 +0000 (17:54 +0100)]
MDL-80235 mod_scorm: Required minimum score should be >0
Paul Holden [Tue, 5 Mar 2024 14:39:02 +0000 (14:39 +0000)]
Merge branch 'MDL-80620-main' of https://github.com/roland04/moodle into main
Sara Arjona [Tue, 5 Mar 2024 14:24:45 +0000 (15:24 +0100)]
Merge branch 'MDL-80930-main' of https://github.com/raortegar/moodle
Paul Holden [Tue, 5 Mar 2024 14:07:57 +0000 (14:07 +0000)]
Merge branch 'MDL-80914-main' of https://github.com/mihailges/moodle into main
Andrew Nicols [Tue, 5 Mar 2024 14:03:53 +0000 (22:03 +0800)]
Merge branch 'MDL-80731' of https://github.com/paulholden/moodle
Andrew Nicols [Tue, 5 Mar 2024 13:16:33 +0000 (21:16 +0800)]
MDL-80749 core: Tidy up task tests
Andrew Nicols [Tue, 5 Mar 2024 13:18:44 +0000 (21:18 +0800)]
Merge branch 'MDL-80749-main' of https://github.com/HuongNV13/moodle
Paul Holden [Tue, 5 Mar 2024 13:04:40 +0000 (13:04 +0000)]
Merge branch 'MDL-73426-main' of https://github.com/sarjona/moodle into main
Sara Arjona [Thu, 15 Feb 2024 09:54:35 +0000 (10:54 +0100)]
MDL-73426 badges: Final deprecation for print_badge_tabs
Tim Hunt [Fri, 9 Feb 2024 19:52:49 +0000 (19:52 +0000)]
MDL-80880 quiz: change display of previous attempts summary
Rather than a table (neither reponsive nor very accesible) we now
represent a student's previous attempts with cards. The content
of the cards is now the same table as at the top of the review
attempt page.
Tim Hunt [Fri, 8 Dec 2023 19:37:14 +0000 (19:37 +0000)]
MDL-80880 quiz: summary of an attempt output changed to a templateable
The new class is attempt_summary_information. Switching to using this
has required some rendere methods to be changed. See upgrade.txt.
Sara Arjona [Tue, 5 Mar 2024 10:22:44 +0000 (11:22 +0100)]
on-demand release 4.4dev+
Andrew Nicols [Tue, 5 Mar 2024 06:08:23 +0000 (14:08 +0800)]
MDL-81123 tiny_html: Make empty codemirror region clickable
Mihail Geshoski [Thu, 29 Feb 2024 03:49:11 +0000 (11:49 +0800)]
MDL-80646 mod_lti: Enable key and secret configuration in legacy tools
When restoring a manually configured tool to a different site, the key
and secret are not being restored, which is an expected behaviour.
However, legacy (pre-4.3) manually configured tools do not have the
option to configure the key and secret, which makes these instances
unusable. To make sure these tools will continue working after a backup
and restore, we need to re-enable the key and secret fields in the
legacy instance settings form.
Huong Nguyen [Tue, 5 Mar 2024 03:55:47 +0000 (10:55 +0700)]
Merge branch 'MDL-77980' of https://github.com/paulholden/moodle
Jun Pataleta [Tue, 5 Mar 2024 03:50:23 +0000 (11:50 +0800)]
Merge branch 'MDL-80819' of https://github.com/stronk7/moodle
Huong Nguyen [Tue, 5 Mar 2024 03:23:59 +0000 (10:23 +0700)]
Merge branch 'MDL-80836-main' of https://github.com/snake/moodle
Ilya Tregubov [Tue, 5 Mar 2024 03:23:17 +0000 (11:23 +0800)]
Merge branch 'MDL-78850-main' of https://github.com/meirzamoodle/moodle
Jun Pataleta [Tue, 5 Mar 2024 02:53:12 +0000 (10:53 +0800)]
Merge branch 'MDL-80548' of https://github.com/marinaglancy/moodle
Mihail Geshoski [Thu, 22 Feb 2024 08:09:23 +0000 (16:09 +0800)]
MDL-80914 mod_lti: Custom parameter configuration in the instance form
Re-enables the configuration of custom parameters when creating or
modifying a tool instance in a course.
Huong Nguyen [Tue, 5 Mar 2024 02:05:50 +0000 (09:05 +0700)]
Merge branch 'MDL-80866-main' of https://github.com/sarjona/moodle
Sara Arjona [Mon, 4 Mar 2024 15:13:11 +0000 (16:13 +0100)]
Merge branch 'MDL-80553-main' of https://github.com/ferranrecio/moodle
Sara Arjona [Mon, 4 Mar 2024 15:05:18 +0000 (16:05 +0100)]
Merge branch 'MDL-75670-main' of https://github.com/roland04/moodle
Marina Glancy [Mon, 8 Jan 2024 16:26:46 +0000 (16:26 +0000)]
MDL-80548 admin: Add bulk user actions also to user list
Paul Holden [Wed, 31 Jan 2024 15:30:29 +0000 (15:30 +0000)]
MDL-77980 gradereport_grader: link to each activity in table heading.
* The activity link is now always it's view.php page;
* The user fields in the grader report are now initially sorted via the
cell action menu (ascending/descending).
Huong Nguyen [Mon, 29 Jan 2024 04:25:44 +0000 (11:25 +0700)]
MDL-80749 adhoc_task: Update failed ad-hoc tasks cleanup
Update the task to use firststartingtime instead of timestarted
Huong Nguyen [Mon, 29 Jan 2024 04:01:28 +0000 (11:01 +0700)]
MDL-80749 adhoc_task: Log the first starting time of the task