Commit graph

26975 commits

Author SHA1 Message Date
Jun Pataleta
53384db822 Merge branch 'MDL-63996-master' of git://github.com/andrewnicols/moodle 2019-12-31 15:19:24 +08:00
Jake Dallimore
b145fe216c 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.
2019-12-31 15:01:51 +08:00
Brendan Heywood
1fef1de592 MDL-58281 files: Correctly handle missing files in readfile_accel 2019-12-30 17:18:49 +11:00
Jake Dallimore
92b9f472bc Merge branch 'MDL-67380-master' of git://github.com/aanabit/moodle 2019-12-30 10:40:28 +08:00
Adrian Greeve
42d7f7f9e4 Merge branch 'MDL-65809-master' of git://github.com/sarjona/moodle 2019-12-24 14:53:03 +08:00
Adrian Greeve
f00542c485 Merge branch 'MDL-66999-master' of git://github.com/bmbrands/moodle 2019-12-23 14:26:39 +08:00
Jake Dallimore
69eb5980b1 Merge branch 'MDL-67374-master' of git://github.com/rezaies/moodle 2019-12-23 10:12:01 +08:00
Alexander
6ed86eca7a 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
2019-12-23 14:42:53 +13:00
Sara Arjona
a26cfe71d3 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
2019-12-20 12:20:43 +01:00
Sara Arjona
089e918033 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()
2019-12-20 12:20:43 +01:00
Sara Arjona
6f46aa2040 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.
2019-12-20 12:20:43 +01:00
Sara Arjona
f0d3d50273 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
2019-12-20 12:20:43 +01:00
Sara Arjona
c230306957 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.
2019-12-20 12:19:03 +01:00
Amaia Anabitarte
650f0f0829 MDL-67380 lib: Upgrade GeoIP2 lib to 2.10.0 2019-12-20 11:42:00 +01:00
Amaia Anabitarte
04485c2404 MDL-67380 lib: Upgrade MixMind DB reader lib to 1.5.1 2019-12-20 11:42:00 +01:00
Amaia Anabitarte
e0c03d919a MDL-67380 lib: Update GeoIP2 and MaxMind DB reader versions in Moodle 2019-12-20 11:42:00 +01:00
Jun Pataleta
b369b9dae9 Merge branch 'master_MDL-63795_core_setting_defaults' of https://github.com/mattporritt/moodle 2019-12-19 11:17:47 +08:00
Jake Dallimore
24c2106293 Merge branch 'MDL-67483-qos-perf' of https://github.com/brendanheywood/moodle 2019-12-19 09:31:28 +08:00
Matt Porritt
4be93382eb 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.
2019-12-19 12:17:11 +11:00
Brendan Heywood
c7ce7601a3 MDL-67483 tasks: Improvements to adhoc task queue at very high scale 2019-12-19 10:49:16 +10:00
Eloy Lafuente (stronk7)
b4b4c895b2 Merge branch 'MDL-67151-master' of git://github.com/rezaies/moodle 2019-12-18 23:04:40 +01:00
Eloy Lafuente (stronk7)
a9e4fa8e95 Merge branch 'master_MDL-66972_Streaming_file_types' of https://github.com/mattporritt/moodle 2019-12-18 19:39:18 +01:00
Eloy Lafuente (stronk7)
b2e4577c61 Merge branch 'MDL-67388-master-2' of git://github.com/rezaies/moodle 2019-12-18 18:59:38 +01:00
Shamim Rezaie
11a799bbdf MDL-67388 lib: Upgrade babel polyfill to version 7.7.0 2019-12-19 04:12:07 +11:00
Eloy Lafuente (stronk7)
92302a6faa Merge branch 'master_MDL-67433' of https://github.com/golenkovm/moodle 2019-12-18 16:23:43 +01:00
Eloy Lafuente (stronk7)
077fa38a32 Merge branch 'MDL-67381-master' of git://github.com/rezaies/moodle 2019-12-18 16:19:57 +01:00
Brendan Heywood
b07fdd1d6c MDL-67403 weblib: Add support for X-Redirect-By header 2019-12-18 15:02:32 +10:00
Andrew Nicols
0bc0fa8795 MDL-63996 core/tags: Pending JS for all tag code 2019-12-18 12:02:40 +08:00
Mikhail Golenkov
4234159ecd MDL-67433 tool_task: Add limits to adhoc CLI runner. 2019-12-18 11:58:43 +11:00
Eloy Lafuente (stronk7)
08f3363bd0 Merge branch 'MDL-60855-master' of git://github.com/aanabit/moodle
Amended a couple of "depecated" typos
2019-12-18 00:25:11 +01:00
Eloy Lafuente (stronk7)
a12befdcf7 Merge branch 'MDL-67464-master' of git://github.com/sarjona/moodle 2019-12-17 19:34:39 +01:00
Ferran Recio
69d8c40c5b MDL-65775 atto_html: upgrade codemirror to 5.49.2 2019-12-17 16:24:11 +01:00
Eloy Lafuente (stronk7)
acfba73137 Merge branch 'MDL-65722-no-lock-db' of https://github.com/brendanheywood/moodle 2019-12-17 10:10:15 +01:00
Jake Dallimore
27ead4552f Merge branch 'master_MDL-67502' of https://github.com/golenkovm/moodle 2019-12-17 13:36:44 +08:00
Shamim Rezaie
c1c74c7562 MDL-67378 libraries: Add Moodle modifications for Mustache 2019-12-16 18:54:06 +11:00
Shamim Rezaie
ce05b89997 MDL-67378 libraries: Upgrade mustache.js to 3.1.0 2019-12-16 18:52:14 +11:00
Jake Dallimore
a7710625c1 Merge branch 'MDL-67327-master' of git://github.com/andrewnicols/moodle 2019-12-16 15:11:23 +08:00
Andrew Nicols
9b3343adc2 MDL-63996 behat: Fix multi-tag autocomplete usage 2019-12-16 13:57:00 +08:00
Shamim Rezaie
0a534718df MDL-67374 libraries: Update the upgrade instructions 2019-12-16 16:27:07 +11:00
Shamim Rezaie
0df71b23a2 MDL-67374 libraries: Upgrade SimplePie to version 1.5.3 2019-12-16 16:27:07 +11:00
Jake Dallimore
a20b64aaef Merge branch 'MDL-63048-master' of git://github.com/abgreeve/moodle 2019-12-16 10:02:47 +08:00
Mikhail Golenkov
97324e082a MDL-67502 backup: Fix moodle_exception path. 2019-12-13 09:40:38 +11:00
Amaia Anabitarte
2ead888f45 MDL-60855 general: Phase 2 in lib/deprecatedlib.php for 3.5 deprecations 2019-12-12 17:46:36 +01:00
Sara Arjona
d273944857 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.
2019-12-12 16:03:52 +01:00
Bas Brands
40ea67534c MDL-66999 theme_boost: @extend remove extends for tables 2019-12-12 11:27:56 +01:00
Andrew Nicols
5fc84028e9 MDL-67327 js: Make requirejs.php more fault tolerant 2019-12-12 15:58:19 +08:00
Shamim Rezaie
4bee39d31c MDL-67376 libraries: Upgrade loglevel.js to version 1.6.6 2019-12-11 21:28:52 +11:00
Andrew Nicols
f316987483 Merge branch 'MDL-67458-master' of https://github.com/snake/moodle 2019-12-11 10:05:40 +08:00
Brendan Heywood
cdf3fe7b7e MDL-65722 core_lock: Avoid DB calls in postgres lock by using a hash 2019-12-11 12:49:03 +11:00
Jake Dallimore
ae0263de2b MDL-67458 core: removing stale cohortroles and role assignments 2019-12-11 09:34:29 +08:00