103727 Commits

Author SHA1 Message Date
Shamim Rezaie
01e21818fb Merge branch 'MDL-73500' of https://github.com/stronk7/moodle 2022-01-27 11:37:47 +11:00
Eloy Lafuente (stronk7)
049c7f0822 MDL-73188 usertours: Fix language string key typo 2022-01-26 10:29:49 +01:00
Eloy Lafuente (stronk7)
f067a420cf Merge branch 'MDL-72089' of https://github.com/Chocolate-lightning/moodle 2022-01-26 10:23:01 +01:00
Eloy Lafuente (stronk7)
3916f80200 Merge branch 'MDL-72626-master' of https://github.com/sarjona/moodle 2022-01-26 10:16:27 +01:00
Eloy Lafuente (stronk7)
19dbb28366 Merge branch 'MDL-73314-master' of https://github.com/andrewnicols/moodle 2022-01-26 09:36:30 +01:00
Eloy Lafuente (stronk7)
567bf81981 Merge branch 'MDL-71706' of https://github.com/paulholden/moodle 2022-01-26 08:45:06 +01:00
Eloy Lafuente (stronk7)
c41562279c Merge branch 'MDL-71711' of https://github.com/paulholden/moodle 2022-01-26 08:40:46 +01:00
Sara Arjona
320f6fb5c6 MDL-72626 lib: Set Moodle files after RTLCSS upgrade 2022-01-25 09:20:34 +01:00
Sara Arjona
68578fc860 MDL-72626 lib: Upgrade RTLCSS to 1.0.1 2022-01-25 09:19:59 +01:00
Shamim Rezaie
090fd3f8ae Merge branch 'MDL-72852-master' of https://github.com/sarjona/moodle 2022-01-25 13:34:01 +11:00
Shamim Rezaie
05e5488b54 Merge branch 'MDL-73638' of https://github.com/paulholden/moodle 2022-01-25 13:15:26 +11:00
Shamim Rezaie
682340d858 MDL-73635 tool_componentlibrary: Removed extra whitespaces 2022-01-25 11:36:17 +11:00
Shamim Rezaie
ca53fa6919 Merge branch 'MDL-73635-master' of https://github.com/junpataleta/moodle 2022-01-25 11:03:06 +11:00
Shamim Rezaie
61f6e6c639 Merge branch 'MDL-73068-master-2' of git://github.com/mickhawkins/moodle 2022-01-25 10:55:47 +11:00
Eloy Lafuente (stronk7)
bdf816744b Merge branch 'MDL-71889' of https://github.com/paulholden/moodle 2022-01-25 00:14:51 +01:00
Eloy Lafuente (stronk7)
d8e1ec2c81 Merge branch 'MDL-73188-master-3' of https://github.com/HuongNV13/moodle 2022-01-25 00:06:30 +01:00
Sara Arjona
7c1d536b0d 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.
2022-01-24 15:31:23 +01:00
Jun Pataleta
a336dfc271 Merge branch 'MDL-73618-master' of https://github.com/ferranrecio/moodle 2022-01-24 18:59:15 +08:00
Jun Pataleta
fbc3e7568e Merge branch 'MDL-73493' of git://github.com/paulholden/moodle 2022-01-24 17:32:32 +08:00
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
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
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