795 Commits

Author SHA1 Message Date
Jun Pataleta
d3939d8193
MDL-78294 filter_glossary: Use <strong> to convey semantic meaning
It is better to use <strong> instead of <b> for accessibility as
<strong> is a semantic tag that convey to screen reader users that
the Attachments text is important. <b> on the other hand just makes
the text bold and is only for presentation and has no semantic meaning.
2023-11-28 13:16:00 +08:00
Mihail Geshoski
df1cc4ac93 MDL-78294 filter_glossary: Replace YUI with an AMD module
Replaces the existing YUI module in the glossary filter with an
AMD module. The auto-linked glossary entries are now obtained
through the existing webservices in mod_glossary and displayed
within a modal utilizing the core/modal js module.
2023-11-24 15:57:18 +08:00
Andrew Nicols
525212f2d2
MDL-78496 core: Address phpcs issues with upgrade.php files 2023-11-19 21:20:53 +08:00
Andrew Nicols
545b36cd4a
MDL-78496 upgrade: remove all the < 4.1.0 upgrade steps
Also includes an upgrade step to prevent upgrading from any
version < 2021112802 (v4.1.0) as anti-cheating measure.
2023-11-17 23:25:36 +08:00
Jun Pataleta
9beff03a96
MDL-79626 upgrade: add the 4.3.0 separation line to all upgrade scripts 2023-10-10 10:44:17 +08:00
Jun Pataleta
d5d7835a0a
MDL-79551 versions: Make CiBoT happy
* Use array short syntax for $plugin->dependencies
* Add trailing comma for multi-line $plugin->dependencies array
2023-10-04 14:04:29 +08:00
Jun Pataleta
94bc2cd38b
MDL-79551 versions: bump all versions and requires near release 2023-10-04 13:57:17 +08:00
Sara Arjona
cc9430929d
MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:30:19 +02:00
hieuvu
457cfa50e1 MDL-79301 mathjax: contentUpdated must trigger for mathjax element only. 2023-09-11 10:25:21 +07:00
Andrew Nicols
92117d2bed
MDL-79042 filter_mathjax: Notify on render completion 2023-08-26 20:51:39 +08:00
Huong Nguyen
394dbffc24
Merge branch 'MDL-79039-master' of https://github.com/andrewnicols/moodle 2023-08-25 14:25:19 +07:00
Andrew Nicols
0c782d8181
MDL-79039 filter_mathjax: Discard text nodes. MathJax can't process them 2023-08-25 14:25:48 +08:00
Huong Nguyen
15aaa09435
MDL-79039 mathjax: Fix variable names 2023-08-25 10:58:30 +07:00
Huong Nguyen
342192561e
Merge branch 'MDL-79039-master' of https://github.com/NashTechOpenUniversity/moodle 2023-08-25 10:55:41 +07:00
Andrew Nicols
89223fa386
Merge branch 'MDL-79031-master' of https://github.com/NashTechOpenUniversity/moodle 2023-08-25 10:56:14 +08:00
hieuvu
52a7a71b93 MDL-79031 core_filter: Add new native filterContentRenderingComplete event 2023-08-25 09:36:20 +07:00
hieuvu
80c9de3d00 MDL-79039 mathjax: Re-write yui javascript to AMD module 2023-08-21 19:43:45 +07:00
Andrew Nicols
c7b1cf2651
MDL-78251 tiny: Reduce use of UI for setting test expectations 2023-08-21 20:23:19 +08:00
Sara Arjona
3d8566250a
Merge branch 'MDL-78700-tidy_no_clean' of https://github.com/leonstr/moodle 2023-08-14 09:12:24 +02:00
Matt Porritt
d0a5e3fb39 MDL-62401 Media: Embed Youtube Videos with nocookie extension
Add config option to embed YouTube links using the youtube-nocookie.com
YouTube domain. This will stop extra YouTube cookies from being added
to the users computer it also stops calls to certain add tracking sites.
2023-07-26 15:57:05 +10:00
Leon Stringer
9888a75991 MDL-78700 filter_tidy: Stop using 'clean'
When libtidy removed option 'drop-font-tags' the docs said to use the
'clean' option instead (see MDL-69951).  However, 'clean' replaces
legacy style information with classes, the corresponding CSS added in
<head>.  With 'show-body-only' (used because we're inserting an HTML
fragment mid-way through <body>) that <head> with its CSS is omitted.
So 'clean' with 'show-body-only' removes legacy style information,
rather than tidying it. Consequently we now drop the 'clean' option.
This means <font> tags are no longer dropped as libtidy currently has
no equivalent to the removed 'drop-font-tags' functionality.
2023-07-24 17:30:14 +01:00
Huong Nguyen
83579a07c6
MDL-76104 mediaplayer_youtube: Respect container max width 2023-06-26 09:39:09 +07:00
Huong Nguyen
660d714e71
MDL-76104 mediaplugin: Make media plugin behave properly in Modal dialog 2023-06-26 09:39:09 +07:00
Andrew Nicols
bf72c0de9d Merge branch 'MDL-75913-master' of https://github.com/davewoloszyn/moodle 2023-06-22 14:29:39 +02:00
David Woloszyn
802ff3e2e3 MDL-75913 behat: Use alternatives to Atto in tests 2023-06-19 16:35:46 +10:00
Petr Skoda
de9c69cf3c MDL-77525 filter: add filtering stages 2023-06-17 16:43:58 +02:00
Jun Pataleta
6823da53f1 Merge branch 'MDL-76688/master' of https://github.com/skodak/moodle 2023-05-23 15:22:19 +08:00
Sara Arjona
bccd225c39 MDL-75963 tiny: Bump version to expected number
There was as an error with the previous version number:
"Version (2023031400) cannot be before 20230424 (YYYYMMDD)".
2023-05-22 16:36:01 +02:00
Sara Arjona
aebc13a62d Merge branch 'MDL-75963-master' of https://github.com/meirzamoodle/moodle 2023-05-22 12:15:58 +02:00
Sara Arjona
36de54c1f8 Merge branch 'MDL-77350-master' of https://github.com/meirzamoodle/moodle 2023-05-17 08:27:26 +02:00
Ilya Tregubov
f33518a3f8
Merge branch 'MDL-77797-latex-headers' of https://github.com/brendanheywood/moodle 2023-05-16 15:22:51 +08:00
Meirza
d9e9f7a863 MDL-77350 filter: Added class properties that are not declared
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-05-16 00:33:19 +07:00
Meirza
6772c9b8e8 MDL-75963 filter: Added code highlighter filter
If enabled, the filter will convert text wrapped by language-* style class
into a well-styled block of code.
The filter uses PrismJS, and it also used by the TinyMCE editor to
highlight the code sample plugin.
2023-05-11 23:05:00 +07:00
Andrew Nicols
7032e363bf
Merge branch 'MDL-77592-master' of https://github.com/golenkovm/moodle 2023-05-10 13:03:11 +08:00
Petr Skoda
406738005e MDL-76688 filter_text: prevent LaTeX3 syntax 2023-05-08 10:12:37 +02:00
Jun Pataleta
7a9235a7bb Merge branch 'MDL-76857-master' of https://github.com/sarjona/moodle 2023-05-02 15:45:19 +08:00
Sara Arjona
d61dc39a0a MDL-76857 filter_displayh5p: Improve behat tests
Although the screenshots in the failures for some of the scenarios in
filter/displayh5p/tests/behat/h5p_filter.feature, like "Render a local
H5P file as teacher" were displaying the expected result, there were
some javascript errors (probably due to behat is quicker and the
iframes were not always ready).
I've added one extra step before accessing the iframe to give more
time to the H5P player to load and confirm the page is displayed
properly.
2023-04-27 11:07:08 +02:00
Jun Pataleta
9095bb0ef9 MDL-78000 upgrade: add the 4.2.0 separation line to all upgrade scripts 2023-04-22 23:17:50 +08: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
Sara Arjona
bdc106e840 Merge branch 'MDL-76859-master' of https://github.com/sarjona/moodle 2023-04-13 16:24:20 +02:00
Marina Glancy
8fc1486d36 MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
Petr Skoda
43b56a90d9 MDL-76859 h5p: Fix behat failures
- Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
JS error)
- An unnecessary image has been removed from the greeting-card.h5p fixture package.
That way, the text will always be displayed (even if the iframe is still not
resized). Instead of replacing the original greeting-card-887.h5p file, I've
renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
at the end of the file name).
2023-04-12 12:26:23 +02:00
Mikhail Golenkov
8c3c537bac MDL-77592 filter_tex: Use request dir instead of temp shared storage 2023-03-31 11:17:01 +11:00
Brendan Heywood
d0fe0bb391 MDL-77797 filter_tex: Add public immutable caching headers 2023-03-30 22:32:31 +11:00
Marina Glancy
04c3cd2343 MDL-74465 block_html: display config when adding 2023-03-30 12:15:54 +01: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
Petr Skoda
9f178c1f81 MDL-77524 filter_algebra: fix error message 2023-03-08 11:26:40 +08:00
Petr Skoda
1899e03973 MDL-76645 filter_data: fix link title attribute 2023-03-08 00:54:14 +00:00
Andrew Nicols
33b1e41f13 MDL-75012 js: Full build of all grunt things 2023-03-02 11:55:32 +08:00