31457 Commits

Author SHA1 Message Date
Paul Holden
1125af7857
MDL-78587 course: use tertiary nav selector on participant pages. 2023-07-12 18:26:23 +01:00
Paul Holden
826553d9eb
MDL-78587 behat: page instance resolvers for group overview/groupings. 2023-07-12 18:01:34 +01:00
Huong Nguyen
7add5faa9e
MDL-78391 atto_recordrtc: Fix recording issue with Chrome 2023-07-06 15:37:03 +07:00
Huong Nguyen
592e9590d0
MDL-78391 tiny_recordrtc: Fix recording issue with Chrome 2023-07-06 15:33:38 +07:00
Jun Pataleta
9c73441c4a
Merge branch 'MDL-78391-master' of https://github.com/andrewnicols/moodle 2023-07-06 11:59:04 +08:00
Ilya Tregubov
6773badd97
Merge branch 'MDL-76203' of https://github.com/liorgil/moodle 2023-07-06 11:29:54 +08:00
Jun Pataleta
c1de49bd6c
Merge branch 'MDL-78484-master' of https://github.com/NashTechOpenUniversity/moodle 2023-07-06 09:41:41 +08:00
Ilya Tregubov
94452ea194
Merge branch 'MDL-77375-master' of https://github.com/rezaies/moodle 2023-07-06 09:19:57 +08:00
Jun Pataleta
14d37a274e
Merge branch 'MDL-74893-master-fix_auto_login_guest' of https://github.com/praxisdigital/moodle 2023-07-06 09:14:29 +08:00
Ilya Tregubov
048edee1e2
Merge branch 'MDL-74301-master' of https://github.com/kabalin/moodle 2023-07-06 09:06:31 +08:00
Andrew Nicols
acbf2c0c1b
Merge branch 'MDL-78644' of https://github.com/paulholden/moodle 2023-07-05 22:10:16 +08:00
Andrew Nicols
cee81e21c1
Merge branch 'MDL-77599' of https://github.com/stronk7/moodle 2023-07-05 21:58:47 +08:00
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
Paul Holden
85afb069a0
MDL-78644 files: more fault tolerant resizing of logos/icons.
If we cannot resize the given file (files such as ICO can't be, for
SVG it makes no sense), then we should just return the original file
as is rather than an error.
2023-07-05 00:54:03 +01: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
Ruslan Kabalin
572ca40ce7 MDL-74301 eslint: Enable 'reportUnusedDisableDirectives' eslint setting
This will warn on unused /* eslint-disable */ statements.
2023-07-03 15:21:53 +01:00
Ruslan Kabalin
80a111d25e MDL-74301 eslint: Address issues reported by eslint 2023-07-03 15:21:53 +01:00
Amaia Anabitarte
85e554b2d1 MDL-78200 course: Add group mode information to course page 2023-07-03 15:58:58 +02:00
Eloy Lafuente (stronk7)
d9f7fe9c3f
MDL-77599 coding-style: Replace forbidden @const tags by @var
@const is not a valid phpdoc tag and @var should be used to
document both classes properties and constants (no matter how
weird that may sound, heh).

Link to (draft right now) PHP-FIG:

https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#518-var

So, with this commit we are just replacing all uses by the correct
@var one. Note that the type is entirely optional, in fact I think
that there isn't much need of it for constants because it's obvious
for both humans and machines which the type is. But, as far as it's
also correct to specify it, we haven't modified that detail.

The only detail modified are the cases where the constant name was
specified in the phpdoc, that's not needed, hence, the names have
been removed from there when present (a couple of cases).
2023-07-03 15:58:16 +02:00
Andrew Nicols
2d56e0df66
MDL-78391 atto_recordrtc: Improve MacOS codec compatability 2023-07-03 16:52:28 +08:00
Andrew Nicols
a6e697c8a4
MDL-78391 tiny_recordrtc: Set filename according to container 2023-07-03 16:52:26 +08:00
Andrew Nicols
323f5237de
MDL-78391 tiny_recordrtc: Switch to mp4 container for h264
The recommendation at
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers
is to use webm with an mp4 fallback.

General purpose video, preferably in an open format
WebM (ideally with MP4 fallback)
2023-07-03 16:52:07 +08:00
Andrew Nicols
bb44b2a1c6
MDL-78391 tiny_recordrtc: Improve codec selection
From my experimentation I have discovered that Safari does not properly
respect the standard MediaRecorder mimetype. Instead of using `codecs=`
it uses `codecs:`.

This change copies the codec array to have the list of possible codecs
include both codecs= and codecs: whilst remaining in order.
2023-07-03 16:50:14 +08:00
Andrew Nicols
5fd2b9d4bd
MDL-78391 tiny_recordrtc: Respect codec options
The audio and video plugins were overriding the wrong method, and thus
preventing selection of a relevant codec and breaking playback on some
devices.
2023-07-03 16:50:11 +08: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
Lior Gil
e464bf3c7d MDL-76203 weblib: Add BDI support to the HTML purifier 2023-07-02 09:05:27 +03:00
Shamim Rezaie
8207eaa5d3 MDL-77375 output: Deprecate action_menu::set_constraint() 2023-07-02 00:41:22 +10:00
Shamim Rezaie
316d79d038 MDL-77375 core: Cleanup redundant set_constraint() calls
Also removed the 10rem bottom margin form the quiz editing page. It was
there to make sure that there is enough room for the 'add new question'
dropdown. But it's not needed anymore (hasn't been since long time ago).
2023-07-02 00:41:22 +10: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
Shamim Rezaie
c235339e02 MDL-77375 tool_dataprivacy: set boundary of the dropdowns 2023-06-30 11:27:32 +10:00
Shamim Rezaie
aaadb0d6ef MDL-77375 output: Allow additional options for dropdowns 2023-06-30 11:24:45 +10: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