Andrew Nicols
1660b7d53e
MDL-78324 editor_tiny: Update modals to stop using factory
2023-09-09 00:04:00 +08:00
Andrew Nicols
12c67aaae1
MDL-79264 tiny_equation: Correct debounce method
...
The debounced method was being called immediately instead of being
debounced.
2023-09-08 22:14:28 +08:00
Andrew Nicols
6ceabf28d3
Merge branch 'MDL-79264-master' of https://github.com/geichelberger/moodle
2023-09-08 22:14:28 +08:00
Gregor Eichelberger
f1e12ca909
MDL-79264 tiny: Replace hardcoded contextid
...
The `contextid` argument of the `tiny_equation_filter` AJAX call is
hardcoded to 1, which causes trouble if the context table does not start
with id 1.
Signed-off-by: Gregor Eichelberger <gregor.eichelberger@tuwien.ac.at >
2023-09-05 13:24:50 +02:00
Andrew Nicols
b3d8c1a862
Merge branch 'MDL-75268-master' of https://github.com/davewoloszyn/moodle
2023-09-05 11:39:41 +08:00
Paul Holden
f01b902d7e
MDL-79237 tiny_noautolink: define help link text language string.
2023-09-02 11:08:45 +01:00
Andrew Nicols
39d15d121a
NOBUG: Fixed SVG browser compatibility
2023-09-02 08:18:16 +08:00
Andrew Nicols
c81e889a8d
Merge branch 'MDL-77979-master' of https://github.com/meirzamoodle/moodle
2023-09-01 11:00:59 +08:00
meirzamoodle
9526b815f5
MDL-77979 tiny_noautolink: Add the noautolink plugin to the quickbar
...
Modified the addQuickbarsToolbarItem function on the util to make the additional toolbar item work.
2023-09-01 09:36:42 +07:00
meirzamoodle
f26b42d000
MDL-77979 tiny_noautolink: Add a TinyMCE noautolink plugin
2023-09-01 09:36:14 +07:00
Jun Pataleta
cc7bc1a553
Merge branch 'MDL-79064-master' of https://github.com/andrewnicols/moodle
2023-08-29 13:32:45 +08:00
Andrew Nicols
af7719682d
MDL-79064 core: Update all get_strings as uses
2023-08-29 10:57:54 +08:00
David Woloszyn
585fd545ae
MDL-75268 tiny_premium: Add Tiny Premium plugin
...
As a first round of support for Tiny Premium, plugins with minimal
config have been included for sites with a valid Tiny Cloud API key.
2023-08-28 12:06:06 +10:00
Julien Boulen
57bdedcbe7
MDL-78241 tiny_recordrtc: fix availability conditions
2023-08-25 18:16:28 +02:00
Paul Holden
57a12c73f9
MDL-79089 tiny_html: define help link text language string.
2023-08-21 15:55:05 +01:00
Ilya Tregubov
0b5d35856d
NOBUG: Fixed file access permissions
2023-08-18 11:23:49 +08:00
Andrew Nicols
b8f94dffdd
Merge branch 'master_MDL-78613' of https://github.com/mattporritt/moodle
2023-08-17 09:11:46 +02:00
Matt Porritt
07e2b61128
MDL-78613 TinyMCE: Add source code formatting and styling
...
Add code formatting (indenting) as well as code style (tag color)
via a TinyMC plugin. To make it easier to make code edits when
viewing the editor content in source code view.
2023-08-03 13:43:40 +10:00
Jun Pataleta
8764f03abf
MDL-78770 tiny_recordrtc: Use proper window.console.warn() function
2023-07-20 14:22:14 +08: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
Ruslan Kabalin
80a111d25e
MDL-74301 eslint: Address issues reported by eslint
2023-07-03 15:21:53 +01: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
8be9cc3867
Merge branch 'MDL-76673-master' of https://github.com/meirzamoodle/moodle
2023-06-24 22:41:52 +08:00
Andrew Nicols
77b4d0236f
MDL-78306 core: Provide helper method to register modals classes
2023-06-14 21:41:49 +08:00
Meirza
ff22a6e221
MDL-76673 tiny: Check color contrast only on elements that have text
...
If the content in Tiny is wrapped by an element with only a background color, without text color,
the accessibility checker will use the parent text-color as the foreground color, which is owned by form-control,
it becomes a problem if the wrapped element background using #34274f and the parent text-color is #495057 then
the low contrast as a result.
To avoid such a situation, the patch will only calculate color contrast if only the element has text,
so it will give results per element if the accessibility checker is unsatisfied.
The patch also changes the selected element from 'body > *' to 'body *',
so it will return all elements (parents and children) in the content instead of parents only.
And minor modifications on the warning_content.mustache to fix the numbering format.
2023-05-27 13:56:18 +07:00
Jun Pataleta
ad82a95633
Merge branch 'MDL-78065-master' of https://github.com/HuongNV13/moodle
2023-05-09 22:42:42 +08:00
Sara Arjona
29102c91b9
Merge branch 'MDL-77858' of https://github.com/paulholden/moodle
2023-05-02 16:49:43 +02:00
Huong Nguyen
3ac2f99ca3
MDL-78065 tiny_link: Fix cannot create link for selection text
2023-05-02 10:23:07 +07:00
Paul Holden
8a6065f5fc
MDL-77858 javascript: correct core/notification exception imports.
2023-04-24 10:44:07 +01:00
Huong Nguyen
1d4c1d9c65
MDL-78007 tiny_media: Fix wrong condition for the Tiny Media
...
Including in this commit:
- Switched to Tiny editor in manually_mark_question.feature
2023-04-24 15:53:41 +07:00
Eloy Lafuente (stronk7)
061c9d7ba0
MDL-77940 versions: bump all versions and requires near release
...
version = 2023042400 release version
requires= 2023041800 current rc1 version
2023-04-18 18:08:09 +02:00
Andrew Nicols
35118869c7
Merge branch 'MDL-77874' of https://github.com/paulholden/moodle
2023-04-17 11:20:53 +08:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Marina Glancy
9ffbcce0ac
MDL-77164 various: fix mustache template name
2023-04-13 09:43:15 +01:00
Marina Glancy
04f8fdd021
MDL-77164 various: fix javascript AMD module name
2023-04-13 09:43:15 +01:00
Paul Holden
aaf231551a
MDL-77874 tiny_link: define help link text language string.
2023-04-06 19:08:03 +01:00
Huong Nguyen
359efecb03
MDL-76520 tiny_link: Add a TinyMCE link plugin
...
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk >
2023-03-23 15:50:44 +07:00
Jun Pataleta
8441270181
Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle
2023-03-09 16:02:01 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Víctor Déniz
6a9f78b0e7
MDL-77416 lang: Use fixed strings in tests
2023-03-03 14:15:30 +00:00
Helen Foster
2e99dd6346
MDL-77416 lang: Import fixed English strings (en_fix)
2023-03-03 14:02:06 +00:00
Jun Pataleta
916503658d
Merge branch 'MDL-75012-master-5' of https://github.com/andrewnicols/moodle
2023-03-02 12:34:34 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Meirza
b12b738994
MDL-76825 tiny_media: Make IDs and labels unique.
2023-02-27 09:27:46 +07:00
Andrew Nicols
9b82570918
Merge branch 'MDL-77290-master' of https://github.com/HuongNV13/moodle
2023-02-23 19:04:29 +01:00
Huong Nguyen
3fbe7ace06
MDL-77290 tiny_media: Fix cannot update the created media
...
Including in this commit:
- Changed the button text to Update media when the user is updating the media
- Added new Behat tests
2023-02-22 09:33:31 +07:00