Commit graph

103760 commits

Author SHA1 Message Date
Shamim Rezaie
0f803de8aa Merge branch 'MDL-73254' of https://github.com/call-learning/moodle 2022-01-24 19:30:13 +11:00
Laurent David
9877868c6f 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
2022-01-24 08:33:45 +01:00
Mathew May
c530e4c448 MDL-72089 block_myoverview: Template changes for styling 2022-01-24 15:09:38 +08:00
Jake Dallimore
041b1beb46 Merge branch 'MDL-73347-master' of https://github.com/sarjona/moodle 2022-01-24 13:40:57 +08:00
Andrew Nicols
6bec1964cc Merge branch 'MDL-73598' of https://github.com/paulholden/moodle 2022-01-24 11:29:48 +08:00
Andrew Nicols
5eebaa3cc1 Merge branch 'MDL-73625-master' of https://github.com/jleyva/moodle 2022-01-24 11:09:08 +08:00
Jake Dallimore
6e89a2e752 Merge branch 'MDL-73485' of https://github.com/stronk7/moodle 2022-01-24 10:46:06 +08:00
Jake Dallimore
1fa04d2e06 Merge branch 'MDL-73180' of git://github.com/paulholden/moodle 2022-01-24 10:37:53 +08:00
Andrew Nicols
ea30c5e14b MDL-73314 core: Add CL documentation for core/toast 2022-01-24 10:03:10 +08:00
Andrew Nicols
7dd0a6983d MDL-73314 tool_componentlibrary: Add shortcode for jsdoc 2022-01-24 09:53:31 +08:00
Andrew Nicols
ce0ac9ce75 MDL-73314 core: Accept a Promise which resolves to string for toasts 2022-01-24 09:53:30 +08:00
Jun Pataleta
35338975c3 MDL-73635 tool_componentlibrary: Move dynamic tabs sample page
* Move the example page for the dynamic tabs component into the examples
folder.
2022-01-24 09:24:08 +08:00
Jun Pataleta
7a6ff551a0 MDL-73635 tool_componentlibrary: Document how to add example files 2022-01-24 09:24:08 +08:00
Jun Pataleta
080e12e9ac MDL-73635 tool_componentlibrary: Move example codes to examples folders 2022-01-24 09:21:55 +08:00
Paul Holden
21989c575a MDL-72937 user: restrict Moodlenet profile field length. 2022-01-23 23:00:54 +00:00
Eloy Lafuente (stronk7)
100bc51f1d 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.
2022-01-21 19:48:23 +01:00
Eloy Lafuente (stronk7)
5300351831 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.
2022-01-21 19:47:55 +01:00
Paul Holden
628541b5e1 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>
2022-01-21 15:43:01 +00:00
Sara Arjona
e63604fb6d on-demand release 4.0dev+ 2022-01-21 15:01:09 +01:00
Sara Arjona
8e6ed611e0 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-01-21 15:01:03 +01:00
Huong Nguyen
46b5fa0279 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.
2022-01-21 17:11:25 +07:00
Huong Nguyen
2137ce6539 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
2022-01-21 17:07:39 +07:00
AMOS bot
b88af3f0e7 Automatically generated installer lang files 2022-01-21 00:07:42 +00:00
Paul Holden
944a68ae56 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.
2022-01-21 00:06:38 +00:00
Paul Holden
bd854aa792 MDL-71706 libraries: upgrade to version 1.10.0 of ScssPhp. 2022-01-21 00:05:03 +00:00
Paul Holden
23f55fcd88 MDL-71711 libraries: upgrade to version 1.1.2 of GeoPattern. 2022-01-20 23:41:32 +00:00
Eloy Lafuente (stronk7)
d8b75c3e5e Merge branch 'MDL-73637-master' of https://github.com/ilyatregubov/moodle 2022-01-20 23:30:58 +01:00
Eloy Lafuente (stronk7)
2a736794d6 Merge branch 'MDL-73548-master' of https://github.com/bmbrands/moodle 2022-01-20 23:25:22 +01:00
Paul Holden
d84e84b509 MDL-73638 qbank_usage: format activity/course names in usage modal. 2022-01-20 17:07:40 +00:00
Ilya Tregubov
44ff1672a0 MDL-73637 core: Fix broken web installation. 2022-01-20 18:34:19 +02:00
Sara Arjona
6ed6520d86 Merge branch 'MDL-73603' of https://github.com/paulholden/moodle 2022-01-20 17:23:42 +01:00
Sara Arjona
6f576194aa Merge branch 'MDL-73600' of https://github.com/paulholden/moodle 2022-01-20 15:22:10 +01:00
Jun Pataleta
299eb4b1bb Merge branch 'MDL-73523' of https://github.com/stronk7/moodle 2022-01-20 21:52:50 +08:00
Eloy Lafuente (stronk7)
d2ad5e8461 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).
2022-01-20 14:48:22 +01:00
Jun Pataleta
6405cad2ae Merge branch 'MDL-73436-master' of https://github.com/dravek/moodle 2022-01-20 21:26:28 +08:00
Juan Leyva
d7d0987553 MDL-73625 tool_mobile: Adapt mobile settings for 4.0 2022-01-20 12:36:13 +01:00
Jun Pataleta
c304ec8d02 Merge branch 'MDL-73166' of https://github.com/roland04/moodle 2022-01-20 18:15:42 +08:00
David Matamoros
5e42a09a92 MDL-73436 tool_componentlibrary: Document dynamic tabs component 2022-01-20 11:01:54 +01:00
Mikel Martín
eb65298bcd MDL-73166 core_reportbuilder: Fix action links accessibility 2022-01-20 09:48:29 +01:00
Sara Arjona
fa9f8c451b Merge branch 'MDL-73554' of https://github.com/Chocolate-lightning/moodle 2022-01-20 09:17:26 +01:00
Sara Arjona
efd5ddbd9f Merge branch 'MDL-73114-master' of https://github.com/bmbrands/moodle 2022-01-20 09:10:07 +01:00
Paul Holden
335012580b MDL-73598 reportbuilder: feature switch for custom reports. 2022-01-19 23:20:52 +00:00
Ferran Recio
664ccecd0a MDL-73618 theme_boost: fix drawers tooltips 2022-01-19 18:03:17 +01:00
Bas Brands
5e8b258cac MDL-73114 theme_boost: show page title on Dashboard page
replace the page title when the welcome message is shown
2022-01-19 17:36:54 +01:00
Carlos Castillo
3d8620854a 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'.
2022-01-19 08:47:26 -05:00
Ilya Tregubov
67570f8b21 Merge branch 'MDL-73340-master-v02' of https://github.com/ferranrecio/moodle 2022-01-19 14:58:18 +02:00
Paul Holden
f69077aa8c MDL-71889 user: help text for profile field max length/user identity. 2022-01-19 11:04:48 +00:00
Paul Holden
a844d885b2 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.
2022-01-19 08:22:03 +00:00
Sara Arjona
83fda16687 Merge branch 'MDL-73611-master' of https://github.com/bmbrands/moodle 2022-01-19 09:08:16 +01:00
AMOS bot
81c1e19758 Automatically generated installer lang files 2022-01-19 00:07:40 +00:00