115134 Commits

Author SHA1 Message Date
Huong Nguyen
c81be53a7b
Merge branch 'MDL-80017-master' of https://github.com/jleyva/moodle 2024-08-01 09:11:37 +07:00
Jun Pataleta
60c19ee53f
Merge branch 'MDL-82447-master' of https://github.com/jleyva/moodle 2024-08-01 10:09:14 +08:00
Ilya Tregubov
fdc0e6156a Merge branch 'MDL-81689' of https://github.com/rzhtwberlin/moodle 2024-08-01 09:59:52 +08:00
Jun Pataleta
70abac7f27
Merge branch 'MDL-82286-main' of https://github.com/daledavies/moodle 2024-08-01 09:47:27 +08:00
Jake Dallimore
24f59be234
MDL-82344 mod_lti: deprecated unused content select validation string 2024-08-01 08:54:13 +08:00
AMOS bot
7bdf678453 Automatically generated installer lang files 2024-08-01 00:07:37 +00:00
Sara Arjona
8bce79a585
Merge branch 'MDL-72876-main' of https://github.com/junpataleta/moodle 2024-07-31 17:15:11 +02:00
Sara Arjona
7cab6a5717
Merge branch 'MDL-82397-main' of https://github.com/lucaboesch/moodle 2024-07-31 16:59:20 +02:00
Sara Arjona
db70ef1d1b
Merge branch 'MDL-82596' of https://github.com/paulholden/moodle 2024-07-31 16:45:59 +02:00
Jun Pataleta
14c70d80ff
Merge branch 'MDL-80858' of https://github.com/paulholden/moodle 2024-07-31 18:21:26 +08:00
Paul Holden
89dbe63dcf
MDL-80858 customfield_number: new field type for numeric data.
Provide field type to allow for number type data to be stored and
presented within those components that already support custom fields.

This is especially useful for reporting purposes.
2024-07-31 11:19:32 +01:00
Dale Davies
70b84a0db1 MDL-82286 quiz_accessrule: Add SEB config test for floating point number
This tests several variations of SEB config files, to ensure Moodle
is able to parse them and generate a config key hash that matches
what SEB expects.

Additional values have been added to the unencrypted_win_233.seb
config file to cover the existence of floating point values,
ensuring they are serialized correctly. The config hash value
has been updated in real_ck_hash_provider to reflect the change.

Also added coverage information to the test case class docblock.
2024-07-31 11:12:09 +01:00
Jun Pataleta
63193afa83
Merge branch 'MDL-82187-single-button' of https://github.com/djarran/moodle 2024-07-31 17:21:49 +08:00
Paul Holden
07ce1ccc18
MDL-82208 block_starredcourses: avoid double encoding course name. 2024-07-31 08:47:17 +01:00
Shamim Rezaie
5aee595206 Merge branch 'MDL-78030-main-improvement' of https://github.com/meirzamoodle/moodle 2024-07-31 17:38:29 +10:00
Shamim Rezaie
f108d1ee2b
MDL-81859 mod_assign: Add a link to grader on the submissions page 2024-07-31 08:00:15 +02:00
Ilya Tregubov
965a892052 Merge branch 'MOODLE_main_MDL-76242' of https://github.com/danielneis/moodle 2024-07-31 12:58:22 +08:00
Ilya Tregubov
ab4f1d1578 Merge branch 'MDL-80752-main' of https://github.com/rezaies/moodle 2024-07-31 10:59:42 +08:00
Huong Nguyen
7b4f8e4021
Merge branch 'MDL-82260-main' of https://github.com/ferranrecio/moodle 2024-07-31 09:37:01 +07:00
Huong Nguyen
d11eaeefb9
Merge branch 'MDL-82259-main' of https://github.com/aanabit/moodle 2024-07-31 09:17:38 +07:00
Huong Nguyen
0c2d74b1af
Merge branch 'MDL-64148-main' of https://github.com/meirzamoodle/moodle 2024-07-31 09:15:03 +07:00
Ilya Tregubov
f14746511b Merge branch 'MDL-78776-expunge_myisam' of https://github.com/leonstr/moodle 2024-07-31 09:38:25 +08:00
AMOS bot
022367417e Automatically generated installer lang files 2024-07-31 00:07:35 +00:00
ferranrecio
5cd11ee33a
MDL-82424 tool_generator: plugin handling on test scenarios 2024-07-30 18:12:37 +02:00
ferranrecio
a3e810bf7e
MDL-82424 behat: steps to handle plugins
This commit adds one new step to disable plugins, and also replaces the
regexp from the enable plugins method to make ti compatible with the
tool_generator create testing scenario.
2024-07-30 18:12:37 +02:00
meirzamoodle
699daafc64 MDL-64148 core: Make email greetings consistent
Some email body strings use first names as greetings,
some use full names, and some do not.

Using the first name for greeting makes it consistent and
a bit more "personal".
2024-07-30 22:40:47 +07:00
meirzamoodle
b4f1704321 MDL-64148 oauth2: Make email greetings consistent
Some email body strings use first names as greetings,
some use full names, and some do not.

Using the first name for greeting makes it consistent and
a bit more "personal".
2024-07-30 22:40:47 +07:00
meirzamoodle
020259dbad MDL-64148 core: Deprecate reset_password_and_mail 2024-07-30 22:40:47 +07:00
Paul Holden
3cf196df6f
MDL-82643 enrol_self: clarify validation of notification threshold. 2024-07-30 15:46:44 +01:00
Nikolai Jahreis
2cd381b27b MDL-81629 user: Set replyto and replytoname variables in contactform 2024-07-30 13:09:21 +00:00
Jun Pataleta
63bb543fd7
MDL-72876 theme_classic: Enclose welcome message in Bootstrap card 2024-07-30 19:37:47 +08:00
Sara Arjona
793fe8ac40
MDL-82497 theme: Update icons for consistency
Some places where using the wrong icon and now that they have changed,
they need to be updated. For instance:
- i/settings (cog) should be used for settings or configure.
- t/edit (pen) should be used for editing
2024-07-30 12:55:09 +02:00
Sara Arjona
fd67691345
MDL-82497 output: Update icon map to take advantage of FA6 2024-07-30 12:37:32 +02:00
Sara Arjona
adb65915da
MDL-82497 pix: Update SVG icons to align them with FA6 2024-07-30 12:32:56 +02:00
Tim Hunt
3e88ef17bf MDL-82177 file upload: default to path '/'when things go wrong
This 'fix' is basically a work-around, but one that is already used in
some places. Now it is used in all similar places.

Exactly what causes the current file path in a file manager to become
unset is still unclear to me, but it seems to be an obscure race
condition that is very hard to reproduce.

However, when it happens, currently we are effectively defaulting to
path '/undefined/'. Using '/' is never worse, and is infinitely better
in the case where the filepicker does not allow folders to be used
(which includes important cases like essay questions in a quiz, which
some people use for exams!). In that case, falling back to non-top-level
path leads to dataloss.

Also, this is all historic JavaScript which will get replaced in the
grand de-YUI-fication, so I think a pragmatic fix is justified here.
2024-07-30 09:22:05 +01:00
David Woloszyn
7501a54372 MDL-82346 hub: Add organisation type to registration form 2024-07-30 11:06:46 +10:00
Paul Holden
088cb7ad8f
MDL-63015 mod_feedback: preview feedback questions in read-only. 2024-07-29 17:35:39 +01:00
Tim Hunt
69e1c3ca7a MDL-82607 filters: configfilternavigationwithsystemcontext on by default 2024-07-29 11:12:13 +01:00
meirzamoodle
2bd774d432 MDL-80064 authentication: password can be null
The Open ID Connect plugin uses null for the password,
which makes the internal password update fail to proceed.
Allowing null resolved the problem.

As a note, there is a potential issue if the authentication method has
a false return for the prevent_local_password because it will trigger
the hash_internal_user_password() where  the $password can not be null.
Since this only addresses the oauth2 issue, we should ignore it.
2024-07-29 15:49:47 +07:00
Paul Holden
0834280726
MDL-82525 user: correct course parameter for course profile page. 2024-07-29 09:21:57 +01:00
Paul Holden
ff9ba32030
MDL-81830 calendar: handle clearing of group type course element. 2024-07-29 09:20:44 +01:00
Paul Holden
dcf73527cb
MDL-82209 calendar: consistent event action icon hovering.
* Apply hover on the icons, rather than the outer container;
* Make hover colour and text decoration appropriate for the icon
2024-07-29 09:19:03 +01:00
Paul Holden
31163d5e02
MDL-82629 output: switch to named message/contact mapped icons. 2024-07-29 09:05:28 +01:00
meirzamoodle
63d5d45ac7 MDL-78030 tool_customlang: Implementing the count window function 2024-07-29 13:58:38 +07:00
meirzamoodle
9354b80a52 MDL-78030 user: Implementing the count window function 2024-07-29 13:58:38 +07:00
meirzamoodle
42664ee49a MDL-78030 dml: get total count records using the window function
The COUNT window function can be helpful to fasten the complex query,
but it's not recommended to be used for a single table query.

The patch is specifically for PostgreSQL, MariaDB and Oracle databases as they have better performance
compared to MySQL and MSSQL. Although these databases support the COUNT window functions,
the results indicate that the query runs slower when using them.
2024-07-29 13:53:46 +07:00
Ilya Tregubov
aa4790b119 Merge branch 'MDL-60957-main' of https://github.com/djarran/moodle 2024-07-29 13:41:30 +08:00
djarrancotleanu
f6fb07be52 MDL-60957 mod_assign: Add calendar event for extension due dates 2024-07-29 15:32:52 +10:00
Jake Dallimore
777d00ef37
MDL-82344 mod_lti: relax content selection validation in instance form
This was added in MDL-78916 in 4.3 but makes configuring a generic
launch to the default tool URL impossible, since a content item must be
selected. This fix:
- Makes this element optional again, which allows teachers to choose
whether a given instance launches into selected content, or launches
the default tool URL.
- Changes the style to btn-secondary, given it's now optional again
2024-07-29 13:04:50 +08:00
Andrew Nicols
8168d192bd
Merge branch 'MDL-82250-main' of https://github.com/lameze/moodle 2024-07-29 11:47:42 +08:00