Commit Graph

31409 Commits

Author SHA1 Message Date
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 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
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
Andrew Nicols ca6edf6f3c Merge branch 'MDL-77813-master' of https://github.com/laurentdavid/moodle 2023-06-22 14:29:40 +02:00
Ilya Tregubov b2dce5d60c Merge branch 'MDL-76629' of https://github.com/liorgil/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols 7092b99512 Merge branch 'MDL-78541/master' of https://github.com/skodak/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols 0dfcb91ca2 Merge branch 'MDL-78350' of https://github.com/paulholden/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols 79f27a853e Merge branch 'MDL-78252' of https://github.com/paulholden/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols bf72c0de9d Merge branch 'MDL-75913-master' of https://github.com/davewoloszyn/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols 276bf5acbc Merge branch 'MDL-77793-master' of https://github.com/davewoloszyn/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols 3e1d6d61a9 Merge branch 'MDL-78159-master' of https://github.com/meirzamoodle/moodle 2023-06-22 14:29:38 +02:00
Andrew Nicols 4149de88c2 Merge branch 'MDL-78164-master' of https://github.com/meirzamoodle/moodle 2023-06-22 14:29:38 +02:00
Jake Dallimore 60b086635c MDL-78544 forms: fix string to number comparison bug in duration element
Prior to PHP 8, 0 == "", but now no more. We should use empty instead.
See: https://www.php.net/manual/en/migration80.incompatible.php
2023-06-22 10:54:46 +08:00
Paul Holden 40cc1e53c2 MDL-78350 output: parse returned dynamic tab javascript when loading.
Ensure we don't create nested <script> tags when rendering templates,
which triggers console errors since 1ef815cd.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-06-21 17:25:34 +01:00
Petr Skoda c70a460978 MDL-78541 admin: ignore headings in admin_apply_default_settings()
This is a workaround for plugins that do not have
unique setting names.
2023-06-21 15:46:14 +02:00
Meirza 97ff68fd6b MDL-78159 lib: Added missing properties for core libraries
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-06-21 15:39:53 +07:00
Meirza 337bc1554a MDL-78164 lib: Added class properties that are not declared in grade
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-06-21 14:41:35 +07:00
Andrew Nicols acc91736d1 Merge branch 'MDL-78274' of https://github.com/Chocolate-lightning/moodle 2023-06-21 15:14:16 +08:00
Mathew May 0fb1152345 MDL-78274 modal: Enable modals to be vertically centered 2023-06-21 14:51:26 +08:00
Paul Holden ecff15e2e6 MDL-78252 libraries: upgrade to version 0.10.0 of PHP-ML. 2023-06-21 07:24:04 +01:00
Andrew Nicols 50093090f6 Merge branch 'MDL-78163-master' of https://github.com/meirzamoodle/moodle 2023-06-21 11:57:48 +08:00
Andrew Nicols dddb7dcb70 Merge branch 'MDL-78160-master' of https://github.com/meirzamoodle/moodle 2023-06-21 10:20:59 +08:00
Rodrigo Mady da Silva 4b26d1f784 MDL-74570 core_badges: Add webservice core_badges_get_user_by_hash 2023-06-20 21:14:17 -03:00