33417 Commits

Author SHA1 Message Date
Jun Pataleta
92e842dceb
Merge branch 'MDL-80890-main' of https://github.com/HuongNV13/moodle 2024-09-19 10:33:13 +08:00
Huong Nguyen
cb4e621ce9
MDL-80890 AI: Course Assistance Placement
Co-authored-by: Matt Porritt <pozze30@gmail.com>
2024-09-19 09:30:10 +07:00
Ilya Tregubov
b022a2794d Merge branch 'MDL-80750-main' of https://github.com/mihailges/moodle 2024-09-19 09:51:33 +08:00
Sara Arjona
9a0dcfd9e0
Merge branch 'MDL-74917-main-wrong-post-actions-list-in-statslib' of https://github.com/melanietreitinger/moodle 2024-09-18 17:19:09 +02:00
Sara Arjona
20d4b14ee0
Merge branch 'MDL-82971_upgrade-log' of https://github.com/ziegenberg/moodle 2024-09-18 17:10:12 +02:00
Sara Arjona
3c712cbea3
Merge branch 'MDL-83153-main-option1-2' of https://github.com/junpataleta/moodle 2024-09-18 16:40:00 +02:00
Jun Pataleta
a3b837e135
MDL-83153 core: Upgrade step for instances that need conversion
Add an upgrade step to convert `ai_action_register.success` columns
with binary type to an integer type with length 1.
2024-09-18 21:06:48 +08:00
Shamim Rezaie
674b05d4cf Merge branch 'main_MDL-83073' of https://github.com/mattporritt/moodle 2024-09-18 20:45:10 +10:00
Huong Nguyen
471cd47754
Merge branch 'main_MDL-82411' of https://github.com/mattporritt/moodle 2024-09-18 16:21:50 +07:00
Mihail Geshoski
a8d3d64ae2 MDL-80750 core: Define deselect action in bulk actions subclasses
The base bulk actions class supports deselecting all selected items but
lacks knowledge of the element types. To enhance flexibility and
maintain the class's generic nature, this change introduces a mechanism
that allows each subclass to explicitly define how to reset the
attributes indicating a selected state.
2024-09-18 15:48:10 +08:00
Shamim Rezaie
35cabfcc7e MDL-80750 core: Use roving tabindex to manage focus for bulk actions
Implement roving focus for toolbars.
See https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/
2024-09-18 15:48:09 +08:00
Shamim Rezaie
6bc8bf6360 MDL-80750 core: Limit bulk action buttons in sticky footer to 5 2024-09-18 15:48:09 +08:00
Shamim Rezaie
b491cc3a49 MDL-80750 core: Maintain order of actions in renderBulkActions
The order of bulk actions was not preserved when rendering the bulk
actions content due to asynchronous operations. This fix ensures that
the actions are added to the `data.actions` array in the correct order
by using a temporary array to store the promises and then processing
them sequentially.

Also improved the JSDoc for better clarity on what the function returns
and what it resolves to.
2024-09-18 15:48:09 +08:00
Shamim Rezaie
5f6fe3e02f MDL-80750 mod_assign: gradingtable should not print paging bar 2024-09-18 15:48:09 +08:00
Matt Porritt
75382a1e92 MDL-82411 AI: Provider Plugin - Azure AI
Add an AI provider plugin for Microsoft Azure AI.
The Azure AI provider supports generating images,
as well as generating and summarising text.
2024-09-18 17:09:59 +10:00
Matt Porritt
030f5ffce7 MDL-83073 AI: Image generation - Small screen display issue
Improve the image generation model and medium and small
screen resolutions. Fixes an issue where elements overlap
and lower screen resolutions.
2024-09-18 13:14:31 +10:00
Ilya Tregubov
a921078df6 Merge branch 'main_MDL-83158' of https://github.com/mattporritt/moodle 2024-09-18 08:57:05 +08:00
Sara Arjona
031edf2ab3
Merge branch 'MDL-81663-main' of https://github.com/safatshahin/moodle 2024-09-17 17:28:52 +02:00
Jun Pataleta
0d10fda3fb
MDL-83153 core: Set ai_action_register.success as INT(1) 2024-09-17 23:10:09 +08:00
Sara Arjona
504eb68404
NOBUG: Add upgrade notes 2024-09-17 15:10:00 +02:00
Huong Nguyen
15cc34791c
Merge branch 'MDL-83124-main' of https://github.com/sarjona/moodle 2024-09-17 08:45:59 +07:00
Matt Porritt
68ba22d80f MDL-83158 Unit tests: Exception when starting database session
Fixes an error where when reading a session the conditional
test never fails even when a session record doesn't
exist in the database.
2024-09-17 08:32:50 +10:00
Huong Nguyen
c7c2eddfb7
Merge branch 'main_MDL-82609' of https://github.com/mattporritt/moodle 2024-09-16 15:31:35 +07:00
Matt Porritt
2ae9b25ad4 MDL-82609 AI: Provider - Action settings
Allow each each Provider plugin to be able
to specify settings for the actions that they
support. Adds admin setting support for these
settings.
2024-09-16 18:19:22 +10:00
Jun Pataleta
ce2fde56c6
Merge branch 'MDL-83109-main' of https://github.com/sarjona/moodle 2024-09-16 15:55:21 +08:00
Sara Arjona
b163e9c2d0
Merge branch 'MDL-82541-main' of https://github.com/ferranrecio/moodle 2024-09-16 09:38:35 +02:00
Safat
71291e342d MDL-81663 editor_tiny: Updates to core for tiny upgrade 2024-09-16 11:49:33 +10:00
Safat
d55d720a86 MDL-81663 editor_tiny: Add new translated strings 2024-09-16 11:30:16 +10:00
Safat
77a2d3d4d1 MDL-81663 editor_tiny: Upgrade tiny to 7.3.0 2024-09-16 11:14:30 +10:00
Sara Arjona
086757bd8c
MDL-83109 theme: Update core:t/completion_fail icon and resize it
This commit:
- Updates core:t/completion_fail from fa-times to fa-xmark
- Reduces the font size of course index completion icons from 12px to 10px.
2024-09-13 16:14:55 +02:00
Sara Arjona
da28389a59
MDL-83124 theme: Revert t/move icon to arrows-up-down
Change the core:t/move icon from four-directional arrows (up-down-left-right)
to two-directional arrows (up-down) to reduce confusion, as it is used in areas
where drag-and-drop functionality is not supported
2024-09-13 16:10:08 +02:00
Daniel Ziegenberg
ea478e864e
MDL-82971 libraries: Upgrade psr/log to 3.0.2
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-09-13 15:08:42 +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
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
ferranrecio
9c55a02fb1 MDL-82541 core_course: fix orphaned sections logic 2024-09-12 16:07:42 +02:00
ferranrecio
ebaf06848c MDL-82541 core_courseformat: delegated sections in disabled plugins 2024-09-12 16:07:42 +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
Melanie Treitinger
89d07dba51 MDL-74917 core: fix typo in function stats_get_post_actions
Fix phpunit test and apply coding guidelines.
2024-09-12 10:15:57 +02: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