29414 Commits

Author SHA1 Message Date
Jun Pataleta
5914c8ced2 Merge branch 'MDL-73452-master' of git://github.com/mickhawkins/moodle 2022-02-03 11:44:31 +08:00
Eloy Lafuente (stronk7)
011251f229 Merge branch 'MDL-71724-master' of https://github.com/sarjona/moodle 2022-02-02 19:03:24 +01:00
Eloy Lafuente (stronk7)
5aa93e3066 Merge branch 'MDL-72466-master' of https://github.com/bmbrands/moodle 2022-02-02 12:10:18 +01:00
Jun Pataleta
ac9c2e1bc0 Merge branch 'MDL-73310-master' of https://github.com/aanabit/moodle 2022-02-02 18:40:57 +08:00
Eloy Lafuente (stronk7)
55b7ac9064 Merge branch 'MDL-73674' of https://github.com/paulholden/moodle 2022-02-02 11:23:47 +01:00
Amaia Anabitarte
2cd5c61049 MDL-73310 course: Add course index to all non-site course pages 2022-02-02 09:22:42 +01:00
Michael Hawkins
537e31cf96 MDL-73452 navigation: Update to Course reuse string in secondary nav
Previously this used the "Course administration" string, which causes
some confusion for those familiar with the older usage of that string.
A new "Course reuse" string has been added to better reflect what is
being linked to in course secondary navigation.
2022-02-01 21:10:59 +08:00
Paul Holden
81f13529b2 MDL-73674 output: validate node actions in participants navigation. 2022-02-01 09:15:53 +00:00
Jun Pataleta
99c3c9d169 Merge branch 'MDL-73270-master' of https://github.com/HuongNV13/moodle 2022-02-01 11:00:49 +08:00
Jun Pataleta
fd452f2fa2 Merge branch 'MDL-73470' of https://github.com/roland04/moodle 2022-01-28 11:02:01 +08:00
Huong Nguyen
683375af8b MDL-73270 admin: Warn about xmlrpc webservice protocol enabled
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk>
2022-01-28 09:32:08 +07:00
Bas Brands
7c76e1c349 MDL-72466 core_output: dropdown menu alignment 2022-01-27 17:24:20 +01:00
Ilya Tregubov
57fe1a3099 Merge branch 'MDL-67853-master' of https://github.com/crazyserver/moodle 2022-01-27 16:41:19 +02:00
Pau Ferrer Ocaña
b4c75986ad MDL-67853 message: Adapt tests removing online/offline settings 2022-01-27 15:22:15 +01:00
Pau Ferrer Ocaña
d74bd798b6 MDL-67853 message: Remove on/offline settings on message preferences 2022-01-27 15:22:15 +01:00
Pau Ferrer Ocaña
e8ad1eaa43 MDL-67853 message: Update notification config and preferences 2022-01-27 15:22:08 +01:00
Eloy Lafuente (stronk7)
86282be888 Merge branch 'MDL-73588-master-curlfile' of https://github.com/mudrd8mz/moodle 2022-01-27 12:16:51 +01:00
Shamim Rezaie
01e21818fb Merge branch 'MDL-73500' of https://github.com/stronk7/moodle 2022-01-27 11:37:47 +11: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
Mikel Martín
795087462f MDL-73470 core: Move toggle template to core 2022-01-25 18:04:58 +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
61f6e6c639 Merge branch 'MDL-73068-master-2' of git://github.com/mickhawkins/moodle 2022-01-25 10:55:47 +11: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
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
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
ce0ac9ce75 MDL-73314 core: Accept a Promise which resolves to string for toasts 2022-01-24 09:53:30 +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
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
Ilya Tregubov
44ff1672a0 MDL-73637 core: Fix broken web installation. 2022-01-20 18:34:19 +02: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
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
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
Ilya Tregubov
67570f8b21 Merge branch 'MDL-73340-master-v02' of https://github.com/ferranrecio/moodle 2022-01-19 14:58:18 +02:00
Sara Arjona
7a1fdc5f15 Merge branch 'mdl-72838-fix-master' of https://github.com/jaypha/moodle 2022-01-18 15:19:55 +01:00
Michael Hawkins
e01f2d514a MDL-73068 timeline: Update courses view to omit courses without events
Previously, the timeline block courses view included all courses in
alphabetical order, whether they contained any events matching the
relevant filters or not. This could be tedious and misleading if there
were many courses with no events appearing before a course which did
have matching events. Now, courses are only included if they contain
events matching the currently set time filter and search term. When
those values are modified, the block will be refreshed and fetch
results for the current values, and also takes these into
consideration when determining whether to display the show more courses
button.
2022-01-18 18:22:45 +08:00
Jason den Dulk
91b30b4fd1 MDL-72838 nav: Skip redirect to Dashboard from logo link
Added homeurl ($PAGE->navigation->action) to config helpers added to mustache templates.
Changed boost and classic themes to use config.homeurl on the brand logo link.

Updated global_navigation class to set properties to correct values when
get_home_page() returns HOMEPAGE_MYCOURSES.
2022-01-18 17:07:33 +11:00
Shamim Rezaie
945058b890 Merge branch 'MDL-73342-master' of https://github.com/sarjona/moodle 2022-01-18 17:00:59 +11:00