moodle.git
15 months agoMerge branch 'MDL-67533-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Wed, 8 Jan 2020 15:29:35 +0000 (16:29 +0100)]
Merge branch 'MDL-67533-master' of git://github.com/junpataleta/moodle

15 months agoMerge branch 'MDL-66752-master-2' of git://github.com/junpataleta/moodle
Sara Arjona [Wed, 8 Jan 2020 13:40:01 +0000 (14:40 +0100)]
Merge branch 'MDL-66752-master-2' of git://github.com/junpataleta/moodle

15 months agoMDL-67637 core_message: only preview lastmessage text if safe to do so
Jake Dallimore [Wed, 8 Jan 2020 06:22:48 +0000 (14:22 +0800)]
MDL-67637 core_message: only preview lastmessage text if safe to do so

If any html/script tags are found in the text() value, don't display it.

15 months agoMDL-67533 mod_forum: Remove duplicate Re in experimental view subject
Jun Pataleta [Wed, 8 Jan 2020 08:29:20 +0000 (16:29 +0800)]
MDL-67533 mod_forum: Remove duplicate Re in experimental view subject

15 months agoMerge branch 'MDL-67417-master' of https://github.com/KietChan/moodle
Sara Arjona [Wed, 8 Jan 2020 07:26:37 +0000 (08:26 +0100)]
Merge branch 'MDL-67417-master' of https://github.com/KietChan/moodle

15 months agoMerge branch 'MDL-67510-master' of git://github.com/junpataleta/moodle
Sara Arjona [Wed, 8 Jan 2020 07:10:52 +0000 (08:10 +0100)]
Merge branch 'MDL-67510-master' of git://github.com/junpataleta/moodle

15 months agoMerge branch 'MDL-67378-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 8 Jan 2020 03:11:45 +0000 (11:11 +0800)]
Merge branch 'MDL-67378-master' of git://github.com/rezaies/moodle

15 months agoMerge branch 'MDL-67376-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 8 Jan 2020 02:40:25 +0000 (10:40 +0800)]
Merge branch 'MDL-67376-master' of git://github.com/rezaies/moodle

15 months agoMerge branch 'MDL-63734-master_hidepassword' of https://github.com/ledship/moodle
Andrew Nicols [Wed, 8 Jan 2020 01:39:06 +0000 (09:39 +0800)]
Merge branch 'MDL-63734-master_hidepassword' of https://github.com/ledship/moodle

15 months agoMerge branch 'MDL-65948-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Wed, 8 Jan 2020 00:50:03 +0000 (08:50 +0800)]
Merge branch 'MDL-65948-master' of git://github.com/junpataleta/moodle

15 months agoMerge branch 'MDL-64764' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 8 Jan 2020 00:30:02 +0000 (08:30 +0800)]
Merge branch 'MDL-64764' of git://github.com/paulholden/moodle

15 months agoMerge branch 'MDL-67449-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 7 Jan 2020 22:43:43 +0000 (23:43 +0100)]
Merge branch 'MDL-67449-master' of git://github.com/andrewnicols/moodle

15 months agoMerge branch 'MDL-67469-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 7 Jan 2020 21:59:17 +0000 (22:59 +0100)]
Merge branch 'MDL-67469-master' of git://github.com/junpataleta/moodle

15 months agoMDL-64764 core_admin: allow to submit empty list of allowed roles.
Marina Glancy [Fri, 13 Dec 2019 21:33:51 +0000 (22:33 +0100)]
MDL-64764 core_admin: allow to submit empty list of allowed roles.

Co-authored-by: Paul Holden <paulh@moodle.com>
15 months agoMerge branch 'MDL-65849-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 7 Jan 2020 05:17:08 +0000 (13:17 +0800)]
Merge branch 'MDL-65849-master' of git://github.com/rezaies/moodle

15 months agoMerge branch 'MDL-66938-master' of https://github.com/grabs/moodle
Andrew Nicols [Tue, 7 Jan 2020 04:40:52 +0000 (12:40 +0800)]
Merge branch 'MDL-66938-master' of https://github.com/grabs/moodle

15 months agoMerge branch 'MDL-58281-file-missing-500' of https://github.com/brendanheywood/moodle
Andrew Nicols [Tue, 7 Jan 2020 03:30:30 +0000 (11:30 +0800)]
Merge branch 'MDL-58281-file-missing-500' of https://github.com/brendanheywood/moodle

15 months agoMDL-67114 mod_wiki: Whitespace fix
Andrew Nicols [Tue, 7 Jan 2020 03:04:41 +0000 (11:04 +0800)]
MDL-67114 mod_wiki: Whitespace fix

15 months agoMerge branch 'MDL-67114' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 7 Jan 2020 01:37:05 +0000 (09:37 +0800)]
Merge branch 'MDL-67114' of https://github.com/stronk7/moodle

15 months agoMerge branch 'MDL-66871-master-v2' of git://github.com/lameze/moodle
Andrew Nicols [Tue, 7 Jan 2020 00:00:01 +0000 (08:00 +0800)]
Merge branch 'MDL-66871-master-v2' of git://github.com/lameze/moodle

15 months agoMerge branch 'MDL-67138-customlang-failures' of https://github.com/brendanheywood...
Andrew Nicols [Mon, 6 Jan 2020 04:57:02 +0000 (12:57 +0800)]
Merge branch 'MDL-67138-customlang-failures' of https://github.com/brendanheywood/moodle

15 months agoMDL-66752 tool_dataprivacy: Add automatic data request approval feature
Jun Pataleta [Thu, 5 Dec 2019 14:17:18 +0000 (22:17 +0800)]
MDL-66752 tool_dataprivacy: Add automatic data request approval feature

15 months agoMDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer
Jun Pataleta [Thu, 12 Dec 2019 12:16:02 +0000 (20:16 +0800)]
MDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer

15 months agoMerge branch 'master_MDL-64610' of https://github.com/golenkovm/moodle
Jake Dallimore [Mon, 6 Jan 2020 02:50:36 +0000 (10:50 +0800)]
Merge branch 'master_MDL-64610' of https://github.com/golenkovm/moodle

15 months agoMDL-66871 calendar: fix deprecated parameter in the phpDoc
Simey Lameze [Mon, 16 Dec 2019 00:39:04 +0000 (08:39 +0800)]
MDL-66871 calendar: fix deprecated parameter in the phpDoc

15 months agoMDL-66871 calendar: add unit test coverage for ics importing
Simey Lameze [Mon, 16 Dec 2019 00:36:56 +0000 (08:36 +0800)]
MDL-66871 calendar: add unit test coverage for ics importing

15 months agoMDL-66871 calendar: fix ics importing logic
Simey Lameze [Mon, 16 Dec 2019 00:36:26 +0000 (08:36 +0800)]
MDL-66871 calendar: fix ics importing logic

15 months agoMerge branch 'MDL-67336-master' of https://github.com/roland04/moodle
Jake Dallimore [Mon, 6 Jan 2020 01:36:36 +0000 (09:36 +0800)]
Merge branch 'MDL-67336-master' of https://github.com/roland04/moodle

15 months agoMDL-67449 grunt: Build ignorefiles from component list
Andrew Nicols [Thu, 19 Dec 2019 00:12:16 +0000 (08:12 +0800)]
MDL-67449 grunt: Build ignorefiles from component list

15 months agoMDL-67449 grunt: Refactor CSS generation
Andrew Nicols [Thu, 19 Dec 2019 00:27:48 +0000 (08:27 +0800)]
MDL-67449 grunt: Refactor CSS generation

15 months agoMDL-67449 grunt: Refactor gherkinlint
Andrew Nicols [Thu, 19 Dec 2019 00:27:29 +0000 (08:27 +0800)]
MDL-67449 grunt: Refactor gherkinlint

15 months agoMDL-67449 grunt: Refactor YUI commands
Andrew Nicols [Thu, 19 Dec 2019 00:25:55 +0000 (08:25 +0800)]
MDL-67449 grunt: Refactor YUI commands

15 months agoMDL-67449 grunt: Refactor watch to use component list
Andrew Nicols [Thu, 19 Dec 2019 00:24:19 +0000 (08:24 +0800)]
MDL-67449 grunt: Refactor watch to use component list

15 months agoMDL-67449 grunt: Refactor path calculation for AMD
Andrew Nicols [Thu, 19 Dec 2019 00:22:41 +0000 (08:22 +0800)]
MDL-67449 grunt: Refactor path calculation for AMD

15 months agoMDL-66938 mod_feedback: Export includes unwanted html in field names
Andreas Grabs [Thu, 17 Oct 2019 07:33:05 +0000 (09:33 +0200)]
MDL-66938 mod_feedback: Export includes unwanted html in field names

15 months agoMDL-67114 core: php74 fix. Fix use of scalar as array in core
Eloy Lafuente (stronk7) [Sat, 2 Nov 2019 19:03:40 +0000 (20:03 +0100)]
MDL-67114 core: php74 fix. Fix use of scalar as array in core

There are various places where it's not guaranteed that the
variable being used is array, and instead, can be null, bool, int...

We need to check that because php74 warns about it.

Where possible we have used the coalesce operator as
replacement for isset() ternary operations.

15 months agoMDL-67114 scssphp: php74 compatibility local fixes
Eloy Lafuente (stronk7) [Sun, 1 Dec 2019 16:44:52 +0000 (17:44 +0100)]
MDL-67114 scssphp: php74 compatibility local fixes

Note they are already available upstream, versions 1.0.4 and up so,
in next upgrade they will be fixed.

15 months agoMDL-67114 mustache: php74 fix. Fix use of scalar as array
Eloy Lafuente (stronk7) [Sat, 2 Nov 2019 15:20:44 +0000 (16:20 +0100)]
MDL-67114 mustache: php74 fix. Fix use of scalar as array

Trying to use values of type null, bool, int, float or resource as an
array (such as $null["key"]) will now generate a notice. This does not
affect array accesses performed by list().

RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container

15 months agoweekly release 3.9dev
Jake Dallimore [Fri, 3 Jan 2020 03:24:56 +0000 (11:24 +0800)]
weekly release 3.9dev

15 months agoNOBUG: Fixed file access permissions
Jake Dallimore [Fri, 3 Jan 2020 03:24:56 +0000 (11:24 +0800)]
NOBUG: Fixed file access permissions

15 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jake Dallimore [Fri, 3 Jan 2020 03:24:53 +0000 (11:24 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

15 months agoAutomatically generated installer lang files
AMOS bot [Fri, 3 Jan 2020 00:12:04 +0000 (00:12 +0000)]
Automatically generated installer lang files

15 months agoMerge branch 'MDL-67599-master' of https://github.com/snake/moodle
Adrian Greeve [Thu, 2 Jan 2020 07:15:00 +0000 (15:15 +0800)]
Merge branch 'MDL-67599-master' of https://github.com/snake/moodle

15 months agoMDL-67599 behat: fix behat tests assuming Jan 2020 is a future date
Jake Dallimore [Thu, 2 Jan 2020 02:28:14 +0000 (10:28 +0800)]
MDL-67599 behat: fix behat tests assuming Jan 2020 is a future date

15 months agoMDL-64610 task: Add support for per-task concurrency limits.
Mikhail Golenkov [Thu, 2 Jan 2020 05:05:47 +0000 (16:05 +1100)]
MDL-64610 task: Add support for per-task concurrency limits.

15 months agoMerge branch 'MDL-65835-master' of git://github.com/abgreeve/moodle
Jun Pataleta [Thu, 2 Jan 2020 03:52:10 +0000 (11:52 +0800)]
Merge branch 'MDL-65835-master' of git://github.com/abgreeve/moodle

15 months agoMDL-65835 plagiarism: Initial deprecation of old functions.
Adrian Greeve [Mon, 16 Dec 2019 06:57:01 +0000 (14:57 +0800)]
MDL-65835 plagiarism: Initial deprecation of old functions.

This is the initial deprecation of:
* plagiarism_save_form_elements
* plagiarism_get_form_elements_module
* plagiarism_plugin::get_form_elements_module
* plagiarism_plugin::save_form_elements

15 months agoMerge branch 'MDL-67598' of https://github.com/stronk7/moodle
Jake Dallimore [Thu, 2 Jan 2020 02:19:07 +0000 (10:19 +0800)]
Merge branch 'MDL-67598' of https://github.com/stronk7/moodle

15 months agoMDL-67138 tool_customlang: Expose errors writing lang files
Brendan Heywood [Tue, 5 Nov 2019 11:26:04 +0000 (22:26 +1100)]
MDL-67138 tool_customlang: Expose errors writing lang files

15 months agoAutomatically generated installer lang files
AMOS bot [Thu, 2 Jan 2020 00:10:15 +0000 (00:10 +0000)]
Automatically generated installer lang files

15 months agoMDL-67598 unit tests: Pass day of month without leading zero
Eloy Lafuente (stronk7) [Wed, 1 Jan 2020 23:06:40 +0000 (00:06 +0100)]
MDL-67598 unit tests: Pass day of month without leading zero

Note this fixes the unit tests. Still the calendar API itself
should be able to manage this cases, both casting (int) or
being stricter about what's allowed there (param hinting).

But that falls out from this issue and the code that introduced
the failures, so the pure unit-test fix has been applied.

15 months agoMerge branch 'MDL-67403-x-redirect-by' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Tue, 31 Dec 2019 11:46:20 +0000 (12:46 +0100)]
Merge branch 'MDL-67403-x-redirect-by' of https://github.com/brendanheywood/moodle

15 months agoMerge branch 'MDL-67385-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 31 Dec 2019 11:44:58 +0000 (12:44 +0100)]
Merge branch 'MDL-67385-master' of git://github.com/rezaies/moodle

15 months agoMerge branch 'MDL-67593-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 31 Dec 2019 09:45:11 +0000 (10:45 +0100)]
Merge branch 'MDL-67593-master' of https://github.com/snake/moodle

15 months agoMDL-67593 core_iplookup: update lang string describing download process
Jake Dallimore [Tue, 31 Dec 2019 07:31:11 +0000 (15:31 +0800)]
MDL-67593 core_iplookup: update lang string describing download process

Let users know they need to register on maxmind before granted download
access.

15 months agoMerge branch 'MDL-63996-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Tue, 31 Dec 2019 07:19:24 +0000 (15:19 +0800)]
Merge branch 'MDL-63996-master' of git://github.com/andrewnicols/moodle

15 months agoMDL-67593 core_iplookup: use MaxMind test database in unit tests
Jake Dallimore [Tue, 31 Dec 2019 06:38:50 +0000 (14:38 +0800)]
MDL-67593 core_iplookup: use MaxMind test database in unit tests

Instead of downloading a live database (now not available publicly)
use a local test database.

15 months agoMerge branch 'MDL-67487-master' of git://github.com/lucaboesch/moodle
Jun Pataleta [Tue, 31 Dec 2019 03:56:07 +0000 (11:56 +0800)]
Merge branch 'MDL-67487-master' of git://github.com/lucaboesch/moodle

15 months agoMerge branch 'MDL-67470-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 31 Dec 2019 03:29:58 +0000 (11:29 +0800)]
Merge branch 'MDL-67470-master' of git://github.com/junpataleta/moodle

15 months agoMDL-67470 theme_boost: settings_menu_proxy correct background
Bas Brands [Wed, 11 Dec 2019 12:53:21 +0000 (13:53 +0100)]
MDL-67470 theme_boost: settings_menu_proxy correct background

the .region_main_settings_proxy was introduced in MDL-56582 using the
wrong bootstrap variable for the background color

15 months agoMDL-58281 files: Correctly handle missing files in readfile_accel
Brendan Heywood [Mon, 30 Dec 2019 03:31:44 +0000 (14:31 +1100)]
MDL-58281 files: Correctly handle missing files in readfile_accel

15 months agoMDL-65948 core_grade: Use category names as master checkbox labels
Jun Pataleta [Wed, 3 Apr 2019 15:39:06 +0000 (23:39 +0800)]
MDL-65948 core_grade: Use category names as master checkbox labels

Use the name of the grade categories as label to distinguish master
checkboxes from regular ones.

15 months agoMDL-65948 core_grade: Use new core/checkbox-toggleall
Jun Pataleta [Fri, 29 Mar 2019 06:31:18 +0000 (14:31 +0800)]
MDL-65948 core_grade: Use new core/checkbox-toggleall

15 months agoMerge branch 'MDL-67233-master' of git://github.com/peterRd/moodle
Adrian Greeve [Mon, 30 Dec 2019 04:50:52 +0000 (12:50 +0800)]
Merge branch 'MDL-67233-master' of git://github.com/peterRd/moodle

15 months agoMerge branch 'MDL-67491-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 30 Dec 2019 04:41:49 +0000 (12:41 +0800)]
Merge branch 'MDL-67491-master' of git://github.com/junpataleta/moodle

15 months agoMerge branch 'MDL-67416' of https://github.com/stronk7/moodle
Adrian Greeve [Mon, 30 Dec 2019 02:48:35 +0000 (10:48 +0800)]
Merge branch 'MDL-67416' of https://github.com/stronk7/moodle

15 months agoMerge branch 'MDL-67380-master' of git://github.com/aanabit/moodle
Jake Dallimore [Mon, 30 Dec 2019 02:40:28 +0000 (10:40 +0800)]
Merge branch 'MDL-67380-master' of git://github.com/aanabit/moodle

15 months agoMerge branch 'MDL-63650-master' of git://github.com/aanabit/moodle
Jun Pataleta [Mon, 30 Dec 2019 02:39:05 +0000 (10:39 +0800)]
Merge branch 'MDL-63650-master' of git://github.com/aanabit/moodle

15 months agoMerge branch 'master-MDL-67467' of https://github.com/yao9394/moodle
Jake Dallimore [Mon, 30 Dec 2019 01:59:20 +0000 (09:59 +0800)]
Merge branch 'master-MDL-67467' of https://github.com/yao9394/moodle

15 months agoMerge branch 'MDL-67523-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Sun, 29 Dec 2019 22:31:59 +0000 (23:31 +0100)]
Merge branch 'MDL-67523-master' of git://github.com/marinaglancy/moodle

15 months agoMerge branch 'MDL-67527-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Sun, 29 Dec 2019 22:26:52 +0000 (23:26 +0100)]
Merge branch 'MDL-67527-master-enfix' of git://github.com/mudrd8mz/moodle

15 months agoMerge branch 'MDL-63107-master' of git://github.com/bmbrands/moodle
Adrian Greeve [Fri, 27 Dec 2019 08:32:59 +0000 (16:32 +0800)]
Merge branch 'MDL-63107-master' of git://github.com/bmbrands/moodle

15 months agoMerge branch 'MDL-65809-master-travisphpbump' of https://github.com/snake/moodle
Adrian Greeve [Fri, 27 Dec 2019 07:43:03 +0000 (15:43 +0800)]
Merge branch 'MDL-65809-master-travisphpbump' of https://github.com/snake/moodle

15 months agoMDL-65809 core: travis min php version set to 7.2 to match requirements
Jake Dallimore [Fri, 27 Dec 2019 06:45:58 +0000 (14:45 +0800)]
MDL-65809 core: travis min php version set to 7.2 to match requirements

15 months agoMerge branch 'MDL-65809-master' of git://github.com/sarjona/moodle
Adrian Greeve [Tue, 24 Dec 2019 06:53:03 +0000 (14:53 +0800)]
Merge branch 'MDL-65809-master' of git://github.com/sarjona/moodle

15 months agoMerge branch 'MDL-60985-master' of git://github.com/lucaboesch/moodle
Jake Dallimore [Tue, 24 Dec 2019 06:44:04 +0000 (14:44 +0800)]
Merge branch 'MDL-60985-master' of git://github.com/lucaboesch/moodle

15 months agoMerge branch 'MDL-66999-master' of git://github.com/bmbrands/moodle
Adrian Greeve [Mon, 23 Dec 2019 06:26:39 +0000 (14:26 +0800)]
Merge branch 'MDL-66999-master' of git://github.com/bmbrands/moodle

15 months agoMDL-67467 Reports: sortable date format in pregress csv report
John Yao [Fri, 6 Dec 2019 02:46:21 +0000 (13:46 +1100)]
MDL-67467 Reports: sortable date format in pregress csv report

date format in csv report should be sortable by date.

15 months agoMerge branch 'master-MDL-67524' of https://github.com/yao9394/moodle
Adrian Greeve [Mon, 23 Dec 2019 02:28:50 +0000 (10:28 +0800)]
Merge branch 'master-MDL-67524' of https://github.com/yao9394/moodle

15 months agoMerge branch 'MDL-67374-master' of git://github.com/rezaies/moodle
Jake Dallimore [Mon, 23 Dec 2019 02:12:01 +0000 (10:12 +0800)]
Merge branch 'MDL-67374-master' of git://github.com/rezaies/moodle

15 months agoMDL-63734 adminlib: Hide password when defined in config.php
Alexander [Fri, 20 Dec 2019 00:30:40 +0000 (13:30 +1300)]
MDL-63734 adminlib: Hide password when defined in config.php

This will hide the password on admin_setting_configpasswordunmask fields when it is already defined in config.php

15 months agoMerge branch 'MDL-59487' of https://github.com/brendanheywood/moodle
Adrian Greeve [Mon, 23 Dec 2019 01:41:04 +0000 (09:41 +0800)]
Merge branch 'MDL-59487' of https://github.com/brendanheywood/moodle

15 months agoMDL-67524 book: fixing view hidden chapter issue
John Yao [Mon, 16 Dec 2019 00:28:04 +0000 (11:28 +1100)]
MDL-67524 book: fixing view hidden chapter issue

* Users who has permission should be able to view after turning editing off

15 months agoAutomatically generated installer lang files
AMOS bot [Sat, 21 Dec 2019 00:10:48 +0000 (00:10 +0000)]
Automatically generated installer lang files

15 months agoMDL-67416 composer: bump to moodle-behat-extension 3.39.1
Eloy Lafuente (stronk7) [Thu, 5 Dec 2019 23:31:04 +0000 (00:31 +0100)]
MDL-67416 composer: bump to moodle-behat-extension 3.39.1

that version already requires php72. The lock file has been
created using that php72 version.

15 months agoMDL-67491 core_message: Primary'fy the contact request counts
Didier 'OdyX' Raboud [Tue, 10 Dec 2019 15:33:59 +0000 (16:33 +0100)]
MDL-67491 core_message: Primary'fy the contact request counts

15 months agoMDL-60985 tool_usertours: Hide next on last, prev on first and primary.
Luca Bösch [Wed, 11 Dec 2019 13:44:45 +0000 (14:44 +0100)]
MDL-60985 tool_usertours: Hide next on last, prev on first and primary.

15 months agoMDL-67487 forms: align "Custom" checkbox for course section name.
Luca Bösch [Tue, 10 Dec 2019 14:34:23 +0000 (15:34 +0100)]
MDL-67487 forms: align "Custom" checkbox for course section name.

15 months agoMDL-65809 upgrade: clean < 3.5.0 upgrade steps
Sara Arjona [Thu, 5 Dec 2019 12:40:24 +0000 (13:40 +0100)]
MDL-65809 upgrade: clean < 3.5.0 upgrade steps

This just deletes all the upgrade steps previous to 3.5.0. Some
small adjustments, like tweaking globals can also be applied
when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2018051700 (v3.5.0) as anti-cheating measure.

Previous commits have removed/deprecated all the upgradelib functions
not used anymore in codebase. Deletion has been documented in corresponding
upgrade.txt files:

- upgrade_fix_block_instance_configuration()
- upgrade_theme_is_from_family(), upgrade_find_theme_location()
and linkcoursesectionsupgradescriptwasrun setting
- upgrade_block_positions
- upgrade_fix_config_auth_plugin_names()
 and upgrade_fix_config_auth_plugin_defaults()
- format_xxx_upgrade_remove_numsections(), format_xxx_upgrade_hide_extra_sections()
and format_xxx_upgrade_add_empty_sections()
- filter_mathjaxloader_upgrade_cdn_cloudflare()
and filter_mathjaxloader_upgrade_mathjaxconfig_equal()
- get_assignments_with_rescaled_null_grades()

These have been kept because continue being used by restore:

- \core\task\refresh_mod_calendar_events_task

15 months agoMDL-65809 upgrade: remove get_assignments_with_rescaled_null_grades
Sara Arjona [Thu, 5 Dec 2019 12:22:10 +0000 (13:22 +0100)]
MDL-65809 upgrade: remove get_assignments_with_rescaled_null_grades

This function was used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
it internal. Deletion has been documented in corresponding
upgrade.txt files.

15 months agoMDL-65809 upgrade: remove filter_mathjaxloader_upgrade_xxx
Sara Arjona [Thu, 5 Dec 2019 12:12:51 +0000 (13:12 +0100)]
MDL-65809 upgrade: remove filter_mathjaxloader_upgrade_xxx

These functions were used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
them internal. Deletion has been documented in corresponding
upgrade.txt files:

    - filter_mathjaxloader_upgrade_cdn_cloudflare()
    - filter_mathjaxloader_upgrade_mathjaxconfig_equal()

15 months agoMDL-65809 upgrade: remove format_xxx_upgrade_remove_numsections
Sara Arjona [Thu, 5 Dec 2019 11:54:53 +0000 (12:54 +0100)]
MDL-65809 upgrade: remove format_xxx_upgrade_remove_numsections

These functions were used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
them internal. Deletion has been documented in corresponding
upgrade.txt files:

    - format_topics_upgrade_remove_numsections()
    - format_topics_upgrade_hide_extra_sections()
    - format_topics_upgrade_add_empty_sections()
    - format_weeks_upgrade_remove_numsections()
    - format_weeks_upgrade_hide_extra_sections()
    - format_weeks_upgrade_add_empty_sections()

15 months agoMDL-65809 upgrade: remove upgrade_fix_config_auth_plugin_names
Sara Arjona [Thu, 5 Dec 2019 11:40:05 +0000 (12:40 +0100)]
MDL-65809 upgrade: remove upgrade_fix_config_auth_plugin_names

These functions were used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
them internal. Deletion has been documented in corresponding
upgrade.txt files:

- upgrade_fix_config_auth_plugin_names()
- upgrade_fix_config_auth_plugin_defaults()

15 months agoMDL-65809 upgrade: remove upgrade_block_positions
Sara Arjona [Thu, 5 Dec 2019 11:11:15 +0000 (12:11 +0100)]
MDL-65809 upgrade: remove upgrade_block_positions

This function was used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
it internal. Deletion has been documented in corresponding
upgrade.txt files.

15 months agoMDL-65809 upgrade: remove upgrade_theme_is_from_family
Sara Arjona [Thu, 5 Dec 2019 11:06:59 +0000 (12:06 +0100)]
MDL-65809 upgrade: remove upgrade_theme_is_from_family

These functions and setting were used only by deleted upgrade steps
so it's safe to proceed with straight deletion, considering
them internal. Deletion has been documented in corresponding
upgrade.txt files:

- upgrade_theme_is_from_family()
- upgrade_find_theme_location()
- linkcoursesectionsupgradescriptwasrun setting

15 months agoMDL-65809 upgrade: remove upgrade_fix_block_instance_configuration
Sara Arjona [Thu, 5 Dec 2019 10:52:23 +0000 (11:52 +0100)]
MDL-65809 upgrade: remove upgrade_fix_block_instance_configuration

The upgrade_fix_block_instance_configuration() function was used
only by deleted upgrade steps so it's safe to proceed with straight
deletion, considering it internal. Deletion has been documented in
corresponding upgrade.txt files.

15 months agoMDL-65809 environment: mbstring extension required
Sara Arjona [Thu, 5 Dec 2019 08:50:53 +0000 (09:50 +0100)]
MDL-65809 environment: mbstring extension required

15 months agoMDL-65809 environment: PHP 7.2 required
Sara Arjona [Thu, 5 Dec 2019 08:49:02 +0000 (09:49 +0100)]
MDL-65809 environment: PHP 7.2 required

15 months agoMDL-65809 environment: postgres requirement up to 9.5
Sara Arjona [Thu, 5 Dec 2019 08:47:26 +0000 (09:47 +0100)]
MDL-65809 environment: postgres requirement up to 9.5

15 months agoMDL-65809 environment: mariadb requirement up to 10.2
Sara Arjona [Thu, 5 Dec 2019 08:46:21 +0000 (09:46 +0100)]
MDL-65809 environment: mariadb requirement up to 10.2