111833 Commits

Author SHA1 Message Date
Jun Pataleta
1d9f2dec58
Merge branch 'mdl64431' of https://github.com/danmarsden/moodle 2023-12-05 12:13:45 +08:00
Huong Nguyen
f1b276ca4c Merge branch 'main' of https://github.com/dragos5436/moodle 2023-12-05 10:40:10 +07:00
Ilya Tregubov
9f1b1eb427 Merge branch 'MDL-80043-main' of https://github.com/junpataleta/moodle 2023-12-05 09:10:37 +08:00
Ilya Tregubov
aefabc50f5 Merge branch 'MDL-80131-main' of https://github.com/junpataleta/moodle 2023-12-05 09:00:06 +08:00
Sara Arjona
33ffa3b6a2
Merge branch 'MDL-80185' of https://github.com/paulholden/moodle 2023-12-04 11:00:38 +01:00
Jun Pataleta
04bc690557
Merge branch 'MDL-80221-main-enfix' of https://github.com/mudrd8mz/moodle 2023-12-04 16:12:07 +08:00
Jun Pataleta
1d5ee36809
Merge branch 'MDL-79986-main' of https://github.com/sarjona/moodle 2023-12-04 16:01:37 +08:00
Jun Pataleta
e756edf18d
Merge branch 'MDL-79726-main' of https://github.com/sarjona/moodle 2023-12-04 12:09:26 +08:00
Ilya Tregubov
6c5e5bc564 Merge branch 'MDL-74417-manage-sesskeys' of https://github.com/bwalkerl/moodle 2023-12-04 11:35:41 +08:00
Huong Nguyen
7d08697fb9 Merge branch 'MDL-79784-master' of https://github.com/jleyva/moodle 2023-12-04 09:25:11 +07:00
Jun Pataleta
5672927c28
MDL-80131 mod_data: Make page titles unique 2023-12-02 07:19:16 +08:00
dragos5436
78e3edf3ef MDL-60632 mod_quiz: Fix chart rendering fail in quiz report
If a quiz activity has negative grading enabled for incorrect answers,
students can achieve overall negative grades in this quiz. If at least
one student achieves a negative grade, the chart at the bottom of the
quiz 'Results' tab will fail to display. This patch add a search for
negative results, removes them from the band below 0 and adds them to
the 0 band. This will make the chart render correctly again.

Co-authored-by: Susana Leitão <sleitao@uporto.pt>
Co-authored-by: Matthias Opitz <m.opitz@ucl.ac.uk>

Removed whitespace at end of lines
2023-12-01 15:17:42 +00:00
Sara Arjona
29b2204b02
Merge branch 'MDL-80238-main' of https://github.com/roland04/moodle 2023-12-01 11:07:57 +01:00
Sara Arjona
564031b183
Merge branch 'MDL-80209-main' of https://github.com/aanabit/moodle 2023-12-01 10:56:02 +01:00
Benjamin Walker
b833927648 MDL-74417 admin: Remove sesskey from test settings links 2023-12-01 18:41:50 +10:00
Sara Arjona
032f39aeef
MDL-79726 completion: Overall should consider pass/fail states too
In MDL-78744, when the overallcompletion state was added to be displayed
in the activity card, only COMPLETE/INCOMPLETE status were considered.
However, depending on the activity completion settings, there are a
couple of states more that should also be included (COMPLETE_FAIL and
COMPLETE_PASS).

A new method has been added to the cm_completion_details class to
calculate whether a module should be considered or not completed,
based on their completion options and the current value for the
overall complete state.
2023-12-01 09:18:36 +01:00
Sara Arjona
dd723bae71
MDL-79986 course: Remove $CFG->linkcoursesections setting
Currently, the $CFG->linkcoursesections setting was only used
for the Classic theme, to let admins decide whether the section
names in the Navigation block would be linked or not.

Now that the course/section.php page has been created to display
the content of any single section, and a link to this section page
has been added from the main course page to help users to focus
on the section content, it has been decided to remove the setting
$CFG->linkcoursesections because it's not required anymore.
2023-12-01 09:17:17 +01:00
Sara Arjona
6792a40924
MDL-79986 course: Create new course/section.php page
The page course/section.php has been created, to display the content of a
single section. This page will only accept sectionid (to get rid of the
legacy sectionnumber).

Some features of this page:
- The General section won't be displayed anymore above the selected
section.
- In the main course page content, regardless of the Course layout ("All
sections on one page" vs "One section per page"), all the section names
will link to the new page (except when editing mode is on).
2023-12-01 09:15:48 +01:00
Sara Arjona
d53dc05e9e
MDL-79986 output: Add view section action 2023-12-01 09:15:48 +01:00
David Mudrák
7f67a96521 MDL-80221 lang: Use fixed strings in the tests, too 2023-12-01 06:27:36 +01:00
Ilya Tregubov
abba174fe1 weekly release 4.4dev 2023-12-01 13:12:19 +08:00
Jun Pataleta
9de014bff1
MDL-80043 grade: Add upgrade.txt notes 2023-12-01 09:07:31 +08:00
Jun Pataleta
87c950e0d0
MDL-80043 gradereport_grader: Define editingmode_title lang string 2023-12-01 09:07:30 +08:00
Jun Pataleta
4b4ced22b5
MDL-80043 grade: editingmode_title support for grade report plugins
* Add support for grade report plugins that define an
`editingmode_title` lang string. If the grade report plugin defines this
 language string, it will be used for the page title's unique
 identifying information when editing mode is turned on.
2023-12-01 09:07:30 +08:00
Jun Pataleta
3f75abcb8d
MDL-80043 gradereport_singleview: Improve heading wordings
* Make the headings for the single view easier to read and understand
* When on editing mode, update the heading for the grade and user
screens to convey to the user that the page is currently on editing
mode. This is helpful for screen reader users as they can immediately
know the current display mode of the single view report page when this
gets read via the page title.
2023-12-01 09:07:30 +08:00
Jun Pataleta
7c0eece4c6
MDL-80043 grade: Use heading parameter for the page title if provided 2023-12-01 09:02:00 +08:00
Amaia Anabitarte
1a0a86c1c9 MDL-80209 mod_scorm: Save minimum score completion 2023-11-30 10:37:52 +01:00
Huong Nguyen
e65882f706 Merge branch 'MDL-79616-master' of https://github.com/brunobaudry/moodle 2023-11-30 10:50:58 +07:00
Huong Nguyen
a86e4ab133 Merge branch 'MDL-79816-main' of https://github.com/rmady/moodle 2023-11-30 10:40:06 +07:00
Huong Nguyen
f2237faca5 Merge branch 'MDL-74378_master' of https://github.com/PhilippImhof/moodle 2023-11-30 10:10:12 +07:00
Ilya Tregubov
37737a92d6 Merge branch 'MDL-79890-master' of https://github.com/andrewnicols/moodle 2023-11-30 10:44:35 +08:00
Huong Nguyen
44838c76b1 MDL-77444 communication: Add missing test coverage information 2023-11-30 09:41:26 +07:00
Huong Nguyen
004e88ee3f Merge branch 'MDL-77444-master' of https://github.com/jleyva/moodle 2023-11-30 09:40:07 +07:00
Ilya Tregubov
42f5a6a022 Merge branch 'MDL-78849' of https://github.com/paulholden/moodle 2023-11-30 10:37:28 +08:00
Huong Nguyen
062965c139 Merge branch 'MDL-77038-master' of https://github.com/ferranrecio/moodle 2023-11-30 09:03:25 +07:00
Ilya Tregubov
6c047687a7 Merge branch 'MDL-79325' of https://github.com/paulholden/moodle 2023-11-30 09:34:18 +08:00
Ilya Tregubov
7bc9cecec2 Merge branch 'MDL-79998' of https://github.com/paulholden/moodle 2023-11-30 09:30:57 +08:00
Sara Arjona
c3254b89ff
Merge branch 'MDL-80205-main' of https://github.com/aanabit/moodle 2023-11-29 18:41:24 +01:00
Sara Arjona
a2c036f83f
Merge branch 'MDL-80215-main' of https://github.com/andrewnicols/moodle 2023-11-29 18:00:33 +01:00
Sara Arjona
3b025c058d
Merge branch 'MDL-80055-main' of https://github.com/roland04/moodle 2023-11-29 17:44:53 +01:00
Sara Arjona
bb1f7f97ca
Merge branch 'MDL-79999-main' of https://github.com/ferranrecio/moodle 2023-11-29 17:22:24 +01:00
Jun Pataleta
818c118dbd
Merge branch 'MDL-79841-master' of https://github.com/laurentdavid/moodle 2023-11-29 23:48:55 +08:00
Sara Arjona
b359f97fda
Merge branch 'MDL-79610-main' of https://github.com/roland04/moodle 2023-11-29 16:37:03 +01:00
Ferran Recio
cf8f4e08e7 MDL-77038 core_courseformat: deprecate state action section_move
The logic behind section_move is ambiguous and unnecessary complex.
The move modal uses section_move_after which presents a more predictable
behaviour. This issue replace the drag&drop use of section_move by
the new section_move_after and deprecate the old method.
2023-11-29 15:51:42 +01:00
Ferran Recio
93cb5b090a MDL-79999 course: save session cache by id
The course modinfo cache now stores sections no matter the section
number. This will be needed when delegated sections will be implemented.
2023-11-29 15:16:36 +01:00
Sara Arjona
75d75c36ca
Merge branch 'MDL-79537' of https://github.com/ssj365/moodle 2023-11-29 13:28:51 +01:00
Mikel Martín
d94b14d396 MDL-79610 courseformat: Fix availability restrictions rendering
When duplicating a course module, availability restrictions was not rendering
properly. That happened because 'editing' was not being exported for template
for a single course module. This patch adds 'editing' to the cm exported data.
2023-11-29 13:09:49 +01:00
Paul Holden
0f4064d871
Merge branch 'MDL-79967-main-fix' of https://github.com/junpataleta/moodle into main 2023-11-29 12:03:03 +00:00
Jun Pataleta
590822f16f
MDL-79967 mod_scorm: Use only the required field for the query 2023-11-29 18:30:52 +08:00
Jun Pataleta
451eeb63da
Merge branch 'MDL-80154-main' of https://github.com/roland04/moodle 2023-11-29 18:23:54 +08:00