33382 Commits

Author SHA1 Message Date
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
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
ff39465628
Merge branch 'MDL-83084-main' of https://github.com/sarjona/moodle 2024-09-13 09:57:13 +07: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
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
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
9485e6918b
Merge branch 'MDL-83083-main' of https://github.com/sarjona/moodle 2024-09-11 16:48:48 +08:00
raortegar
94a373f79b MDL-83074 AI: Placement Text Editor - White icon on button 2024-09-11 10:33:12 +02: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
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
3300712cda
MDL-82627 AI: Extra PHPUnit tests for OpenAI provider 2024-09-11 11:25:17 +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
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
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
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
Sara Arjona
ce5cda1c07
Merge branch 'MDL-83020' of https://github.com/paulholden/moodle 2024-09-09 17:03:02 +02: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
meirzamoodle
6816a5a770 MDL-82860 atto_link: Set value as default to avoid unexpected behaviour 2024-09-09 08:10:55 +07:00
Jun Pataleta
aeb079fde0
NOBUG: Add upgrade notes 2024-09-07 06:48:52 +08:00
Jun Pataleta
eb840870a6
Merge branch 'MDL-63399-main' of https://github.com/lameze/moodle 2024-09-06 12:29:15 +08:00
Huong Nguyen
5fa52f8b5d
Merge branch 'MDL-82861' of https://github.com/paulholden/moodle 2024-09-06 11:19:34 +07:00
Simey Lameze
5e4fd26115 MDL-63399 behat: new steps to verify downloads
Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk>
2024-09-06 12:03:29 +08:00
Jun Pataleta
03fbf4e8d1
Merge branch 'MDL-83010_exception-when-exporting-SCORM-reports-to-Excel-format' of https://github.com/ziegenberg/moodle 2024-09-06 10:51:34 +08:00
Paul Holden
938251eb89
MDL-83020 badges: validate correct context when retrieving badge.
Remove capablity check, as this is intended to be public info.
2024-09-05 16:03:32 +01:00
Daniel Ziegenberg
803d91968b
MDL-83010 lib: fix PhpSpreadsheet
Implementing MDL-81031 caused a regression because
lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/*
was inadvertently deleted. Re-adding those files now.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-09-04 16:08:08 +02:00
Paul Holden
526e04f540
MDL-83016 javascript: apply appropriate icon class to legacy spinner. 2024-09-04 12:16:32 +01:00
Huong Nguyen
11671775a8
Merge branch 'MDL-82503-main' of https://github.com/sarjona/moodle 2024-09-04 09:19:28 +07:00
Sara Arjona
4cdeb79566
MDL-82503 badges: Prepare and make index.php default page
The badges/index.php and badges/view.php pages are quite similar and
have been merged into index.php.
This commit updates index.php to incorporate the missing information
previously found in view.php.
2024-09-03 19:55:49 +02:00
Sara Arjona
5d5938a7ed
Merge branch 'MDL-82490-main' of https://github.com/laurentdavid/moodle 2024-09-03 19:40:38 +02:00
Sara Arjona
e812811b11
Merge branch 'MDL-81767-main' of https://github.com/roland04/moodle 2024-09-03 19:35:20 +02:00
Mikel Martín
a0fa76c86b MDL-81767 courseformat: Add module quickcreation feature
- Add new 'FEATURE_QUICKCREATE' plugin feature that indicates the module can
  be created with a single click. It will use its own 'quickcreatename' defined
  string as the initial default name.
- Add new 'core_courseformat\external\create_module' web service to create new
  modules with the quickcreate featuer in the course page.
- Add a new 'create_module' state action.
2024-09-03 13:35:04 +02:00
Ilya Tregubov
70ab6b9a28 MDL-66151 core: fix destroy method. 2024-09-03 11:56:46 +08:00
Ilya Tregubov
f3a7b673c1 Merge branch 'main_MDL-66151' of https://github.com/mattporritt/moodle 2024-09-03 11:07:47 +08:00
Trisha Milan
e52fbd2f84 MDL-66151 Performance: Session Manager modularisation
Storage of session metadata has moved into the session handler class.
This allows for other classes to fully control session handling and
removes the dependancy on the core sessions database table.

Previously, the standard method of interaction with the
session metadata was direct DB calls; this may break other plugins as there
are now proper APIs available through the session manager.

Co-authored-by: Darren Cocco <moodle@darren.cocco.id.au>
Co-authored-by: Trisha Milan <trishamilan@catalyst-au.net>
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2024-09-03 13:04:04 +10:00
Jun Pataleta
2f6e81090f
Merge branch 'MDL-82984-main' of https://github.com/sarjona/moodle 2024-09-03 10:45:15 +08:00
Ilya Tregubov
71ede9e192 Merge branch 'MDL-75850-main-fix' of https://github.com/meirzamoodle/moodle 2024-09-03 10:17:17 +08:00