Andrew Nicols
972e6ffe47
MDL-70987 core_form: Use correct id for elementid during validation
...
The id of the formid was being passed instead of the elementid.
2021-02-24 09:05:38 +08:00
Marina Glancy
1e03a240b5
MDL-64554 form: reset form change checker before triggering submit event
2021-02-18 13:04:14 +01:00
Jun Pataleta
28dadc2fb9
Merge branch 'MDL-47410-master' of git://github.com/andrewnicols/moodle
2021-02-18 11:21:23 +08:00
Andrew Nicols
7d5b808e3e
Merge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle
2021-02-18 11:16:40 +08:00
Andrew Nicols
79731372c3
MDL-64554 core_form: Rename class for dynamic form
2021-02-18 11:16:21 +08:00
Andrew Nicols
d6e50d14d2
Merge branch 'MDL-64554-master' of git://github.com/andrewnicols/moodle
2021-02-18 10:21:55 +08:00
Andrew Nicols
ab70110a74
MDL-64554 core_form: CI fixes
2021-02-18 10:10:08 +08:00
Andrew Nicols
708ae8aa0f
MDL-47410 behat: Perform exact match for date_time selectors
2021-02-18 09:34:45 +08:00
Víctor Déniz
4e26c93473
Merge branch 'MDL-70536-reset-page-cli' of https://github.com/brendanheywood/moodle
2021-02-18 00:31:39 +00:00
Marina Glancy
3045005295
MDL-64554 core_form: Move strings to outputrequirements.lib
2021-02-17 18:07:01 +01:00
Marina Glancy
440073ff20
MDL-64554 user: make private files editor modal/ajax form
2021-02-17 18:06:57 +01:00
Marina Glancy
72be49c473
MDL-64554 core_form: new API for modal forms
2021-02-17 18:06:49 +01:00
Eloy Lafuente (stronk7)
a72ea10b84
Merge branch 'MDL-70552-master' of git://github.com/ilyatregubov/moodle
2021-02-17 10:26:20 +01:00
Ilya Tregubov
729688b379
MDL-70552 core_message: Show popup for teachers when anonymous
...
user completed feedback.
2021-02-17 08:42:52 +02:00
Andrew Nicols
ab024ac209
Merge branch 'MDL-47410-master' of git://github.com/mihailges/moodle
2021-02-17 09:34:22 +08:00
Eloy Lafuente (stronk7)
166add5c8c
Merge branch 'MDL-69562_master' of https://github.com/dvdcastro/moodle
2021-02-16 22:32:56 +01:00
Eloy Lafuente (stronk7)
56a5136cc0
Merge branch 'MDL-70525_master' of https://github.com/TomoTsuyuki/moodle
2021-02-16 19:56:09 +01:00
Eloy Lafuente (stronk7)
3d117c1934
Merge branch 'MDL-48269-master-4' of git://github.com/junpataleta/moodle
2021-02-16 19:45:44 +01:00
Sara Arjona
845b865b22
Merge branch 'MDL-69762_master' of https://github.com/grillonbleu/moodle
2021-02-16 15:29:34 +01:00
Frederic Massart
3aed37ee4d
MDL-48269 group: Remove the option to hide the picture of a group
...
Plus additional amendments to Fred's original commit:
1. Updating the version numbers
2. Merging the original two-step upgrade below into one for simplicity:
1. Deleting the pictures for groups with hidepicture set to 1; and
2. Dropping the hidepicture field itself.
3. Converted array() usages to the short syntax [].
2021-02-16 12:46:58 +08:00
Eloy Lafuente (stronk7)
43bf98f2eb
Merge branch 'MDL-70882-master' of git://github.com/andrewnicols/moodle
2021-02-15 22:22:15 +01:00
François Moreau
3776fbafb2
MDL-69762 core_contentbank: let users hide their content
2021-02-15 13:26:32 -05:00
Adrian Greeve
c09879ffa6
Merge branch 'MDL-70735-pdf-metadata' of https://github.com/brendanheywood/moodle
2021-02-15 09:09:40 +08:00
Andrew Nicols
74ccc12fb3
MDL-70882 performance: Revert "MDL-47456 core: Remove redundant DB call during bootstrap"
...
This reverts commit 522e4c6c767b31efd3ba015db549fe65687b2b22.
The DB calls are not redundant and have an impact in a number of edge
cases.
2021-02-15 08:07:18 +08:00
Brendan Heywood
6532708ed2
MDL-70735 tcpdf: Reduce information disclosure from TCPDF
2021-02-12 15:41:38 +11: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
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
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
3a5fcbe6e6
Merge branch 'MDL-70631-master-unzip' of git://github.com/mudrd8mz/moodle
2021-02-10 12:38:03 +01: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
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
Shamim Rezaie
6df239900e
MDL-70173 core: Use a meaningful first level header
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
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
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
Brendan Heywood
a87ddbd685
MDL-70536 cli: Fixed cli progress bar when 100% more than once
2021-02-07 00:36:01 +11:00
Tim Hunt
6c7cf1123e
MDL-70796 count_words: match the count from LibraOffice & MS Word
2021-02-05 11:59:48 +00:00
Amaia Anabitarte
248d4ff200
MDL-70732 behat: Adding second parameter to ExpectationException()
2021-02-05 11:01:22 +01:00
John Yao
b964ba6373
MDL-65390 accessibility: correct focus after "Show more" clicked
2021-02-05 12:15:21 +11:00
Andrew Nicols
6995888454
Merge branch 'MDL-69748-master' of git://github.com/rezaies/moodle
2021-02-04 11:51:57 +08:00
Shamim Rezaie
a321181fe6
MDL-69748 core: Fix hideif issue with array elements
...
Changed the element selector to get all array elements,
whether named or unnamed. The previus selector was only
working for elements that thir names were like name="something[]".
It was not working for name="something[a]" elements.
2021-02-04 14:37:40 +11:00