100092 Commits

Author SHA1 Message Date
Sara Arjona
329b87720a 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:56:56 +01:00
Sara Arjona
41037efa7a weekly release 4.0dev 2021-02-11 14:54:37 +01:00
Sara Arjona
3122b30050 NOBUG: Fixed file access permissions 2021-02-11 14:54:37 +01:00
Sara Arjona
3deec3b67d Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-02-11 14:54:35 +01:00
Ferran Recio
f6a1a529a6 MDL-70806 h5p: fix resize glitch 2021-02-11 13:10:10 +01:00
Mihail Geshoski
46fd92b938 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:05:58 +08:00
Mihail Geshoski
3ac452047f 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:04:46 +08:00
Mihail Geshoski
76fe097b55 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:01:09 +08:00
Mihail Geshoski
b7bef8f297 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 11:58:44 +08:00
Mihail Geshoski
afd1cf81b5 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 11:49:18 +08:00
Mihail Geshoski
dbb58833ba 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 11:40:30 +08:00
Mihail Geshoski
896364e4c4 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 11:38:00 +08:00
Mihail Geshoski
d46f1a3ef4 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 11:36:27 +08:00
Tuan.Dinh
8ae7019cf8 MDL-70124 course: Activity names are now trimmed. 2021-02-11 11:12:59 +08:00
Adrian Greeve
007c270507 Merge branch 'MDL-70755' of https://github.com/mkassaei/moodle 2021-02-11 10:54:38 +08:00
Adrian Greeve
e54ee9e512 Merge branch 'MDL-70773' of https://github.com/mkassaei/moodle 2021-02-11 10:19:39 +08:00
Adrian Greeve
f83156fcf9 Merge branch 'MDL-70513' of https://github.com/timhunt/moodle 2021-02-11 10:06:50 +08:00
John Yao
b67e022b7f MDL-70627 filters: aarch64 mimetex type support for filter tex notation
Amended to correct permissions.
2021-02-11 02:41:12 +01:00
Adrian Greeve
9cacb16c01 Merge branch 'MDL-69867-master_display_grade_with_scale' of git://github.com/moffe42/moodle 2021-02-11 09:23:50 +08:00
AMOS bot
93b39194d9 Automatically generated installer lang files 2021-02-11 00:07:48 +00:00
Sara Arjona
fd31854480 Merge branch 'MDL-70732-master' of git://github.com/aanabit/moodle 2021-02-10 17:20:22 +01:00
Sara Arjona
3b15de89c7 Merge branch 'MDL-70796' of https://github.com/timhunt/moodle 2021-02-10 16:50:04 +01:00
Sara Arjona
be575645e0 Merge branch 'MDL-69101' of https://github.com/timhunt/moodle 2021-02-10 15:11:52 +01:00
Sara Arjona
3a5fcbe6e6 Merge branch 'MDL-70631-master-unzip' of git://github.com/mudrd8mz/moodle 2021-02-10 12:38:03 +01:00
Sara Arjona
9afbbf0e78 Merge branch 'MDL-70736_master' of https://github.com/TomoTsuyuki/moodle 2021-02-10 08:28:08 +01:00
Jacob Christiansen
0770d9fec3 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 08:13:05 +01:00
Adrian Greeve
1fb0a4168a Merge branch 'MDL-70643' of git://github.com/paulholden/moodle 2021-02-10 14:02:56 +08:00
Adrian Greeve
407ed3ff33 Merge branch 'MDL-52420-master' of https://github.com/sharidas/moodle 2021-02-10 12:54:19 +08:00
Sara Arjona
4f3d90b6a9 Merge branch 'master-MDL-65390' of https://github.com/yao9394/moodle 2021-02-09 15:10:42 +01:00
Sara Arjona
68d39e634f Merge branch 'MDL-68736-master' of git://github.com/ferranrecio/moodle 2021-02-09 15:05:29 +01:00
Sara Arjona
08d1538313 Merge branch 'MDL-70282-oauth2_improve_error' of https://github.com/leonstr/moodle 2021-02-09 11:04:54 +01:00
Sara Arjona
1d6b734108 Merge branch 'MDL-70173-master' of git://github.com/rezaies/moodle 2021-02-09 08:29:13 +01:00
Sara Arjona
ec1996998f Merge branch 'MDL-70377' of https://github.com/mkassaei/moodle 2021-02-09 08:23:24 +01:00
Shamim Rezaie
6df239900e MDL-70173 core: Use a meaningful first level header 2021-02-09 16:16:09 +11: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
Shamim Rezaie
c0e3a4108c 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:09 +11:00
Shamim Rezaie
3a9fa051c3 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:09 +11:00
Shamim Rezaie
a6578dd64f MDL-70173 message: Fix empty link 2021-02-09 16:16:09 +11:00
Shamim Rezaie
b0b3a53521 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:09 +11:00
Tomo Tsuyuki
6581cb7137 MDL-70525 tool_profiling: Cannot import profiling file
Change type from int to integer to be able to have big numbers
2021-02-09 09:45:45 +11:00
Mahmoud Kassaei
8544b09e7b 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:11:06 +00:00
Sara Arjona
927f2dc46d Merge branch 'MDL-51287-master' of https://github.com/SangNguyenAnh/moodle 2021-02-08 11:28:54 +01:00
Andrew Nicols
3b7a564e17 Merge branch 'MDL-70429-master' of git://github.com/sarjona/moodle 2021-02-08 12:02:11 +08:00
Andrew Nicols
f5e348ac3e Merge branch 'MDL-69898' of https://github.com/paulholden/moodle 2021-02-08 10:48:29 +08:00
Andrew Nicols
98a261b6ea Merge branch 'MDL-70614' of git://github.com/paulholden/moodle 2021-02-08 10:34:46 +08:00
Andrew Nicols
5cef15ea60 Merge branch 'MDL-70725-master' of git://github.com/sarjona/moodle 2021-02-08 10:33:52 +08:00
Andrew Nicols
a98c0cf01d Merge branch 'MDL-70719' of https://github.com/mkassaei/moodle 2021-02-08 09:47:05 +08:00
Brendan Heywood
a87ddbd685 MDL-70536 cli: Fixed cli progress bar when 100% more than once 2021-02-07 00:36:01 +11:00
Brendan Heywood
67fb670cc6 MDL-70536 cli: Add cli for resetting all dashboards 2021-02-06 15:36:12 +11:00