Commit graph

101582 commits

Author SHA1 Message Date
Dongsheng Cai
e280853f7a MDL-70846 accessibility: update color to increase contrast 2021-05-28 12:49:56 +10:00
Dongsheng Cai
a246699a2b MDL-70846 accessibility: update tree attributes to pass a11y check
- Move aria-* atrributes from <p> to <li>
- Move "role" attribute from <p> to <li>
- Update behat tests

Based on reference implementation from:
- https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html
- https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees
2021-05-28 12:49:56 +10:00
Luca Bösch
a62fc597a7 MDL-71284 assign: prevent double escaping assignment name. 2021-05-27 20:30:49 +02:00
Eloy Lafuente (stronk7)
b93c667bf6 MDL-71731 phpunit: isolate tests requiring lots of peak mem
It's mostly addDocuments(), used by test_add_document_batch_large()
with 100 big documents what requires a lot of ram
although apparently, it's freed (partially) once ended.
Just the peak usage remains high. In any case, isolating that
test to avoid the non-freed side of it to consume too
much memory for the rest. (We allow "only" 2GB).

Still, I think that there is a good work about to detect which
tests are leaking / consuming too much, I'd bet there are
a bunch running completely out of control.
2021-05-27 19:42:26 +02:00
Eloy Lafuente (stronk7)
5d3c294eeb MDL-71622 behat: use own fork of friends-of-behat/mink-extension
Upstream behat/mink-extension isn't updated since 2018.

So we switch to friends-of-behat/mink-extension until
upstream situation is clarified.

But friends-of-behat/mink-extension has some PHP8 issues
that, at the time of writting this, have not been solved:

- https://github.com/FriendsOfBehat/MinkExtension/pull/9

So we are temporarily changing to one fork:

https://github.com/moodlehq/MinkExtension

Whenever those issues are solved by friends-of-beha or behat
we will change back to them and remove our fork.

Generated with composer 2.x and PHP 7.3
2021-05-27 19:42:18 +02:00
Sara Arjona
2d82188d89 weekly release 3.11+ 2021-05-27 17:45:09 +02:00
Sara Arjona
b84c90b8aa Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-05-27 17:45:07 +02:00
Sara Arjona
0d4dd9d891 Merge branch 'MDL-69703-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-27 12:25:01 +02:00
Paul Holden
e2f4bddc6d MDL-69703 theme_boost: ensure multi-select options take all space. 2021-05-27 10:45:48 +01:00
Sara Arjona
6bd128b714 Merge branch 'MDL-71145-311' of git://github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-05-27 11:37:07 +02:00
Huong Nguyen
67ca5af409 MDL-71145 qtype_ddmarker: Fix Behat failure 2021-05-27 15:29:25 +07:00
Andrew Nicols
2a7cd2b0d8 Merge branch 'MDL-69703-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-27 12:05:58 +08:00
Andrew Nicols
12db5d25fe Merge branch 'MDL-71637-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-05-27 11:53:25 +08:00
Andrew Nicols
96c52f32ae Merge branch 'MDL-71047-3.11' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_311_STABLE 2021-05-27 11:18:34 +08:00
Andrew Nicols
cd5c2bd341 Merge branch 'MDL-71462-MOODLE_311_STABLE' of https://github.com/SysBind/moodle into MOODLE_311_STABLE 2021-05-27 09:54:07 +08:00
Andrew Nicols
2b3c70eee8 Merge branch 'MDL-67771-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-05-27 09:45:00 +08:00
Andrew Nicols
39151da155 Merge branch 'MDL-71145-311' of git//github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-05-27 09:39:53 +08:00
AMOS bot
2ab19a8c46 Automatically generated installer lang files 2021-05-27 00:07:27 +00:00
Eloy Lafuente (stronk7)
311519306c Merge branch 'MDL-71159-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-05-26 18:47:55 +02:00
Peter Dias
04e0c75456 MDL-71637 core: Set default for mb_substitute_character 2021-05-26 14:19:59 +08:00
Mihail Geshoski
73d596570b MDL-64236 gradereport_grader: Add padding to content in grader report
In certain operative systems the browser's scrollbar may partly cover
the content in the student header and user cells when horizontally
scrolling through the table contents. This is most noticeable when in
RTL mode. Adding slight padding on the left (or right in RTL mode) to
the content in these cells would fix this UI issue.
2021-05-26 13:47:39 +08:00
Andrew Nicols
14a0882662 Merge branch 'MDL-71628-311' of https://github.com/nguyenphuctien/moodle into MOODLE_311_STABLE 2021-05-26 10:39:02 +08:00
Sara Arjona
97f3b0cf17 Merge branch 'MDL-68925_311' of git://github.com/mdjnelson/moodle into MOODLE_311_STABLE 2021-05-25 15:34:30 +02:00
Tien Nguyen
57d66da1a5 MDL-71628 quiz: Quiz review: names not shown on Manual grading screens 2021-05-25 16:30:20 +07:00
Eloy Lafuente (stronk7)
fa9e5f890a Merge branch 'MDL-71659-311-missinggradeitem' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-05-24 23:23:08 +02:00
Paul Holden
372924b4a8 MDL-69703 theme_boost: remove right padding for multi-selects.
This removes the whitespace obscuring longer option elements when
selected, particularly on narrow screens.
2021-05-24 15:56:44 +01:00
avi
8b4eff6fbd MDL-71462 core: Add phpstorm metadata file to gitignore 2021-05-24 15:54:45 +03:00
AMOS bot
3fc9bf8350 Automatically generated installer lang files 2021-05-24 00:07:26 +00:00
AMOS bot
0fd372707a Automatically generated installer lang files 2021-05-23 00:07:23 +00:00
Andrew Nicols
2a2e548f4c MDL-71369 admin: Apply form change checker to admin/category view 2021-05-21 09:58:16 +08:00
Huong Nguyen
9c4948a892 MDL-71145 qtype_ddmarker: Incorrect marker positions in responsive mode 2021-05-21 08:47:37 +07:00
Jun Pataleta
44257ec096 Merge branch 'MDL-60431_311' of https://github.com/jonof/moodle into MOODLE_311_STABLE 2021-05-21 08:57:20 +08:00
Jonathon Fowler
f2c9e1728e MDL-60431 qtype_calculated: handle NAN and INF calculation outcomes
With significant-digits presentation mode, NAN would be formatted as
'NAN' followed by zeroes, which looks silly, and +INF would cause an
execution timeout as Moodle tries to divide +∞ by 10 until it becomes
less than 1, which can happen in a divide-by-zero situation.

Note that the user can't answer NAN or INF to any question, but at this
at least now looks consistent and also doesn't break Moodle in the case
of +INF.
2021-05-21 09:35:40 +10:00
Paul Holden
48c7b4a1fe MDL-71693 admin: set default for debugdisplay to off.
The previous default value for this config was based on the
PHP ini file `display_error` property (6349a3ba). However we
override this propertly during page setup (25338300) according
to the value of the configuration itself.

This had the effect of always setting the default value for
this config to it's current value.
2021-05-20 21:39:36 +01:00
Sara Arjona
beefea6bad weekly release 3.11+ 2021-05-20 11:09:04 +02:00
Sara Arjona
1f2f52d949 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-05-20 11:09:01 +02:00
Peter Dias
18fe7a38d3 MDL-67771 theme: Add side-post to incourse views 2021-05-20 15:15:09 +08:00
Mark Nelson
99c43cae2c MDL-68925 assignfeedback_editpdf: avoid hiding comments with a menu open
Co-authored by: Jonathon Fowler <fowlerj@usq.edu.au>
2021-05-20 13:16:06 +08:00
Jun Pataleta
bb662a7dc4 Merge branch 'MDL-71157-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-05-20 12:29:58 +08:00
abgreeve
98b407a0ba Merge branch 'MDL-65203-311' of https://github.com/dcai/moodle into MOODLE_311_STABLE 2021-05-20 11:05:58 +08:00
Andrew Nicols
09df41a8ac Merge branch 'MDL-71647-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-20 10:49:34 +08:00
Thong Bui
95974314dd MDL-71644 Quiz: The issues outstanding from MDL-70947.
Issue 1: While essay question's uploading progress, we need to disable submit
buttons to prevent submit form event.

Issue 2: Enable buttons after pressing cancel button on the popup
confirming overwrite file existed.
2021-05-20 08:32:50 +07:00
Andrew Nicols
33c9dde707 Merge branch 'MDL-71626-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-05-20 09:32:19 +08:00
Eloy Lafuente (stronk7)
0fc5c86d42 Merge branch 'MDL-71126-311' of git://github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-05-19 23:03:13 +02:00
Eloy Lafuente (stronk7)
b4dee39b4c Merge branch 'MDL-67935-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-05-19 22:50:21 +02:00
Eloy Lafuente (stronk7)
5f0b872a5d Merge branch 'MDL-71373-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-05-19 19:37:54 +02:00
Sara Arjona
88a00e6a78 MDL-71157 block_myoverview: remove wait from behat
The step "And I wait until ".block_myoverview
[data-control='next']" "css_element" exists" is not correct
because this [data-control='next'] element exists before and
after the step so, in some cases, it might cause the following
step will start earlier than expected.
As pending JS has been added, this wait steps are not required
any more.
2021-05-19 12:34:51 +02:00
Andrew Nicols
02bc9d32c3 MDL-71157 core: Pending JS in paged content bars 2021-05-19 12:34:51 +02:00
Luca Bösch
a2fc77efad MDL-71373 tool_usertours: localize "previous"/"next" in user tours.
AMOS BEGIN
        CPY [previous,core],[previousstep,tool_usertours]
        CPY [next,core],[nextstep,tool_usertours]
       AMOS END
2021-05-19 09:56:08 +02:00
Luca Bösch
c71c13ff70 MDL-71373 core_enrol: localize "close" in role manager. 2021-05-19 09:56:08 +02:00