Marina Glancy
9c29fcaae0
MDL-65552 user: escape idnumber and email in table_sql
2021-03-03 23:14:47 +08:00
Paul Holden
bee5d9d27e
MDL-65552 user: escape idnumber field on output.
...
This commit also corrects parameter definition of the field to
match core_user.
2021-03-03 23:14:47 +08:00
Sara Arjona
695e05f1e8
Merge branch 'MDL-70125_310-3' of git://github.com/mdjnelson/moodle into MOODLE_310_STABLE
2021-03-03 15:47:37 +01:00
Sara Arjona
5a407772c7
Merge branch 'MDL-67494-310' of git://github.com/lameze/moodle into MOODLE_310_STABLE
2021-03-03 11:49:20 +01:00
Sara Arjona
82f2fe02e6
Merge branch 'MDL-67119-310' of git://github.com/aanabit/moodle into MOODLE_310_STABLE
2021-03-03 11:11:41 +01:00
Jun Pataleta
b9a6effccb
Merge branch 'MDL-70987-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
2021-03-03 16:42:03 +08:00
Simey Lameze
7108bf827d
MDL-67494 calendar: user_delete_user should delete all user events
2021-03-03 16:31:24 +08:00
Simey Lameze
bc6fa0ad98
MDL-67494 calendar: set userid to zero for shared events
2021-03-03 16:31:24 +08:00
Simey Lameze
b528e38d53
MDL-67494 calendar: step to set userid 0 to all shared events
2021-03-03 16:31:22 +08:00
Andrew Nicols
cd10e95fd9
Merge branch 'MDL-70268-310-2' of git://github.com/peterRd/moodle into MOODLE_310_STABLE
2021-03-03 12:22:34 +08:00
Peter Dias
f50885a3a4
MDL-70268 core: Update the oauthlib to exclude scope if none provided
2021-03-03 12:06:24 +08:00
Sander Wind
3f9d4a08a5
MDL-70668 auth: Fix secret validation during user confirmation
...
Co-authored-by: Michael Hawkins <michaelh@moodle.com>
2021-03-02 23:44:24 +01:00
Jun Pataleta
4ddc2a627c
Merge branch 'MDL-70457_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
2021-03-02 17:39:20 +08:00
Víctor Déniz
aa0d546355
Merge branch 'MDL-70172-310' of git://github.com/rezaies/moodle into MOODLE_310_STABLE
2021-03-02 09:17:10 +00:00
Shamim Rezaie
8ec7ddb92b
MDL-70172 output: pages with main logo should have a first-level header
2021-03-02 05:41:50 +11:00
Sara Arjona
5ecae0a17e
Merge branch 'MDL-68735_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
2021-03-01 16:17:40 +01:00
Eloy Lafuente (stronk7)
16deaaf095
Merge branch 'MDL-70913-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
2021-03-01 14:22:23 +01:00
Sara Arjona
91d3150e6a
MDL-70913 core_badges: Use and update properly sortorder
...
Sortorder field in badge_external_backpack was updated with a wrong
value. This patch fixes this behaviour and adds sortorder as
sorting criteria for displaying the list of site backpacks.
In the phpunit method reviewed for covering this, a couple of
assertEquals() calls have been changed too to put the expected value
first.
2021-03-01 13:10:37 +01:00
Eloy Lafuente (stronk7)
930c1a303f
Merge branch 'MDL-70931-310-xmldbeol' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2021-03-01 10:01:14 +01:00
Eloy Lafuente (stronk7)
7556d45c17
Merge branch 'MDL-70964-310-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2021-03-01 09:34:09 +01:00
Eloy Lafuente (stronk7)
5bb3ac5c9a
MDL-68735 env: Moodle 3.8.x, 3.9.x and 3.10.x do not support PHP 8.0
2021-02-26 13:08:07 +01:00
Eloy Lafuente (stronk7)
d921a644ba
MDL-70457 forms: php74 fix for the (not used in core) date element
...
Curly brackets to access by index to strings or arrays is
deprecated since php74.
2021-02-26 11:55:32 +01:00
Amaia Anabitarte
60fcd69368
MDL-67119 core_analytics: Analyse users once per course
...
User's activity in a course should be analysed only once
no matter the number of enrolments the user has in that course.
2021-02-26 11:48:09 +01:00
David Mudrák
4fc700ec96
MDL-70964 lang: Use the fixed strings in tests
2021-02-25 16:35:58 +01:00
Jun Pataleta
54a1d40758
Merge branch 'MDL-70169-310' of git://github.com/lameze/moodle into MOODLE_310_STABLE
2021-02-25 12:29:30 +08:00
Andrew Nicols
00f23b218a
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:06:37 +08:00
Mark Nelson
fbef841ee3
MDL-70125 core_grade: do not change overridden status during regrading
2021-02-22 17:35:38 +08:00
Jun Pataleta
28d5ee7876
Merge branch 'MDL-47410-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
2021-02-18 11:24:07 +08:00
Andrew Nicols
6aadb04fe1
MDL-47410 behat: Perform exact match for date_time selectors
2021-02-18 09:35:23 +08:00
David Mudrák
fe6470b852
MDL-70931 xmldb: Generate install.xml files with EOL and EOF
...
As discussed in MDLSITE-6397, all Moodle code files should end with
single Unix-style end of line character. Files created and edited
through the XMLDB editor should follow this rule, too.
2021-02-17 21:06:00 +01:00
Eloy Lafuente (stronk7)
317af7632a
Merge branch 'MDL-70552-310' of git://github.com/ilyatregubov/moodle into MOODLE_310_STABLE
2021-02-17 10:26:48 +01:00
Ilya Tregubov
53fcd633e5
MDL-70552 core_message: Show popup for teachers when anonymous
...
user completed feedback.
2021-02-17 08:43:28 +02:00
Andrew Nicols
40e11ee44a
Merge branch 'MDL-47410-310' of git://github.com/mihailges/moodle into MOODLE_310_STABLE
2021-02-17 09:41:40 +08:00
Eloy Lafuente (stronk7)
296e9ed320
Merge branch 'MDL-69562_310' of https://github.com/dvdcastro/moodle into MOODLE_310_STABLE
2021-02-16 22:39:36 +01:00
Eloy Lafuente (stronk7)
be526048f6
Merge branch 'MDL-70525_310' of https://github.com/TomoTsuyuki/moodle into MOODLE_310_STABLE
2021-02-16 19:56:30 +01:00
Simey Lameze
9ff0798864
MDL-70169 login: fix accessibility issues
2021-02-12 12:12:58 +08:00
Mihail Geshoski
07d73cc416
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:13:04 +08:00
Mihail Geshoski
7a868e586f
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:13:02 +08:00
Mihail Geshoski
c9ecca60c1
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:15 +08:00
Mihail Geshoski
8031c68d12
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:15 +08:00
Mihail Geshoski
41d8472136
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:15 +08:00
Mihail Geshoski
d2304bfbe5
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:15 +08:00
Sara Arjona
b21bbfbb53
Merge branch 'MDL-70732-310' of git://github.com/aanabit/moodle into MOODLE_310_STABLE
2021-02-10 17:20:36 +01:00
Sara Arjona
9dd33a7e4a
Merge branch 'MDL-70796_310' of https://github.com/timhunt/moodle into MOODLE_310_STABLE
2021-02-10 16:50:15 +01:00
Sara Arjona
eb7c0f7d12
Merge branch 'MDL-70631-310-unzip' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
2021-02-10 12:38:18 +01:00
John Yao
c6df8dc20b
MDL-65390 accessibility: correct focus after "Show more" clicked
2021-02-09 15:11:12 +01:00
Sara Arjona
8f66f8807d
Merge branch 'MDL-70173-310' of git://github.com/rezaies/moodle into MOODLE_310_STABLE
2021-02-09 08:29:26 +01:00
Shamim Rezaie
c61b50e6a0
MDL-70173 core: Use a meaningful first level header
2021-02-09 16:32:45 +11:00
Shamim Rezaie
e7b0985d5e
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:32:45 +11:00
Shamim Rezaie
a9c9d74fa0
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:15:57 +11:00