108948 Commits

Author SHA1 Message Date
Andrew Nicols
0d3cdb0c10
Merge branch 'MDL-79075-attempt_reviewed-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE 2023-08-25 00:16:15 +08:00
Andrew Nicols
748acadd05
Merge branch 'MDL-79063-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-25 00:13:21 +08:00
Andrew Nicols
a9a76642a4
Merge branch 'MDL-79073-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-25 00:07:20 +08:00
Andrew Nicols
bf47757ef3
Merge branch 'MDL-78811-MOODLE-401' of https://github.com/aydevworks/moodle into MOODLE_401_STABLE 2023-08-25 00:02:49 +08:00
Andrew Nicols
c0ab693e4e
Merge branch 'MDL-78787-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-24 23:58:57 +08:00
Sara Arjona
5c7f1b85c6
Merge branch 'MDL-78688-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-24 17:35:14 +02:00
Sara Arjona
d437bdafc4
Merge branch 'MDL-78965-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-08-24 16:38:36 +02:00
danghieu1407
fc3cbd5015 MDL-78874 accessibility: Improve descriptive text for check button 2023-08-24 20:47:58 +07:00
Huong Nguyen
de8180935f
Merge branch 'MDL-78533-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-24 15:36:33 +07:00
Huong Nguyen
7b720a1f56
Merge branch 'MDL-78502-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-24 15:30:34 +07:00
Huong Nguyen
f12e010847
Merge branch 'MDL-78302-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-24 15:26:39 +07:00
Jun Pataleta
87a9b1c8ba
Merge branch 'MDL-79015-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-08-24 15:53:14 +08:00
Angelia Dela Cruz
a16624f94c MDL-78965 mod_quiz: Behat coverage for quiz with certainty-based marking 2023-08-24 15:01:50 +08:00
Jun Pataleta
e25d28ff05
Merge branch 'MDL-78941-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-08-24 13:05:49 +08:00
Angelia Dela Cruz
1b18e3328e MDL-79015 mod_lesson: Behat coverage for lesson with access restriction 2023-08-24 12:53:58 +08:00
Huong Nguyen
3a6c0872b9
Merge branch 'MDL-69187-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-24 10:39:35 +07:00
Angelia Dela Cruz
60e74092cd MDL-78941 mod_quiz: Behat coverage for student flagging quiz questions 2023-08-24 10:56:00 +08:00
Huong Nguyen
45bd1bfa49
Merge branch 'MDL-78843-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-08-24 08:58:03 +07:00
Sara Arjona
6f0e80bd21
Merge branch 'MDL-65363-starred-courses-only-include-enroled-courses-MOODLE_4.1' of https://github.com/stopfstedt/moodle into MOODLE_401_STABLE 2023-08-23 15:27:48 +02:00
Paul Holden
c5967dd7d0
MDL-79139 check: clarify default user role action text. 2023-08-23 13:35:44 +01:00
Daniel Poggenpohl
a06d7f47be
MDL-72359 core: Changed MAX_TIME from 9999999999 to PHP_INT_MAX
This prevents automatic casting from int to double on 32 bit systems
(which have a maximum for integers of 2147483647)

Whilst Moodle does not support 32-bit systems any longer, this is still
worth doing to prevent future issues.
2023-08-23 14:34:32 +08:00
Andrew Nicols
19a25450d2
MDL-76092 core_backup: Unit tests for convert_params_to_values 2023-08-23 14:19:05 +08:00
Paola Maneggia
64fe594e85
MDL-76092 core_backup: Fix PHP8.0 vulnerability convert_params_to_values 2023-08-23 13:26:44 +08:00
Paul Holden
ae51bda773
MDL-78787 dml: native casting to char in SQL Server driver.
Ensure the same is used during concatentation to prevent truncation
of data, which was previously set at 255 characters per field.
2023-08-23 00:55:18 +01:00
Paul Holden
367f2bf707
MDL-78961 admin: correct smtppass preset configuration name. 2023-08-22 18:27:36 +01:00
Paul Holden
f7b3caac2c
MDL-78656 output: display menu item titles in primary navigation.
Since custom menu items were merged into the primary navigation/more
menu as part of 56c34d71 and related work, the "title" attribute of
each custom menu item was lost.
2023-08-22 17:30:04 +01:00
Andrew Nicols
6dcb455973
MDL-69187 core_file: Unit test for file_get_typegroup string types 2023-08-22 17:10:36 +01:00
Paul Holden
ec92edec88
MDL-78688 admin: define accepted filetype for uploaded preset file. 2023-08-22 15:32:14 +01:00
Sara Arjona
4adae8e489
weekly release 4.1.5+ 2023-08-22 15:51:02 +02:00
Paul Holden
8034ad8be2
MDL-69187 files: normalize retrieval of mimetypes from groups array.
Ensure that the following both return consistently, so that filepicker
form elements behave the same for each when defining "accepted_types":

    '.html, .txt'
    ['.html', '.txt']
2023-08-22 09:56:17 +01:00
Paul Holden
08344a8c4b
MDL-79073 question: detect missing context when deleting question. 2023-08-22 09:45:25 +01:00
Paul Holden
434e5af241
MDL-78386 search: specify correct parameter type for search area. 2023-08-22 08:12:07 +01:00
Paul Holden
f9aa8a5d75
MDL-79017 core: re-factor method to unserialize array.
We can use the existing helper for object unserialization as the
base for this method, rather than manual string parsing.
2023-08-21 21:02:45 +01:00
Leon Stringer
fe3054d05b MDL-79075 quiz: Fix transposed user IDs
In the description of "Quiz attempt reviewed" events the user IDs of
the reviewer (typically the teacher) and the reviewee (typically the
student) were the wrong way round.
2023-08-21 15:50:28 +01:00
Paul Holden
5af5c5d0a6
Merge branch 'MDL-79071-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-21 15:32:44 +01:00
Paul Holden
194458b229
MDL-78707 forms: improve form container collapsing mechanism.
By using a more explicit selector for matching containers we avoid
previous problems such as incorrect count, and collapsing of elements
that had the same class name.
2023-08-21 12:38:57 +01:00
Paul Holden
4538b46a96
MDL-78397 course: update module name using API after duplicating.
This ensures that various ancillary tasks are also performed (such
as ensuring the gradebook item name matches).
2023-08-21 10:56:45 +01:00
Paul Holden
e4ba5d276d
MDL-78533 grade: relax param type of itemname in external structures.
Ensure it conforms to the same format as allowed for course modules.
2023-08-21 10:54:24 +01:00
Paul Holden
79e12570d9
MDL-78502 grade: consider only those export formats user can access. 2023-08-21 10:47:06 +01:00
Paul Holden
b971d76406
MDL-78615 cache: display failure notifications deleting lock/store. 2023-08-21 10:45:23 +01:00
Huong Nguyen
4a3603d49c
Merge branch 'MDL-65887-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE 2023-08-21 10:57:48 +07:00
Stefan Topfstedt
e4b3b1c79b MDL-65363 block_starredcourses: only list enroled courses
Filter out any starred courses that the logged-in user is not enroled in.
2023-08-18 11:06:46 -07:00
Daniel Poggenpohl
bcf9d4bf68 MDL-77657 theme: Corrected return type 2023-08-18 16:21:02 +02:00
Daniel Poggenpohl
92ee1c561e MDL-77657 theme: Fix get_pre_scss_code load order
This led to problems with grandchild themes,
depending on their direct parent's prescsscallback.
2023-08-18 16:21:02 +02:00
Daniel Poggenpohl
862e1e10c2 MDL-77657 theme: Fix get_extra_scss_code load order
This led to problems with grandchild themes,
depending on their direct parent's extrascsscallback.
2023-08-18 16:21:02 +02:00
Jun Pataleta
96e0a8b04d
MDL-79071 course: An empty alt text is needed for decorative images 2023-08-18 17:03:54 +08:00
Jun Pataleta
8fe9f8579d
MDL-79063 course: Use .text-body for 'disabled' elements in move modal
Using the .disabled class for the course module or section that is
being moved does not have sufficient colour contrast against the
background, especially when it is being highlighted.
So instead of using .disabled, just use Bootstrap classes .text-body
and .font-italic which renders the cm/section to be moved in normal
font colour while preserving its italicised look.
2023-08-18 16:35:48 +08:00
Jun Pataleta
23d6705ad6
MDL-79063 theme_boost: Match .disabled font colour with .text-muted
* For consistency
* The font colour for .text-muted meets a contrast ratio of 4.69:1
which meets WCAG 2.1 Level AA success criterion for minimum contrast.
2023-08-18 16:29:56 +08:00
Luca Bösch
2baa3bb4a5 MDL-65887 workshop: Recalculate + fill the 'Grade for assessment' column 2023-08-18 08:58:43 +02:00
Ilya Tregubov
f12e1b82a0
weekly release 4.1.5+ 2023-08-18 11:23:59 +08:00