115543 Commits

Author SHA1 Message Date
Matt Porritt
598c84cec9 MDL-82945 AI: Image watermark rendering
When an image is generated using AI a watermark is added.
This patch examines the area of the image where the water
mark is to be added and changes the font color of the mark
to either black or white, so it can be read against the
background color.
2024-09-14 07:53:47 +10:00
Sara Arjona
09e56f2d1a
on-demand release 4.5dev+ 2024-09-13 13:22:02 +02:00
Sara Arjona
3cc3569974
NOBUG: Add upgrade notes 2024-09-13 13:22:02 +02:00
Sara Arjona
9ba7917c89
NOBUG: Fixed SVG browser compatibility 2024-09-13 13:21:49 +02:00
Sara Arjona
e56bfff22e
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install 2024-09-13 13:21:49 +02:00
Jun Pataleta
140ef843a7
Merge branch 'MDL-82626-main' of https://github.com/davewoloszyn/moodle 2024-09-13 11:54:45 +08:00
David Woloszyn
2b1d330783 MDL-82626 hub: Registration collects AI usage data 2024-09-13 13:07:23 +10:00
Huong Nguyen
ace5d7d56b
MDL-83084 theme: Regenerate fontawesomeicons.json 2024-09-13 09:59:27 +07:00
Huong Nguyen
ff39465628
Merge branch 'MDL-83084-main' of https://github.com/sarjona/moodle 2024-09-13 09:57:13 +07:00
Jun Pataleta
a5b433d0f4
MDL-67541 core_grades: Remove trailing space in max attribute value 2024-09-13 10:40:10 +08:00
Jun Pataleta
fefd5fa37c
Merge branch 'MDL-67541-main' of https://github.com/ilyatregubov/moodle 2024-09-13 10:37:51 +08:00
Jun Pataleta
971bfc80ac
Merge branch 'MDL-82935-main' of https://github.com/sarjona/moodle 2024-09-13 10:33:59 +08:00
Jun Pataleta
c2e3c57d17
Merge branch 'MDL-82844-main' of https://github.com/dpalou/moodle 2024-09-13 10:32:02 +08:00
Sara Arjona
cb1d76b2f8
Merge branch 'MDL-83116' of https://github.com/paulholden/moodle 2024-09-12 18:15:13 +02:00
Paul Holden
cd2c86b301
MDL-83116 output: apply appropriate icon class to collapsible region. 2024-09-12 14:48:51 +01:00
Dani Palou
59ebca88bb MDL-82844 ws: Return home page url in get_site_info WebService 2024-09-12 15:03:25 +02:00
Ilya Tregubov
912da0c86e MDL-67541 core_grades: Add max and min grade to mustache. 2024-09-12 16:24:21 +08:00
Jun Pataleta
f416dc4c6a
Merge branch 'MDL-83068-main' of https://github.com/sarjona/moodle 2024-09-12 16:22:04 +08:00
Jun Pataleta
a5ee12473b
Merge branch 'MDL-83074-main-2' of https://github.com/raortegar/moodle 2024-09-12 16:06:07 +08:00
Jun Pataleta
37d13cb706
Merge branch 'MDL-82627-main-phpunit' of https://github.com/HuongNV13/moodle 2024-09-12 14:10:52 +08:00
Huong Nguyen
eae6d64624
MDL-82627 AI: Database modification
Allow nullable value for `prompt` and `sourceurl` columns
2024-09-12 13:03:53 +07:00
Jun Pataleta
7bebfbd8b9
Merge branch 'mdl-83046_main' of https://github.com/james-cnz/moodle 2024-09-12 13:40:29 +08:00
Huong Nguyen
78df6e927b
Merge branch 'MDL-83043-main' of https://github.com/meirzamoodle/moodle 2024-09-12 10:51:05 +07:00
Huong Nguyen
48f6e57073
Merge branch 'MDL-82545_main' of https://github.com/marxjohnson/moodle 2024-09-12 10:46:36 +07:00
Huong Nguyen
cdc136e136
Merge branch 'MDL-81816-main' of https://github.com/laurentdavid/moodle 2024-09-12 10:39:14 +07:00
Huong Nguyen
969b3385ac
Merge branch 'MDL-82959-main' of https://github.com/sh-csg/moodle 2024-09-12 10:34:23 +07:00
AMOS bot
f86bc3641e Automatically generated installer lang files 2024-09-12 00:07:46 +00:00
Jun Pataleta
a442f8dd13
Merge branch 'MDL-82847-main' of https://github.com/aanabit/moodle 2024-09-11 17:26:03 +08:00
Huong Nguyen
45b42a325c
Merge branch 'MDL-68676-main' of https://github.com/rhell4/moodle 2024-09-11 15:49:52 +07:00
Jun Pataleta
9485e6918b
Merge branch 'MDL-83083-main' of https://github.com/sarjona/moodle 2024-09-11 16:48:48 +08:00
Huong Nguyen
840504bd6d
Merge branch 'MDL-75692-main' of https://github.com/laurentdavid/moodle 2024-09-11 15:45:00 +07:00
Jun Pataleta
c750565f8a
Merge branch 'MDL-82283' of https://github.com/marinaglancy/moodle 2024-09-11 16:34:19 +08:00
raortegar
94a373f79b MDL-83074 AI: Placement Text Editor - White icon on button 2024-09-11 10:33:12 +02:00
Jun Pataleta
f2fbdafff2
Merge branch 'MDL-83052' of https://github.com/marinaglancy/moodle 2024-09-11 16:28:25 +08:00
Jun Pataleta
d078e0f5f0
Merge branch 'MDL-82270-extra_backslash' of https://github.com/mathbruyen/moodle 2024-09-11 15:53:41 +08:00
Jun Pataleta
9162b47424
Merge branch 'MDL-82492-405' of https://github.com/vladaskidanovas/moodle 2024-09-11 15:36:40 +08:00
Jun Pataleta
f8309b846d
Merge branch 'MDL-82627-main-fix' of https://github.com/HuongNV13/moodle 2024-09-11 15:32:23 +08:00
Huong Nguyen
feaa2939c6
MDL-82627 AI: Fix install.xml and upgrade.php mismatch 2024-09-11 14:07:30 +07:00
Jun Pataleta
f631b4fdcc
Merge branch 'MDL-82627-main-4' of https://github.com/HuongNV13/moodle 2024-09-11 12:50:48 +08:00
Huong Nguyen
ceb30b01b2
MDL-82627 AI: Upgrade notes 2024-09-11 11:25:17 +07:00
Huong Nguyen
f4860573fa
MDL-82627 AI: Placement Text Editor - Improvement
- Quiz is setting the text editor id in this format: `#q2:1_answer`.
   This will break the querySelector(). We need to update the code to
   escape those colons.
 - Generate AI image requires users to have the capability to upload files.
   A new extra condition is added to verify this one.
2024-09-11 11:25:17 +07:00
Huong Nguyen
7809ad9d96
MDL-82627 AI: Rename TinyMCE placement to a more generic name
To make the plugin name a bit more generic, we renamed as below
 - Shortname: `aiplacement_tinymce` -> `aiplacement_editor`
 - Fullname: `TinyMCE Editor Placement` -> HTML Text Editor Placement
2024-09-11 11:25:17 +07:00
Huong Nguyen
9746d9d5a1
MDL-82627 AI: Make some methods abstract 2024-09-11 11:25:17 +07:00
Huong Nguyen
3300712cda
MDL-82627 AI: Extra PHPUnit tests for OpenAI provider 2024-09-11 11:25:17 +07:00
Andrew Nicols
4adc7257e9
MDL-82627 AI: Improve and restructure 2024-09-11 11:25:16 +07:00
Andrew Nicols
3e2d581628
MDL-82627 PHPUnit: Add helper to mock http_client 2024-09-11 11:25:16 +07:00
Andrew Nicols
74d1f5f9ce
MDL-82627 PHPUnit: Add helper to get path to fixture 2024-09-11 11:25:16 +07:00
Andrew Nicols
52855d0bb0
MDL-82627 AI: AI Image code cleanup 2024-09-11 11:25:16 +07:00
Andrew Nicols
acc1f4136b
MDL-82627 AI: Placement Text Editor - Code cleanup
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-09-11 11:25:16 +07:00
Huong Nguyen
253253eede
MDL-82627 AI: Code cleanup
Co-authored-by: Meirza <meirza.arson@moodle.com>
2024-09-11 11:25:16 +07:00