Sara Arjona [Wed, 3 Feb 2021 08:32:02 +0000 (09:32 +0100)]
Merge branch 'MDL-66769-master' of git://github.com/ilyatregubov/moodle
Ilya Tregubov [Wed, 6 Jan 2021 10:02:06 +0000 (12:02 +0200)]
MDL-66769 core_h5p: Clean up orphaned h5p records task.
Sara Arjona [Wed, 3 Feb 2021 08:02:45 +0000 (09:02 +0100)]
Merge branch 'MDL-70621-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Wed, 3 Feb 2021 07:51:11 +0000 (08:51 +0100)]
Merge branch 'MDL-68970' of https://github.com/timhunt/moodle
Luca Bösch [Wed, 13 Jan 2021 10:01:25 +0000 (11:01 +0100)]
MDL-70621 mod_glossary: use glossary rsstype string.
Andrew Nicols [Wed, 3 Feb 2021 02:26:26 +0000 (10:26 +0800)]
Merge branch 'MDL-56772-master' of git://github.com/peterRd/moodle
Andrew Nicols [Wed, 3 Feb 2021 02:06:32 +0000 (10:06 +0800)]
Merge branch 'MDL-66932_master' of https://github.com/nadavkav/moodle
Andrew Nicols [Wed, 3 Feb 2021 01:40:36 +0000 (09:40 +0800)]
Merge branch 'MDL-68893-master' of git://github.com/lucaboesch/moodle
Andrew Nicols [Wed, 3 Feb 2021 01:30:11 +0000 (09:30 +0800)]
Merge branch 'MDL-68958-master' of git://github.com/peterRd/moodle
Andrew Nicols [Wed, 3 Feb 2021 00:54:31 +0000 (08:54 +0800)]
Merge branch 'MDL-70339-master' of git://github.com/peterRd/moodle
Andrew Nicols [Wed, 3 Feb 2021 00:27:05 +0000 (08:27 +0800)]
Merge branch 'MDL-70583-cli-progress' of https://github.com/brendanheywood/moodle
Brendan Heywood [Sat, 9 Jan 2021 03:32:19 +0000 (14:32 +1100)]
MDL-70583 cli: Allow progress bars to be rendered in cli scripts
Sara Arjona [Tue, 2 Feb 2021 09:44:40 +0000 (10:44 +0100)]
Merge branch 'MDL-70309-master' of git://github.com/ferranrecio/moodle
Víctor Déniz [Tue, 2 Feb 2021 09:36:19 +0000 (09:36 +0000)]
Merge branch 'MDL-59782-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Tue, 2 Feb 2021 07:31:52 +0000 (15:31 +0800)]
Merge branch 'MDL-70304-master' of git://github.com/ilyatregubov/moodle
Sara Arjona [Tue, 2 Feb 2021 07:20:17 +0000 (08:20 +0100)]
Merge branch 'MDL-70574' of https://github.com/timhunt/moodle
Sara Arjona [Tue, 2 Feb 2021 06:59:28 +0000 (07:59 +0100)]
Merge branch 'MDL-70288-master-2' of git://github.com/junpataleta/moodle
Ilya Tregubov [Fri, 8 Jan 2021 09:42:03 +0000 (11:42 +0200)]
MDL-70304 core: updated adapter.js to 7.4.0
Jun Pataleta [Tue, 24 Nov 2020 05:08:54 +0000 (13:08 +0800)]
MDL-70288 qtype: Remove unnecessary empty label string
* When a label is passed to an (advanced) checkbox and no text
was provided, the label will be displayed on the right of the the
checkbox element. So there's no point in passing an empty string for
the label just to render the text to the right of the checkbox.
Jun Pataleta [Thu, 10 Dec 2020 14:49:39 +0000 (22:49 +0800)]
MDL-70288 mod_lti: Remove unnecessary empty label string
* When a label is passed to an (advanced) checkbox and no text
was provided, the label will be displayed on the right of the the
checkbox element. So there's no point in passing an empty string for
the label just to render the text to the right of the checkbox.
Jun Pataleta [Thu, 10 Dec 2020 06:09:04 +0000 (14:09 +0800)]
MDL-70288 core: Remove duplicate labels for checkbox elements
* If there's a label, the text will serve as the description of the
element.
Jun Pataleta [Thu, 10 Dec 2020 14:03:21 +0000 (22:03 +0800)]
MDL-70288 theme_boost: Manage aria-describedby on form validation
* The aria-describedby attribute can be a list of element IDs that
describe the element. On form validation, the ID of the error message
container is added to this attribute which may already be containing
another ID. So we need to properly add/remove the error message ID
so that we don't delete any existing ID(s) in the aria-describedby
attribute during form validation.
Eloy Lafuente (stronk7) [Mon, 1 Feb 2021 22:20:01 +0000 (23:20 +0100)]
Merge branch 'MDL-46256' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 1 Feb 2021 18:13:47 +0000 (19:13 +0100)]
Merge branch 'MDL-70648-master' of git://github.com/lameze/moodle
Sara Arjona [Mon, 1 Feb 2021 14:36:55 +0000 (15:36 +0100)]
Merge branch 'MDL-70625-master' of git://github.com/rezaies/moodle
Sara Arjona [Mon, 1 Feb 2021 11:30:07 +0000 (12:30 +0100)]
Merge branch 'MDL-70734-master' of git://github.com/andrewnicols/moodle
Sara Arjona [Mon, 1 Feb 2021 10:25:04 +0000 (11:25 +0100)]
Merge branch 'MDL-70740-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Mon, 1 Feb 2021 06:02:01 +0000 (14:02 +0800)]
Merge branch 'MDL-58673' of git://github.com/paulholden/moodle
Andrew Nicols [Sun, 31 Jan 2021 12:26:35 +0000 (20:26 +0800)]
MDL-70740 behat: Composer bump for new version of Mink Driver
Andrew Nicols [Sun, 31 Jan 2021 10:21:41 +0000 (18:21 +0800)]
MDL-70734 behat: Increase the WebDriver Curl timeout
Luca Bösch [Wed, 13 Jan 2021 10:00:29 +0000 (11:00 +0100)]
MDL-70621 mod_forum: use forum rsstype string.
Luca Bösch [Tue, 2 Jun 2020 08:22:23 +0000 (10:22 +0200)]
MDL-68893 mod_data: use own RSS feed string.
AMOS BEGIN
CPY [rsstype,core],[rsstype,mod_data]
AMOS END
Víctor Déniz [Fri, 29 Jan 2021 17:12:50 +0000 (17:12 +0000)]
weekly release 4.0dev
Víctor Déniz [Fri, 29 Jan 2021 17:12:44 +0000 (17:12 +0000)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jake Dallimore [Fri, 29 Jan 2021 07:41:03 +0000 (15:41 +0800)]
Merge branch 'MDL-66979-master-7' of git://github.com/andrewnicols/moodle
Andrew Nicols [Fri, 29 Jan 2021 04:45:00 +0000 (12:45 +0800)]
MDL-66979 behat: Mark some tests as being slow
Uses of the httpsreplace and customlang tools are known to be extremely
slow.
In our CI infrastructure on slwoer DBs, the customlang tool can take
over 90 seconds to load the page, whilst the httpsreplace tool can take
up to about 60 seconds.
These changes set appropriate timeout factors to increase the timeout
accordingly.
Andrew Nicols [Fri, 29 Jan 2021 04:44:09 +0000 (12:44 +0800)]
MDL-66979 behat: Add a step to set a timeout factor for a test
Eloy Lafuente (stronk7) [Thu, 28 Jan 2021 11:12:48 +0000 (12:12 +0100)]
MDL-66979 behat: Goutte driver doesn't implement setTimeouts()
Also, change:
get_real_timeout(30000)
to:
get_real_timeout(30) * 1000
because the original functions are defined to use seconds, and
having the 1000 around will help us detecting cases in the case
of a hypothetical review of uses.
AMOS bot [Fri, 29 Jan 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Thu, 28 Jan 2021 16:11:04 +0000 (17:11 +0100)]
Merge branch 'MDL-66979' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Thu, 28 Jan 2021 11:12:48 +0000 (12:12 +0100)]
MDL-66979 behat: Goutte driver doesn't implement setTimeouts()
Also, change:
get_real_timeout(30000)
to:
get_real_timeout(30) * 1000
because the original functions are defined to use seconds, and
having the 1000 around will help us detecting cases in the case
of a hypothetical review of uses.
Eloy Lafuente (stronk7) [Thu, 28 Jan 2021 08:07:39 +0000 (09:07 +0100)]
Merge branch 'MDL-66979-master-7' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 28 Jan 2021 07:27:50 +0000 (15:27 +0800)]
MDL-66979 behat: Set script timeout with timeout factor
Bas Brands [Wed, 6 Jan 2021 12:32:19 +0000 (13:32 +0100)]
MDL-59782 core_question: improve questionbank highlighting
Andrew Nicols [Thu, 28 Jan 2021 07:00:19 +0000 (15:00 +0800)]
MDL-66979 behat: Correct selenium2 reference in config-dist
Andrew Nicols [Thu, 28 Jan 2021 06:51:29 +0000 (14:51 +0800)]
MDL-66979 behat: Handle driver stop failure properly
An case was found where the webdriver stop() call could fail in an
AfterScenario hook, leading to a complete rerun if no other errors were
experienced.
Jun Pataleta [Thu, 28 Jan 2021 01:54:55 +0000 (09:54 +0800)]
Merge branch 'MDL-70444-dashboard-reset-progress-m' of https://github.com/Peterburnett/moodle
Andrew Nicols [Thu, 28 Jan 2021 00:02:58 +0000 (08:02 +0800)]
Merge branch 'MDL-70048-master' of git://github.com/peterRd/moodle
Peter Dias [Wed, 6 Jan 2021 06:10:21 +0000 (14:10 +0800)]
MDL-70048 dropbox: Augmented unit tests to account for additional params
Peter Dias [Wed, 6 Jan 2021 01:30:06 +0000 (09:30 +0800)]
MDL-70048 dropbox: Update the dropbox search URL.
- Update fetch_dropbox_data to allow different result nodes and version
- Update search to the new URL with new params
- Update the get entities function to account for the change in structure.
Víctor Déniz [Wed, 27 Jan 2021 23:00:53 +0000 (23:00 +0000)]
Merge branch 'MDL-69816' of git://github.com/paulholden/moodle
Víctor Déniz [Wed, 27 Jan 2021 10:52:58 +0000 (10:52 +0000)]
Merge branch 'MDL-70585' of git://github.com/paulholden/moodle
AMOS bot [Wed, 27 Jan 2021 00:07:53 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Tue, 26 Jan 2021 21:43:54 +0000 (22:43 +0100)]
Merge branch 'MDL-66979-master-7' of git://github.com/andrewnicols/moodle
Víctor Déniz [Tue, 26 Jan 2021 14:05:37 +0000 (14:05 +0000)]
Merge branch 'MDL-70528-master' of git://github.com/ilyatregubov/moodle
Ilya Tregubov [Tue, 12 Jan 2021 09:21:30 +0000 (11:21 +0200)]
MDL-70528 h5pactivity: Fix block can't be added to h5pactivity page.
Tim Hunt [Mon, 25 Jan 2021 18:16:14 +0000 (18:16 +0000)]
MDL-68970 quiz: prevent page caching during attempts
This ensures that the page reloads if the student uses
the Back or Forwards buttons within an attempt. This
avoids questions being in a stale state, or
the timer showing the wrong time.
Thanks to Jake Dallimore and Russell Boyatt for suggestions
which lead to this fix.
Víctor Déniz [Mon, 25 Jan 2021 13:48:52 +0000 (13:48 +0000)]
Merge branch 'MDL-65135' of https://github.com/paulholden/moodle
Peter Burnett [Thu, 7 Jan 2021 01:15:05 +0000 (11:15 +1000)]
MDL-70444 my: Improved robustness of bulk dashboard reset
Adrian Greeve [Mon, 25 Jan 2021 00:15:36 +0000 (08:15 +0800)]
Merge branch 'master-MDL-69631-v3' of https://github.com/golenkovm/moodle
Andrew Nicols [Sat, 23 Jan 2021 12:43:20 +0000 (20:43 +0800)]
MDL-66979 behat: Warn about old behat.yml file location
AMOS bot [Sat, 23 Jan 2021 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files
Ferran Recio [Fri, 22 Jan 2021 13:40:59 +0000 (14:40 +0100)]
MDL-70309 libraries: upgrade mongodb integration files
Ferran Recio [Fri, 22 Jan 2021 13:39:47 +0000 (14:39 +0100)]
MDL-70309 libraries: upgrade mongodb to version 1.8.0
Paul Holden [Thu, 7 Jan 2021 08:19:25 +0000 (08:19 +0000)]
MDL-70585 course: deeper clean of path names in course export.
This fixes an issue on those systems that don't fully support unicode
characters within zip structures, which subsequently led to broken
links when browsing downloaded course content.
Andrew Nicols [Fri, 22 Jan 2021 05:26:16 +0000 (13:26 +0800)]
MDL-66979 behat: Rename and warn on old config
Andrew Nicols [Wed, 16 Dec 2020 07:42:57 +0000 (15:42 +0800)]
MDL-66979 behat: Uncomment step disabled for old firefox
Andrew Nicols [Tue, 8 Dec 2020 06:47:58 +0000 (14:47 +0800)]
MDL-66979 behat: Pad messaging drawer
This works around an issue highlighted by MDL-70411 whereby some of the
messaging links are covered by the scrollbar in Firefox on MacOS.
Andrew Nicols [Tue, 17 Nov 2020 12:02:01 +0000 (20:02 +0800)]
MDL-66979 behat: Work around weird gradebook focus behaviour
I can't expand this one in a sane fashion but the older JS is doing some
weird and wonderful things with focus.
The only way I could get this to behave correctly was to move away from
the field, move back to it, and then move away again. Other combinations
failed in different browsers for different reasons.
Andrew Nicols [Fri, 13 Nov 2020 06:20:57 +0000 (14:20 +0800)]
MDL-66979 behat: availability field extends textarea
The availability behat field extends the textarea type, and therefore
needs to include this type.
Andrew Nicols [Fri, 13 Nov 2020 06:20:31 +0000 (14:20 +0800)]
MDL-66979 behat: Improve chromeOptions configuration
Simplify the chromeOptions configuration to improve readability.
Andrew Nicols [Fri, 13 Nov 2020 02:10:57 +0000 (10:10 +0800)]
MDL-66979 question: Improve behat test reliability
Expand all fieldsets rather than individual fieldsets.
This can fail in some situations where the page moves as the first
fieldset opens and HTML transitions take effect. This causes subsequent
fieldsets to move after WebDriver has calculated the click target.
Andrew Nicols [Fri, 13 Nov 2020 01:28:55 +0000 (09:28 +0800)]
MDL-66979 mod_assign: Stop clicking the user filters
Remove the documented hack which was re-opening a popup because it
"closes for some reason". It no longer randomly closes.
Andrew Nicols [Fri, 13 Nov 2020 01:30:18 +0000 (09:30 +0800)]
MDL-66979 behat: Switch to generators
These steps were creating content manually in an unnecessary fashion. I
had to debug some issues with features in these areas so took the time
to update them to make use of data generators, which are significantly
faster.
Andrew Nicols [Fri, 13 Nov 2020 01:29:59 +0000 (09:29 +0800)]
MDL-66979 behat: Remove unused var
Andrew Nicols [Fri, 13 Nov 2020 01:29:14 +0000 (09:29 +0800)]
MDL-66979 behat: Whitespace fix
Andrew Nicols [Thu, 12 Nov 2020 05:17:29 +0000 (13:17 +0800)]
MDL-66979 behat: Remove manually triggered events
Behat should not trigger Synthetic browser events. It is incorrect to do
so as the UI should be used to trigger events correctly.
The W3C WebDriver specification explicitly states when and where these
events will be triggered from (the browser) and therefore there is no
ambiguity and no need to synthetically trigger them from Behat.
Andrew Nicols [Thu, 12 Nov 2020 05:16:58 +0000 (13:16 +0800)]
MDL-66979 group: Replace direct element interaction with steps
The W3C WebDriver leads to faster operation of individual steps which
highlights where WebDriver is moving to a new step faster than the
browser can process it.
The solution here is to use the `execute` function to interact with the
browsers as this makes use of the various wait and check steps.
Andrew Nicols [Sun, 28 Jun 2020 11:51:35 +0000 (19:51 +0800)]
MDL-66979 behat: Remove unnecessary steps which fail
These steps were completely pointless and were failing with the W3C
Webdriver becuase focus was never on the Update Profile button in the
first place.
At a minimum we should remove the Focus change step as it not valid, but
the following step is also pointless.
Andrew Nicols [Fri, 26 Jun 2020 13:34:30 +0000 (21:34 +0800)]
MDL-66979 scorm: Increase behat window size
On Firefox there can be some issues with ensuring that all nodes are
visible in order to click them.
This is likely an upstream geckodriver bug and not one that can be
easily addressed across all of Moodle.
In this instance the "Next" button is just outside the Visible Window,
but it is in an iFrame which is fully visible. In this situation
Firefox is unable to click the button but does not error.
Andrew Nicols [Fri, 26 Jun 2020 13:18:24 +0000 (21:18 +0800)]
MDL-66979 behat: Scroll nodes into view before hover
The W3C Specification does not require that a NodeElement be in the
current viewport before triggering a mouseOver. As a result the
mouseOver will generate an Exception because the element is not in the
viewport, and the X/Y co-ordinates are invalid.
To handle this the node is scrolled into view.
Andrew Nicols [Mon, 25 Nov 2019 00:03:47 +0000 (08:03 +0800)]
MDL-66979 behat: Fix window switching
Normalise switching of window contexts by setting the main window name
to a null.
Where the window has no name (null/empty), then the root context is
selected.
Andrew Nicols [Fri, 26 Jun 2020 05:18:38 +0000 (13:18 +0800)]
MDL-66979 behat: Use tab to blur current focus
The focus should be on something, rather than removed.
The way in which focus removal works can lead to side effects.
Andrew Nicols [Fri, 26 Jun 2020 05:18:17 +0000 (13:18 +0800)]
MDL-66979 behat: Update passwordunmask form field control
Update the passwordunmask form field type for behat to interact with the
form element as a human would rather than via synthetic event triggers.
Andrew Nicols [Tue, 23 Jun 2020 02:40:26 +0000 (10:40 +0800)]
MDL-66979 behat: iFrames must have a name for switchTo
The W3C WebDriver protocol supports switching of contexts using a named
context, and not the class asscoiated with that context.
Andrew Nicols [Tue, 23 Jun 2020 02:39:45 +0000 (10:39 +0800)]
MDL-66979 mod_data: Improve behat chart data step
Charts data visibility is more reliable when checked via the
aria-expanded attribute.
The isVisible attribute can cause some failures under Firefox.
Andrew Nicols [Mon, 15 Jun 2020 02:20:55 +0000 (10:20 +0800)]
MDL-66979 behat: Handle JS on elements better
This change introduces a new function to execute Javascript directly on
a node.
This should not, ordinarily, be used directly by steps, but may be
required in other parts of the Behat interaction.
Andrew Nicols [Mon, 15 Jun 2020 00:23:25 +0000 (08:23 +0800)]
MDL-66979 behat: Rename selenium config to webdriver
The PHP WebDriver Mink Driver does not necessarily require Selenium. It
supports Selenium 3 upwards, and can be used directly with ChromeDriver,
EdgeDriver, SafariDriver, GeckoDriver, and others.
It therefore uses a slightly different configuraitno path.
Andrew Nicols [Thu, 12 Nov 2020 00:59:51 +0000 (08:59 +0800)]
MDL-66979 behat: Core updates for W3C WebDriver
This commit updates core Behat features to make use of the
php-webdriver/webdriver library instead of the legacy Instaclick
library.
Most of these changes relate to use of features of WebDriver which we
are required to use directly rather than through the Mink Driver.
Andrew Nicols [Tue, 16 Jun 2020 02:28:02 +0000 (10:28 +0800)]
MDL-66979 behat: Switch to new W3C Behat driver
This commit updates the composer dependencies to make use of the updated
version of moodlehq/moodle-behat-extension which depends upon the
php-webdriver/webdriver and relevant Mink WebDriver.
Jake Dallimore [Fri, 22 Jan 2021 03:30:38 +0000 (11:30 +0800)]
weekly release 4.0dev
Jake Dallimore [Fri, 22 Jan 2021 03:30:38 +0000 (11:30 +0800)]
NOBUG: Fixed file access permissions
Jake Dallimore [Fri, 22 Jan 2021 03:30:35 +0000 (11:30 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Tim Hunt [Tue, 19 Jan 2021 15:39:24 +0000 (15:39 +0000)]
MDL-46256 count_words: fix handling of paragraphs
Jun Pataleta [Thu, 21 Jan 2021 04:19:15 +0000 (12:19 +0800)]
Merge branch 'MDL-70297-master' of git://github.com/ilyatregubov/moodle
Adrian Greeve [Thu, 21 Jan 2021 04:01:32 +0000 (12:01 +0800)]
Merge branch 'MDL-57020-master-allow_delete_unused_scale' of https://github.com/sharidas/moodle
Mikhail Golenkov [Thu, 21 Jan 2021 03:36:01 +0000 (14:36 +1100)]
MDL-69631 assign: Add 'Draft' filter for grading table
Jun Pataleta [Thu, 21 Jan 2021 03:33:43 +0000 (11:33 +0800)]
Merge branch 'MDL-70301' of https://github.com/Chocolate-lightning/moodle
Mathew May [Fri, 8 Jan 2021 06:38:03 +0000 (14:38 +0800)]
MDL-70301 lib: Update thirdpartylibs scssphp
Mathew May [Wed, 9 Dec 2020 05:16:13 +0000 (13:16 +0800)]
MDL-70301 lib: Upgrade scssphp to 1.4.1