9029 Commits

Author SHA1 Message Date
Marina Glancy
6f6586b164 MDL-73564 webservice: make sure to require webservice lib once 2022-01-12 13:19:58 +01:00
Shamim Rezaie
9142285ad6 Merge branch 'MDL-69555-master' of git://github.com/jleyva/moodle 2022-01-12 14:41:48 +11:00
Andrew Nicols
f90d35580c Merge branch 'MDL-73474-master' of https://github.com/aanabit/moodle 2022-01-12 11:06:40 +08:00
Sara Arjona
65d56fa87b MDL-73546 tool_admin_presets: Fix link error in logs 2022-01-11 17:14:37 +01:00
Juan Leyva
34ceeb4883 MDL-69555 tool_mobile: Allow set auto-login min request time 2022-01-11 14:07:30 +01:00
Juan Leyva
80a9eef971 MDL-69555 tool_mobile: Allow to set QR login keys duration time 2022-01-11 14:07:30 +01:00
Amaia Anabitarte
bb056ca1f1 MDL-73474 tool_admin_presets: Remove unused strings 2022-01-11 11:38:46 +01:00
Huong Nguyen
1ac6a82e1f MDL-72809 Themes: Fix the missing 'Reset user tour on this page' link 2022-01-07 17:03:32 +07:00
Jun Pataleta
c0ec69a3aa Merge branch 'MDL-73352' of https://github.com/stronk7/moodle 2022-01-04 21:25:53 +08:00
Amaia Anabitarte
570d2e7492 MDL-73397 adminpresets: Remove tree-view 2022-01-04 12:13:19 +01:00
Sara Arjona
e046c6e6ef MDL-73397 admin: Use method from new core_adminpresets
In MDL-73145, a new $CFG setting was added to let define the preset
to be installed.
This patch replaces the method call to the new one that has been
moved from tool_admin_presets plugin to core_adminpresets component.
2022-01-04 12:13:19 +01:00
Sara Arjona
1f47ef1a34 MDL-73397 adminpresets: Move sensiblesettings to core
The sensiblesettings setting has been moved from tool_admin_presets
to adminpresets component where it belongs, in order for being able
to use it from the API to decide whether sensible settings should
be included when exporting them.
2022-01-04 12:13:19 +01:00
Sara Arjona
8bf52e3195 MDL-73397 tool_admin_presets: Move data and API methods to new component
A new component has been created, core_adminpresets, and tables and some
API methods from this tool have been moved there, so it can spread over
other plugins.
Currently, the tool_admin_presets plugin only provides the UI to interact
with the core adminpresets stuff.
2022-01-04 12:13:19 +01:00
Eloy Lafuente (stronk7)
511801cb46 MDL-73352 phpunit: lib_test and locallib_test testcase names
All lib_test and locallib_test classes:

- Namespaced with component (and API whenever makes sense).
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed or add new uses.
- All them passing individually.
- Complete runs passing too.

Special mention to tests under login/tests:

1) The core_login component doesn't exist.
2) But login/tests are allowed because there is a suite pointing to it (phpunit.xml).
3) So, the only possible namespace for them is "core".
4) And to avoid problems with other core testcases (under lib/tests)
   they have been renamed to have login_xxxx as prefix.
2021-12-30 16:21:42 +01:00
Shamim Rezaie
2eaab7ec3e Merge branch 'MDL-73394-master' of https://github.com/sarjona/moodle 2021-12-30 16:10:27 +11:00
Sara Arjona
bfa24ae53a MDL-73394 admin_presets: New setting to store last preset applied
A new setting has been added to config_plugins to store the last
preset identifier applied.
2021-12-23 16:07:57 +01:00
Simey Lameze
076fba92c1 MDL-72845 core: make showservicesandsupport parameter optional 2021-12-23 16:22:17 +08:00
Jun Pataleta
80c17cd2a0 Merge branch 'MDL-72701-master' of https://github.com/andrewnicols/moodle 2021-12-23 12:10:46 +08:00
Jun Pataleta
057f312cff Merge branch 'MDL-72845-master' of https://github.com/lameze/moodle 2021-12-23 10:49:44 +08:00
Sara Arjona
cf651a1ed4 Merge branch 'MDL-73298-master' of https://github.com/bmbrands/moodle 2021-12-22 16:50:25 +01:00
Sara Arjona
5d87a70f37 Merge branch 'MDL-73256' of git://github.com/paulholden/moodle 2021-12-22 16:39:42 +01:00
Simey Lameze
9dc03a9e36 MDL-72845 core: add services and support content banner 2021-12-22 19:46:49 +08:00
Simey Lameze
c3cb372e62 MDL-72845 core: make campaign template more generic 2021-12-22 19:42:49 +08:00
Shamim Rezaie
dacfebedf3 Merge branch 'MDL-73348' of https://github.com/stronk7/moodle 2021-12-22 21:19:52 +11:00
Jun Pataleta
938ed7bbe7 Merge branch 'MDL-73379' of git://github.com/paulholden/moodle 2021-12-22 05:54:03 +08:00
Paul Holden
7d61928cfb MDL-73379 admin: consistent secondary navigation on settings pages.
Co-authored-by: Adrian Greeve <adrian@moodle.com>
2021-12-21 17:02:56 +00:00
Jun Pataleta
e9bd499fb1 Merge branch 'MDL-72867-master' of https://github.com/HuongNV13/moodle 2021-12-21 11:23:09 +08:00
Andrew Nicols
3a70983d53 MDL-72701 unit tests: Generate default coverage 2021-12-21 09:24:00 +08:00
Andrew Nicols
bb9741d472 MDL-72701 unit tests: Fix broken @covers annotations 2021-12-21 09:24:00 +08:00
Simey Lameze
f88bcdb041 MDL-72984 cli: add support email option to cli install 2021-12-20 13:24:38 +08:00
Simey Lameze
eadf157068 MDL-72984 admin: make support email setting mandatory 2021-12-20 13:22:35 +08:00
Eloy Lafuente (stronk7)
e4a2d9c1d4 MDL-73348 phpunit: normalize all privacy provider tests
As far as now all them have correct privacy level2 namespace:
- Move them to "privacy" subdir.
- Rename the files to "provider_test.php", this includes old
  privacy_test.php and privacy_provider_test.php files
- Rename the testcase to provider_test too (to match file name)

Also, change some relative paths and comments to point to new
locations.
2021-12-17 14:21:02 +01:00
Eloy Lafuente (stronk7)
57e6fb7ad9 MDL-73348 phpunit: privacy and privacy_provider testcase names
All privacy_test and privacy_provider_test classes:

- Namespaced with component\privacy.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Renamed a few files to make all be privacy_test or privacy_provider_test.php
- All them passing individually.
- Complete runs passing too.
2021-12-17 14:21:02 +01:00
Ilya Tregubov
04395977e9 MDL-72873 behat: Fix behat tests. 2021-12-16 17:25:17 +02:00
Ilya Tregubov
d051e7dc02 Merge branch 'MDL-72873-master-v1' of https://github.com/mihailges/moodle 2021-12-16 10:21:48 +02:00
Eloy Lafuente (stronk7)
4428a025de Merge branch 'MDL-73145-master' of https://github.com/sarjona/moodle 2021-12-15 18:34:47 +01:00
Mihail Geshoski
17bfe7e79f MDL-72873 behat: Update behat tests 2021-12-16 00:10:13 +08:00
Mihail Geshoski
de53412989 MDL-72873 core_grades: Remove $CFG->grade_navmethod
The $CFG->grade_navmethod setting has been removed because it is not
required anymore. This setting was used to set the type of navigation
(tabs or dropdown box) which will be used in gradebook. However, these
navigation methods are no longer used and replaced with tertiary
navigation.
2021-12-16 00:10:13 +08:00
Sara Arjona
731b181621 Merge branch 'MDL-73318-master' of https://github.com/andrewnicols/moodle 2021-12-15 09:38:45 +01:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Ilya Tregubov
9e5ffa2229 Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle 2021-12-13 18:46:16 +02:00
Sara Arjona
29649e2d6f Merge branch 'MDL-73231' of https://github.com/Chocolate-lightning/moodle 2021-12-13 16:31:43 +01:00
Mathew May
54e098c5a5 MDL-73231 my: Allow my courses to be a homepage 2021-12-13 22:43:28 +08:00
Ilya Tregubov
16a7c3a698 Merge branch 'MDL-72413-master-dec13' of https://github.com/peterRd/moodle 2021-12-13 09:35:14 +02:00
Peter Dias
710c04d5ee MDL-72413 core: Disable the default activity header 2021-12-13 09:49:35 +08:00
Ilya Tregubov
6f44f008d8 Merge branch 'MDL-73278' of https://github.com/stronk7/moodle 2021-12-10 18:51:40 +02:00
Andrew Nicols
f4a828d4ae MDL-73318 tool_componentlibrary: Use innerText instead of innerHTML
Some characters will be encoded for display in HTML which will affect
the process of JS evaluation. For example, the ` => ` sequence used for
fat-arrow syntax will be set as `=&gt;` in the HTML source.

To process the JS the innerText must be used instead.
2021-12-10 06:21:17 +08:00
Eloy Lafuente (stronk7)
de66ba356e t checkout MOODLE_311_STABLE && git fetch https://github.com/mudrd8mz/moodle.git MDL-73201-311-enfix && git merge --no-ff FETCH_HEAD
Merge branch 'MDL-73201-master-enfix' of https://github.com/mudrd8mz/moodle
2021-12-09 23:18:03 +01:00
Helen Foster
558b4c826d MDL-73201 lang: Import fixed English strings (en_fix) 2021-12-09 19:53:10 +01:00
Sara Arjona
42895003e4 MDL-73145 install: Apply site preset if defined in config
A new setting, $CFG->setsitepresetduringinstall, has been added to
config file, to let admins define the site admin preset to be applied
during the Moodle installation.

Besides, a new parameter, "--sitepreset" has been also added
to admin/cli/install.php, to let define it too when running the
upgrade process using CLI.
2021-12-09 09:48:44 +01:00