115799 Commits

Author SHA1 Message Date
Andrew Nicols
11ab65db5e
MDL-81924 core: Include libphonenumber lite
Originally implemented as MDL-80960.
2024-09-23 09:45:41 +07:00
Andrew Nicols
58acf94c96
MDL-81924 core: Include Spatie\Cloneable
Originally implemented as MDL-80960.
2024-09-23 09:45:26 +07:00
Paul Holden
72c6b9d436
MDL-82581 mod_label: avoid overflowing length of label name. 2024-09-20 19:28:47 +01:00
Sara Arjona
525fc81cf6
on-demand release 4.5dev+ 2024-09-20 17:12:54 +02:00
Sara Arjona
15f4091392
NOBUG: Add upgrade notes 2024-09-20 17:12:53 +02:00
Sara Arjona
ebaed307fc
NOBUG: Fixed SVG browser compatibility 2024-09-20 17:12:35 +02:00
Sara Arjona
b6bf649701
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install 2024-09-20 17:12:35 +02:00
Mihail Geshoski
2c2e9982d6 MDL-82681 mod_assign: Deprecate process_save_grading_options() 2024-09-20 22:54:02 +08:00
Mihail Geshoski
8f3ca13260 MDL-82681 mod_assign: Modify mod_assign_grading_options_form deprecation
This form class has been deprecated in MDL-82857, following the standard
class deprecation policy. It is highly unlikely that any external code
is using it; therefore, the form class has been removed, while the file
remains to prevent fatal errors from attempts to require or include it.
This approachy aligns with recent form deprecations in the quiz module.
Additionally, any code using this form and its supporting functions,
such as M.mod_assign.init_grading_options, has been removed.
2024-09-20 22:54:02 +08:00
Tim Hunt
d5fe176df1 MDL-81612 assign: show current value when editing a student's extension
Also, if there is not currently an extension set, the set extension form
will default to whatever is the latest out of the due date, the cut-off date
and midnight tonight (in the server time-zone).
2024-09-20 12:19:57 +01:00
Tim Hunt
076be52682 MDL-81612 assign: test generation of extensions
Also, some other improvements.

* In Behat you can now use either idnumber of name to identify an
  assignment you are generating things for.
* create_submission generator methods now wants the cmid in $data['cmid']
  not the confusingly named 'assignid'. The old name is accepted, but
  generates a debugging warning. (That will fail the test, but in a way
  that explains how to fix it.)
2024-09-20 12:19:57 +01:00
Michael Hawkins
2cccb1d80d
MDL-83190 AI: Update user policy to copy approved by legal 2024-09-20 18:30:33 +08:00
Huong Nguyen
f456c54bdf
MDL-83092 AI: Fix Behat failure for Course Assistance 2024-09-20 15:50:29 +07:00
raortegar
fa931c6885 MDL-83123 AI: Course Assistance Placement Drawer compatibility. 2024-09-20 09:26:03 +02:00
Huong Nguyen
1cabd82999
Merge branch 'MDL-83055' of https://github.com/paulholden/moodle 2024-09-20 11:03:32 +07:00
Ilya Tregubov
7c75929ffa Merge branch 'MDL-82814-main' of https://github.com/andrewnicols/moodle 2024-09-20 10:37:05 +08:00
Jun Pataleta
fa31b3f3cb
Merge branch 'MDL-83092-main' of https://github.com/junpataleta/moodle 2024-09-20 10:30:33 +08:00
Matt Porritt
cfe65f1772
MDL-83092 AI: Placement action needs to check status of provider action
When all providers for a certain action are disabled, or if providers
are enabled but all individual actions of a type are disabled, then
a warning is shown on the placement admin settings page for actions
that have no providers available.

Also the text editor placement will not show the option to generate
images or text if there are no actions available.
2024-09-20 10:26:49 +08:00
Ilya Tregubov
1d48c46edb Merge branch 'MDL-82663' of https://github.com/paulholden/moodle 2024-09-20 10:17:02 +08:00
Huong Nguyen
7c7e35b02d
Merge branch 'MDL-83182-main' of https://github.com/meirzamoodle/moodle 2024-09-20 09:06:05 +07:00
Andrew Nicols
b1b4dc4cc9
MDL-83209 cache: Correct class import 2024-09-20 09:47:59 +08:00
Andrew Nicols
e9165e309b
Merge branch 'MDL-83209-main' of https://github.com/PhMemmel/moodle 2024-09-20 09:47:10 +08:00
Huong Nguyen
2812dbff69
Merge branch 'MDL-82740-main' of https://github.com/junpataleta/moodle 2024-09-20 08:44:03 +07:00
Ilya Tregubov
85011b102e Merge branch 'MDL-74188' of https://github.com/paulholden/moodle 2024-09-20 09:39:20 +08:00
Ilya Tregubov
847fa95212 Merge branch 'MDL-82488' of https://github.com/paulholden/moodle 2024-09-20 09:24:51 +08:00
Paul Holden
4fc4fb27ea
MDL-82715 customfield_number: coding style cleanup/clarification. 2024-09-19 18:36:36 +01:00
Paul Holden
c9a01b4354
Merge branch 'MDL-82715-main-rebased' of https://github.com/ilyatregubov/moodle into main 2024-09-19 17:42:12 +01:00
Sara Arjona
e4e8bc8bbb
Merge branch 'MDL-82845-main' of https://github.com/ferranrecio/moodle 2024-09-19 18:29:37 +02:00
Laurent David
2aa7790804
MDL-83050 core_courseformat: Fix index highlight for collapsed section
* Collapsed sections on course index is not highlighting the correct
element when scrolling over subelements.
2024-09-19 17:48:39 +02:00
Mihail Geshoski
f86a9fd520 MDL-82681 mod_assign: Remove temporary class grading_options_temp_form
The grading_options_temp_form class and
process_save_grading_options_temp() method were temporarily introduced
to migrate form elements across the submission page while preserving
the original class and method, as they are part of the public API and
may be used by external code. Now that the migration is complete, both
the temporary class and method can be removed.
2024-09-19 23:17:54 +08:00
Mihail Geshoski
15fc229e77 MDL-82681 mod_assign: Revert improper code removal
The grading_options_form class was deprecated in 4.5, and a temporary
copy of this class was introduced to facilitate the migration of its
elements across different areas of the submission page, ensuring no
breakages if any external code is using this form (MDL-82857).
However, the process_save_grading_options() method, which processes
data from this form, was modified and this should not have occurred.
To maintain proper backward compatibility, a similar approach should
be taken by introducing a temporary copy of the method. Both the
temporary method and temporary form class should be removed once the
migration of elements is complete.
2024-09-19 23:17:43 +08:00
Mihail Geshoski
ca293159e7 MDL-82681 mod_assign: Clean up old filters
Removes the old Marker and Suspended participants filters from the
assignment submissions page, along with all associated logic.
Also, cleans up residual code from the old marking workflow filter
that was not properly removed in MDL-82508.
2024-09-19 23:17:28 +08:00
Mihail Geshoski
a97231fc06 MDL-82681 mod_assign: Reset Marker and Suspended participants filters
Extends the functionality of the 'Clear all' filters option to reset
the new 'Marker' and 'Suspended participants' filters on the
assignment submissions page.
2024-09-19 23:17:01 +08:00
Mihail Geshoski
9265ab5ca8 MDL-82681 mod_assign: Add Suspended participants to Advanced filters
Adds 'Suspended participants' filter to the 'Advanced' filters
component on the assignment submissions page.
2024-09-19 23:16:49 +08:00
Mihail Geshoski
ac1d386443 MDL-82681 mod_assign: Add Marker to Advanced submission filters
Adds 'Marker' filter to the 'Advanced' filters component on the
assignment submissions page.
2024-09-19 23:16:35 +08:00
Sara Arjona
c35427249b
Merge branch 'MDL-80890-main-fix' of https://github.com/junpataleta/moodle 2024-09-19 16:34:52 +02:00
Jun Pataleta
3fc594f72b
MDL-80890 tiny_aiplacement: Prefetch the correct lang string 2024-09-19 22:14:47 +08:00
Sara Arjona
2236a2f449
Merge branch 'mdl-82784_main_wip' of https://github.com/james-cnz/moodle 2024-09-19 16:07:38 +02:00
Jun Pataleta
23a7976a4b
MDL-82740 core: Consider theme when checking for monologo icons 2024-09-19 20:47:18 +08:00
Mikel Martín
27144e5474 MDL-83204 tool_policy: Fix footer link spacing 2024-09-19 11:27:32 +02:00
ferranrecio
37ce4e8ece MDL-82845 course: fix subsection navigation nodes 2024-09-19 11:26:28 +02:00
Mikel Martín
bacb1ba961 MDL-83204 tool_mobile: Fix footer link spacing 2024-09-19 11:18:09 +02:00
Philipp Memmel
47ba728eae MDL-83209 core_cache: Fix regressions by enforcing codestyle 2024-09-19 10:42:52 +02:00
Huong Nguyen
d29f4cd06c
Merge branch 'MDL-83199-main' of https://github.com/mihailges/moodle 2024-09-19 15:40:15 +07:00
ferranrecio
bfe9e6328a MDL-82845 mod_subsection: change maturity to beta 2024-09-19 10:30:57 +02:00
ferranrecio
4d3d5b3687 MDL-82845 core_course: method to get all cm_info from a section_info 2024-09-19 10:30:57 +02:00
Ilya Tregubov
8b5b91475e MDL-82715 customfield_number: Add automatically populated providers.
Added number of activity provider and also hooks for plugins.
2024-09-19 16:21:50 +08:00
Sara Arjona
3e65c22adb
Merge branch 'MDL-83188' of https://github.com/paulholden/moodle 2024-09-19 10:20:14 +02:00
Ilya Tregubov
eecc29a6bf Merge branch 'MDL-82909' of https://github.com/paulholden/moodle 2024-09-19 15:08:12 +08:00
Ilya Tregubov
adaa1944af Merge branch 'MDL-82494' of https://github.com/paulholden/moodle 2024-09-19 14:04:48 +08:00