103230 Commits

Author SHA1 Message Date
Sara Arjona
dc631407b5 MDL-73153 badges: get image when it has more data
In some cases, image might have more fields rather than the URL.
This patch is for taking them into account and displaying the image
and also these information properly.
2021-11-24 10:27:15 +01:00
Mikel Martín
8e25d534b4 MDL-72822 core_reportbuilder: Accessibility improvements
- Add sr-only headings to tabs
- Change role to 'presentation' in tab <li> elements
- Remove unnecessary aria-labelledby
- Fix heading levels
- Avoid duplicated IDs in audiences
- Replace empty links with buttons
- Fix mustache comments
- Fix mustache contexts
2021-11-24 10:26:14 +01:00
Sara Arjona
88c31c7551 MDL-72141 badges: simplify external badges page
Apart from reorganising the information displayed in the external badges
page, this information has been moved to reuse the template created in
MDL-71937, to make it easier to modify and maintain.
2021-11-24 09:40:19 +01:00
Michael Hawkins
c18fe5ecf6 MDL-72790 block_timeline: Set content width consistent with other blocks
Previously the margins were set with the container class, which meant
the content was narrower than other blocks. This does not need to be
managed by the block since the dashboard will soon manage this with
its own max width.
2021-11-24 14:09:57 +08:00
Michael Hawkins
873262bbaa MDL-72790 block_timeline: Ensure overdue badge visible at all widths
This ensures on narrower screens, the activity title still truncates
but the overdue pill always remains visible where present. There is no
visual change where an item is not overdue, or on wider screens where
there is room to display the full content.
2021-11-24 14:09:57 +08:00
Huong Nguyen
1a75b75b52 MDL-72790 block_timeline: Fix button layout and row wrapping on mobile
This ensures all row content wraps nicely on smaller screen sizes, and
forces all action buttons to be displayed in a consistent position
indepdendent of the length of the activity name etc. Buttons are also
now aligned under the text on small screens, to maximise space for the
text content.

Co-authored-by: Michael Hawkins <michaelh@moodle.com>
2021-11-24 14:09:57 +08:00
Michael Hawkins
921eb5ce0e MDL-72790 block_timeline: Improve padding and background in Classic
This ensures in the Classic theme that some padding is appled to both
sides of each item, so titles and action buttons are not flush against
the margin. Dropdowns/inputs in the block are also aligned to this
content, so everything aligns in both Boost and Classic.
This commit also groups related elements with a solid background colour
(eg within the same course in courses view), rather than having
individual row items broken up, to improve readability (and look nicer).
2021-11-24 14:09:50 +08:00
Yan Kudriavtsev
c72e7946cf MDL-70894 enrol: Fixed return type for count_enrolled_users 2021-11-24 00:06:54 +02:00
Juan Leyva
a5c48fe780 MDL-67804 webservice: Fix exception class to allow clients treat errors 2021-11-23 16:59:21 +01:00
Juan Leyva
dba18ce3b6 MDL-73000 webservice: Fix external_warnings message type 2021-11-23 16:15:08 +01:00
Juan Leyva
10a6e99ea2 MDL-73084 enroll: Return timemodified field in get_users_courses 2021-11-23 15:59:04 +01:00
Paul Holden
d4b2745719 MDL-72785 course: remove double validation during category deletion.
Fixes issue from 0645319e that meant the category "Move into" field
was required even when user selected to "Delete all content".
2021-11-23 12:29:34 +00:00
Ferran Recio
73cfbea3ee MDL-72456 theme_boost: style drawers 2021-11-23 12:51:11 +01:00
Simey Lameze
dba805c552 MDL-73066 calendar: remove course and cat params from footer links 2021-11-23 19:11:34 +08:00
Tim Hunt
11f8a08a0e MDL-73070 Behat: stop using no-longer-existant classes in behat_hooks 2021-11-23 10:58:49 +00:00
Ilya Tregubov
16a5169a43 on-demand release 4.0dev+ 2021-11-23 11:19:14 +02:00
Shamim Rezaie
46e6502283 Merge branch 'MDL-72776-master' of https://github.com/ferranrecio/moodle 2021-11-23 14:56:50 +11:00
Andrew Nicols
eab5f3cfb2 Merge branch 'MDL-73069' of https://github.com/paulholden/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
be78cb02f2 Merge branch 'MDL-73129-master' of https://github.com/dravek/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
4c1ccf5ed3 Merge branch 'MDL-72934-master' of https://github.com/peterRd/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
9773051128 Merge branch 'MDL-72927-master' of https://github.com/junpataleta/moodle 2021-11-23 10:52:11 +08:00
Eloy Lafuente (stronk7)
a7571e934c Merge branch 'MDL-73067-master' of https://github.com/lameze/moodle 2021-11-23 10:52:11 +08:00
Eloy Lafuente (stronk7)
e379b1d803 Merge branch 'MDL-73128-master' of https://github.com/sarjona/moodle 2021-11-23 10:52:11 +08:00
Sara Arjona
d122f73c4d Merge branch 'MDL-73112' of https://github.com/paulholden/moodle 2021-11-23 10:52:11 +08:00
Ilya Tregubov
5cdaaa4a8d Merge branch 'MDL-72967-master' of https://github.com/lameze/moodle 2021-11-23 10:52:11 +08:00
Eloy Lafuente (stronk7)
0dd508d671 Merge branch 'MDL-73095_master_v3' of https://github.com/TomoTsuyuki/moodle
Added one extra TEXT column so we have it covered too.
2021-11-23 10:52:10 +08:00
Sara Arjona
89ab2b1c22 Merge branch 'master_MDL-72076-bulkactionsui-121' of https://github.com/catalyst/moodle-MDL-70329 2021-11-23 10:52:10 +08:00
Tim Hunt
e1b28a7fc6 MDL-73140 grade history: fix badly formatted lists 2021-11-22 23:48:19 +00:00
Paul Holden
5dc866cc70 MDL-73054 filter_emoticon: re-factor test data providers.
PHPUnit test dataProvider methods should not modify global state,
such as initializing $OUTPUT, as they can cause failures in
unrelated tests at a distance.
2021-11-22 22:29:23 +00:00
Paul Holden
8b2423c7a1 MDL-73054 repository_googledocs: avoid $OUTPUT use in data provider. 2021-11-22 22:29:12 +00:00
Sara Arjona
a0407f6d17 MDL-73128 badges: Fix warning with external badges 2021-11-22 16:31:32 +01:00
Paul Holden
d38fe96834 MDL-73074 forms: ensure autocomplete element is enhanced only once.
This fixes the reportbuilder course filter, which was displayed twice
in response to an AJAX request for the rendered form.
2021-11-22 10:25:41 +00:00
David Matamoros
6d1a7a8283 MDL-73129 reportbuilder: Remove string with trailing whitespace 2021-11-22 10:30:10 +01:00
Paul Holden
faeecd79ea MDL-73074 reportbuilder: consistent lang strings in course filter. 2021-11-22 09:20:04 +00:00
Paul Holden
881dccaa7d MDL-73069 reportbuilder: filter/condition for selecting user.
This allows a report creator to create personalised reports
according to the user who is viewing the report.
2021-11-22 09:17:52 +00:00
Paul Holden
f4bf4dca36 MDL-73112 reportbuilder: improve handling of concatenated columns.
This change overcomes limitations in certain DB engines (such as
MySQL[1]) which can lead to truncation of data when applying group
concatenation to columns.

Ensure we account for that by validating that we are able to extract
the expected number of fields from each concatenated value.

[1] https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_group_concat_max_len
2021-11-22 09:14:41 +00:00
Ferran Recio
675f8e24ca MDL-72776 theme_boost: new editing progress effect 2021-11-22 08:57:10 +01:00
Jun Pataleta
a44d41bb51 MDL-72927 core: Make Remember username checkbox look like a checkbox 2021-11-22 14:50:25 +08:00
Huong Nguyen
f1c0c2905d MDL-72893 Behat: Fix Behat failures for Timeline block 2021-11-22 11:50:25 +07:00
Safat Shahin
0805e387b7 MDL-72076 bulk actions ui: Implement bulk actions in qbank API
This implementation will introduce bulk actions qbank
plugins which can grab the selected question and perform
actions according to the selected option from dropdown
in the base view.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-22 11:35:21 +11:00
Eloy Lafuente (stronk7)
7013bda35b on-demand release 4.0dev+ 2021-11-19 19:16:53 +01:00
Eloy Lafuente (stronk7)
dc5a834441 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-11-19 19:16:48 +01:00
Sara Arjona
fe80a2b716 Merge branch 'MDL-72799' of https://github.com/stronk7/moodle 2021-11-19 15:51:03 +01:00
Juan Leyva
c7e7229ccd MDL-67807 webservice: Return concurrent sessions information 2021-11-19 14:03:37 +01:00
Eloy Lafuente (stronk7)
b62095fa97 MDL-72799 behat: Increase allowed size for privacy exports
Because of more moodle.css contents, the total size of the privacy
exports has grown over the allowed size. Just raise it a little bit
more.

Note this commit isn't a problem caused exclusively by this issue,
but as far as this also contributed to the size increase, assigning
the fix to it.
2021-11-19 12:07:07 +01:00
Michael Hawkins
0d644fe4e0 MDL-72810 core_calendar: Remove the three-month pseudo block
This removes the three-month pseudo block from along the side of the
main calendar, and deprecates relevant files/methods which will no
longer be in use.
2021-11-19 18:33:46 +08:00
Eloy Lafuente (stronk7)
57a2188cda Merge branch 'MDL-69092-patched' of https://github.com/ilyatregubov/moodle 2021-11-19 09:13:27 +01:00
Ilya Tregubov
47c9289420 MDL-69092 mod_lti: Fix typo. 2021-11-19 09:50:36 +02:00
Andrew Madden
36f3aee38e MDL-69092 mod_lti: Add js_pending to help behat tests 2021-11-19 09:50:35 +02:00
Simey Lameze
9e34fc65c0 MDL-72917 course: change padding for the add an activity element 2021-11-19 15:08:05 +08:00