99459 Commits

Author SHA1 Message Date
Sara Arjona
2ae62e9a51 Merge branch 'MDL-69878-master' of git://github.com/bmbrands/moodle 2020-11-26 12:46:10 +01:00
Eloy Lafuente (stronk7)
93f49909d5 Merge branch 'MDL-69121-redis-session-store-compression' of git://github.com/jamie-catalyst/moodle into master 2020-11-24 22:58:48 +01:00
Sara Arjona
01ac1cc74c Merge branch 'master-MDL-69773_v2' of https://github.com/golenkovm/moodle 2020-11-24 17:24:44 +01:00
Adrian Greeve
a2906d5a39 Merge branch 'MDL-64776-master' of git://github.com/peterRd/moodle 2020-11-24 08:57:12 +08:00
Mikhail Golenkov
53663f2ea1 MDL-69773 block_section_links: Add an option to display section name 2020-11-24 11:33:27 +11:00
Adrian Greeve
41b9a81caa Merge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle 2020-11-23 15:40:04 +08:00
Jake Dallimore
766f68cbd2 Merge branch 'MDL-70160-function-cache-m' of https://github.com/Peterburnett/moodle 2020-11-23 15:21:31 +08:00
Adrian Greeve
76ddbf3822 Merge branch 'MDL-67028-additional-custom-parameters' of https://github.com/cengage/moodle 2020-11-23 14:05:05 +08:00
Andrew Nicols
0d580d2b3e MDL-67668 behat: Update tests for inplace editable field type 2020-11-23 09:01:19 +08:00
Andrew Nicols
fd71823ec7 MDL-67668 behat: Add inplace editable field type
This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
2020-11-23 09:01:19 +08:00
Andrew Nicols
548da2ce97 MDL-67668 behat: Share behat_behat functionality with forms
Behat form fields are implemented in a way completely isolated from the
rest of the Behat Context system. Whereas regular step definitions have
access to execute steps, to call `find`, check for JS running, and other
related functionality, the Moodle implementation of a field type does
not have any access to this.

By moving the core functionality of behat_base to a new trait, and the
constants to a new interface, the functionality can also be used in
behat form fields in the same way as elsewhere.
2020-11-23 09:01:19 +08:00
Andrew Nicols
59daa3b548 MDL-67668 behat: Correct js pending check
Pending checks should only run when JS is running, but some uses were
not apply this check.
2020-11-23 09:01:19 +08:00
Andrew Nicols
1144969755 MDL-67668 behat: Support NodeElement when fetching node in container
This is similar to change made in MDL-69136 to allow an already-fetched
NodeElement to be provided to the get_node_in_container() function and
makes it easier to be deterministic when writing steps.
2020-11-23 09:01:19 +08:00
Eloy Lafuente (stronk7)
c8d33eb9ce weekly release 4.0dev 2020-11-20 23:16:43 +01:00
Eloy Lafuente (stronk7)
ca6c43e13a Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master 2020-11-20 23:16:41 +01:00
Peter Dias
1d6f66151a MDL-64776 book: Final deprecation booktool_print_get_toc 2020-11-19 17:02:16 +08:00
Adrian Greeve
4baf02505a Merge branch 'master-MDL-67636' of https://github.com/yao9394/moodle 2020-11-19 11:59:32 +08:00
Jake Dallimore
6603ee4853 Merge branch 'MDL-67081-profile-cli' of https://github.com/brendanheywood/moodle 2020-11-19 11:41:31 +08:00
John Yao
11886d37ed MDL-67636 gradebook: Prevent exposing hidden grade in locked category 2020-11-19 14:29:55 +11:00
Adrian Greeve
a0ba1ae381 Merge branch 'MDL-65843-task-overrides' of https://github.com/jamie-catalyst/moodle 2020-11-19 11:29:01 +08:00
Adrian Greeve
3f5489e014 Merge branch 'MDL-56653_enrol_meta_edit_instance_validation' of https://github.com/vtos/moodle 2020-11-19 11:07:27 +08:00
Andrew Nicols
e988d9ec4d Merge branch 'MDL-69809' of https://github.com/paulholden/moodle 2020-11-19 10:40:47 +08:00
Andrew Nicols
5b1f83ef3f Merge branch 'MDL-67702' of https://github.com/paulholden/moodle 2020-11-19 10:34:02 +08:00
Jun Pataleta
d74c9c622e MDL-70094 core: Fix version number for the upgrade note. 2020-11-19 09:40:25 +08:00
Jun Pataleta
1ce10609f3 Merge branch 'MDL-70094-master' of https://github.com/SangNguyen2601/moodle 2020-11-19 09:38:39 +08:00
Andrew Nicols
0c556aff71 Merge branch 'MDL-47456-avoid-siteid-db' of https://github.com/brendanheywood/moodle 2020-11-19 08:51:57 +08:00
Eloy Lafuente (stronk7)
695f0b4597 Merge branch 'MDL-70107-task-unlock-session' of https://github.com/brendanheywood/moodle into master 2020-11-18 23:06:49 +01:00
Eloy Lafuente (stronk7)
30f2fe5301 Merge branch 'MDL-69201' of https://github.com/paulholden/moodle into master 2020-11-18 22:59:28 +01:00
Jamie Stamp
3a232840a5 MDL-65843 tasks: Allow schedules to be overridden in config 2020-11-18 12:44:05 +00:00
sangnguyen2601
39652702f0 MDL-70094 Question: Technical info section expands if click help icon 2020-11-18 18:03:08 +07:00
Andrew Nicols
3492cf87f0 Merge branch 'MDL-70158' of git://github.com/paulholden/moodle 2020-11-18 10:17:32 +08:00
Andrew Nicols
2820aa31dc Merge branch 'MDL-68896' of git://github.com/danmarsden/moodle 2020-11-18 09:32:46 +08:00
Eloy Lafuente (stronk7)
6ca32e21e5 Merge branch 'MDL-70148-master' of git://github.com/andrewnicols/moodle into master 2020-11-17 23:12:56 +01:00
Paul Holden
cc66de23f4 MDL-70158 tool_templatelibrary: group and sort list of components. 2020-11-17 13:56:01 +00:00
Andrew Nicols
3959958372 MDL-70148 gradereport_grader: Improve reliability of keyboard usage
In some browsers the ajax grade select does not properly update the
grade after setting values. The previous solution was to press the
[enter] key, but doing this with the new key type step opens the select
box again. This is what happens when a real user presses enter on the
select.

This is the last possible field in the report, so pressing the tab key
to move to the next gradable element does not work.

The solution uses a shift-tab to move the focus away to the previous
gradale element. In this case it must also be moved to an earlier step
because the previously selected value must be checked in the Then
section of the test and if it is selected then its value cannot be
checked.
2020-11-17 15:14:43 +08:00
Andrew Nicols
bce0d4b80f MDL-70148 qtype: Update qtype steps to new key interaction
Note: The ddmarker question type was previously getting the number of
keypresses wrong. This was because it was using both keyDown/keyUp, and
also keyPress. As a result each keypress was essentially happening two
times.
2020-11-17 15:14:43 +08:00
Andrew Nicols
ba34d6e225 MDL-70148 behat: Update steps for keyboard 2020-11-17 15:14:43 +08:00
Andrew Nicols
9c35ea1040 MDL-70148 behat: Add steps to send keys without an element 2020-11-17 15:14:43 +08:00
Andrew Nicols
84aae71f36 Merge branch 'MDL-69526-master' of git://github.com/lucaboesch/moodle 2020-11-17 14:52:58 +08:00
Adrian Greeve
a370cb44bc Merge branch 'MDL-50955-master' of git://github.com/peterRd/moodle 2020-11-17 13:04:57 +08:00
Andrew Nicols
a2da1d0e28 Merge branch 'MDL-69964' of git://github.com/paulholden/moodle 2020-11-17 10:21:27 +08:00
Paul Holden
5fb73c9639 MDL-69964 course: toggle participant checkboxes in root element.
For a given toggleGroup, the relevant action elements are not
necessarily descendants of the same tableRoot element, on the
course participants page.
2020-11-16 17:44:17 +00:00
Eloy Lafuente (stronk7)
de317c2cd4 Merge branch 'MDL-67513-master-fix' of https://github.com/andrewnicols/moodle into master 2020-11-16 09:17:31 +01:00
Andrew Nicols
78962293ef MDL-67513 core: Only move modal to body if currently attached
A previous change as part of this commitset was intended to move the
modal to the document.body, but where the modal had been destroyed it
was instead added back to the body.
2020-11-16 15:19:32 +08:00
Peter Dias
8e3031aed0 MDL-50955 core: Reset lessons completion criteria if grade type is none 2020-11-16 15:12:34 +08:00
Brendan Heywood
522e4c6c76 MDL-47456 core: Remove redundant DB call during bootstrap 2020-11-16 16:04:07 +11:00
Brendan Heywood
2481b041ce MDL-70107 tool_task: Unlock session on long running tasks in UI 2020-11-16 15:42:25 +11:00
Andrew Nicols
73bd838c1b Merge branch 'MDL-67513' of https://github.com/NeillM/moodle 2020-11-16 08:22:51 +08:00
Brendan Heywood
7f97d1181d MDL-67081 xhprof: Allow conditional profiling from CLI using env vars 2020-11-13 14:01:38 +11:00
AMOS bot
bb55bcf014 Automatically generated installer lang files 2020-11-13 00:09:47 +00:00