Commit graph

100043 commits

Author SHA1 Message Date
Ilya Tregubov
ea8175e141 MDL-68853 h5pactivity: Add a websevice to trigger report_viewed event. 2021-02-12 15:50:07 +02:00
Brendan Heywood
97a3fbdbb5 MDL-70735 tcpdf: Reduce information disclosure from TCPDF 2021-02-12 15:42:01 +11:00
Simey Lameze
0226aa3090 MDL-70169 login: fix accessibility issues 2021-02-12 12:12:45 +08:00
Sara Arjona
a71954fc77 MDL-70264 badges: remove badges/oauth2callback.php
File badges/oauth2callback.php has been removed and now badges
API will use admin/oauth2callback.php because it makes no sense having
it twice.

Credits go to Andrew Nicols for raising it!
2021-02-11 16:58:41 +01:00
Sara Arjona
a2fda1289f weekly release 3.11dev 2021-02-11 14:54:40 +01:00
Sara Arjona
a61d1821b5 NOBUG: Fixed file access permissions 2021-02-11 14:54:40 +01:00
Sara Arjona
43aa3e828a Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-02-11 14:54:38 +01:00
Ferran Recio
c7cbd92f8c MDL-70806 h5p: fix resize glitch 2021-02-11 13:12:12 +01:00
Mihail Geshoski
b8a5e4463e MDL-47410 mod_assign: Update mod_assign behat tests
Updates the mod_assign behat tests to utilize the ability to
conviniently populate the datetime selector fields.
2021-02-11 12:11:06 +08:00
Mihail Geshoski
ac28d4fc96 MDL-47410 behat: Support selection from the datetime selector element
Adds behat support for selecting date and time from a datetime selector
element. The passed values should represent a textual date and time
description wrapped in '##' (e.g. '##first day of January 2020 08:00##',
'##1 Jan 2020 10:30##'). Also, the value 'disabled' is valid and can be
used to disable the datetime selector element.
2021-02-11 12:11:06 +08:00
Mihail Geshoski
f92c2e9eba MDL-47410 tool_licensemanager: Update tool_licensemanager behat tests
Updates the tool_licensemanager behat tests to utilize the ability to
conviniently populate the date selector fields.
2021-02-11 12:11:06 +08:00
Mihail Geshoski
8d7a6f740d MDL-47410 behat: Support date selection from the date selector element
Adds behat support for selecting a date from the date selector element.
The passed values should represent a textual date description wrapped
in '##' (e.g. '##first day of January 2020##', '##1 Jan 2020##'). Also,
the value 'disabled' is valid and can be used to disable the date
selector element.
2021-02-11 12:11:06 +08:00
Mihail Geshoski
bcd7a97d33 MDL-47410 behat: Create custom selector for the date and datetime fields
Creates a custom field selector to locate the requested date or datetime
form fields.
2021-02-11 12:11:06 +08:00
Mihail Geshoski
44558f34ca MDL-47410 behat: Move logic from guess_type() to a separate method
Moves the logic from guess_type() to a separate protected method
get_field_instance_for_element(). This would be quite useful for
form field classes as they can now use this method when there is
a need to determine the type of a given node element.
2021-02-11 12:11:06 +08:00
Mihail Geshoski
c70d7f624f MDL-47410 behat: Use data-fieldtype attribute to guess the field type
The data-fieldtype attribute (if present) should be also utilized in
guess_field_type() and match the behavior in get_field_node_type().
2021-02-11 12:11:05 +08:00
Mihail Geshoski
72ad6a2b2c MDL-47410 form: Add data-fieldtype attribute to checkbox inline element
Includes the data-fieldtype attribute to the checkbox inline form
element. This element does not extend the parent inline element
template due to its specific nature and therefore this attribute was
missing.
2021-02-11 12:11:05 +08:00
Tuan.Dinh
8aab39c1d2 MDL-70124 course: Activity names are now trimmed. 2021-02-11 11:11:12 +08:00
Adrian Greeve
1d44395512 Merge branch 'MDL-70755_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-11 10:53:35 +08:00
Adrian Greeve
3153941092 Merge branch 'MDL-70773_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-11 10:18:30 +08:00
Adrian Greeve
bbb937067e Merge branch 'MDL-70513_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-11 10:06:15 +08:00
John Yao
4f998e5004 MDL-70627 filters: aarch64 mimetex type support for filter tex notation
Amended to correct permissions.
2021-02-11 02:41:05 +01:00
Adrian Greeve
e2e91b493d Merge branch 'MDL-69867-311_display_grade_with_scale' of git://github.com/moffe42/moodle into MOODLE_311_STABLE 2021-02-11 09:24:15 +08:00
Brendan Heywood
33788af7b2 MDL-70768 tool_langimport: Make installed admin UI more consistent 2021-02-11 11:36:04 +11:00
AMOS bot
8701806622 Automatically generated installer lang files 2021-02-11 00:07:27 +00:00
Sara Arjona
d4868df65e Merge branch 'MDL-70732-311' of git://github.com/aanabit/moodle into MOODLE_311_STABLE 2021-02-10 17:20:29 +01:00
Sara Arjona
4611cf3b9f Merge branch 'MDL-70796_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-10 16:50:09 +01:00
Sara Arjona
ea1407452c Merge branch 'MDL-69101_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-02-10 15:11:58 +01:00
Sara Arjona
8da0d08c22 Merge branch 'MDL-70631-311-unzip' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-02-10 12:38:11 +01:00
Sara Arjona
cfc4b194db Merge branch 'MDL-70736_MOODLE_311_STABLE' of https://github.com/TomoTsuyuki/moodle into MOODLE_311_STABLE 2021-02-10 08:28:15 +01:00
Jacob Christiansen
78b1da0d74 MDL-69867 mod_assign: Display current grade with scale value
When using workflow we show the current grade with its scale value
instead of the internal index
2021-02-10 07:58:12 +01:00
Adrian Greeve
e1e6547241 Merge branch 'MDL-70643-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-10 14:04:37 +08:00
Adrian Greeve
171be5c788 Merge branch 'MDL-52420-311' of https://github.com/sharidas/moodle into MOODLE_311_STABLE 2021-02-10 12:58:25 +08:00
Sara Arjona
878aaf5d7c Merge branch 'MOODLE_311_STABLE-MDL-65390' of https://github.com/yao9394/moodle into MOODLE_311_STABLE 2021-02-09 15:10:50 +01:00
Sara Arjona
578b4156c2 Merge branch 'MDL-68736-311' of git://github.com/ferranrecio/moodle into MOODLE_311_STABLE 2021-02-09 15:05:34 +01:00
Sara Arjona
d5b8ef98c2 Merge branch 'MDL-70282-oauth2_improve_error-311' of https://github.com/leonstr/moodle into MOODLE_311_STABLE 2021-02-09 11:05:05 +01:00
Sara Arjona
b54bf76664 Merge branch 'MDL-70173-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-02-09 08:29:20 +01:00
Sara Arjona
4cd7f621ed Merge branch 'MDL-70377_311' of https://github.com/mkassaei/moodle into MOODLE_311_STABLE 2021-02-09 08:23:30 +01:00
Shamim Rezaie
cebee49bf7 MDL-70173 core: Use a meaningful first level header 2021-02-09 16:16:00 +11:00
Shamim Rezaie
1ac3fb7e0e 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:00 +11:00
Shamim Rezaie
a53037f5c6 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:00 +11:00
Shamim Rezaie
ca6a8dfb22 MDL-70173 output: All pages should have a heading
In MDL-63040, it was decided that the page header for the dashboad page
should be removed.
However, Based on Success Criteria 1.3.1 and 2.4.6 from the WebAIM's
WCAG 2 Checklist, all pages should have an <h1> element.
So I put an sr-only heading on the dashboard and all other pages, where
no page header is shown.
2021-02-09 16:16:00 +11:00
Shamim Rezaie
3fcb116eea MDL-70173 dashboard: ARIA role presentation conflicted the empty alt
The markup <img role="presentation" alt="alt text"> is contradictory.

According to https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/presentation/PresentationRoleExamples.html
 It is recommended that authors instead use empty alt text (alt="")
 where they use role="presentation".
2021-02-09 16:16:00 +11:00
Shamim Rezaie
d97a43417d MDL-70173 message: Fix empty link 2021-02-09 16:16:00 +11:00
Shamim Rezaie
766f52afb9 MDL-70173 output: use an empty alt to hide user pic from screen readers
There is no need to use WAI-ARIA to hide images from screen readers.
See https://www.w3.org/WAI/tutorials/images/decorative/
2021-02-09 16:16:00 +11:00
Tomo Tsuyuki
b9812e022d MDL-70525 tool_profiling: Cannot import profiling file
Change type from int to integer to be able to have big numbers
2021-02-09 10:17:01 +11:00
Mahmoud Kassaei
dcb319c441 MDL-70377 qtype_essay: When reviewing an attempt as a teacher
In the Response history table, Action Saved: does not display the value
of $a in the language string.
2021-02-08 17:05:03 +00:00
Sara Arjona
82de03b116 Merge branch 'MDL-51287-311' of https://github.com/SangNguyenAnh/moodle into MOODLE_311_STABLE 2021-02-08 11:29:08 +01:00
Andrew Nicols
ee74321fa5 Merge branch 'MDL-70429-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-02-08 12:27:31 +08:00
Andrew Nicols
f00b196906 Merge branch 'MDL-69898-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-08 10:53:45 +08:00
Andrew Nicols
c012235654 Merge branch 'MDL-70614-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-02-08 10:35:54 +08:00