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
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
Adrian Greeve [Tue, 24 Dec 2019 06:53:03 +0000 (14:53 +0800)]
Merge branch 'MDL-65809-master' of git://github.com/sarjona/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
Adrian Greeve [Mon, 23 Dec 2019 06:26:39 +0000 (14:26 +0800)]
Merge branch 'MDL-66999-master' of git://github.com/bmbrands/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
Jake Dallimore [Mon, 23 Dec 2019 02:12:01 +0000 (10:12 +0800)]
Merge branch 'MDL-67374-master' of git://github.com/rezaies/moodle
Adrian Greeve [Mon, 23 Dec 2019 01:41:04 +0000 (09:41 +0800)]
Merge branch 'MDL-59487' of https://github.com/brendanheywood/moodle
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
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.
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
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.
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()
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()
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()
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.
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
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.
Sara Arjona [Thu, 5 Dec 2019 08:50:53 +0000 (09:50 +0100)]
MDL-65809 environment: mbstring extension required
Sara Arjona [Thu, 5 Dec 2019 08:49:02 +0000 (09:49 +0100)]
MDL-65809 environment: PHP 7.2 required
Sara Arjona [Thu, 5 Dec 2019 08:47:26 +0000 (09:47 +0100)]
MDL-65809 environment: postgres requirement up to 9.5
Sara Arjona [Thu, 5 Dec 2019 08:46:21 +0000 (09:46 +0100)]
MDL-65809 environment: mariadb requirement up to 10.2
Sara Arjona [Thu, 5 Dec 2019 08:43:56 +0000 (09:43 +0100)]
MDL-65809 environment: 3.5 (LTS) required
Sara Arjona [Thu, 5 Dec 2019 08:41:46 +0000 (09:41 +0100)]
MDL-65809 environment: 3.9 base information
This is a direct copy of the 3.8 branch to have changes
under control easier in next commits.
Eloy Lafuente (stronk7) [Fri, 20 Dec 2019 10:01:55 +0000 (11:01 +0100)]
weekly release 3.9dev
Eloy Lafuente (stronk7) [Fri, 20 Dec 2019 10:01:54 +0000 (11:01 +0100)]
NOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 20 Dec 2019 10:01:52 +0000 (11:01 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 19 Dec 2019 22:01:10 +0000 (23:01 +0100)]
Merge branch 'MDL-67151-master' of git://github.com/rezaies/moodle
Shamim Rezaie [Thu, 19 Dec 2019 14:11:59 +0000 (01:11 +1100)]
MDL-67151 qtype_numerical: convert the tolerance to string before saving
Fix the sqlserver issue when saving a number into a text field
Jun Pataleta [Thu, 19 Dec 2019 03:17:47 +0000 (11:17 +0800)]
Merge branch 'master_MDL-63795_core_setting_defaults' of https://github.com/mattporritt/moodle
Jake Dallimore [Thu, 19 Dec 2019 01:31:28 +0000 (09:31 +0800)]
Merge branch 'MDL-67483-qos-perf' of https://github.com/brendanheywood/moodle
Matt Porritt [Thu, 14 Feb 2019 22:28:10 +0000 (22:28 +0000)]
MDL-63795 Administration: CLI upgrade apply all settings
This patch fixes a regression caused by MDL-62777. MDL-62777 added output to inform
administrators of new default settings. However, the recursion in the code did not
handle new settings made available as the result of the defaults of other settings
being set.
This patch fixes the issue, now all defaults are correctly set, even those exposed
after other defaults are set.
Brendan Heywood [Mon, 9 Dec 2019 23:34:30 +0000 (10:34 +1100)]
MDL-67483 tasks: Improvements to adhoc task queue at very high scale
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 22:04:40 +0000 (23:04 +0100)]
Merge branch 'MDL-67151-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 21:44:35 +0000 (22:44 +0100)]
Merge branch 'MDL-54554-master' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 21:30:28 +0000 (22:30 +0100)]
Merge branch 'MDL-67244-master' of git://github.com/ferranrecio/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 18:55:52 +0000 (19:55 +0100)]
Merge branch 'MDL-64695' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 18:39:18 +0000 (19:39 +0100)]
Merge branch 'master_MDL-66972_Streaming_file_types' of https://github.com/mattporritt/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 17:59:38 +0000 (18:59 +0100)]
Merge branch 'MDL-67388-master-2' of git://github.com/rezaies/moodle
Shamim Rezaie [Thu, 5 Dec 2019 04:53:07 +0000 (15:53 +1100)]
MDL-67388 lib: Upgrade babel polyfill to version 7.7.0
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 16:53:00 +0000 (17:53 +0100)]
Merge branch 'MDL-66332-master' of git://github.com/ferranrecio/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 15:23:43 +0000 (16:23 +0100)]
Merge branch 'master_MDL-67433' of https://github.com/golenkovm/moodle
Eloy Lafuente (stronk7) [Wed, 18 Dec 2019 15:19:57 +0000 (16:19 +0100)]
Merge branch 'MDL-67381-master' of git://github.com/rezaies/moodle
ferran.recio [Thu, 29 Aug 2019 14:23:41 +0000 (16:23 +0200)]
MDL-66332 tool_capability: adding acceptance tests
ferran.recio [Tue, 6 Aug 2019 14:34:45 +0000 (16:34 +0200)]
MDL-66332 too_capability: add show differences option
Mikhail Golenkov [Wed, 18 Dec 2019 00:58:43 +0000 (11:58 +1100)]
MDL-67433 tool_task: Add limits to adhoc CLI runner.
Eloy Lafuente (stronk7) [Tue, 17 Dec 2019 23:29:02 +0000 (00:29 +0100)]
Merge branch 'MDL-60854-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 17 Dec 2019 23:24:09 +0000 (00:24 +0100)]
Merge branch 'MDL-60855-master' of git://github.com/aanabit/moodle
Amended a couple of "depecated" typos
Eloy Lafuente (stronk7) [Tue, 17 Dec 2019 18:34:39 +0000 (19:34 +0100)]
Merge branch 'MDL-67464-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 17 Dec 2019 09:10:15 +0000 (10:10 +0100)]
Merge branch 'MDL-65722-no-lock-db' of https://github.com/brendanheywood/moodle
Jake Dallimore [Tue, 17 Dec 2019 05:46:27 +0000 (13:46 +0800)]
Merge branch 'MDL-67304_master' of git://github.com/dmonllao/moodle
Jake Dallimore [Tue, 17 Dec 2019 05:36:44 +0000 (13:36 +0800)]
Merge branch 'master_MDL-67502' of https://github.com/golenkovm/moodle
Jake Dallimore [Tue, 17 Dec 2019 05:25:02 +0000 (13:25 +0800)]
Merge branch 'MDL-65735' of https://github.com/paulholden/moodle
Jake Dallimore [Tue, 17 Dec 2019 03:08:56 +0000 (11:08 +0800)]
Merge branch 'MDL-67165' of git://github.com/Chocolate-lightning/moodle_forum-project
Mathew May [Wed, 13 Nov 2019 04:13:00 +0000 (12:13 +0800)]
MDL-67165 core_grade: Add the grader name to webservices
Eloy Lafuente (stronk7) [Mon, 16 Dec 2019 23:22:01 +0000 (00:22 +0100)]
Merge branch 'MDL-67522-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 16 Dec 2019 18:18:03 +0000 (19:18 +0100)]
Merge branch 'MDL-67410-master' of https://github.com/felicemcc/moodle
Jake Dallimore [Mon, 16 Dec 2019 07:32:31 +0000 (15:32 +0800)]
Merge branch 'MDL-58827' of https://github.com/paulholden/moodle
Jake Dallimore [Mon, 16 Dec 2019 07:11:23 +0000 (15:11 +0800)]
Merge branch 'MDL-67327-master' of git://github.com/andrewnicols/moodle
Shamim Rezaie [Wed, 11 Dec 2019 12:42:25 +0000 (23:42 +1100)]
MDL-67374 libraries: Update the upgrade instructions
Shamim Rezaie [Wed, 11 Dec 2019 12:41:40 +0000 (23:41 +1100)]
MDL-67374 libraries: Upgrade SimplePie to version 1.5.3
Jake Dallimore [Mon, 16 Dec 2019 02:02:47 +0000 (10:02 +0800)]
Merge branch 'MDL-63048-master' of git://github.com/abgreeve/moodle
Zig Tan [Thu, 11 Jan 2018 05:44:42 +0000 (13:44 +0800)]
MDL-54554 files: Improve unoconv error logging & sanity checks
Jake Dallimore [Mon, 16 Dec 2019 01:11:18 +0000 (09:11 +0800)]
Merge branch 'MDL-66503-master' of git://github.com/abgreeve/moodle
AMOS bot [Sat, 14 Dec 2019 00:10:46 +0000 (00:10 +0000)]
Automatically generated installer lang files
Marina Glancy [Fri, 13 Dec 2019 18:34:44 +0000 (19:34 +0100)]
MDL-67522 core_lock: fix mistype in config-dist
AMOS bot [Fri, 13 Dec 2019 00:11:00 +0000 (00:11 +0000)]
Automatically generated installer lang files
Mikhail Golenkov [Thu, 12 Dec 2019 04:36:52 +0000 (15:36 +1100)]
MDL-67502 backup: Fix moodle_exception path.
Felice Candilio [Fri, 29 Nov 2019 12:26:28 +0000 (13:26 +0100)]
MDL-67410 Enrolments: Casting the perpage parameter to INT
On the course's Participants page, when manually enrolling users
the AJAX call might get excesively slow, due to the treatment
of the perpage parameter as a string, which gets concatenated with the
number 1 (perpage: parseInt(perpage) + 1) instead of performing a
numerical addition.
If there are for example 1500+ users on the site, the method
core_enrol_get_potential_users will be executed with a value of 15001
for the perpage parameter, rendering painfully slow.
Paul Holden [Tue, 3 Dec 2019 22:44:13 +0000 (22:44 +0000)]
MDL-65735 report_progress: reset URL start parameter in initials bars.
Paul Holden [Wed, 4 Dec 2019 10:07:58 +0000 (10:07 +0000)]
MDL-64695 tool_dataprivacy: filter site fullname in outgoing messages.
Paul Holden [Wed, 4 Dec 2019 00:50:28 +0000 (00:50 +0000)]
MDL-64695 privacy: filter site fullname in data export.
Amaia Anabitarte [Mon, 2 Dec 2019 15:47:48 +0000 (16:47 +0100)]
MDL-60854 general: Remove strings deprecated in 3.5
Amaia Anabitarte [Mon, 2 Dec 2019 17:05:30 +0000 (18:05 +0100)]
MDL-60855 general: Phase 2 in lib/deprecatedlib.php for 3.5 deprecations
Sara Arjona [Thu, 5 Dec 2019 14:00:46 +0000 (15:00 +0100)]
MDL-67464 core_h5p: use h5p.com URLs in behat tests
The H5P content used in behat for validating external URLs
behaviour shouldn't point h5p.org because it may stop working
(it's not for real content). These content have been moved to
moodle.h5p.com (payment account).
Besides, the scenarios loading content from external URLs
have been labelel with @external.
Eloy Lafuente (stronk7) [Thu, 12 Dec 2019 12:26:15 +0000 (13:26 +0100)]
weekly release 3.9dev
Eloy Lafuente (stronk7) [Thu, 12 Dec 2019 12:26:12 +0000 (13:26 +0100)]
NOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Thu, 12 Dec 2019 12:26:11 +0000 (13:26 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Bas Brands [Wed, 27 Nov 2019 12:38:09 +0000 (13:38 +0100)]
MDL-66999 theme_boost: @extend phpunit fixes
Bas Brands [Wed, 27 Nov 2019 11:30:52 +0000 (12:30 +0100)]
MDL-66999 theme_boost: @extend extends from bs2compat
Bas Brands [Wed, 27 Nov 2019 11:22:25 +0000 (12:22 +0100)]
MDL-66999 theme_boost: @extend remove extends for users
Bas Brands [Wed, 27 Nov 2019 10:47:46 +0000 (11:47 +0100)]
MDL-66999 theme_boost: @extend remove extends for questions
Bas Brands [Wed, 27 Nov 2019 10:11:16 +0000 (11:11 +0100)]
MDL-66999 theme_boost: @extend remove extends for grades
Bas Brands [Wed, 27 Nov 2019 09:49:19 +0000 (10:49 +0100)]
MDL-66999 theme_boost: @extend remove extends for tables
Andrew Nicols [Thu, 12 Dec 2019 07:58:19 +0000 (15:58 +0800)]
MDL-67327 js: Make requirejs.php more fault tolerant
Ferran Recio [Wed, 11 Dec 2019 15:55:03 +0000 (16:55 +0100)]
MDL-67154 theme_classic: fixing firefox printing
AMOS bot [Wed, 11 Dec 2019 13:49:59 +0000 (13:49 +0000)]
Automatically generated installer lang files
Andrew Nicols [Wed, 11 Dec 2019 02:05:40 +0000 (10:05 +0800)]
Merge branch 'MDL-67458-master' of https://github.com/snake/moodle
Brendan Heywood [Mon, 14 Oct 2019 14:06:30 +0000 (01:06 +1100)]
MDL-65722 core_lock: Avoid DB calls in postgres lock by using a hash
Jake Dallimore [Fri, 6 Dec 2019 07:03:21 +0000 (15:03 +0800)]
MDL-67458 core: removing stale cohortroles and role assignments
Jake Dallimore [Fri, 6 Dec 2019 02:34:58 +0000 (10:34 +0800)]
MDL-67458 tool_cohortroles: remove role mapping for deleted roles
Before syncing anything, clean up records pointing to deleted roles.
Adrian Greeve [Tue, 10 Dec 2019 08:30:12 +0000 (16:30 +0800)]
MDL-66503 themes: Set the embed page to display block.
Eloy Lafuente (stronk7) [Tue, 10 Dec 2019 11:49:36 +0000 (12:49 +0100)]
Merge branch 'MDL-67371-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 10 Dec 2019 09:28:49 +0000 (17:28 +0800)]
Merge branch 'MDL-67434-master' of git://github.com/junpataleta/moodle
Jake Dallimore [Tue, 10 Dec 2019 07:26:41 +0000 (15:26 +0800)]
Merge branch 'MDL-66936-master' of git://github.com/marinaglancy/moodle
Jake Dallimore [Tue, 10 Dec 2019 07:01:40 +0000 (15:01 +0800)]
Merge branch 'MDL-67179' of git://github.com/Chocolate-lightning/moodle
Andrew Nicols [Tue, 10 Dec 2019 04:48:54 +0000 (12:48 +0800)]
Merge branch 'MDL-67277-master-strongtopics' of git://github.com/mudrd8mz/moodle
Jake Dallimore [Tue, 10 Dec 2019 03:53:29 +0000 (11:53 +0800)]
Merge branch 'MDL-67154-master' of git://github.com/ferranrecio/moodle
Jake Dallimore [Tue, 10 Dec 2019 03:21:49 +0000 (11:21 +0800)]
Merge branch 'MDL-67362-antivirus-config-log' of https://github.com/brendanheywood/moodle
Jake Dallimore [Tue, 10 Dec 2019 02:36:54 +0000 (10:36 +0800)]
Merge branch 'MDL-67451-master' of git://github.com/sarjona/moodle