103878 Commits

Author SHA1 Message Date
Bas Brands
068bb8ae8b MDL-73562 core_contentbank: alignment fixes 2022-01-25 09:35:07 +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
Frode Petterson
080105c6d3 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.
2022-01-24 17:08:25 +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
Sara Arjona
5b220a45ef MDL-71724 behat: Fix accessibility issues when upgrading axe lib 2022-01-24 15:30:57 +01:00
Sara Arjona
bc77f8d9ea MDL-71724 lib: Set Moodle files after axe upgrade 2022-01-24 15:30:57 +01:00
Sara Arjona
e35a803476 MDL-71724 lib: Upgrade axe to 4.3.5 2022-01-24 15:30:57 +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
Peter Dias
95b674062f MDL-73363 page: Remove printheading settings from page. 2022-01-24 08:52:15 +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