Commit graph

116769 commits

Author SHA1 Message Date
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
Matt Porritt
7c622cde3f
MDL-82627 AI: Placement Text Editor - Image & Text
Initial AI placement plugin for the TinyMCE editor.
It includes a TinyMCE plugin and the AI placement plugin.
It supports both text and image generation.

Originally implemented in MDL-80891

Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-09-11 11:25:14 +07:00
Matt Porritt
ece707e40e
MDL-82627 AI: Provider Plugin - Open AI
Initial Open AI API Provider plugin.
Originally implemented in MDL-80894

Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-09-11 11:02:53 +07:00
Huong Nguyen
8186e6ce25
MDL-82627 core: Add testsuite for AI
Originally implemented in MDL-80889
2024-09-11 11:02:53 +07:00
Huong Nguyen
67e6898853
MDL-82627 AI: Privacy provider
Originally implemented in MDL-82781
2024-09-11 11:02:53 +07:00
Matt Porritt
086ac975f0
MDL-82627 AI: LMS Subsystem
Initial implementation of the LMS AI subsystem.
Originally implemented in MDL-80889

Co-authored-by: Meirza <meirza.arson@moodle.com>
2024-09-11 11:02:51 +07:00
ferranrecio
c643b6e887
MDL-83008 course: make subection completion not editable 2024-09-11 09:44:21 +07:00
Huong Nguyen
74b0fc8034
Merge branch 'MDL-79020-main' of https://github.com/ferranrecio/moodle 2024-09-11 09:19:04 +07:00
AMOS bot
84ab898de4 Automatically generated installer lang files 2024-09-11 00:07:53 +00:00
james-cnz
aae0265178 MDL-83046 course: Add non-delegated sections before delegated ones 2024-09-11 10:21:04 +12:00
Sara Arjona
b07246f022
MDL-83084 theme: Remove the caret icon near the actions menu
Remove the caret icon near the actions menu in the Manage courses and
categories page.
2024-09-10 16:49:15 +02:00
Sara Arjona
b82d814ef2
MDL-83084 theme: Update the view category icon 2024-09-10 16:48:42 +02:00
Sara Arjona
a9cdd7384f
MDL-83083 theme: Revert preview icon
In MDL-82211, the preview icon was updated to use the "fa-regular fa-eye" icon.
However, this icon is also used elsewhere to represent hide/show functionality,
leading to potential confusion.
To address this, the UX team has requested that the change be reverted, and the
preview icon should now be replaced with "fa-magnifying-glass-plus".
2024-09-10 15:55:41 +02:00
Sara Arjona
64b0c39c88
MDL-83068 theme: Update grade icons
The fa-check-double icon for correct/incorrect/partial grades were updated
in MDL-82497. However, the UX team has decided to replace these icons with
the following:

 - core:i/grade_correct : fa-check-double --> fa-regular fa-circle-check
 - core:i/grade_incorrect : fa-xmark --> fa-regular fa-circle-xmark
 - core:i/grade_partiallycorrect : fa-check --> fa-circle-half-stroke

These changes should be consistent with the Navigation quiz block too.
2024-09-10 15:18:46 +02:00
Huong Nguyen
3477082aa9
weekly release 4.5dev+ 2024-09-10 20:02:54 +07:00
Huong Nguyen
5f9c42c1e0
NOBUG: Add upgrade notes 2024-09-10 20:02:53 +07:00
Laurent David
bbe2f4d4b2 MDL-81816 core_theme: Fix drag and drop box layout
* The new Boostrap color constrast made apparent an visual issue
appearing when we use drag and drop as the outline of the activity
is cut out of the drag/drop image.
2024-09-10 10:44:02 +02:00
Laurent David
507493f57c MDL-75692 core_h5p: Debounce resize events
* Make sure that we don't call the resize event too often to
avoid infinite loop when content is auto resizing (fonts for example)
2024-09-10 08:46:40 +02:00
Laurent David
d265064d53 MDL-81816 core_theme: Refactor theme-color-level for BS5 2024-09-10 07:34:59 +02:00
Huong Nguyen
e70d6fd690
Merge branch 'MDL-83047-main' of https://github.com/junpataleta/moodle 2024-09-10 10:46:40 +07:00
meirzamoodle
64032e1390 MDL-83043 filter_algebra: Fix undefined function filter_algebra_image() 2024-09-10 10:05:32 +07:00
Huong Nguyen
57ab215ac1
Merge branch 'MDL-83038' of https://github.com/paulholden/moodle 2024-09-10 09:34:07 +07:00
Jun Pataleta
40282c85ac
MDL-83047 theme_boost: Add upgrade note for theme plugins 2024-09-10 10:30:46 +08:00
Huong Nguyen
ac98e2410e
Merge branch 'MDL-83004-main' of https://github.com/davewoloszyn/moodle 2024-09-10 08:50:09 +07:00
David Woloszyn
f3adeafaf4 MDL-83004 tool_moodlenet: Fix sectionnum param 2024-09-10 10:58:56 +10:00
Sara Arjona
323141ef33
Merge branch 'MDL-82574-main' of https://github.com/laurentdavid/moodle 2024-09-09 17:44:18 +02:00
Sara Arjona
cd093bdb96
Merge branch 'MDL-83037' of https://github.com/paulholden/moodle 2024-09-09 17:21:54 +02:00
Sara Arjona
ce5cda1c07
Merge branch 'MDL-83020' of https://github.com/paulholden/moodle 2024-09-09 17:03:02 +02:00
Marina Glancy
c1300fe8bc MDL-83052 customfield_number: do not display 0 when not set 2024-09-09 11:14:47 +01:00
Sara Arjona
b2b3bbffd3
Merge branch 'MDL-82983-main' of https://github.com/ferranrecio/moodle 2024-09-09 12:06:28 +02:00
Amaia Anabitarte
e9c0789e69 MDL-82847 report_log: Add subsections to activities log 2024-09-09 12:06:02 +02:00
Marina Glancy
f8e7bbe776 MDL-82283 admin: js filtering of the plugins on plugins overview page 2024-09-09 10:37:52 +01:00
Jun Pataleta
c5d022aed6
MDL-83047 theme_boost: Apply background colour only on select layouts
* Apply the styling of `background-color` for `.page-header-headings`
only in the maintenance and secure layouts.
2024-09-09 17:00:29 +08:00
Huong Nguyen
2b64ce97ab
Merge branch 'MDL-82860-main' of https://github.com/meirzamoodle/moodle 2024-09-09 14:31:57 +07:00
Sara Arjona
5ff41b1961
Merge branch 'MDL-83016' of https://github.com/paulholden/moodle 2024-09-09 09:29:53 +02:00
Huong Nguyen
667c0f6866
Merge branch 'MDL-82938' of https://github.com/paulholden/moodle 2024-09-09 11:17:23 +07:00
Huong Nguyen
6654b37ea1
Merge branch 'MDL-80562' of https://github.com/paulholden/moodle 2024-09-09 11:15:10 +07:00
meirzamoodle
6816a5a770 MDL-82860 atto_link: Set value as default to avoid unexpected behaviour 2024-09-09 08:10:55 +07:00
Jun Pataleta
1938c438ea
on-demand release 4.5dev+ 2024-09-07 06:48:52 +08:00
Jun Pataleta
aeb079fde0
NOBUG: Add upgrade notes 2024-09-07 06:48:52 +08:00