6486 Commits

Author SHA1 Message Date
Simey Lameze
0102485180 MDL-71454 theme: fix paddings for label resource 2021-05-03 14:35:42 +08:00
Sara Arjona
6319dc8c2c Merge branch 'MDL-71403' of git://github.com/paulholden/moodle 2021-04-27 16:01:55 +02:00
Víctor Déniz
48a42f2289 Merge branch 'MDL-71003' of git://github.com/paulholden/moodle 2021-04-27 00:38:11 +01:00
Paul Holden
ad7092d281 MDL-71403 message: Bootstrap controls for message preferences.
Replicates changes made to notification preferences in e41b3485.
The templates for each are similar enough than one can be used
from the other. Remove redundant styles for previous controls.
2021-04-25 16:43:06 +01:00
Sara Arjona
80b1bb4751 Merge branch 'MDL-57831' of git://github.com/paulholden/moodle 2021-04-22 18:13:04 +02:00
Paul Holden
702b119f57 MDL-57831 theme_boost: accessibility update for message preferences.
The preferences table did not meet accessibility guidelines regarding
colour contrast between hovered rows and the disabled switch
elements.

Ensure white background is used for all table cells, and replace the
highlighted columns used to differentiate processors with borders.
2021-04-21 21:46:29 +01:00
Eloy Lafuente (stronk7)
2d287b8adf MDL-71365 grunt: fix boost ignores order and missing LF @ EOF 2021-04-18 00:10:46 +02:00
Sara Arjona
d3d3b3bdc0 MDL-69331 core_h5p: Add enabled field to libraries
The "enabled" field has been added to the H5P libraries to let
admins decide whether a library should be used or not in the site.
2021-04-15 09:03:56 +02:00
Andrew Nicols
b1975b002c Merge branch 'MDL-70311-master' of git://github.com/ilyatregubov/moodle 2021-04-15 09:19:24 +08:00
Mikel Martín
e7fa11471e MDL-71089 theme_boost: Add styles for different toast types 2021-04-13 16:28:35 +02:00
Jun Pataleta
abc5d76175 MDL-70821 course: Render activity information output component in course
Use the activity information output component to render activity
completion details and activity dates for activities on the course
homepage.

Includes fixup from Shamim Rezaie <shamim@moodle.com>
2021-04-12 11:40:54 +08:00
Paul Holden
f0d44ddf0f MDL-71003 user: fix alignment of autocomplete participant filters. 2021-04-04 23:21:12 +01:00
Jun Pataleta
dd32d65f3a MDL-70817 core_course: Create an activity information output component
The activity information output component displays information about
an activity module that can contain:
1. Activity dates
2. Completion information
   a. A manual completion button; or
   b. A list of automatic completion conditions and their statuses.

This patch also includes a new JS module called
core_course/manual_completion_toggle for toggling the
completion state of activities that support manual completion.
2021-04-02 21:53:20 +08:00
Andrew Nicols
4cf1006227 Merge branch 'MDL-69036' of git://github.com/paulholden/moodle 2021-03-23 09:51:39 +08:00
Ilya Tregubov
11956f9fff MDL-70311 theme_boost: upgrade bootstrap to version 4.6.0 2021-03-17 12:26:45 +02:00
Amaia Anabitarte
f2b6911061 MDL-70978 core_contentbank: Increasing contrast for unlisted content 2021-03-12 12:49:07 +01:00
Eloy Lafuente (stronk7)
82b2488305 Merge branch 'MDL-70789' of git://github.com/paulholden/moodle 2021-03-10 23:52:16 +01:00
Paul Holden
3294431fd0 MDL-69036 theme_boost: consistent table row hovering for links.
When hovering over table rows with the `dimmed_text` class we
should consistently set the text/link colour.

Co-Authored-By: Mikel Martín <mikel@moodle.com>
2021-03-09 16:22:15 +00:00
Jun Pataleta
9419124654 Merge branch 'MDL-69883' of https://github.com/paulholden/moodle 2021-03-03 14:35:06 +08:00
Paul Holden
7aa234db32 MDL-69883 message: fix lazy loading of conversations.
Set max-height on each container section rather than the container
itself, so that each can respond to the scrollBottom event within
the lazy loading module (which handles the overflow itself).
2021-02-24 22:01:03 +00:00
Sara Arjona
2ccd242538 MDL-67974 core_badges: Recovered expired stamp
Expired stamp icon displayed over the badge images has been added
again to CSS (it was lost at any point).
2021-02-23 15:26:25 +01:00
Andrew Nicols
a84a55bd45 MDL-64554 user: Fix use of Private files page on classic
The "Private files" link does not exist in the site navigation when
using the classic theme, so it is not possible to test the dedicated
page via Behat at this time.
2021-02-19 09:33:06 +08:00
François Moreau
3776fbafb2 MDL-69762 core_contentbank: let users hide their content 2021-02-15 13:26:32 -05:00
Paul Holden
ccc2f64244 MDL-70789 theme_boost: fix double click on drawer hiding content.
If the drawer toggle button was clicked in quick succession to close
and then re-open, then the delayed Aria.hide method would be called
which hid the drawer content when it finished opening.
2021-02-11 21:39:06 +00:00
Shamim Rezaie
805df4f846 MDL-70173 theme_boost: Fix empty link issue on the "Go to top" button
On behat, we have to use a more specific test step if we are looking
for a "Go" button on a modal. The reason is that the html of the modal
content is put after the html of the "Go to top" button, so behat
may find the "Go to top" button if we just look for "Go".
2021-02-09 16:16:09 +11:00
Shamim Rezaie
97b0401443 MDL-70173 theme_boost: Increase the size of notification counter
WAVE considers any text with the size of 10px or below really small.
Increasing the font size of the navbar counter by 1px should not make a
big negative impact on the design, but improves accessibility.
2021-02-09 16:16:09 +11:00
Andrew Nicols
f979519ff6 Merge branch 'MDL-56772-master' of git://github.com/peterRd/moodle 2021-02-03 10:26:26 +08:00
Andrew Nicols
5b6063e226 Merge branch 'MDL-66932_master' of https://github.com/nadavkav/moodle 2021-02-03 10:06:32 +08:00
Víctor Déniz
35a0bec31a Merge branch 'MDL-59782-master' of git://github.com/bmbrands/moodle 2021-02-02 09:36:19 +00:00
Jun Pataleta
da237792ec MDL-70288 theme_boost: Manage aria-describedby on form validation
* The aria-describedby attribute can be a list of element IDs that
describe the element. On form validation, the ID of the error message
container is added to this attribute which may already be containing
another ID. So we need to properly add/remove the error message ID
so that we don't delete any existing ID(s) in the aria-describedby
attribute during form validation.
2021-02-02 13:11:58 +08:00
Bas Brands
12bc605457 MDL-59782 core_question: improve questionbank highlighting 2021-01-28 08:12:58 +01:00
Andrew Nicols
52d9024580 MDL-66979 behat: Pad messaging drawer
This works around an issue highlighted by MDL-70411 whereby some of the
messaging links are covered by the scrollbar in Firefox on MacOS.
2021-01-22 14:52:11 +08:00
Nadav Kavalerchik
75ceb0495a MDL-66932 theme/boost: Use LTR directionality to display user % grades 2021-01-20 09:27:29 +02:00
Peter Dias
ecb1e0dc18 MDL-56772 core: Update the picker styles for rtl langs 2021-01-20 14:05:23 +08:00
Sara Arjona
3810b293ad MDL-70438 contentbank: Add column to view mode for content uses 2021-01-19 16:08:03 +01:00
Jun Pataleta
62630bf781 Merge branch 'MDL-57552-master' of git://github.com/aanabit/moodle 2021-01-05 22:20:32 +08:00
Jun Pataleta
22295df424 Merge branch 'master-MDL-68792_v3' of https://github.com/golenkovm/moodle 2021-01-05 22:09:19 +08:00
Amaia Anabitarte
bafdfedf9d MDL-57552 core_course: Typo in view-combined class 2021-01-04 09:48:14 +01:00
Eloy Lafuente (stronk7)
4598041cf1 Merge branch 'MDL-70436-master' of git://github.com/bmbrands/moodle 2020-12-22 18:29:17 +01:00
Eloy Lafuente (stronk7)
663412626f Merge branch 'MDL-70386-master' of git://github.com/bmbrands/moodle 2020-12-22 18:21:02 +01:00
Mikhail Golenkov
8325c83b20 MDL-68792 theme_boost: Show the fake blocks on embedded layout. 2020-12-18 12:06:03 +11:00
Shamim Rezaie
1ca295c34f MDL-69301 theme_boost: Remove the special handling of Escape key 2020-12-10 15:05:11 +08:00
Bas Brands
250ff98be3 MDL-70386 theme_boost: quizes correctness badges 2020-12-09 18:07:10 +01:00
Bas Brands
105e6b5b5e MDL-70436 theme_boost: closebutton styles in moodle-dialog-fullscreen 2020-12-09 14:46:24 +01:00
Shamim Rezaie
4dfc4adfa1 MDL-69301 theme_boost: Use event.key in aria.js
Both event.which and event.keyCode are deprecated. So
We switched to using event.key. We can only do so now
because IE is no longer supported.
2020-12-03 04:18:01 +11:00
Shamim Rezaie
c8ea0c12d7 MDL-69301 core: Enhanced WAI-ARIA support for tab elements 2020-12-02 22:57:42 +11:00
Shamim Rezaie
baf68eae5e MDL-69301 theme_boost: convert aria.js to es6 module 2020-12-02 22:57:18 +11:00
Sara Arjona
2ae62e9a51 Merge branch 'MDL-69878-master' of git://github.com/bmbrands/moodle 2020-11-26 12:46:10 +01:00
sangnguyen2601
39652702f0 MDL-70094 Question: Technical info section expands if click help icon 2020-11-18 18:03:08 +07:00
Adrian Greeve
1691176799 Merge branch 'MDL-69453-master' of git://github.com/bmbrands/moodle 2020-11-12 11:53:49 +08:00