Eloy Lafuente (stronk7) [Wed, 13 May 2020 11:15:17 +0000 (13:15 +0200)]
Merge branch 'MDL-68314-master' of git://github.com/aanabit/moodle
Amaia Anabitarte [Mon, 27 Apr 2020 10:41:06 +0000 (12:41 +0200)]
MDL-68314 core_contentbank: Backup and restore tests
Amaia Anabitarte [Mon, 27 Apr 2020 10:40:16 +0000 (12:40 +0200)]
MDL-68314 core_contentbank: Course content bank backup and restore
Jun Pataleta [Wed, 13 May 2020 02:36:54 +0000 (10:36 +0800)]
Merge branch 'MDL-68261-cli-config-log' of https://github.com/brendanheywood/moodle
Jake Dallimore [Wed, 13 May 2020 01:24:30 +0000 (09:24 +0800)]
Merge branch 'MDL-68631' of https://github.com/jonof/moodle
Eloy Lafuente (stronk7) [Tue, 12 May 2020 21:51:04 +0000 (23:51 +0200)]
Merge branch 'MDL-68614-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 12 May 2020 21:20:21 +0000 (23:20 +0200)]
Merge branch 'MDL-68417-master' of git://github.com/lameze/moodle
Simey Lameze [Mon, 11 May 2020 07:14:10 +0000 (15:14 +0800)]
MDL-68417 core_table: add some css styling to loading icon
Amaia Anabitarte [Mon, 11 May 2020 17:42:14 +0000 (19:42 +0200)]
MDL-68614 core_contentbank: Add svg and png contentbank icons
Sara Arjona [Tue, 12 May 2020 12:16:44 +0000 (14:16 +0200)]
weekly release 3.9dev+
Simey Lameze [Mon, 11 May 2020 07:13:27 +0000 (15:13 +0800)]
MDL-68417 core_table: add spinner to dynamic table
Eloy Lafuente (stronk7) [Mon, 11 May 2020 21:13:45 +0000 (23:13 +0200)]
Merge branch 'MDL-68579-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Mon, 11 May 2020 21:10:49 +0000 (23:10 +0200)]
Merge branch 'MDL-68276-replace-logs' of https://github.com/brendanheywood/moodle
Sara Arjona [Mon, 11 May 2020 17:16:14 +0000 (19:16 +0200)]
Merge branch 'MDL-68654-master' of https://github.com/catalyst/moodle
Jun Pataleta [Mon, 11 May 2020 16:03:19 +0000 (00:03 +0800)]
Merge branch 'MDL-66109-master' of git://github.com/andrewnicols/moodle
Sara Arjona [Mon, 11 May 2020 14:52:48 +0000 (16:52 +0200)]
Merge branch 'MDL-68571-master' of git://github.com/cescobedo/moodle
cescobedo [Wed, 6 May 2020 17:11:58 +0000 (19:11 +0200)]
MDL-68571 core_h5p: Return default handler if no it has been defined
Sara Arjona [Mon, 11 May 2020 14:36:59 +0000 (16:36 +0200)]
Merge branch 'MDL-68576-master' of git://github.com/mihailges/moodle
Jun Pataleta [Mon, 11 May 2020 14:32:34 +0000 (22:32 +0800)]
Merge branch 'MDL-63580-master' of git://github.com/cescobedo/moodle
cescobedo [Thu, 13 Feb 2020 17:08:59 +0000 (18:08 +0100)]
MDL-63580 core_task: Deprecation cron_run_single_task and run_from_cli
Also we have move the functions in \tool_task\run_from_cli to \core\task\manager
and we have deprecated that class.
cescobedo [Thu, 13 Feb 2020 15:29:47 +0000 (16:29 +0100)]
MDL-63580 core_task: Deprecation CLI scripts from admin/tool/task/cli
Copy the CLI scripts from admin/tool/task/cli to admin/cli (schedule_task.php and adhoc_task.php)
and rename to scheduled_task.php and to improve in order to use cron_run_inner_scheduled_task.
Jun Pataleta [Mon, 11 May 2020 08:27:48 +0000 (16:27 +0800)]
Merge branch 'MDL-68041-master-rev2' of https://github.com/nhoobin/moodle
cescobedo [Thu, 7 May 2020 17:25:03 +0000 (19:25 +0200)]
MDL-68579 core_h5p: Add a check to avoid execute task using BEHAT
Nicholas Hoobin [Mon, 2 Mar 2020 05:13:33 +0000 (16:13 +1100)]
MDL-68041 core_theme: New admin settings in secure page layout
This adds two new admin settings to the theme appearance options.
Shows the lang menu in secure layout, langmenuinsecurelayout.
Shows the user's name in secure layout, logininfoinsecurelayout.
When the page layout is set to secure, these options will be in effect.
Andrew Nicols [Wed, 29 Apr 2020 04:27:43 +0000 (12:27 +0800)]
MDL-66109 js: Fix Shifter linting issues
Andrew Nicols [Wed, 22 Apr 2020 02:34:13 +0000 (10:34 +0800)]
MDL-66109 js: Upgrade to latest version of Shifter
This change bumps the version of Shifter that we use to the final
release - version 1.2.0.
I strongly doubt that there will be more releases, and this release was
over two years ago.
This version uses a newer version of Istanbul, and fixes to use that
specific version of Istanbul. As a result I have forked Shifter and
applied the Moodle Circular Dependency fixes there instead.
This version also inludes an upgrade to uglify from 1.3.x to 2.4.x. This
major upgrade includes a some changes to the built YUI module code.
Andrew Nicols [Wed, 22 Apr 2020 00:40:12 +0000 (08:40 +0800)]
MDL-66109 behat: Prevent the use of Examples in Scenarios
This change enables the Gherkin-lint rule to prevent the use of
"Examples" in a Scenario.
The Example tag is only allowed in a Scenario Outline at this time and
their use in a Scenario has no meaning.
Andrew Nicols [Mon, 11 May 2020 02:57:28 +0000 (10:57 +0800)]
MDL-66109 behat: Require newline at EOF
This change enables the gherkinlint rule to require a new line at the
end of the file. This change is in keeping with existing Moodle coding
style guidelines.
Andrew Nicols [Wed, 22 Apr 2020 03:00:40 +0000 (11:00 +0800)]
MDL-66109 behat: Fix Example usage in feature files
The gherkin-lint package now understands the use of "Examples" and
requries that their indentation be correct and consistent.
This change sets the indentatation for these to:
"Examples": 4,
"example": 6,
This is in-line with the examples given in the offical Cucumber/Gherkin
documentation at
https://cucumber.io/docs/gherkin/reference/#scenario-outline whereby the
Examples and individual rows of the Examples table are children of the
Scenario outline.
This is contrary to the default for Gherkin-lint which places them as
top-level nodes with an indentatio of 0, and 2 respectively.
Andrew Nicols [Wed, 22 Apr 2020 03:00:35 +0000 (11:00 +0800)]
MDL-66109 css: Fix incorrect max-empty-lines in Boost scss
This was previously not picked up by stylelint for an unknown reason.
Andrew Nicols [Wed, 22 Apr 2020 02:58:39 +0000 (10:58 +0800)]
MDL-66109 css: Drop use of filter:alpha(opacity)
This CSS statement was an MS-only rule which was never accepted, and
which was abonded some time before IE 10. It has no effect in supported
browsers and can be safely replace with `opacity: [0.0-1.0]`.
Andrew Nicols [Wed, 22 Apr 2020 02:44:14 +0000 (10:44 +0800)]
MDL-66109 js: Build changes for NodeJS upgrade
This change includes a build to fix all minified file changes in Moodle
as a result of upgrades to our build process.
Andrew Nicols [Wed, 22 Apr 2020 00:14:45 +0000 (08:14 +0800)]
MDL-66109 js: Upgrade Node dependencies
This change updates most libraries used in our Grunt build stack and
applies necessary changes to Grunt and Gherkin-lint configuration to
ensure that they continue to work.
The grunt-sass plugin has been updated to support alternative
'implementations' of sass compilers, and the chosen sass compiler must
now be specified in the grunt configuration. We continue to use the
`node-sass` package for this.
Our gherkin-lintrc included two rules which were renamed from
'no-unamed-*' to 'no-unnamed-*'. This change occurred in version 2.0.0
of Gherkin-lint and has no other effect.
Andrew Nicols [Wed, 22 Apr 2020 03:38:11 +0000 (11:38 +0800)]
MDL-66109 js: Built file changes from new Node version
Andrew Nicols [Wed, 22 Apr 2020 02:12:30 +0000 (10:12 +0800)]
MDL-66109 js: Fix circular dependency in Shifter dependency
Shifter is using an ancient and no-longer supported of Istanbul. That
version contains a circular dependency whereby it fetches the version
from the index that included the file in the first place. This throws a
warning on newer versions of Node.
The fix here is simple and intended to be the bare minimum to remove
these warnings anad resolve the issue.
We have forked the istanbul project and created a v0.1.37_moodle branch
at the root version of the Istanbul version that Shifter uses (v0.1.37
tag). The circular dependency is then addressed and a new tag created.
I have then forked Shifter, pointing its package.json at the tar.gz
download of that new tag and pushed a new branch and tag for that fix.
Following this our own package.json is updated to point to the tar.gz
version of the new Shifter tag.
Andrew Nicols [Tue, 21 Apr 2020 12:58:34 +0000 (20:58 +0800)]
MDL-66109 js: Upgrade to latest stable version of NodeJS
Version 14.0.0 has just been released as stable, and will make its way
to an LTS release which will be supported until 30th April 2023.
At time of writing it is the "Current stable" release and will remain in
this phase until 20th October 2020, at whciih point it will transition
to LTS status.
Andrew Nicols [Mon, 11 May 2020 01:10:40 +0000 (09:10 +0800)]
Merge branch 'MDL-68271-master' of git://github.com/sarjona/moodle
Dmitrii Metelkin [Sat, 9 May 2020 23:20:08 +0000 (09:20 +1000)]
MDL-68654 quizaccess: destroy a restore controller in tests
Jun Pataleta [Fri, 8 May 2020 16:30:34 +0000 (00:30 +0800)]
Merge branch 'MDL-65547-master' of git://github.com/jleyva/moodle
Sara Arjona [Mon, 30 Mar 2020 10:35:40 +0000 (12:35 +0200)]
MDL-68271 core_h5p: implement localization methods for editor
The following methods have been implemented for supporting
content-type translations:
- H5PEditorAjaxInterface.getTranslations. This method is used for
loading the "Text overrides and translations" section.
- H5peditorStorage.getLanguage. This method is used for displaying
the specific fields and messages for each content-type library.
- H5peditorStorage.getAvailableLanguages. This method is used to
get the language list displayed into the "Text overrides and
translations" section.
Juan Leyva [Wed, 22 Apr 2020 11:01:57 +0000 (13:01 +0200)]
MDL-65547 tool_mobile: Allow to generate site QR codes only
Eloy Lafuente (stronk7) [Fri, 8 May 2020 11:32:22 +0000 (13:32 +0200)]
on-demand release 3.9dev+
Eloy Lafuente (stronk7) [Fri, 8 May 2020 11:32:22 +0000 (13:32 +0200)]
NOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 8 May 2020 11:32:20 +0000 (13:32 +0200)]
NOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 8 May 2020 11:32:18 +0000 (13:32 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Mihail Geshoski [Fri, 8 May 2020 08:58:43 +0000 (16:58 +0800)]
MDL-68576 filepicker: Cover in behat file edition in filemanager
The added behat tests would also confirm whether the behaviour of
a click action on a file using different views in the filemanager
is consistent.
Mihail Geshoski [Fri, 8 May 2020 08:33:57 +0000 (16:33 +0800)]
MDL-68576 filepicker: Cover in behat file selection from filepicker
The added behat tests would cover the issue in MDL-68576. They test
whether the behaviour of a click action on a file using different
views in the filepicker is consistent.
Juan Leyva [Tue, 14 Apr 2020 19:17:43 +0000 (21:17 +0200)]
MDL-65547 tool_mobile: New WS for generating tokens with qr login keys
Juan Leyva [Mon, 13 Apr 2020 22:20:30 +0000 (00:20 +0200)]
MDL-65547 tool_mobile: Display QR in user profile
Juan Leyva [Mon, 13 Apr 2020 17:41:23 +0000 (19:41 +0200)]
MDL-65547 qr: Wrapper for core_qrcode
Mihail Geshoski [Tue, 5 May 2020 08:13:00 +0000 (16:13 +0800)]
MDL-68576 filepicker: Fix inability to select files in table view
Jake Dallimore [Fri, 8 May 2020 03:22:31 +0000 (11:22 +0800)]
Merge branch 'MDL-51694-m' of https://github.com/MartinGauk/moodle
Eloy Lafuente (stronk7) [Thu, 7 May 2020 17:16:37 +0000 (19:16 +0200)]
Merge branch 'MDL-68443-xmldb-path-validation' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Thu, 7 May 2020 16:44:45 +0000 (18:44 +0200)]
Merge branch 'MDL-67753-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Thu, 7 May 2020 16:38:43 +0000 (18:38 +0200)]
Merge branch 'MDL-68415' of https://github.com/paulholden/moodle
Jake Dallimore [Thu, 7 May 2020 08:10:20 +0000 (16:10 +0800)]
Merge branch 'MDL-68572-master' of https://github.com/catalyst/moodle
Jake Dallimore [Thu, 7 May 2020 06:17:32 +0000 (14:17 +0800)]
Merge branch 'MDL-62403-master' of git://github.com/lameze/moodle
Simey Lameze [Thu, 7 May 2020 04:38:35 +0000 (12:38 +0800)]
MDL-62403 portfolio: add upgrade notes for google docs
Ryan Wyllie [Tue, 14 May 2019 08:08:16 +0000 (16:08 +0800)]
MDL-62403 portfolio: create directories for google drive export
I've modified the Google Drive portfolio export so that it creates a
root directory in Drive for all of the files in the export. This allows
each export to be contained from each other to help with clashing file
names.
Additionally, the paths for the exported files will now be created in
Drive so that exported files are in the correct directory structure.
This is important for forum posts exports which assume a certain
directory structure in the export.
Jun Pataleta [Thu, 7 May 2020 03:23:38 +0000 (11:23 +0800)]
MDL-68355 gradingform_guide: Improve lang strings
Jonathon Fowler [Thu, 7 May 2020 03:06:06 +0000 (13:06 +1000)]
MDL-68631 cron: ensure the cron user is reset between scheduled tasks
Andrew Nicols [Thu, 7 May 2020 01:13:20 +0000 (09:13 +0800)]
Merge branch 'MDL-68556-master-pluginscheckcss' of git://github.com/mudrd8mz/moodle
Paul Holden [Tue, 14 Apr 2020 08:14:52 +0000 (09:14 +0100)]
MDL-68410 mod_scorm: safer status operator comparison.
Adrian Greeve [Thu, 7 May 2020 00:40:41 +0000 (08:40 +0800)]
Merge branch 'MDL-67613-master' of git://github.com/ferranrecio/moodle
Paul Holden [Wed, 6 May 2020 20:08:15 +0000 (21:08 +0100)]
MDL-68415 core: test attachments in email_to_user from allowed paths.
Juan Leyva [Sun, 12 Apr 2020 12:40:17 +0000 (14:40 +0200)]
MDL-67753 registration: Enable Push Notifications when site register
There are some changes to make this possible:
- Enable by default the Mobile notifications plugin
- Implement a new callback for core -> plugins communication
- Generate an Airnotifier access key in the callback when needed
Ferran Recio [Mon, 4 May 2020 14:23:33 +0000 (16:23 +0200)]
MDL-68430 filter_mathjaxloader: update default CDN to 2.7.8
Víctor Déniz Falcón [Wed, 6 May 2020 19:05:32 +0000 (20:05 +0100)]
Merge branch 'MDL-68235' of git://github.com/Chocolate-lightning/moodle
Sara Arjona [Wed, 6 May 2020 15:43:53 +0000 (17:43 +0200)]
Merge branch 'MDL-68381-master' of git://github.com/ferranrecio/moodle
Ferran Recio [Fri, 17 Apr 2020 16:03:12 +0000 (18:03 +0200)]
MDL-67613 availability_completion: replacing old arrays
Jun Pataleta [Wed, 6 May 2020 09:04:25 +0000 (17:04 +0800)]
Merge branch 'MDL-68402' of https://github.com/timhunt/moodle
Ferran Recio [Mon, 23 Dec 2019 15:38:50 +0000 (16:38 +0100)]
MDL-67613 availability_completion: add previous activity condition
Tim Hunt [Wed, 6 May 2020 08:14:49 +0000 (09:14 +0100)]
MDL-68402 accesslib: fix coding style of loops
Tim Hunt [Tue, 14 Apr 2020 21:29:17 +0000 (22:29 +0100)]
MDL-68402 accesslib: Modernise coding style in the functions changed
Tim Hunt [Tue, 14 Apr 2020 16:06:13 +0000 (17:06 +0100)]
MDL-68402 accesslib: fix get_with_capability_join logic
In fact, rather than fix the old logic, I noticed that the correct
logic was already implemented in get_users_by_capability. So, I
refactored to extract the working version into a function, which it
turns out can have exactly the same API as get_with_capability_join,
which was convenient.
Mathew May [Tue, 14 Apr 2020 06:16:03 +0000 (14:16 +0800)]
MDL-68235 core_course: Sections work after drag and drop reordering
Mathew May [Tue, 14 Apr 2020 05:55:45 +0000 (13:55 +0800)]
MDL-68235 core_course: Add section ID attribute to sections
Eloy Lafuente (stronk7) [Wed, 6 May 2020 08:07:28 +0000 (10:07 +0200)]
Merge branch 'MDL-68615' of https://github.com/timhunt/moodle
Dmitrii Metelkin [Wed, 6 May 2020 05:44:49 +0000 (15:44 +1000)]
MDL-68572 quizaccess: use uploaded file as is for SEB settings
Tim Hunt [Wed, 6 May 2020 06:46:09 +0000 (07:46 +0100)]
MDL-68615 questions: more increment idnumber cases found by our tester
Simey Lameze [Wed, 6 May 2020 06:11:48 +0000 (14:11 +0800)]
MDL-68462 core_table: add missing global
Andrew Nicols [Wed, 6 May 2020 06:20:09 +0000 (14:20 +0800)]
Merge branch 'MDL-68216-master' of git://github.com/lucaboesch/moodle
Brendan Heywood [Fri, 27 Mar 2020 12:07:28 +0000 (23:07 +1100)]
MDL-68276 admin: Skip risky tables and columns in db_replace
Jake Dallimore [Wed, 6 May 2020 04:53:16 +0000 (12:53 +0800)]
Merge branch 'MDL-68293-master' of git://github.com/jleyva/moodle
Andrew Nicols [Wed, 6 May 2020 04:50:15 +0000 (12:50 +0800)]
Merge branch 'MDL-68217-master' of git://github.com/lucaboesch/moodle
Jake Dallimore [Wed, 6 May 2020 04:10:31 +0000 (12:10 +0800)]
Merge branch 'MDL-67800-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Wed, 6 May 2020 04:06:59 +0000 (12:06 +0800)]
MDL-67800 contentbank: Include missing event class
Andrew Nicols [Wed, 6 May 2020 03:22:26 +0000 (11:22 +0800)]
Merge branch 'MDL-67845-master-3' of git://github.com/mihailges/moodle
Jun Pataleta [Wed, 6 May 2020 02:32:39 +0000 (10:32 +0800)]
Merge branch 'MDL-68301-master' of git://github.com/bmbrands/moodle
Adrian Greeve [Wed, 6 May 2020 02:28:39 +0000 (10:28 +0800)]
Merge branch 'MDL-68462-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 6 May 2020 01:56:54 +0000 (09:56 +0800)]
Merge branch 'MDL-67800-master-3' of git://github.com/aanabit/moodle
Andrew Nicols [Wed, 6 May 2020 01:43:34 +0000 (09:43 +0800)]
Merge branch 'MDL-67383-master-1' of git://github.com/mihailges/moodle
Mihail Geshoski [Thu, 2 Apr 2020 03:06:47 +0000 (11:06 +0800)]
MDL-67383 media_videojs: Update VideoJS versions in Moodle related files
Mihail Geshoski [Thu, 2 Apr 2020 03:05:05 +0000 (11:05 +0800)]
MDL-67383 media_videojs: Upgrade VideoJS and plugins to latest version
Upgrade VideoJS (7.7.6), Youtube Playback for VideoJS (2.6.1), Flash Tech for VideoJS (2.2.1), Flash Player for VideoJS (5.4.2)
Mihail Geshoski [Wed, 6 May 2020 02:43:00 +0000 (10:43 +0800)]
MDL-67845 enrol_database: Remove enrol_database_admin_setting_category
This class was only used by the database enrolment plugin settings and
was replaced by admin_settings_coursecat_select. Also, this class is in
a plugin which we do not expect to be extended and therefore it can be
simply removed without going through the deprecation process.
Mihail Geshoski [Wed, 6 May 2020 02:23:53 +0000 (10:23 +0800)]
MDL-67845 enrol_database: Use course category selection setting
We should use admin_settings_coursecat_select instead of
enrol_database_admin_setting_category as the second class is only
being used by the database enrolment plugin settings and can be
removed after this change.
Simey Lameze [Tue, 28 Apr 2020 05:15:44 +0000 (13:15 +0800)]
MDL-68462 core_table: add @javascript to failing scenario
Simey Lameze [Tue, 21 Apr 2020 00:47:51 +0000 (08:47 +0800)]
MDL-68462 core_table: add support for reset table preferences
Andrew Nicols [Wed, 6 May 2020 00:55:51 +0000 (08:55 +0800)]
Merge branch 'MDL-68548' of https://github.com/Neosi/moodle
Andrew Nicols [Wed, 6 May 2020 00:50:00 +0000 (08:50 +0800)]
Merge branch 'MDL-63609' of https://github.com/paulholden/moodle