moodle.git
5 months agoon-demand release 4.0dev+
Ilya Tregubov [Fri, 28 Jan 2022 18:17:19 +0000 (20:17 +0200)]
on-demand release 4.0dev+

5 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Ilya Tregubov [Fri, 28 Jan 2022 18:17:18 +0000 (20:17 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

5 months agoMDL-73188 tool_usertours: Fix validation of text content
Jun Pataleta [Fri, 28 Jan 2022 12:48:49 +0000 (20:48 +0800)]
MDL-73188 tool_usertours: Fix validation of text content

5 months agoMerge branch 'MDL-72089' of https://github.com/stronk7/moodle
Sara Arjona [Fri, 28 Jan 2022 07:51:43 +0000 (08:51 +0100)]
Merge branch 'MDL-72089' of https://github.com/stronk7/moodle

5 months agoMerge branch 'MDL-73337-fix' of https://github.com/sarjona/moodle
Ilya Tregubov [Fri, 28 Jan 2022 07:43:53 +0000 (09:43 +0200)]
Merge branch 'MDL-73337-fix' of https://github.com/sarjona/moodle

5 months agoMDL-73337 quiz: Fix PHPUnit errors with missing context_module
Sara Arjona [Fri, 28 Jan 2022 07:38:59 +0000 (08:38 +0100)]
MDL-73337 quiz: Fix PHPUnit errors with missing context_module

5 months agoMerge branch 'MDL-72852-master-fix' of https://github.com/sarjona/moodle
Shamim Rezaie [Fri, 28 Jan 2022 03:58:37 +0000 (14:58 +1100)]
Merge branch 'MDL-72852-master-fix' of https://github.com/sarjona/moodle

5 months agoMDL-73470 tool_componentlibrary: Fix illegal whitespace
Jun Pataleta [Fri, 28 Jan 2022 03:47:13 +0000 (11:47 +0800)]
MDL-73470 tool_componentlibrary: Fix illegal whitespace

5 months agoMerge branch 'MDL-73470' of https://github.com/roland04/moodle
Jun Pataleta [Fri, 28 Jan 2022 03:02:01 +0000 (11:02 +0800)]
Merge branch 'MDL-73470' of https://github.com/roland04/moodle

5 months agoMerge branch 'MDL-73210-master-2' of https://github.com/HuongNV13/moodle
Víctor Déniz [Fri, 28 Jan 2022 01:09:36 +0000 (01:09 +0000)]
Merge branch 'MDL-73210-master-2' of https://github.com/HuongNV13/moodle

5 months agoMerge branch 'MDL-72937' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 27 Jan 2022 23:25:52 +0000 (00:25 +0100)]
Merge branch 'MDL-72937' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-73216-master' of https://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Thu, 27 Jan 2022 23:23:48 +0000 (00:23 +0100)]
Merge branch 'MDL-73216-master' of https://github.com/bmbrands/moodle

5 months agoMDL-73337 Quiz: Editing quizzes should be logged in detail
Tien Nguyen [Fri, 17 Dec 2021 09:40:59 +0000 (16:40 +0700)]
MDL-73337 Quiz: Editing quizzes should be logged in detail

5 months agoMerge branch 'MDL-73375-master' of https://github.com/bmbrands/moodle
Ilya Tregubov [Thu, 27 Jan 2022 15:10:45 +0000 (17:10 +0200)]
Merge branch 'MDL-73375-master' of https://github.com/bmbrands/moodle

5 months agoMerge branch 'MDL-67853-master' of https://github.com/crazyserver/moodle
Ilya Tregubov [Thu, 27 Jan 2022 14:41:19 +0000 (16:41 +0200)]
Merge branch 'MDL-67853-master' of https://github.com/crazyserver/moodle

5 months agoMDL-67853 message: Translate user message preference from restore and WS
Pau Ferrer Ocaña [Fri, 10 Dec 2021 11:40:38 +0000 (12:40 +0100)]
MDL-67853 message: Translate user message preference from restore and WS

5 months agoMDL-67853 message: Adapt tests removing online/offline settings
Pau Ferrer Ocaña [Wed, 29 Jan 2020 15:45:32 +0000 (16:45 +0100)]
MDL-67853 message: Adapt tests removing online/offline settings

5 months agoMDL-67853 message: Remove on/offline settings on message preferences
Pau Ferrer Ocaña [Wed, 29 Jan 2020 15:45:32 +0000 (16:45 +0100)]
MDL-67853 message: Remove on/offline settings on message preferences

5 months agoMDL-67853 message: Update notification config and preferences
Pau Ferrer Ocaña [Tue, 25 Jan 2022 15:01:10 +0000 (16:01 +0100)]
MDL-67853 message: Update notification config and preferences

5 months agoMerge branch 'MDL-73588-master-curlfile' of https://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Thu, 27 Jan 2022 11:16:51 +0000 (12:16 +0100)]
Merge branch 'MDL-73588-master-curlfile' of https://github.com/mudrd8mz/moodle

5 months agoMerge branch 'MDL-73562-master' of https://github.com/bmbrands/moodle
Sara Arjona [Thu, 27 Jan 2022 10:24:30 +0000 (11:24 +0100)]
Merge branch 'MDL-73562-master' of https://github.com/bmbrands/moodle

5 months agoMerge branch 'MDL-73500' of https://github.com/stronk7/moodle
Shamim Rezaie [Thu, 27 Jan 2022 00:37:47 +0000 (11:37 +1100)]
Merge branch 'MDL-73500' of https://github.com/stronk7/moodle

5 months agoMDL-72089 behat: Need to hover the cards to make the buttons visible
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 22:15:48 +0000 (23:15 +0100)]
MDL-72089 behat: Need to hover the cards to make the buttons visible

Kudos to Chrome that detected this. The buttons are now not visible
until you hover the course card. Hence, we have to do the same with
extra behat step, to allow the following click to work.

5 months agoMDL-72852 badges: Improve performance to display Badges nav
Sara Arjona [Wed, 26 Jan 2022 08:25:31 +0000 (09:25 +0100)]
MDL-72852 badges: Improve performance to display Badges nav

The course_get_user_navigation_options() is called on each request
from the add_course_essentials() method, to initialise the basic
navigation options that are available or not for the current user.
This information is not always displayed in boost (for
instance, in a module page), but it might be required by some blocks,
like Navigation.
However, this block is hidden by default in boost since MDL-73347,
so at any point we should check if it's possible to change the way
this navigations options is loaded, to only get this information
when it's strictly required.

5 months agoMDL-73188 usertours: Fix language string key typo
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 09:29:49 +0000 (10:29 +0100)]
MDL-73188 usertours: Fix language string key typo

5 months agoMerge branch 'MDL-72089' of https://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 09:23:01 +0000 (10:23 +0100)]
Merge branch 'MDL-72089' of https://github.com/Chocolate-lightning/moodle

5 months agoMerge branch 'MDL-72626-master' of https://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 09:16:27 +0000 (10:16 +0100)]
Merge branch 'MDL-72626-master' of https://github.com/sarjona/moodle

5 months agoMerge branch 'MDL-73314-master' of https://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 08:36:30 +0000 (09:36 +0100)]
Merge branch 'MDL-73314-master' of https://github.com/andrewnicols/moodle

5 months agoMerge branch 'MDL-71706' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 07:45:06 +0000 (08:45 +0100)]
Merge branch 'MDL-71706' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-71711' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jan 2022 07:40:46 +0000 (08:40 +0100)]
Merge branch 'MDL-71711' of https://github.com/paulholden/moodle

5 months agoAutomatically generated installer lang files
AMOS bot [Wed, 26 Jan 2022 00:07:39 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 months agoMDL-73470 tool_componentlibrary: Documentation for toggle input
Mikel Martín [Mon, 17 Jan 2022 16:26:14 +0000 (17:26 +0100)]
MDL-73470 tool_componentlibrary: Documentation for toggle input

5 months agoMDL-73470 core: Move toggle template to core
Mikel Martín [Wed, 19 Jan 2022 11:13:04 +0000 (12:13 +0100)]
MDL-73470 core: Move toggle template to core

5 months agoMDL-73375 theme_boost: main page scrollbars
Bas Brands [Tue, 11 Jan 2022 11:49:54 +0000 (12:49 +0100)]
MDL-73375 theme_boost: main page scrollbars

match scrollbars for courseindex and main page

5 months agoMDL-73216 theme_boost: fix mobile primary nav
Bas Brands [Tue, 14 Dec 2021 10:54:23 +0000 (11:54 +0100)]
MDL-73216 theme_boost: fix mobile primary nav

5 months agoMDL-73562 core_contentbank: alignment fixes
Bas Brands [Wed, 12 Jan 2022 12:08:26 +0000 (13:08 +0100)]
MDL-73562 core_contentbank: alignment fixes

5 months agoMDL-72626 lib: Set Moodle files after RTLCSS upgrade
Sara Arjona [Tue, 25 Jan 2022 08:20:34 +0000 (09:20 +0100)]
MDL-72626 lib: Set Moodle files after RTLCSS upgrade

5 months agoMDL-72626 lib: Upgrade RTLCSS to 1.0.1
Sara Arjona [Tue, 25 Jan 2022 08:19:59 +0000 (09:19 +0100)]
MDL-72626 lib: Upgrade RTLCSS to 1.0.1

5 months agoMerge branch 'MDL-72852-master' of https://github.com/sarjona/moodle
Shamim Rezaie [Tue, 25 Jan 2022 02:34:01 +0000 (13:34 +1100)]
Merge branch 'MDL-72852-master' of https://github.com/sarjona/moodle

5 months agoMerge branch 'MDL-73638' of https://github.com/paulholden/moodle
Shamim Rezaie [Tue, 25 Jan 2022 02:15:26 +0000 (13:15 +1100)]
Merge branch 'MDL-73638' of https://github.com/paulholden/moodle

5 months agoMDL-73635 tool_componentlibrary: Removed extra whitespaces
Shamim Rezaie [Tue, 25 Jan 2022 00:36:17 +0000 (11:36 +1100)]
MDL-73635 tool_componentlibrary: Removed extra whitespaces

5 months agoMerge branch 'MDL-73635-master' of https://github.com/junpataleta/moodle
Shamim Rezaie [Tue, 25 Jan 2022 00:03:06 +0000 (11:03 +1100)]
Merge branch 'MDL-73635-master' of https://github.com/junpataleta/moodle

5 months agoMerge branch 'MDL-73068-master-2' of git://github.com/mickhawkins/moodle
Shamim Rezaie [Mon, 24 Jan 2022 23:55:47 +0000 (10:55 +1100)]
Merge branch 'MDL-73068-master-2' of git://github.com/mickhawkins/moodle

5 months agoMerge branch 'MDL-71889' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 24 Jan 2022 23:14:51 +0000 (00:14 +0100)]
Merge branch 'MDL-71889' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-73188-master-3' of https://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Mon, 24 Jan 2022 23:06:30 +0000 (00:06 +0100)]
Merge branch 'MDL-73188-master-3' of https://github.com/HuongNV13/moodle

5 months agoMDL-73588 curl: Fix expected CURLOPT_FILE behavior
Frode Petterson [Sun, 16 Jan 2022 22:28:25 +0000 (23:28 +0100)]
MDL-73588 curl: Fix expected CURLOPT_FILE behavior

After cbf9dfb the CURLOPT_FILE no longer behaves as expected. All
redirect responses are appended to the same stream resource.  This fix
reverts back to the old behavior by setting the stream pointer back to
the beginning for each subsequent redirect.

5 months agoMDL-72852 navigation: Do not display badges when empty
Sara Arjona [Thu, 20 Jan 2022 09:30:42 +0000 (10:30 +0100)]
MDL-72852 navigation: Do not display badges when empty

If there are no course badges, students shouldn't have a link to a
page saying there are no badges available.

This patch is for displaying the Badges in the secondary navigation
only if the user can manage badges or there is, at least, one
badge available to the current user.

5 months agoMerge branch 'MDL-73618-master' of https://github.com/ferranrecio/moodle
Jun Pataleta [Mon, 24 Jan 2022 10:59:15 +0000 (18:59 +0800)]
Merge branch 'MDL-73618-master' of https://github.com/ferranrecio/moodle

5 months agoMerge branch 'MDL-73493' of git://github.com/paulholden/moodle
Jun Pataleta [Mon, 24 Jan 2022 09:32:32 +0000 (17:32 +0800)]
Merge branch 'MDL-73493' of git://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-73254' of https://github.com/call-learning/moodle
Shamim Rezaie [Mon, 24 Jan 2022 08:30:13 +0000 (19:30 +1100)]
Merge branch 'MDL-73254' of https://github.com/call-learning/moodle

5 months agoMDL-73254 mod_bigbluebuttonbn: Fix hide recording functionality
Laurent David [Thu, 6 Jan 2022 19:50:08 +0000 (20:50 +0100)]
MDL-73254 mod_bigbluebuttonbn: Fix hide recording functionality

* The hide recording is working in combination with several settings and should
allow the Record button to be hidden either globally on in a given activity

5 months agoMDL-72089 block_myoverview: Template changes for styling
Mathew May [Tue, 21 Dec 2021 12:27:19 +0000 (20:27 +0800)]
MDL-72089 block_myoverview: Template changes for styling

5 months agoMerge branch 'MDL-73347-master' of https://github.com/sarjona/moodle
Jake Dallimore [Mon, 24 Jan 2022 05:40:57 +0000 (13:40 +0800)]
Merge branch 'MDL-73347-master' of https://github.com/sarjona/moodle

5 months agoMerge branch 'MDL-73598' of https://github.com/paulholden/moodle
Andrew Nicols [Mon, 24 Jan 2022 03:29:48 +0000 (11:29 +0800)]
Merge branch 'MDL-73598' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-73625-master' of https://github.com/jleyva/moodle
Andrew Nicols [Mon, 24 Jan 2022 03:09:08 +0000 (11:09 +0800)]
Merge branch 'MDL-73625-master' of https://github.com/jleyva/moodle

5 months agoMerge branch 'MDL-73485' of https://github.com/stronk7/moodle
Jake Dallimore [Mon, 24 Jan 2022 02:46:06 +0000 (10:46 +0800)]
Merge branch 'MDL-73485' of https://github.com/stronk7/moodle

5 months agoMerge branch 'MDL-73180' of git://github.com/paulholden/moodle
Jake Dallimore [Mon, 24 Jan 2022 02:37:53 +0000 (10:37 +0800)]
Merge branch 'MDL-73180' of git://github.com/paulholden/moodle

5 months agoMDL-73314 core: Add CL documentation for core/toast
Andrew Nicols [Thu, 9 Dec 2021 06:51:47 +0000 (14:51 +0800)]
MDL-73314 core: Add CL documentation for core/toast

5 months agoMDL-73314 tool_componentlibrary: Add shortcode for jsdoc
Andrew Nicols [Thu, 9 Dec 2021 23:26:20 +0000 (07:26 +0800)]
MDL-73314 tool_componentlibrary: Add shortcode for jsdoc

5 months agoMDL-73314 core: Accept a Promise which resolves to string for toasts
Andrew Nicols [Thu, 9 Dec 2021 07:03:43 +0000 (15:03 +0800)]
MDL-73314 core: Accept a Promise which resolves to string for toasts

5 months agoMDL-73635 tool_componentlibrary: Move dynamic tabs sample page
Jun Pataleta [Fri, 21 Jan 2022 10:53:14 +0000 (18:53 +0800)]
MDL-73635 tool_componentlibrary: Move dynamic tabs sample page

* Move the example page for the dynamic tabs component into the examples
folder.

5 months agoMDL-73635 tool_componentlibrary: Document how to add example files
Jun Pataleta [Fri, 21 Jan 2022 05:29:24 +0000 (13:29 +0800)]
MDL-73635 tool_componentlibrary: Document how to add example files

5 months agoMDL-73635 tool_componentlibrary: Move example codes to examples folders
Jun Pataleta [Thu, 20 Jan 2022 17:02:27 +0000 (01:02 +0800)]
MDL-73635 tool_componentlibrary: Move example codes to examples folders

5 months agoMDL-72937 user: restrict Moodlenet profile field length.
Paul Holden [Thu, 4 Nov 2021 23:46:23 +0000 (23:46 +0000)]
MDL-72937 user: restrict Moodlenet profile field length.

5 months agoMDL-73485 phpunit: externallib, generator and filter tescase names
Eloy Lafuente (stronk7) [Sat, 1 Jan 2022 11:48:29 +0000 (12:48 +0100)]
MDL-73485 phpunit: externallib, generator and filter tescase names

All externallib_test, generator_test and filter_test classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to tests under testing/tests:

1) The core_testing component doesn't exist.
2) But testing/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 testing_xxxx as prefix.

Finally, also modified calendar/tests/events/events_test.php because it uses
some renamed (core_calendar_externallib_testcase => \core_calendar\externallib_test)
classes.

5 months agoMDL-73500 general: Remove php < 73 conditional code
Eloy Lafuente (stronk7) [Tue, 4 Jan 2022 20:06:40 +0000 (21:06 +0100)]
MDL-73500 general: Remove php < 73 conditional code

This commit removes code that only was being executed by php < 73
and it's 100% safe to do so because Moodle 3.11 and up require
php 73, hence it was not executed ever.

Removed code includes:
- ldap_control_paged_result and ldap_control_paged_result_response
  (that were deprecated in php 73 and have been removed in php 80).
- conditional code in the session manager, where some hacks were
  needed for php < 73. Note that this removes the private function
  append_samesite_cookie_attribute() completely because it was
  doinf nothing (first line was returning for php < 73).
- Also removed the old session.hash_function ini setting because
  it was removed in php 71.

Kept code includes:
- The environmental check_igbinary322_version test has not been
  removed because it doesn't hurt (always returns "ok" for php 73
  sites) and doing it would involve to backport the environment.xml
  file to 39 and 310. Instead, a note has been added to MDL-71747
  in order to get rid of that check for 4.1 and up.

5 months agoMDL-73493 reportbuilder: correct handling of empty string in filters.
Paul Holden [Fri, 21 Jan 2022 11:27:28 +0000 (11:27 +0000)]
MDL-73493 reportbuilder: correct handling of empty string in filters.

This is specifically for Oracle, which treats empty strings and NULL
in an inconsistent manner unless passed as query parameters. Increase
test coverage of the same.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
5 months agoon-demand release 4.0dev+
Sara Arjona [Fri, 21 Jan 2022 14:01:09 +0000 (15:01 +0100)]
on-demand release 4.0dev+

5 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 21 Jan 2022 14:01:03 +0000 (15:01 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

5 months agoMDL-73210 usertours: Exported file does not contain the uploaded image
Huong Nguyen [Tue, 18 Jan 2022 08:07:18 +0000 (15:07 +0700)]
MDL-73210 usertours: Exported file does not contain the uploaded image

The export file now contains the attached files in the ATTO editor
We can export and import the tour to another system without losing them
 - Export process now convert the files to base64 and embed them into the export file.
 - Import process now convert the base64 from the export file to Moodle store_file.

5 months agoMDL-73188 usertours: Make language string ID work again
Huong Nguyen [Fri, 21 Jan 2022 01:56:00 +0000 (08:56 +0700)]
MDL-73188 usertours: Make language string ID work again

- New dropdown was created, user can choose to enter the content manually
  or using Moodle Language string
- New text field was created to allow user to input the Lang string format
- New validation was created to validate the language identifier
- New Behat tests were created to validate the new feature

5 months agoAutomatically generated installer lang files
AMOS bot [Fri, 21 Jan 2022 00:07:42 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 months agoMDL-71706 core: use reflection to get directory of SCSS import.
Paul Holden [Thu, 30 Dec 2021 16:12:46 +0000 (16:12 +0000)]
MDL-71706 core: use reflection to get directory of SCSS import.

This change is required to preserve existing validation of import
paths from a76b0b8b, since upgrading ScssPhp to 1.10.0.

See scssphp/scssphp@deba6fa4 for corresponding change that means
the current directory is no longer assumed when resolving paths.

5 months agoMDL-71706 libraries: upgrade to version 1.10.0 of ScssPhp.
Paul Holden [Thu, 30 Dec 2021 12:10:34 +0000 (12:10 +0000)]
MDL-71706 libraries: upgrade to version 1.10.0 of ScssPhp.

5 months agoMDL-71711 libraries: upgrade to version 1.1.2 of GeoPattern.
Paul Holden [Wed, 6 Oct 2021 20:50:01 +0000 (21:50 +0100)]
MDL-71711 libraries: upgrade to version 1.1.2 of GeoPattern.

5 months agoMerge branch 'MDL-73637-master' of https://github.com/ilyatregubov/moodle
Eloy Lafuente (stronk7) [Thu, 20 Jan 2022 22:30:58 +0000 (23:30 +0100)]
Merge branch 'MDL-73637-master' of https://github.com/ilyatregubov/moodle

5 months agoMerge branch 'MDL-73548-master' of https://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Thu, 20 Jan 2022 22:25:22 +0000 (23:25 +0100)]
Merge branch 'MDL-73548-master' of https://github.com/bmbrands/moodle

5 months agoMDL-73638 qbank_usage: format activity/course names in usage modal.
Paul Holden [Thu, 20 Jan 2022 16:56:50 +0000 (16:56 +0000)]
MDL-73638 qbank_usage: format activity/course names in usage modal.

5 months agoMDL-73637 core: Fix broken web installation.
Ilya Tregubov [Thu, 20 Jan 2022 16:34:19 +0000 (18:34 +0200)]
MDL-73637 core: Fix broken web installation.

5 months agoMerge branch 'MDL-73603' of https://github.com/paulholden/moodle
Sara Arjona [Thu, 20 Jan 2022 16:23:42 +0000 (17:23 +0100)]
Merge branch 'MDL-73603' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-73600' of https://github.com/paulholden/moodle
Sara Arjona [Thu, 20 Jan 2022 14:22:10 +0000 (15:22 +0100)]
Merge branch 'MDL-73600' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-73523' of https://github.com/stronk7/moodle
Jun Pataleta [Thu, 20 Jan 2022 13:52:50 +0000 (21:52 +0800)]
Merge branch 'MDL-73523' of https://github.com/stronk7/moodle

5 months agoMDL-73523 libraries: openssl_free_xxx() methods are deprecated in php80
Eloy Lafuente (stronk7) [Mon, 10 Jan 2022 14:49:12 +0000 (15:49 +0100)]
MDL-73523 libraries: openssl_free_xxx() methods are deprecated in php80

So we are putting them under a standard PHP_MAJOR_VERSION < 8 condition.

Also, added TODO comments to remember to delete that block of code when
php80 becomes the minimum required versions in the future (Moodle 4.3?).

When possible, an issue has been created upstream, else a comment in
readme_moodle files has been added.

Finally, when the keys being freed were class or object attributes, also
nullify them (but when the calls were part of destructor methods).

5 months agoMerge branch 'MDL-73436-master' of https://github.com/dravek/moodle
Jun Pataleta [Thu, 20 Jan 2022 13:26:28 +0000 (21:26 +0800)]
Merge branch 'MDL-73436-master' of https://github.com/dravek/moodle

5 months agoMDL-73625 tool_mobile: Adapt mobile settings for 4.0
Juan Leyva [Thu, 20 Jan 2022 11:01:28 +0000 (12:01 +0100)]
MDL-73625 tool_mobile: Adapt mobile settings for 4.0

5 months agoMerge branch 'MDL-73166' of https://github.com/roland04/moodle
Jun Pataleta [Thu, 20 Jan 2022 10:15:42 +0000 (18:15 +0800)]
Merge branch 'MDL-73166' of https://github.com/roland04/moodle

5 months agoMDL-73436 tool_componentlibrary: Document dynamic tabs component
David Matamoros [Tue, 21 Dec 2021 15:35:44 +0000 (16:35 +0100)]
MDL-73436 tool_componentlibrary: Document dynamic tabs component

5 months agoMDL-73166 core_reportbuilder: Fix action links accessibility
Mikel Martín [Wed, 24 Nov 2021 09:15:06 +0000 (10:15 +0100)]
MDL-73166 core_reportbuilder: Fix action links accessibility

5 months agoMerge branch 'MDL-73554' of https://github.com/Chocolate-lightning/moodle
Sara Arjona [Thu, 20 Jan 2022 08:17:26 +0000 (09:17 +0100)]
Merge branch 'MDL-73554' of https://github.com/Chocolate-lightning/moodle

5 months agoMerge branch 'MDL-73114-master' of https://github.com/bmbrands/moodle
Sara Arjona [Thu, 20 Jan 2022 08:10:07 +0000 (09:10 +0100)]
Merge branch 'MDL-73114-master' of https://github.com/bmbrands/moodle

5 months agoMDL-73598 reportbuilder: feature switch for custom reports.
Paul Holden [Tue, 18 Jan 2022 18:04:37 +0000 (18:04 +0000)]
MDL-73598 reportbuilder: feature switch for custom reports.

5 months agoMDL-73618 theme_boost: fix drawers tooltips
Ferran Recio [Wed, 19 Jan 2022 17:03:03 +0000 (18:03 +0100)]
MDL-73618 theme_boost: fix drawers tooltips

5 months agoMDL-73114 theme_boost: show page title on Dashboard page
Bas Brands [Wed, 24 Nov 2021 10:27:33 +0000 (11:27 +0100)]
MDL-73114 theme_boost: show page title on Dashboard page

replace the page title when the welcome message is shown

5 months agoMDL-73493 reportbuilder: Consider users without profile field defined
Carlos Castillo [Thu, 6 Jan 2022 18:49:54 +0000 (13:49 -0500)]
MDL-73493 reportbuilder: Consider users without profile field defined

Include users who haven't defined text/checkbox custom profile field
in filter operators: 'Is not empty', 'Does not contain' and 'Is not equal to'.

5 months agoMerge branch 'MDL-73340-master-v02' of https://github.com/ferranrecio/moodle
Ilya Tregubov [Wed, 19 Jan 2022 12:58:18 +0000 (14:58 +0200)]
Merge branch 'MDL-73340-master-v02' of https://github.com/ferranrecio/moodle

5 months agoMDL-71889 user: help text for profile field max length/user identity.
Paul Holden [Tue, 21 Dec 2021 10:47:27 +0000 (10:47 +0000)]
MDL-71889 user: help text for profile field max length/user identity.

5 months agoMDL-73180 reportbuilder: improve relative date filter definitions.
Paul Holden [Wed, 19 Jan 2022 08:22:03 +0000 (08:22 +0000)]
MDL-73180 reportbuilder: improve relative date filter definitions.

Changes since the original implementation in e55abd71 mean that
relative date filtering (by last/next day/week, etc) is now based
on the actual current time, rather than the start or end of the
current time unit.

5 months agoMerge branch 'MDL-73611-master' of https://github.com/bmbrands/moodle
Sara Arjona [Wed, 19 Jan 2022 08:08:16 +0000 (09:08 +0100)]
Merge branch 'MDL-73611-master' of https://github.com/bmbrands/moodle

5 months agoAutomatically generated installer lang files
AMOS bot [Wed, 19 Jan 2022 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files

5 months agoMDL-69965 moodlenet: show moodlenet in profile only if it is enabled
Daniel Neis Araujo [Fri, 16 Oct 2020 13:48:12 +0000 (10:48 -0300)]
MDL-69965 moodlenet: show moodlenet in profile only if it is enabled

Amended to use plain get_config() condition.