Huong Nguyen
0f7151e2ba
MDL-78391 tiny_recordrtc: Fix recording issue with Chrome
2023-07-06 15:49:55 +07:00
Misha Golenkov
d06d29ef5d
MDL-78379 js: Add missing newline character
2023-07-06 16:16:39 +10:00
Jun Pataleta
6509d6d944
Merge branch 'MDL-78391-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-07-06 11:59:46 +08:00
Jun Pataleta
461c0bd947
Merge branch 'MDL-78484-401' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_401_STABLE
2023-07-06 09:41:24 +08:00
Ilya Tregubov
ff652d5c2c
Merge branch 'MDL-77375-401' of https://github.com/rezaies/moodle into MOODLE_401_STABLE
2023-07-06 09:21:18 +08:00
Jun Pataleta
d584ca7b7f
Merge branch 'MDL-74893-MOODLE_401_STABLE-fix_auto_login_guest' of https://github.com/praxisdigital/moodle into MOODLE_401_STABLE
2023-07-06 09:14:09 +08:00
Andrew Nicols
b3246582c4
Merge branch 'MDL-78644-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-05 22:10:42 +08:00
Andrew Nicols
ba32d69255
Merge branch 'MDL-64152-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-07-05 21:49:20 +08:00
Paul Holden
f09241fafe
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 12:51:41 +01:00
Ilya Tregubov
a9fe9bbb0c
Merge branch 'MDL-78485-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-07-05 11:52:11 +08:00
Stevani Andolo
419db61006
MDL-78485 editor_tiny: Allowed script tag to be added in tinyMCE editor
2023-07-04 13:36:47 +08:00
Andrew Nicols
0830ca48f9
MDL-78391 atto_recordrtc: Improve MacOS codec compatability
2023-07-03 16:52:28 +08:00
Andrew Nicols
ed6054fdf8
MDL-78391 tiny_recordrtc: Set filename according to container
2023-07-03 16:52:26 +08:00
Andrew Nicols
3faf81d578
MDL-78391 tiny_recordrtc: Switch to mp4 container for h264
...
Theh WebM container does not support H.264 / AVC.
For more information see:
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#webm
General purpose video, preferably in an open format
WebM (ideally with MP4 fallback)
2023-07-03 16:52:07 +08:00
Andrew Nicols
756d9fa18d
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:12 +08:00
Andrew Nicols
d73ad3b532
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
9c97536a9f
MDL-76853 editor_tiny: Refactor behat helpers into trait
2023-07-03 09:38:24 +08:00
Shamim Rezaie
f30316be5d
MDL-77375 tool_dataprivacy: set boundary of the dropdowns
2023-07-02 00:06:13 +10:00
Shamim Rezaie
88f66617a0
MDL-77375 output: Allow additional options for dropdowns
2023-07-02 00:06:13 +10:00
Jun Pataleta
213223d162
MDL-77690 core: New activity_header method get_heading_level()
...
Add a new method for activity_header that determines the heading level
depending on whether the theme displays a heading for the activity
header (usually a h2 heading with the activity name).
E.g. in Boost, the activity name is already being displayed in a
heading. So page headings can be rendered as h2. However, on Classic,
the activity name is being displayed as a h2 heading. So headings need
to be adjusted for the activity pages.
2023-06-30 17:51:12 +08:00
Jake Dallimore
32ad202b06
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:42:37 +08:00
Stevani Andolo
322e681c65
MDL-76046 core: Fixed secondary navigation on smaller screen
2023-06-30 06:31:22 +08:00
Sara Arjona
9137b58fca
Merge branch 'MDL-78554-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-29 17:39:05 +08:00
Huong Nguyen
d53b1b1cfe
MDL-78554 tiny_link: Fix cannot create link for selection text
...
Backport of MDL-78065
2023-06-26 15:47:33 +08:00
Paul Holden
32f9d1eeb5
MDL-78554 tiny_link: define help link text language string.
...
Backport of MDL-77874
2023-06-26 15:47:14 +08:00
Huong Nguyen
684889be8f
MDL-78554 tiny_link: Add a TinyMCE link plugin
...
Backport of MDL-76520
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk>
2023-06-26 15:45:56 +08:00
Andrew Nicols
d9745d9852
Merge branch 'MDL-78237-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-06-24 23:21:58 +08:00
Andrew Nicols
378eae6144
Merge branch 'MDL-76673-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-06-24 22:47:10 +08:00
Andrew Nicols
889e1d4e35
Merge branch 'MDL-78544-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-24 22:26:57 +08:00
Stefan Hanauska
e3c84dcb32
MDL-77152 files: Ensure trailing/leading slash
2023-06-24 10:32:02 +02:00
Ilya Tregubov
84a7937643
Merge branch 'MDL-78434-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-06-22 14:37:45 +02:00
Andrew Nicols
fd87f7b46d
Merge branch 'MDL-78541/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
675ca18cfa
Merge branch 'MDL-78350-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
de329f8268
Merge branch 'MDL-75913-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-06-22 14:37:43 +02:00
hieuvu
14079fa738
MDL-78484 formslib: Move enable checkbox display before the date picker
2023-06-22 11:08:47 +07:00
Jake Dallimore
331f47a4f3
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 11:01:17 +08:00
Paul Holden
61ae9500d7
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:40 +01:00
Petr Skoda
9fee59de2a
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:47:06 +02:00
Julien Boulen
4001902464
MDL-78259 weblib: purify audio/video tags as inline elements
2023-06-20 16:37:02 +08:00
David Woloszyn
94b98082a3
MDL-75913 behat: Switch to TinyMCE editor iframe
2023-06-19 16:38:18 +10:00
David Woloszyn
7f6d6d240f
MDL-75913 behat: Private files data generator
2023-06-19 16:38:18 +10:00
Andrew Nicols
1f553279d2
MDL-75913 behat: Add support for file uploads in generators
2023-06-19 16:38:18 +10:00
Anders Rasmussen
c5471d260e
MDL-74893 authentication: Fix auto-login guest
...
Fixed auto-login as guest, when Guest login button is hidden
2023-06-19 07:49:24 +02:00
Petr Skoda
52e39db7ad
MDL-77525 filter: add filtering stages
2023-06-17 16:49:34 +02:00
Andrew Nicols
dedfbb7e63
Merge branch 'MDL-78461-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-15 11:23:27 +08:00
Andrew Nicols
196ed7530b
Merge branch 'MDL-69231-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-06-15 10:56:53 +08:00
Andrew Nicols
46f3dc6538
Merge branch 'MDL-78478-401' of https://github.com/dasistwas/moodle into MOODLE_401_STABLE
2023-06-15 09:56:18 +08:00
Sara Arjona
36a7924b64
Merge branch 'MDL-78055-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-14 16:54:57 +02:00
Sara Arjona
4dcf2db446
Merge branch 'MDL-74824-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-14 16:51:11 +02:00
David Bogner
c461b4d8fc
MDL-78478 forms: Fix repeated elements in dynamic forms
2023-06-14 15:30:32 +02:00