99522 Commits

Author SHA1 Message Date
Peter Dias
86269654f9 MDL-65319 core: Final deprecation get_courses_page 2020-11-24 09:59:47 +08: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
David Matamoros
c99a148628 MDL-69411 core_message: Fix return structure for empty result set
Passing a timefrom higher than last message timecreated needs to
return a formatted response so it does not break ws.
2020-11-23 19:25:09 +01:00
Eloy Lafuente (stronk7)
df16c07624 MDL-70265 travis: Completely remove the UPGRADE check
It was broken since ages ago, see MDL-64874, so no sense
to keep it eating minutes for nothing.
2020-11-23 13:45:22 +01: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
9d6413d16d MDL-70167 behat: Rewrite attribute check steps
This commit updates the following steps to use the
`the_attribute_of_should_be_set` step under the hood:
- the [element] [type] should be disabled
- the [element] [type] should be enabled
- the [element] [type] should be readonly
- the [element] [type] should not be readonly

This reduces unnecssary code duplication.
2020-11-23 11:02:36 +08:00
Andrew Nicols
7d70165c25 MDL-70167 behat: Boolean attributes should either exist or not 2020-11-23 11:02:36 +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)
866fb5fd56 MDL-70265 travis: Only run highest phpunit if configured via env
By default only lowest php version will be executed, and only pgsql.

This default behavior can be changed with a new variable:

MOODLE_PHP = [all]
MOODLE_DATABASE = [pgsql | mysqli | all]
2020-11-21 11:28:11 +01: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
Shamim Rezaie
bbf468099b MDL-70237 payment: Allow html tags in gateway description 2020-11-18 23:22:51 +11:00
sangnguyen2601
39652702f0 MDL-70094 Question: Technical info section expands if click help icon 2020-11-18 18:03:08 +07:00
Dani Palou
98dac07d54 MDL-70153 qtype_essay: Add behat test for attachments max size 2020-11-18 10:15:43 +01:00
Huong Nguyen
a03b08abaf MDL-70248 qtype_ddimageortext: Drop zones have UI issue in Editing form 2020-11-18 16:09:05 +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
c85f45ee35 MDL-67514 customfield: correct external usescategories return type. 2020-11-17 21:17:03 +00:00
Marina Glancy
e72bd85285 MDL-70242 auth_oauth2: set page context and url 2020-11-17 16:47:12 +01:00
Paul Holden
cc66de23f4 MDL-70158 tool_templatelibrary: group and sort list of components. 2020-11-17 13:56:01 +00:00
Noel De Martin
c74fa727db MDL-42382 admin: Add replace filters button
Co-authored-by: Luca Bösch <luca.boesch@bfh.ch>
Co-authored-by: Andrei Bautu <abautu@gmail.com>
2020-11-17 10:21:40 +01:00
Dan Marsden
9ae716734f MDL-68052 analytics: Clean up analytics_indicator_calc records. 2020-11-17 20:27:00 +13: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
Peter Dias
a726e52e80 MDL-65086 analytics: Deprecate get_enabled_time_splitting_methods 2020-11-17 13:55:26 +08:00