113838 Commits

Author SHA1 Message Date
Sara Arjona
efe4caa8b2
Merge branch 'MDL-81472' of https://github.com/paulholden/moodle 2024-04-11 17:35:38 +02:00
Andrew Nicols
d26c40db26
Merge branch 'MDL-81114' of https://github.com/timhunt/moodle 2024-04-11 23:25:22 +08:00
Tim Hunt
ee80a41dd5 MDL-74610 quiz: fix grade items query for MySQL 2024-04-11 13:55:19 +01:00
Sara Arjona
54960f8e15
Merge branch 'MDL-81383' of https://github.com/timhunt/moodle 2024-04-11 12:49:29 +02:00
Tim Hunt
0b8c6bd64d MDL-81383 questions: get_filtered_questions order should be predictable
This method supports $limit and $offset paramters. The query must have
a predictable ORDER BY for that to make sense.
2024-04-11 10:25:50 +01:00
Sara Arjona
e8aee4a120
Merge branch 'MDL-80195' of https://github.com/pedrojordao/moodle 2024-04-11 11:03:21 +02:00
Mihail Geshoski
5c970e790e MDL-81500 tool_lp: Fix misaligned search button in competency picker 2024-04-11 16:43:09 +08:00
Mark Johnson
337a0ee705
MDL-81192 sessions: Prevent false positive session change errors
If $CFG->enable_read_only_sessions_debug was not enabled, debugging could be
enabled part-way through a request when restart_with_write_lock was
called. This meant that a diff between the initial and final session
would be made during write_close(), although the intial session state
was never captured. This generated false positives in the logs, and it
thought any variable set in the session was a change from the original
value.

This ensures that debugging is enabled before the debug flag is allowed
to change, preventing false positives.
2024-04-11 08:55:11 +01:00
Ilya Tregubov
c9eab29d37 Merge branch 'MDL-81480-main' of https://github.com/meirzamoodle/moodle 2024-04-11 15:48:07 +08:00
Andrew Nicols
64aedb9b24
MDL-77967 core_user: Coding style fixes in tests 2024-04-11 14:00:46 +08:00
Andrew Nicols
b64dff686e
Merge branch 'MDL-77967-main' of https://github.com/rmady/moodle 2024-04-11 13:56:54 +08:00
Huong Nguyen
3ec5b464d2
Merge branch 'MDL-81362-master' of https://github.com/ssj365/moodle 2024-04-11 12:49:32 +08:00
Huong Nguyen
7e2da937d5
Merge branch 'MDL-81327-main' of https://github.com/laurentdavid/moodle 2024-04-11 12:49:32 +08:00
Andrew Nicols
4c4594e2ac
Merge branch 'MDL-81227' of https://github.com/timhunt/moodle 2024-04-11 12:49:31 +08:00
Andrew Nicols
1ec7174072
MDL-80985 core: Whitespace fixes 2024-04-11 12:49:27 +08:00
Andrew Nicols
5c16854483
Merge branch 'MDL-80985-add-purge-course-caches-option-main' of https://github.com/jwcatau/moodle 2024-04-11 10:41:13 +08:00
Ilya Tregubov
160277d17c Merge branch 'MDL-81491-main' of https://github.com/snake/moodle 2024-04-11 09:52:04 +08:00
Huong Nguyen
ef2b329fef
Merge branch 'MDL-81476-main' of https://github.com/stevandoMoodle/moodle 2024-04-11 08:50:30 +07:00
Ilya Tregubov
dd364a04a0 Merge branch 'MDL-81494-main' of https://github.com/HuongNV13/moodle 2024-04-11 09:19:54 +08:00
Shamiso.Jaravaza
b4f9582938 MDL-81362 mod_bigbluebuttonbn: Fix content type 2024-04-10 12:12:00 -06:00
Sara Arjona
c42ca73e11
Merge branch 'MDL-74977-main' of https://github.com/HuongNV13/moodle 2024-04-10 15:50:50 +02:00
Paul Holden
17fd4fe8f5
Merge branch 'MDL-81489' of https://github.com/lostrogit/moodle into main 2024-04-10 14:03:10 +01:00
Paul Holden
ea81c5457d
Merge branch 'MDL-81488' of https://github.com/dravek/moodle into main 2024-04-10 13:57:09 +01:00
Huong Nguyen
6d40f11806
MDL-74977 core_courseformat: add expanded section update actions
This also fix the Random "Course content preferences" Behat failure
2024-04-10 18:11:00 +07:00
meirzamoodle
c9cb89323c MDL-81480 core: Sets user-level session storage functions
Also added @runInSeparateProcess on each session Redis cluster test to let the test run
in a separate process to avoid the error "the headers are not already sent" by PHPUnit.
2024-04-10 17:27:20 +07:00
Sara Arjona
fa7eece0f3
Merge branch 'MDL-80633-main' of https://github.com/laurentdavid/moodle 2024-04-10 12:21:41 +02:00
Huong Nguyen
6012fa0af6
MDL-81494 adhoc_task: Added missing space for query condition 2024-04-10 17:15:55 +07:00
Sara Arjona
0ea5aee08a
Merge branch 'MDL-81458-main-1' of https://github.com/mihailges/moodle 2024-04-10 12:12:55 +02:00
Jake Dallimore
1826c5e1d4
MDL-81491 enrol_lti: fix incorrect login_hint parameter type validation
This was always bad, but since we only used it to verify the existence
of the param, and let library code take $_REQUEST for the real
validation, it was ok. Now, since we're redirecting to self during
necessary cookie checks added by MDL-80835, we lose the real value
originally stored in $_REQUEST. This patch just fixes the param type,
setting it to raw, which is what it should have used originally. The
raw value won't be cast from a string to an int as part of the
require_param call, so the value won't be lost any more.
2024-04-10 17:41:50 +08:00
Carlos Castillo
92211f291f MDL-81489 reportbuilder: Optional tags when create/update reports
Make tags property optional when create/update report.
2024-04-10 10:17:22 +02:00
David Carrillo
45d366d463
MDL-81488 reportbuilder: Fix incorrect string in report number filter 2024-04-10 09:23:10 +02:00
Laurent David
45816d40b2 MDL-80633 lib: Modify moodle files after codemirror upgrade 2024-04-10 09:22:45 +02:00
Laurent David
e37bd90064 MDL-80633 lib: Upgrade beautify to 1.15.1 2024-04-10 09:22:45 +02:00
Huong Nguyen
ca449af186
Merge branch 'MDL-81351-main-enfix' of https://github.com/mudrd8mz/moodle 2024-04-10 13:54:56 +07:00
Ilya Tregubov
a7d9658d55 Merge branch 'MDL-81063-main' of https://github.com/andrewnicols/moodle 2024-04-10 14:30:31 +08:00
Andrew Nicols
dd94dea8c2
MDL-81063 tool_usertours: Allow hooks to manage usertour filters
Two new hooks are introduced to allow plugins to add their own user tour
filters.

Separate hooks are identified for both clientside, and serverside
filters.
2024-04-10 12:41:32 +08:00
Andrew Nicols
dae36f6cfa
MDL-81063 core: Add helper to get component name from classname 2024-04-10 12:41:31 +08:00
Andrew Nicols
29fc61c2a5
MDL-81063 core: Add option to get core in list of components 2024-04-10 12:41:31 +08:00
Huong Nguyen
27ada55bab
Merge branch 'MDL-81391-main' of https://github.com/davewoloszyn/moodle 2024-04-10 11:30:51 +07:00
Huong Nguyen
dbc6a5798f
Merge branch 'MDL-81182' of https://github.com/aolley/moodle 2024-04-10 11:24:02 +07:00
Huong Nguyen
7f3c0f2d31
Merge branch 'MDL-81459-main' of https://github.com/andrewnicols/moodle 2024-04-10 08:53:20 +07:00
Anupama Sarjoshi
6f0fde1fe3 MDL-81482 Questions: Fix questionlib_test PHPUnit tests 2024-04-09 16:43:07 +01:00
Mihail Geshoski
4b1dfe6a40 MDL-81458 qtype_ordering: Address failing unit tests
Fixes the failing unit tests in the ordering question type by
implementing the following adjustments and corrections:
- Ensure the missing required files are imported in
  questionhint_test.php and questiontype_test.php.
- Modify the expected fraction values in testexport.moodle.xml to
  accurately reflect the recent changes, specifically the type
  casting of the fraction value stored for each answer into the
  question object.
- Reorder the items in the answers array within the failing scenario
  in specific_grade_detail_feedback_test.php to guarantee that, in
  accordance with the randomly generated subset of correct answers,
  the question attempt will consistently be incorrect as required.
- Pass the answer codes in the order of the defined response when
  calling the process_submission() function in feedback_test.php
  to ensure the response in the current question attempt is properly
  set, rather than relying on random generation of the response which
  may result in random test failures.
2024-04-09 23:18:14 +08:00
Mihail Geshoski
72e9a1bbd9 MDL-81458 question: Cast the fraction value to a float
When retrieving the answer data from the database, it's essential to
cast the value of the answer's fraction to a float before storing it
into the question object. This step is crucial for ensuring consistency,
as some database engines return floats as strings like '1.0000000'.
2024-04-09 23:18:14 +08:00
Andrew Nicols
99de5dae2b
Merge branch 'MDL-74610' of https://github.com/timhunt/moodle 2024-04-09 22:23:03 +08:00
Sara Arjona
d84f466062
Merge branch 'MDL-81307-main' of https://github.com/roland04/moodle 2024-04-09 16:18:26 +02:00
Tim Hunt
d55e486a7e MDL-74610 quiz: multiple grades - UI improvements 2024-04-09 15:11:45 +01:00
Tim Hunt
2ad60df93d MDL-74610 quiz: multiple grades - summarise feature in upgrade.txt 2024-04-09 15:11:44 +01:00
Tim Hunt
0b7805199f MDL-74610 quiz: add extra grades to web services the mobile app uses 2024-04-09 15:11:44 +01:00
Tim Hunt
e6e427073c MDL-74610 quiz: multiple grades - fix display on quiz intro page 2024-04-09 15:11:44 +01:00