31611 Commits

Author SHA1 Message Date
hieuvu
52a7a71b93 MDL-79031 core_filter: Add new native filterContentRenderingComplete event 2023-08-25 09:36:20 +07:00
Jun Pataleta
9b2917f183
Merge branch 'MDL-78468-master' of https://github.com/meirzamoodle/moodle 2023-08-22 11:00:11 +08:00
Ilya Tregubov
d7ad0f8711
Merge branch 'MDL-79089' of https://github.com/paulholden/moodle 2023-08-22 10:51:53 +08:00
Meirza
38a0173e61 MDL-78468 admin: Removed the configs while upgrading 2023-08-22 09:47:39 +07:00
Meirza
4cfa361e0a MDL-78468 admin: Removed devicedetectregex theme setting 2023-08-22 09:47:36 +07:00
Meirza
352e427520 MDL-78468 admin: Removed enabledevicedetection theme setting 2023-08-22 09:30:13 +07:00
Paul Holden
57a12c73f9
MDL-79089 tiny_html: define help link text language string. 2023-08-21 15:55:05 +01:00
Huong Nguyen
ff8b735d4f
Merge branch 'MDL-78436-master' of https://github.com/kevpercy/moodle 2023-08-21 09:45:57 +07:00
Ilya Tregubov
0b5d35856d
NOBUG: Fixed file access permissions 2023-08-18 11:23:49 +08:00
Jun Pataleta
04ee9570ac
Merge branch 'MDL-75762-master' of https://github.com/laurentdavid/moodle 2023-08-17 09:20:12 +02:00
Ilya Tregubov
fc39277058
Merge branch 'MDL-78974' of https://github.com/paulholden/moodle 2023-08-17 09:13:20 +02:00
Ilya Tregubov
d7461c9eff
Merge branch 'master_MDL-78698' of https://github.com/mattporritt/moodle 2023-08-17 09:13:18 +02:00
Andrew Nicols
b71bec8475
Merge branch 'MDL-78684-master' of https://github.com/andelacruz/moodle 2023-08-17 09:12:36 +02:00
Andrew Nicols
339820fad1
Merge branch 'MDL-71196' of https://github.com/paulholden/moodle 2023-08-17 09:12:34 +02:00
Andrew Nicols
a929d314d0
MDL-78613 core: Add tiny_html to the list of standard plugins 2023-08-17 09:11:46 +02:00
Andrew Nicols
b8f94dffdd
Merge branch 'master_MDL-78613' of https://github.com/mattporritt/moodle 2023-08-17 09:11:46 +02:00
Andrew Nicols
ff3393bec8
Merge branch 'master_MDL-50160' of https://github.com/mattporritt/moodle 2023-08-17 09:11:46 +02:00
Huong Nguyen
ca3c8f70a1
Merge branch 'MDL-78746-master' of https://github.com/aanabit/moodle 2023-08-17 09:11:44 +02:00
Jun Pataleta
2870637daa
Merge branch 'MDL-78505/master' of https://github.com/skodak/moodle 2023-08-17 09:10:53 +02:00
Andrew Nicols
be3878c34e
MDL-43195 core: Version/upgrade bump 2023-08-17 09:10:52 +02:00
Andrew Nicols
c3237c9ef6
Merge branch 'MDL-43195-master' of https://github.com/srobotta/moodle 2023-08-17 09:10:52 +02:00
Sara Arjona
df5d62eac2
Merge branch 'MDL-78844' of https://github.com/paulholden/moodle 2023-08-17 09:10:51 +02:00
Sara Arjona
871e82c197
Merge branch 'MDL-78203-master' of https://github.com/ferranrecio/moodle 2023-08-17 09:09:16 +02:00
Petr Skoda
989636b0de MDL-78505 core: stop mangling existing Mardown in text editors
The problem is that HTML Purifier is not compatible with Markdown,
that means we cannot sanitise Markdown texts before editing.

Luckily Markdown has to use plain text editor which does not have
XSS problems.

The only tiny downside is that Markdown cannot be allowed
in "trust text" areas any more.
2023-08-15 14:26:59 +02:00
Petr Skoda
a50c2d4746 MDL-78505 Revert "MDL-32114 form: markdown must be preserved on saving post"
This partially reverts commit 4a31dd69d6d89818f676ece916e573aa894d49d6.
2023-08-15 14:26:59 +02:00
Kevin Percy
7db066a823 MDL-78436 editor_tiny: mform disabledIf works with TinyMCE 2023-08-15 14:15:07 +08:00
Stephan Robotta
aafbdf7a6b MDL-43195 license: upgrading cc core licenses to version 4.0
The short name of the cc licenses are trailed with a suffix containing
the version number (current 3.0 and 4.0). The old cc* licenses become
the new cc-*-3.0 licenses and are disables, because the new cc*-4.0
licenses are the current ones.
2023-08-14 22:53:57 +02:00
Laurent David
da2f2c9c45 MDL-75762 core_courseformat: Fix accessibility issue
* Reverse the changes in MDL-74740 to fix left drawer issue (drawer
was scrolling with the page)
2023-08-14 07:23:12 +02:00
Ferran Recio
5151dc54f0 MDL-78203 behat: adding subpanels to action menu step 2023-08-11 17:24:18 +02:00
Ferran Recio
fc37e6ca92 MDL-78203 lib: document new components 2023-08-11 17:24:18 +02:00
Paul Holden
ce8397f7ad
MDL-78974 themes: define removedprimarynavitems theme config property.
All configurable theme config properties must be defined at the class
level, lest PHP 8.2 complain about creation of dynamic properties.
2023-08-11 13:38:02 +01:00
Amaia Anabitarte
36b865b3d9 MDL-78746 formslib: add variables to addHelpButton()
addHelpButton() function should allow to get variables to pass to get_string
to improve help button text.
2023-08-11 11:13:29 +02:00
Jun Pataleta
c6817e45be
MDL-78983 core: Preserve default behaviour of flipping question icon
Introduce a lang string `questioniconfollowlangdirection` that will
allow the current behaviour of displaying the question mark icon
in RTL languages in the same manner as the current language.
2023-08-11 16:10:14 +07:00
Jun Pataleta
001b299eb2
MDL-78983 core: Fix question mark icon direction flipping
This fixes the changes made in MDL-75047:
* Change `thisicondirection` langconfig string to a more specific one
  like `questionicondirection`.
* Use existing direction string value `ltr` for the value of
  `questionicondirection`. Also add a comment to at least provide some
  form of documentation for it.
* Improve the logic for applying the horizontal flipping class for the
  question icon:
  - Check first if the icon is a question icon
  - Flip the icon if `questionicondirection` is set to `rtl`.
2023-08-11 11:47:26 +08:00
Jun Pataleta
582f970795
Merge branch 'MDL-78957' of https://github.com/stronk7/moodle 2023-08-10 18:32:22 +07:00
Jun Pataleta
4ef1f2fabd
Merge branch 'MDL-78962' of https://github.com/timhunt/moodle 2023-08-10 18:32:22 +07:00
Jun Pataleta
c3a27a0070
Merge branch 'MDL-77817-master' of https://github.com/meirzamoodle/moodle 2023-08-10 18:32:15 +07:00
raortegar
058b830b07
MDL-74289 lib: Improve the proxy bypass matching 2023-08-10 18:31:44 +07:00
Tim Hunt
788580c9dd MDL-78962 core/loadingicon: remove jQuery requirement in the API 2023-08-09 21:10:13 +01:00
Eloy Lafuente (stronk7)
57c2397400
MDL-78957 libraries: Fix php82 undefined property deprecation
This was detected only in master (4.3dev) because MDL-40084
added a unit test covering it. But the very same patch is
needed in 402_STABLE, no matter it's not covered there.
2023-08-09 15:27:49 +02:00
Paul Holden
c9f689ae6c
MDL-78844 reportbuilder: external validate system report access method. 2023-08-09 13:49:27 +01:00
Paul Holden
b78663083f MDL-78647 files: safer unserializing of file reference data. 2023-08-09 04:44:18 +00:00
Huong Nguyen
38d49c033c
Merge branch 'MDL-75047-master' of https://github.com/SysBind/moodle 2023-08-09 11:29:03 +07:00
Ilya Tregubov
3b23a296b7
Merge branch 'MDL-78714-master' of https://github.com/andrewnicols/moodle 2023-08-09 12:04:45 +08:00
Andrew Nicols
9f9814ae41
MDL-78714 editor_tiny: Disable HTML Sanitisation in TinyMCE
This is in keeping with other Editors such as Atto and resolves an issue
where DOM Purification incorrectly identifies HTML-like string content
as an HTML tag with a JS variable.

Moodle already performs XSS sanitisation using HTML Purifier in PHP.
2023-08-09 09:07:04 +08:00
Andrew Nicols
8e58a8fab0
MDL-78714 editor_tiny: Add xss_sanitize option to TinyMCE
To address a potential data loss issue, a feature introduced in TinyMCE
6.4.0 to disable client-side XSS sanitisation must be backported.
2023-08-09 09:05:25 +08:00
Andrew Nicols
3c9a5589b7
MDL-78714 editor_tiny: Move TinyMCE import instructions to correct path 2023-08-09 09:05:23 +08:00
Huong Nguyen
59418b5f61
Merge branch 'MDL-78492_aurora_mysql_rowformat_master' of https://github.com/mark-webster-catalyst/moodle 2023-08-08 21:41:47 +07:00
Sara Arjona
3774059c1b
Merge branch 'MDL-78770-master' of https://github.com/junpataleta/moodle 2023-08-08 13:55:26 +02:00
Jun Pataleta
51e86626d1
Merge branch 'MDL-77174-master' of https://github.com/andrewnicols/moodle 2023-08-08 15:15:32 +08:00