Andrew Nicols [Wed, 29 Jan 2025 02:54:17 +0000 (10:54 +0800)]
MDL-84355 phpunit: Exclude fixtures from testsuite search
Andrew Nicols [Wed, 29 Jan 2025 03:27:51 +0000 (11:27 +0800)]
MDL-84355 phpunit: Correct test path for component configs
Sara Arjona [Thu, 23 Jan 2025 16:34:50 +0000 (17:34 +0100)]
weekly release 5.0dev
Sara Arjona [Thu, 23 Jan 2025 16:34:50 +0000 (17:34 +0100)]
NOBUG: Add upgrade notes
Sara Arjona [Thu, 23 Jan 2025 16:34:42 +0000 (17:34 +0100)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Huong Nguyen [Thu, 23 Jan 2025 04:18:50 +0000 (11:18 +0700)]
Merge branch 'MDL-82767-main-v03' of https://github.com/ferranrecio/moodle
Huong Nguyen [Thu, 23 Jan 2025 04:15:26 +0000 (11:15 +0700)]
Merge branch 'MDL-83869-main' of https://github.com/ferranrecio/moodle
Jun Pataleta [Thu, 23 Jan 2025 04:13:41 +0000 (12:13 +0800)]
Merge branch 'MDL-83848-main-v2' of https://github.com/lameze/moodle into MDL-83848-main-test
Huong Nguyen [Thu, 23 Jan 2025 03:48:16 +0000 (10:48 +0700)]
Merge branch 'MDL-83751' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 23 Jan 2025 03:44:03 +0000 (10:44 +0700)]
Merge branch 'MDL-76566' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 23 Jan 2025 02:43:14 +0000 (09:43 +0700)]
MDL-82977 AI: Version bump
Huong Nguyen [Thu, 23 Jan 2025 02:36:50 +0000 (09:36 +0700)]
Merge branch 'main_MDL-82977' of https://github.com/mattporritt/moodle
Simey Lameze [Thu, 23 Jan 2025 00:09:15 +0000 (08:09 +0800)]
MDL-83848 core: unpin behat/gherkin dependency
This commit reverts 57dc5a7f17297c2a0dcffd47b3aecf5e1c228a713 "MDL-83470 composer: Require behat/gherkin 4.9.0 for now"
unpin behat/gherkin and fix Behat failures because of the update.
Huong Nguyen [Thu, 23 Jan 2025 02:24:02 +0000 (09:24 +0700)]
Merge branch 'MDL-83763-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Thu, 23 Jan 2025 02:16:47 +0000 (09:16 +0700)]
Merge branch 'MDL-81685_matrix_homeserver_name_main' of https://github.com/mark-webster-catalyst/moodle
Huong Nguyen [Thu, 23 Jan 2025 02:08:27 +0000 (09:08 +0700)]
Merge branch 'MDL-84101-main' of https://github.com/lameze/moodle
Huong Nguyen [Thu, 23 Jan 2025 02:02:11 +0000 (09:02 +0700)]
Merge branch 'MDL-84249-main' of https://github.com/lameze/moodle
Angelia Dela Cruz [Thu, 9 Jan 2025 09:24:47 +0000 (17:24 +0800)]
MDL-84101 message: Behat test for managing notification options
Jun Pataleta [Wed, 22 Jan 2025 13:55:43 +0000 (21:55 +0800)]
Merge branch 'MDL-83035-main' of https://github.com/lameze/moodle
ferran [Fri, 20 Dec 2024 10:55:03 +0000 (11:55 +0100)]
MDL-83869 tool_componentlibrary: collapsable section page
ferran [Fri, 20 Dec 2024 10:54:32 +0000 (11:54 +0100)]
MDL-83869 output: new collapsable section component
ferran [Wed, 15 Jan 2025 09:46:48 +0000 (10:46 +0100)]
MDL-82767 mod_qbank: fix delete action url
ferran [Wed, 30 Oct 2024 10:58:45 +0000 (11:58 +0100)]
MDL-82767 core_courseformat: deprecate edits in mod.php and view.php
Most edit logic embed directly into course/view.php and course/mod.php
is now redirected to course/format/update.php. This commit add
deprecations messages to the old get params so it can be removed in
Moodle 6.0 for good.
ferran [Wed, 30 Oct 2024 10:57:53 +0000 (11:57 +0100)]
MDL-82767 core_courseformat: replace old urls by update urls
Now there is course/format/update.php all course actions menus must
point to the new one instead of keep pointing at the course/view.php and
course/mod.php.
ferran [Wed, 30 Oct 2024 10:55:31 +0000 (11:55 +0100)]
MDL-82767 core_courseformat: new update.php to execute actions in course
Since Moodle 4.0, most course edit actions can be executed using the
core_courseformat_course_edit webservice using only four parameters
(courseid, ids, targetsectionid and targetcmid). However, some actions
logic is still replicated and embed in course/view.php and
course/mod.php files since the beginning of time. Now the
course/update.php offers a non-ajax way of executing the same actions
and replace the old replicated ways of doing the same.
Huong Nguyen [Wed, 22 Jan 2025 08:22:55 +0000 (15:22 +0700)]
Merge branch 'MDL-83339-main' of https://github.com/laurentdavid/moodle
Huong Nguyen [Wed, 22 Jan 2025 08:18:37 +0000 (15:18 +0700)]
Merge branch 'MDL-81070-main' of https://github.com/StudiUM/moodle
Huong Nguyen [Wed, 22 Jan 2025 08:10:55 +0000 (15:10 +0700)]
Merge branch 'MDL-78365' of https://github.com/pedrojordao/moodle
Huong Nguyen [Wed, 22 Jan 2025 03:31:41 +0000 (10:31 +0700)]
Merge branch 'MDL-83850-master' of https://github.com/danghieu1407/moodle
Simey Lameze [Wed, 22 Jan 2025 02:06:53 +0000 (10:06 +0800)]
MDL-83035 behat: add missing attribute and final polishing
Signed-off-by: Simey Lameze <simey@moodle.com>
Matt Porritt [Fri, 17 Jan 2025 05:11:15 +0000 (16:11 +1100)]
MDL-82977 AI: Provider instances
Update the OpenAI provider plugin to support provider instances.
Matt Porritt [Fri, 17 Jan 2025 04:54:17 +0000 (15:54 +1100)]
MDL-82977 AI: Provider instances
Update the Azure AI provider plugin to support provider instances.
Matt Porritt [Fri, 17 Jan 2025 04:38:48 +0000 (15:38 +1100)]
MDL-82977 AI: Provider instances
Create provider instances for AI povider plugins.
Each provider plugin can now have multiple instances,
allowing for different configurations and models using
the same base provider.
Daniel Ziegenberg [Wed, 20 Nov 2024 10:48:09 +0000 (11:48 +0100)]
MDL-83035 behat: deprecate admin presets behat steps
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Mark Webster [Thu, 14 Nov 2024 09:03:35 +0000 (09:03 +0000)]
MDL-81685 communication_matrix: Adds Matrix homeserver name setting
Allows setting a homeserver name for instances where
usernames do not follow the pattern @user:homeserverurl
Huong Nguyen [Tue, 21 Jan 2025 10:13:21 +0000 (17:13 +0700)]
MDL-84191 qbank_viewquestiontext: Fix Behat failures
Laurent David [Thu, 28 Nov 2024 11:33:45 +0000 (12:33 +0100)]
MDL-83339 course_format: Unify init params for course editor
* Replace all selectors based on ID (getElementById) by querySelector
* Replaces element-id by '#element-id' in the init method
meirzamoodle [Mon, 6 Jan 2025 03:26:34 +0000 (10:26 +0700)]
MDL-83763 core_my: Update docs path link on Dashboard and My Course
Huong Nguyen [Tue, 21 Jan 2025 04:23:18 +0000 (11:23 +0700)]
Merge branch 'MDL-82944-main' of https://github.com/davewoloszyn/moodle
Huong Nguyen [Tue, 21 Jan 2025 03:38:32 +0000 (10:38 +0700)]
Merge branch 'MDL-84191_main' of https://github.com/cwarwicker/moodle
Huong Nguyen [Tue, 21 Jan 2025 03:25:30 +0000 (10:25 +0700)]
Merge branch 'MDL-83861_main' of https://github.com/marxjohnson/moodle
Huong Nguyen [Tue, 21 Jan 2025 03:22:19 +0000 (10:22 +0700)]
Merge branch 'MDL-81790-main' of https://github.com/laurentdavid/moodle
Huong Nguyen [Tue, 21 Jan 2025 02:56:46 +0000 (09:56 +0700)]
Merge branch 'MDL-84138-main' of https://github.com/lucaboesch/moodle
Huong Nguyen [Tue, 21 Jan 2025 02:32:16 +0000 (09:32 +0700)]
Merge branch 'MDL-84111-main' of https://github.com/lucaboesch/moodle
Huong Nguyen [Tue, 21 Jan 2025 02:23:15 +0000 (09:23 +0700)]
Merge branch 'MDL-83877' of https://github.com/cwarwicker/moodle
Huong Nguyen [Tue, 21 Jan 2025 02:12:54 +0000 (09:12 +0700)]
Merge branch 'MDL-84193' of https://github.com/cwarwicker/moodle
Huong Nguyen [Tue, 21 Jan 2025 02:05:08 +0000 (09:05 +0700)]
Merge branch 'MDL-82722_main' of https://github.com/cwarwicker/moodle
Huong Nguyen [Tue, 21 Jan 2025 01:57:46 +0000 (08:57 +0700)]
Merge branch 'MDL-82237_main' of https://github.com/marxjohnson/moodle
Salem Saidi [Wed, 28 Feb 2024 00:00:36 +0000 (19:00 -0500)]
MDL-81070 course: Display contact names in the search result by admin
Sara Arjona [Mon, 20 Jan 2025 15:03:22 +0000 (16:03 +0100)]
Merge branch 'MDL-81043-main' of https://github.com/HuongNV13/moodle
Sara Arjona [Mon, 20 Jan 2025 14:41:23 +0000 (15:41 +0100)]
Merge branch 'MDL-83468-main' of https://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 16 Jan 2025 01:59:47 +0000 (09:59 +0800)]
MDL-83468 cachestore_redis: Skip tests if Redis extension not available
Andrew Nicols [Tue, 14 Jan 2025 14:43:04 +0000 (22:43 +0800)]
MDL-83468 tool_policy: Test tidyups
Andrew Nicols [Tue, 14 Jan 2025 01:18:56 +0000 (09:18 +0800)]
MDL-83468 phpunit: Remove erroneously located test
This has been in two testsuites since 2014.
Andrew Nicols [Thu, 17 Oct 2024 13:57:04 +0000 (21:57 +0800)]
MDL-83468 phpunit: Test names are not optional
Andrew Nicols [Thu, 17 Oct 2024 08:53:49 +0000 (16:53 +0800)]
MDL-83468 phpunit: assertEqualsCanonicalizing now compares keys too
In previous versions of PHPUnit, the `assertEqualsCanonicalizing()`
method compared values only, ignoring the keys entirely. Since PHPUnit
10 the method now checks keys where they are non-numeric.
To solve this we call `array_values()`.
Andrew Nicols [Thu, 17 Oct 2024 07:32:47 +0000 (15:32 +0800)]
MDL-83468 phpunit: Replace uses of setMethods with onlyMethods
The PHPUnit MockBuilder `setMethods()` method has been deprecated in
favour of the more accurately defined `onlyMethods()` method.
This was previously addressed in MDL-71036 for Moodle 3.11, but these
cases have crept back in.
Andrew Nicols [Wed, 16 Oct 2024 14:39:49 +0000 (22:39 +0800)]
MDL-83468 phpunit: Do not throw exception in mocked destructor
PHPUnit removed the ability to mock a destructor, but our lock system
throws an exception if a lock has not been explicitly released in its
destructor.
Normally thhis is fine because the lock is released, and if not then we
want to know about it.
However, where we are mocking the lock, we do not actually obtain the
lock, and we may expect the test to fail.
This change moves the release and notification to a separate, reusable
public method, which is called from the destructor. This allows it to be
mocked at the appropriate time.
Andrew Nicols [Wed, 16 Oct 2024 14:38:44 +0000 (22:38 +0800)]
MDL-83468 phpunit: Skip tests instead of data providers
Empty data providers are invalid and do not represent the state of the
test. Rather than commenting them out we should instead skip them.
Andrew Nicols [Thu, 17 Oct 2024 13:17:20 +0000 (21:17 +0800)]
MDL-83468 phpunit: Add back deprecated assertTag
Andrew Nicols [Thu, 17 Oct 2024 06:34:17 +0000 (14:34 +0800)]
MDL-83468 phpunit: Add back getName to testcase
In some situations we use the name of the test so we must keep
`getName()` for backwards compatibility.
Andrew Nicols [Wed, 16 Oct 2024 14:45:22 +0000 (22:45 +0800)]
MDL-83468 phpunit: Add back isInIsolation to testcase
This helper has been deprecated in PHPUnit, but we still need it in
Moodle.
Andrew Nicols [Wed, 16 Oct 2024 03:58:29 +0000 (11:58 +0800)]
MDL-83468 phpunit: Fix various tests after phpunit 10
Andrew Nicols [Fri, 22 Nov 2024 13:18:52 +0000 (21:18 +0800)]
MDL-83468 phpunit: Fix data provider param names
Andrew Nicols [Wed, 8 Jan 2025 02:20:48 +0000 (10:20 +0800)]
MDL-83468 phpunit: Dependency bump
Mark Johnson [Tue, 7 Jan 2025 16:28:36 +0000 (16:28 +0000)]
MDL-82237 mod_quiz: Include all filters in "See questions" link
The "See questions" link for random questions was still using the old
format the filter conditions, so was only applying the category filter
on the list of questions displayed. This means that if a tag filter (or
any other filter) was set on the random question set, it was not applied
when viewing the list of questions.
This change takes all the filter conditions applied in random question's
slot and passes them to the question bank in the "See questions" link.
danghieu1407 [Mon, 20 Jan 2025 11:51:31 +0000 (18:51 +0700)]
MDL-83850 report_progress: Add 'Completed' heading in the csv
Conn Warwicker [Wed, 15 Jan 2025 15:11:04 +0000 (15:11 +0000)]
MDL-84193 qbank_bulkmove: Disable bulkmove on history page.
This removes the option to bulk move questions from the question
history page.
Simey Lameze [Mon, 20 Jan 2025 05:40:36 +0000 (13:40 +0800)]
MDL-84249 behat: remove unnecessary javascript tag
This commit also make the repeated scenario names unique.
Jun Pataleta [Mon, 20 Jan 2025 02:24:09 +0000 (10:24 +0800)]
Merge branch 'MDL-83750-main' of https://github.com/raortegar/moodle
Jun Pataleta [Mon, 20 Jan 2025 02:02:06 +0000 (10:02 +0800)]
Merge branch 'MDL-84202' of https://github.com/paulholden/moodle
Jun Pataleta [Mon, 20 Jan 2025 01:58:03 +0000 (09:58 +0800)]
Merge branch 'MDL-83814-main' of https://github.com/andrewnicols/moodle
Mark Johnson [Wed, 11 Dec 2024 16:43:54 +0000 (16:43 +0000)]
MDL-83861 qbank: Add question idnumber filter
Conn Warwicker [Wed, 15 Jan 2025 10:01:54 +0000 (10:01 +0000)]
MDL-83877 mod_quiz: Fix quiz question overflow CSS issues.
Jun Pataleta [Fri, 17 Jan 2025 09:01:02 +0000 (17:01 +0800)]
Merge branch 'MDL-83341-main' of https://github.com/HuongNV13/moodle
Luca Bösch [Thu, 9 Jan 2025 14:00:11 +0000 (15:00 +0100)]
MDL-84138 mod_qbank: Add title to the page.
Huong Nguyen [Wed, 15 Jan 2025 09:05:11 +0000 (16:05 +0700)]
MDL-81043 gradereport_grader: Improve `gradereport_grader/collapse`
- This will helps `nodesUpdate` handle asynchronous updates better
- This also helps to fix Random Behat failure
Luca Bösch [Tue, 7 Jan 2025 14:24:31 +0000 (15:24 +0100)]
MDL-84111 qtype_ddimageortext: keep item type, file and text together.
Matt Porritt [Fri, 17 Jan 2025 04:35:02 +0000 (15:35 +1100)]
MDL-82977 AI: Provider instances
Add a new admin setting that allows rendering of a template.
This means templated content can be rendered as part of
admin forms, giving more flexibility to forms and their actions.
Jun Pataleta [Fri, 17 Jan 2025 03:43:29 +0000 (11:43 +0800)]
MDL-81780 tool_task: Minor ad-hoc tasks renderer refinements
* Ensure new strings are added alphabetically
* Fix rendering of delete button's aria-label
* Remove unused `deletetask` lang string
Jun Pataleta [Fri, 17 Jan 2025 03:53:28 +0000 (11:53 +0800)]
Merge branch 'MDL-81780-Adhoc-task-improvements' of https://github.com/waleedhassan5/moodle
AMOS bot [Fri, 17 Jan 2025 00:08:00 +0000 (00:08 +0000)]
Automatically generated installer lang files
Paul Holden [Wed, 18 Dec 2024 15:20:43 +0000 (15:20 +0000)]
MDL-83751 check: remove non-functional result class method.
Huong Nguyen [Thu, 16 Jan 2025 16:46:14 +0000 (23:46 +0700)]
weekly release 5.0dev
Huong Nguyen [Thu, 16 Jan 2025 16:46:14 +0000 (23:46 +0700)]
NOBUG: Add upgrade notes
Huong Nguyen [Thu, 16 Jan 2025 16:45:55 +0000 (23:45 +0700)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
waleedhassan [Mon, 19 Aug 2024 07:29:12 +0000 (08:29 +0100)]
MDL-81780 tool_task : Adhoc task improvements
Added fail delay column in the adhock task table on the admin page,
Added a new column for a delete action for the adhoc tasks on and
Wrote delete_adhoctask.php for delete functionality of adhoc tasks.
Wrote behat test for the delete functionality. Also there was a
logical error in the previous code where it was checking if the task
is due or not and it was just showing Never or ASAP instead of
actual time so fixed that as well.
Conn Warwicker [Mon, 13 Jan 2025 16:48:08 +0000 (16:48 +0000)]
MDL-84191 qbank_viewquestiontext: Add filter for question text.
This covers both question text and general feedback text.
Jun Pataleta [Thu, 16 Jan 2025 04:25:44 +0000 (12:25 +0800)]
Merge branch 'MDL-80468-factorpage-m' of https://github.com/bwalkerl/moodle
David Woloszyn [Tue, 19 Nov 2024 04:33:10 +0000 (15:33 +1100)]
MDL-82944 message: Notify user about unsent messages
Jun Pataleta [Thu, 16 Jan 2025 02:21:58 +0000 (10:21 +0800)]
Merge branch 'MDL-83826-main' of https://github.com/lameze/moodle
Conn Warwicker [Thu, 2 Jan 2025 13:02:21 +0000 (13:02 +0000)]
MDL-82772 mod_quiz: Update context when random question is updated.
Jun Pataleta [Wed, 15 Jan 2025 09:02:12 +0000 (17:02 +0800)]
Merge branch 'MDL-83172-main' of https://github.com/meirzamoodle/moodle
Laurent David [Tue, 29 Oct 2024 10:34:42 +0000 (11:34 +0100)]
MDL-81790 report_log: Log report page per activities
* When clicking on the More / Logs menu in an activity we
should stay on the activity page and not go on the course
report log
Sara Arjona [Wed, 15 Jan 2025 07:26:51 +0000 (08:26 +0100)]
Merge branch 'MDL-83995' of https://github.com/paulholden/moodle
Angelia Dela Cruz [Tue, 17 Dec 2024 04:40:52 +0000 (12:40 +0800)]
MDL-83826 core_admin: Behat coverage for plugins overview for admins
Huong Nguyen [Wed, 15 Jan 2025 02:28:36 +0000 (09:28 +0700)]
Merge branch 'MDL-83673-main' of https://github.com/ferranrecio/moodle
Sara Arjona [Tue, 14 Jan 2025 13:43:47 +0000 (14:43 +0100)]
Merge branch 'MDL-84072' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 14 Jan 2025 13:22:20 +0000 (14:22 +0100)]
Merge branch 'MDL-82866-main' of https://github.com/lameze/moodle
Simey Lameze [Thu, 9 Jan 2025 02:39:21 +0000 (10:39 +0800)]
MDL-82866 behat: deprecate the old lp step and class