Commit graph

8287 commits

Author SHA1 Message Date
Paul Holden
7eeea538d2 MDL-67245 group: Behat updates to account for member identity fields. 2020-01-17 12:42:20 +00:00
Andrew Nicols
836060be8b Merge branch 'MDL-67384-master' of git://github.com/rezaies/moodle 2020-01-16 10:24:40 +08:00
Andrew Nicols
20a7746b1e Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle 2020-01-15 12:40:19 +08:00
[Peter Burnett]
147a895ad0 MDL-59562 upgrade: Plugins can declare supported moodle versions
* Plugins can now explicitly declare supported and incompatible Moodle
  versions in version.php
  - $plugin->supported[37,39];
    supported takes an array of ascending numbers, that correspond to a
    range of branch numbers of supported versions, inclusive. Moodle
    versions that are outside of this range will produce a message
    notifying at install time, but will allow for installation.

  - $plugin->incompatible = 36;
    incompatible takes a single int corresponding to the first incompatible
    branch. Any Moodle versions including and below this will be prevented
    from installing the plugin, and a message will be given when
    attempting installation.
2020-01-15 14:38:27 +10:00
Brendan Heywood
b15c53f4fa MDL-59594 cron: Allow graceful exit of cron and adhoc task cli's 2020-01-12 01:24:03 +11:00
Brendan Heywood
859ed92f9d MDL-65812 session: Increase default timeout and allow larger periods 2020-01-11 23:17:35 +11:00
Sara Arjona
da5f054d6e Merge branch 'MDL-66752-master-2' of git://github.com/junpataleta/moodle 2020-01-08 14:40:01 +01:00
Sara Arjona
9fea68644e Merge branch 'MDL-67510-master' of git://github.com/junpataleta/moodle 2020-01-08 08:10:52 +01:00
Andrew Nicols
379e26bfba Merge branch 'MDL-63734-master_hidepassword' of https://github.com/ledship/moodle 2020-01-08 09:39:06 +08:00
Andrew Nicols
52aa532e64 Merge branch 'MDL-64764' of git://github.com/paulholden/moodle 2020-01-08 08:30:02 +08:00
Eloy Lafuente (stronk7)
2aad3ce228 Merge branch 'MDL-67469-master' of git://github.com/junpataleta/moodle 2020-01-07 22:59:17 +01:00
Marina Glancy
95dfd8e0de MDL-64764 core_admin: allow to submit empty list of allowed roles.
Co-authored-by: Paul Holden <paulh@moodle.com>
2020-01-07 10:01:23 +00:00
Andrew Nicols
fca2851fce Merge branch 'MDL-67138-customlang-failures' of https://github.com/brendanheywood/moodle 2020-01-06 12:57:02 +08:00
Jun Pataleta
12c1e8b2ff MDL-66752 tool_dataprivacy: Add automatic data request approval feature 2020-01-06 11:40:31 +08:00
Jun Pataleta
a6b236326b MDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer 2020-01-06 11:36:09 +08:00
Brendan Heywood
a8dd576608 MDL-67138 tool_customlang: Expose errors writing lang files 2020-01-02 12:17:09 +11:00
Eloy Lafuente (stronk7)
c5fb4dc40f Merge branch 'MDL-67523-master' of git://github.com/marinaglancy/moodle 2019-12-29 23:31:59 +01:00
Eloy Lafuente (stronk7)
a0ba8feef6 Merge branch 'MDL-67527-master-enfix' of git://github.com/mudrd8mz/moodle 2019-12-29 23:26:52 +01:00
Adrian Greeve
42d7f7f9e4 Merge branch 'MDL-65809-master' of git://github.com/sarjona/moodle 2019-12-24 14:53:03 +08:00
Jake Dallimore
c39da484f2 Merge branch 'MDL-60985-master' of git://github.com/lucaboesch/moodle 2019-12-24 14:44:04 +08:00
Adrian Greeve
f00542c485 Merge branch 'MDL-66999-master' of git://github.com/bmbrands/moodle 2019-12-23 14:26:39 +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
Adrian Greeve
0c75251509 Merge branch 'MDL-59487' of https://github.com/brendanheywood/moodle 2019-12-23 09:41:04 +08:00
Luca Bösch
3bd2e330ab MDL-60985 tool_usertours: Hide next on last, prev on first and primary. 2019-12-20 13:53:18 +01: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
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
Sara Arjona
ad7fcff3b7 MDL-65809 environment: mbstring extension required 2019-12-20 12:19:02 +01:00
Sara Arjona
64f2200a7d MDL-65809 environment: PHP 7.2 required 2019-12-20 12:19:02 +01:00
Sara Arjona
2e151145e8 MDL-65809 environment: postgres requirement up to 9.5 2019-12-20 12:19:02 +01:00
Sara Arjona
d83a2d7f55 MDL-65809 environment: mariadb requirement up to 10.2 2019-12-20 12:19:02 +01:00
Sara Arjona
70f279bec9 MDL-65809 environment: 3.5 (LTS) required 2019-12-20 12:19:02 +01:00
Sara Arjona
14557b5a84 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.
2019-12-20 12:19:02 +01:00
Marina Glancy
4e4e6311a5 MDL-67523 core_admin: do not require admin to view category
Revert changes from MDL-58439 (in this file only)
2019-12-19 10:13:38 +01:00
Helen Foster
824c87f370 MDL-67527 lang: Import fixed English strings (en_fix) 2019-12-18 21:23:46 +01:00
Eloy Lafuente (stronk7)
cc8e0d5074 Merge branch 'MDL-64695' of https://github.com/paulholden/moodle 2019-12-18 19:55:52 +01:00
Eloy Lafuente (stronk7)
153fd2688c Merge branch 'MDL-66332-master' of git://github.com/ferranrecio/moodle 2019-12-18 17:53:00 +01:00
Eloy Lafuente (stronk7)
92302a6faa Merge branch 'master_MDL-67433' of https://github.com/golenkovm/moodle 2019-12-18 16:23:43 +01:00
ferran.recio
178be88e97 MDL-66332 tool_capability: adding acceptance tests 2019-12-18 14:24:38 +01:00
ferran.recio
e96bbb53af MDL-66332 too_capability: add show differences option 2019-12-18 14:23:41 +01:00
Mikhail Golenkov
4234159ecd MDL-67433 tool_task: Add limits to adhoc CLI runner. 2019-12-18 11:58:43 +11:00
Jake Dallimore
70a19cc9dd Merge branch 'MDL-58827' of https://github.com/paulholden/moodle 2019-12-16 15:32:31 +08:00
Jake Dallimore
a20b64aaef Merge branch 'MDL-63048-master' of git://github.com/abgreeve/moodle 2019-12-16 10:02:47 +08:00
Jun Pataleta
41e7fe1d49 MDL-67469 tool_dataprivacy: Put back missing test code
This patch simply brings back the missing test code for
\tool_dataprivacy_api_testcase::test_approve_data_request_non_dpo_user()
2019-12-13 10:04:29 +08:00
Paul Holden
d7367ecafa MDL-64695 tool_dataprivacy: filter site fullname in outgoing messages. 2019-12-12 18:20:13 +00:00
Bas Brands
40ea67534c MDL-66999 theme_boost: @extend remove extends for tables 2019-12-12 11:27:56 +01:00
Andrew Nicols
f316987483 Merge branch 'MDL-67458-master' of https://github.com/snake/moodle 2019-12-11 10:05:40 +08:00
Jake Dallimore
94eabe36df MDL-67458 tool_cohortroles: remove role mapping for deleted roles
Before syncing anything, clean up records pointing to deleted roles.
2019-12-11 09:33:10 +08:00
Shamim Rezaie
d2dcb0d082 MDL-67384 tool_policy: Upgrade jQuery EU Cookie Law popups to 1.1.3 2019-12-10 18:38:08 +11:00