31429 Commits

Author SHA1 Message Date
Andrew Nicols
7929267880
Merge branch 'MDL-64152-master' of https://github.com/snake/moodle 2023-07-05 21:17:28 +08:00
Ilya Tregubov
f8a65969a4
Merge branch 'MDL-78485-master' of https://github.com/stevandoMoodle/moodle 2023-07-05 11:51:23 +08:00
Ilya Tregubov
7ccab6d218
Merge branch 'MDL-48762-master' of https://github.com/sarjona/moodle 2023-07-05 08:55:45 +08:00
Andrew Nicols
619f6fc2ca
Merge branch 'MDL-73839-master-6' of https://github.com/ilyatregubov/moodle 2023-07-04 22:11:53 +08:00
Huong Nguyen
54d470c313
Merge branch 'MDL-77732-master' of https://github.com/lameze/moodle 2023-07-04 17:10:26 +07:00
Stephan Robotta
1468ecf294
MDL-77732 navigation: fix active flag in navigation for custom menus
This is a follow up of MDL-75908 because a Behat tests with the Chrome
driver was failing and it could be traced back to the changes of
MDL-750908. There was no issue with the Firefox driver and
apparently no issue when using the Chrome browser under normal
circumstances.
2023-07-04 17:10:15 +07:00
Stephan Robotta
a617b9f6d7
MDL-77732 navigation: fix active flag in navigation for custom menus 2023-07-04 17:09:59 +07:00
Huong Nguyen
12393ffa5f
Merge branch 'MDL-78617-master' of https://github.com/ilyatregubov/moodle 2023-07-04 15:01:52 +07:00
Huong Nguyen
49d6cad6dd
Merge branch 'MDL-76853-master' of https://github.com/andrewnicols/moodle 2023-07-04 12:45:49 +07:00
Stevani Andolo
c2be53493d MDL-78485 editor_tiny: Allowed script tag to be added in tinyMCE editor 2023-07-04 13:36:10 +08:00
Sara Arjona
ff46626da9
MDL-48762 core: Add scheduled tasks to set course visibility
Two new scheduled tasks, show_started_courses_task and
hide_ended_courses_task have been added, to automatically change
the course visibility when the start/end course date match the
current one.
They are disabled by default, to keep the current behaviour.
When admins enable any of them, they are executed once per
day by default (around midnight).

These scheduled tasks are based on the "CUL Course Visibility Update"
third-party plugin created by Tim Gagen and refactored and currently
maintained by Amanda Doughty:
https://moodle.org/plugins/local_culcourse_visibility

Thanks!! :-)
2023-07-04 07:27:03 +02:00
Andrew Nicols
3ab51da3f3
Merge branch 'MDL-77356-master' of https://github.com/davewoloszyn/moodle 2023-07-04 13:14:55 +08:00
Sara Arjona
06e355664e
Merge branch 'MDL-78200-master' of https://github.com/aanabit/moodle 2023-07-03 17:43:08 +02:00
Amaia Anabitarte
85e554b2d1 MDL-78200 course: Add group mode information to course page 2023-07-03 15:58:58 +02:00
Andrew Nicols
fab0fa5dfc
MDL-76853 editor_tiny: Refactor behat helpers into trait 2023-07-03 09:38:08 +08:00
Andrew Nicols
d0214f0796
Merge branch 'MDL-54704-db-ssl' of https://github.com/catalyst/moodle 2023-07-03 09:36:03 +08:00
Huong Nguyen
65b13ed81b
Merge branch 'MDL-78204-master' of https://github.com/roland04/moodle 2023-06-30 16:12:10 +07:00
Jake Dallimore
a44b66b5fc
MDL-64152 library: Fix legacy LTI launches when using reverse proxy
LTI 1.1 uses OAuth 1.0, which requires 'hostname', among other things,
as part of signature verification. When Moodle is run behind a reverse
proxy, $_SERVER['SERVER_NAME'] is an unreliable way to fetch hostname.
It isn't always equal to the external hostname but instead can contain
the local host, meaning the signature verification will fail. This
change replaces the use of $_SERVER vars with $FULLME - which already
takes this into account - to fix the signature verification.

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
2023-06-30 16:41:03 +08:00
Srdjan
bb1ecd8ea4 MDL-54704 dml: support for SSL with MySQL / MariaDB and PostgreSQL 2023-06-30 15:41:39 +10:00
Ilya Tregubov
fb4304b075
MDL-73839 tool_uploadcourse: Enable cohort enrolment for course upload. 2023-06-30 11:57:49 +08:00
Ilya Tregubov
21ab60b30b
MDL-78617 formslib: Fix element with no name going to sticky footer. 2023-06-30 10:03:37 +08:00
Mihail Geshoski
3643f48e0f
MDL-77632 core_grades: Fix row_column_of_table_should_contain() 2023-06-30 09:28:59 +08:00
David Woloszyn
162c9fdd66 MDL-77356 communication: Update avatar filename and avatar synced 2023-06-30 10:38:40 +10:00
Andrew Nicols
8d860bbd50
Merge branch 'MDL-78247' of https://github.com/paulholden/moodle 2023-06-29 17:32:51 +08:00
Andrew Nicols
d1effac984
Merge branch 'MDL-78552' of https://github.com/skodak/moodle 2023-06-29 11:34:53 +08:00
Andrew Nicols
016c4ecb45
Merge branch 'MDL-78570' of https://github.com/stronk7/moodle 2023-06-29 11:29:16 +08:00
Ilya Tregubov
d757e1e1cc
Merge branch 'MDL-72622-redis-tls' of https://github.com/catalyst/moodle 2023-06-29 09:50:43 +08:00
Ilya Tregubov
ab6dc892e4
Merge branch 'MDL-76656-master' of https://github.com/meirzamoodle/moodle 2023-06-28 18:08:21 +08:00
meirzamoodle
f69a420be1 MDL-76656 webservice: generated token can only read once
Generated tokens should only read once.
Therefore removing the token column at the table view of the manage tokens page and the user's page.
The token should not be able to search.
2023-06-28 09:27:31 +07:00
Andrew Nicols
da379dc24b
Merge branch 'MDL-74570-master' of https://github.com/rmady/moodle 2023-06-27 08:42:59 +08:00
Srdjan
f061599fc9 MDL-72622 core: Support TLS for redis session 2023-06-27 09:49:36 +10:00
Rodrigo Mady
dcc296403e MDL-74570 core_badges: Fix for Oracle DB compatibility 2023-06-26 13:00:02 -03:00
Mikel Martín
fb49de8875 MDL-78204 core: Add new showmore/showless UI component
- Create a new 'showmore' template that receives both collapsed and expanded content.
Initially only the collapsed content will be displayed with a "Show more" button. When it is expanded,
only the expanded content will be displayed with "Show less" button.

- Add 'showmore' component to component library
2023-06-26 09:32:39 +02:00
Petr Skoda
3c25ccdcd1 MDL-78552 core: tidy up MDL_PERF constants
* all constans usable in ABORT_AFTER_CONFIG should be always defined
* MDL_PERFDB and $PERF->logwrites not used after legacy log removal
* MDL_PERF_TEST should be documented in codebase
* deprecated warnings in shutdowb manager
2023-06-25 08:39:09 +02:00
Eloy Lafuente (stronk7)
17bfc2ab01
MDL-78570 behat: Document the removal of the skip-passed option 2023-06-24 19:58:06 +02:00
Eloy Lafuente (stronk7)
dc0869fc12
MDL-78570 behat: Remove the skip-passed legacy option
This option (--skip-passed) was implemented because of some bugs in the initial
versions of Behat 3 with the --rerun option.

After Behat 3.2.0 those bugs were fixed and we switched back to use
the upstream --rerun option, abandoning --skip-passed.

More yet, this option wasn't ever documented much, neither in docs or cli.

So it's time to remove it, one less thing to maintain for nothing.

Note that this commit is a 99.99% revert of the original one that was
applied to the moodle-behat-extension (now in core):

https://github.com/moodlehq/moodle-behat-extension/commit/c4b25158d212509b
2023-06-24 19:28:51 +02:00
Andrew Nicols
b49b76c41c
Merge branch 'MDL-78237-master' of https://github.com/davewoloszyn/moodle 2023-06-24 23:21:21 +08:00
Andrew Nicols
8be9cc3867
Merge branch 'MDL-76673-master' of https://github.com/meirzamoodle/moodle 2023-06-24 22:41:52 +08:00
Andrew Nicols
a8a67f4df1
Merge branch 'MDL-78243' of https://github.com/paulholden/moodle 2023-06-24 22:28:49 +08:00
Andrew Nicols
076d48670d
Merge branch 'MDL-78544-master' of https://github.com/snake/moodle 2023-06-24 22:26:16 +08:00
Andrew Nicols
8e436dcce7
MDL-74570 badges: Correct coding style violation 2023-06-24 22:24:45 +08:00
Andrew Nicols
bd3a28eb2b
Merge branch 'MDL-74570-master' of https://github.com/rmady/moodle 2023-06-24 22:20:35 +08:00
Andrew Nicols
1fee974ed0
Merge branch 'MDL-77152-master' of https://github.com/sh-csg/moodle 2023-06-24 22:17:33 +08:00
Andrew Nicols
ee9144cadb
MDL-78192 external: Fix typo in constant name 2023-06-24 21:57:04 +08:00
Stefan Hanauska
d23ad2c39a MDL-77152 files: Ensure trailing/leading slash 2023-06-24 10:32:05 +02:00
Paul Holden
8a842b9cbd
MDL-78247 libraries: upgrade to version 4.15.0 of OpenSpout. 2023-06-23 14:28:48 +01:00
Petr Skoda
16729b7f02 MDL-78192 external: allow nullable non-scalar params and results 2023-06-23 11:12:08 +02:00
Andrew Nicols
776abf1fd6 MDL-77793 core: Bump version for device theme removal 2023-06-22 14:29:42 +02:00
Andrew Nicols
28b2c57c82 Merge branch 'MDL-78212-MYSQLI_CLIENT_COMPRESS' of https://github.com/catalyst/moodle 2023-06-22 14:29:41 +02:00
Ilya Tregubov
3baa6045af Merge branch 'MDL-78434-master' of https://github.com/sammarshallou/moodle 2023-06-22 14:29:41 +02:00