115823 Commits

Author SHA1 Message Date
Luca Bösch
97e90f2210 MDL-80965 mod_quiz: Put back random q category on the question page. 2024-09-18 15:25: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
Sara Arjona
2d0df1da23
Merge branch 'MDL-71823-add-user-menu-hook' of https://github.com/gbarat87/moodle 2024-09-18 07:19:53 +02: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
AMOS bot
fa898b1010 Automatically generated installer lang files 2024-09-18 00:07:48 +00:00
Guillaume Barat
eadf38cf45 MDL-71823 user: Add hook for extending user menu 2024-09-18 08:17:40 +10:00
Paul Holden
2181edd1a7
MDL-83188 block_private_files: style expand/collapse icons correctly. 2024-09-17 17:15:11 +01:00
Paul Holden
4ee58af853
MDL-82973 tool_usertours: add missing filelib library require. 2024-09-17 16:49:08 +01:00
Sara Arjona
2892a03387
Merge branch 'MDL-82389-master' of https://github.com/ssj365/moodle 2024-09-17 17:31:41 +02:00
Sara Arjona
031edf2ab3
Merge branch 'MDL-81663-main' of https://github.com/safatshahin/moodle 2024-09-17 17:28:52 +02:00
Julien
5ec6096eea MDL-77625 question restore: test restoring a quiz into a course twice
The verifies that the previous two commits are doing the right thing.
2024-09-17 16:16:26 +01:00
Tim Hunt
c248dee33c MDL-77625 question restore: fix restore of existing questions
Continuing from the last commit, the code to restore question
bank entries, versions and questions, was not taking note of
whether the first stage had indentified questions that did not
need to be restored. This is tricky, but the mapping can only be
worked out for questions, but in the backup file, the questions are
inside the question_bank_entries, and versions, so we encounter
those first.

Now, the code just saves the QBE and QV when it encounters them,
and then does all the processing when it gets to the question,
correctly taking note of whether each question should be restored or not.
In cases where a particular question does not need to be restored,
we still set up the corresponding mappings.
2024-09-17 16:16:26 +01:00
Tim Hunt
bab665dd40 MDL-77625 question restore: fix pre-parsing of questions
Restore of categories and questions happens in several phases.
First, the file is scanned for which questions and categories
it contains, to work out if these are new questions which need
to be restored, or if they already exist in the database in a
place that can be used.

That code had not been updated to cope with the Moodle 4.0
versioning changes, so it is updated here (while still keeping
the code to cope with the old backup format.)
2024-09-17 16:14:21 +01: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
f6141a67d8
on-demand release 4.5dev+ 2024-09-17 15:10:00 +02:00
Sara Arjona
504eb68404
NOBUG: Add upgrade notes 2024-09-17 15:10:00 +02:00
Sara Arjona
0a92bbc07f
NOBUG: Fixed SVG browser compatibility 2024-09-17 15:09:46 +02:00
Safat
d60985257e MDL-83122 core_communication: Fix exception for delete user hook 2024-09-17 15:31:16 +10:00
Huong Nguyen
aec7313e12
Merge branch 'main_MDL-82945' of https://github.com/mattporritt/moodle 2024-09-17 08:49:30 +07:00
Huong Nguyen
9f2e45a719
MDL-83124 theme: Regenerate fontawesomeicons.json 2024-09-17 08:46:15 +07: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
Sara Arjona
d0f79969d1
Merge branch 'MDL-82407-main' of https://github.com/laurentdavid/moodle 2024-09-16 12:53:46 +02:00
sam marshall
7544d26dc1 MDL-83163 core_course: Fresh install fails if dependency on format
If any plugin had dependency on a course format, Moodle fresh install
showed dependency errors (even though course format exists).
2024-09-16 11:46:39 +01:00
Jun Pataleta
5f5a3f5a7b
Merge branch 'MDL-83144' of https://github.com/paulholden/moodle 2024-09-16 16:36:36 +08: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
Paul Holden
99be8d5676
MDL-83134 ai: context/capability checks for setting provider state. 2024-09-16 16:08:27 +08:00
Jun Pataleta
2ea8adc589
Merge branch 'MDL-83127-main' of https://github.com/lucaboesch/moodle 2024-09-16 15:58:57 +08:00
Jun Pataleta
17cb8ba522
MDL-83109 tool_componentlibrary: Regenerate fontawesomeicons.json 2024-09-16 15:55:39 +08: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
df45f44e63
Merge branch 'MDL-82875' of https://github.com/timhunt/moodle 2024-09-16 09:44:02 +02:00
Sara Arjona
b163e9c2d0
Merge branch 'MDL-82541-main' of https://github.com/ferranrecio/moodle 2024-09-16 09:38:35 +02:00
Michael Hawkins
d96db9cb11
MDL-81278 core: Update security.txt expiry 2024-09-16 14:48:50 +08:00
Laurent David
abb0b013a5 MDL-83064 core_theme: Fix Max Section message accessibility
* Fix constrast ratio of Max section message
2024-09-16 05:22:56 +02:00
Jun Pataleta
dd96cf9e19
Merge branch 'MDL-83053-main' of https://github.com/aanabit/moodle 2024-09-16 11:20:54 +08: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
Paul Holden
9aed047b5d
MDL-83144 mod_quiz: style attempt summary flagged icon appropriately. 2024-09-15 12:28:01 +01:00
Paul Holden
9495c2d7a7
MDL-81157 files: consistent repository button styling on small screen. 2024-09-15 11:12:56 +01:00
Paul Holden
2ec0d407f2
MDL-82909 theme_boost: ensure we target immediate loading icon only.
Ignoring those used within inplace editable components in the table.
2024-09-15 11:11:37 +01:00
Paul Holden
b181f297ce
MDL-82909 javascript: replace custom loading icon with existing module. 2024-09-15 11:11:37 +01:00
Paul Holden
71a55aa368
MDL-83148 assignfeedback_editpdf: style icons in comment editing menu. 2024-09-15 11:05:04 +01:00
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
Jun Pataleta
e065dea97b
MDL-83082 gradereport_history: Add icon CSS class to loading icon 2024-09-14 00:34:27 +08:00
Jun Pataleta
2c9a6c8535
MDL-83082 core_user: Set a size for the loading icon background image 2024-09-14 00:34:26 +08:00
Tim Hunt
60a1a65eea MDL-82875 question export: test for not exporting hidden questions 2024-09-13 16:03:40 +01: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