112538 Commits

Author SHA1 Message Date
Paul Holden
2acfe3c093
MDL-80767 theme_boost: right align process monitor to block drawer. 2024-01-31 00:01:33 +00:00
Paul Holden
87f865ea24
MDL-80768 output: stricter progress bar component percentage type.
Avoid mixing float/string types, where the decimal separator could
vary according to current locale.
2024-01-30 23:11:13 +00:00
Paul Holden
7db305c8f4
MDL-80738 quiz_statistics: ensure tests uses a DB-backed lock class.
Fix the test file/class name too.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2024-01-30 15:38:35 +00:00
Paul Holden
24b5e80365
MDL-80692 calendar: calculate today relative to users own timezone.
Co-authored-by: Archil Abuladze <armiworker@gmail.com>
2024-01-30 14:37:43 +00:00
info@eWallah.net
8e62bcd9aa MDL-80538 phpdoc: Incorrect dataformat type documentation in table lib 2024-01-30 15:22:53 +01:00
Paul Holden
0ac237d542
MDL-74500 user: method to determine whether to show profile fields.
The new API replaces identical behaviour in existing calling code, but
allows for profile field types to override/separate the logic used to
show the field and determine whether it's empty
2024-01-30 11:33:52 +00:00
Paul Holden
066cfa41a6
MDL-80485 tool_lp: consistent activity icon element styling. 2024-01-30 11:27:22 +00:00
Huong Nguyen
980040748c Merge branch 'MDL-80523' of https://github.com/paulholden/moodle 2024-01-30 09:41:35 +07:00
Huong Nguyen
917aba079b Merge branch 'MDL-73545' of https://github.com/paulholden/moodle 2024-01-30 09:38:38 +07:00
Laurent David
8ee075d871 MDL-71665 core_courseformat: Sync activity name in the page
* Changing the name of an activity should change the access restriction messages.
* Introduction of a marker as data-cm-name-for to be able to change any
occurence of a course module name in the page when this one changes.
2024-01-29 09:00:30 +01:00
Andrew Nicols
05964ef989
MDL-80753 tiny_premium: Load TinyMCE Premium for the current editor ver 2024-01-29 15:06:03 +08:00
Jun Pataleta
245edd9a11
Merge branch 'MDL-73008-master' of https://github.com/jleyva/moodle 2024-01-29 14:42:08 +08:00
Stefan Hanauska
1a744ccdfa MDL-80716 course: Fix group button position 2024-01-29 06:34:18 +01:00
Huong Nguyen
379e48c1fd MDL-74775 adhoc_task: Do not clear the timecreated of failed tasks 2024-01-29 09:57:33 +07:00
Jun Pataleta
659b219869
Merge branch 'MDL-69225-main' of https://github.com/sarjona/moodle 2024-01-29 10:20:22 +08:00
Jun Pataleta
5bbcc38502
Merge branch 'MDL-78311' of https://github.com/paulholden/moodle 2024-01-29 10:08:37 +08:00
Jun Pataleta
82e73cb8a6
Merge branch 'MDL-79930' of https://github.com/marcusboon/moodle 2024-01-29 10:04:43 +08:00
Marcus Boon
5b6ca13bd7 MDL-79930 mod_forum: Use MUC for forum count discussions 2024-01-29 08:33:18 +10:00
AMOS bot
09bdeabb58 Automatically generated installer lang files 2024-01-27 00:11:34 +00:00
Juan Leyva
94bc97a8b2 MDL-80724 webservice: Return whether competencies are enabled 2024-01-26 13:56:23 +01:00
Sara Arjona
9b83de8185
Merge branch 'MDL-80471-main' of https://github.com/roland04/moodle 2024-01-26 12:41:40 +01:00
Juan Leyva
9c38e28826 MDL-79295 quiz: Return total unasnwered questions via summary WS 2024-01-26 10:31:07 +01:00
Juan Leyva
d54086f838 MDL-79295 quiz: Return state class for questions via WS 2024-01-26 10:31:07 +01:00
Juan Leyva
30598cf2a0 MDL-79295 quiz: Add proper WS support for sequential nav. 2024-01-26 10:24:16 +01:00
Mikel Martín
bcc95cde2a MDL-80471 theme: Refactor Tags SCSS code 2024-01-26 07:52:43 +01:00
Paul Holden
a767e0a78c
MDL-78311 core: fix host parameter type cleaning by IPv4 address. 2024-01-25 23:36:06 +00:00
Paul Holden
4efe3927d8
MDL-80727 tool_task: replace hard-coded adhoc task runner strings. 2024-01-25 22:42:25 +00:00
Paul Holden
87091e7b7c
MDL-80124 admin: prevent deletion of pre-installed preset definitions. 2024-01-25 21:51:41 +00:00
Sara Arjona
6fb09beb86
MDL-69225 h5pactivity: Review when and which banners display
The UX team proposal is to display two different notifications, to avoid confusion:

1. When the user is in preview mode:
Message: 'You are in preview mode.'
Notification Type: Information (blue), with the information permanently visible and not dismissible,
ensuring continuous awareness.

2. When activity tracking is disabled:
Message: 'Attempt tracking is not enabled for this activity. You can enable it in Settings.'
Notification Type: Warning (yellow) with a close icon for dismissal if tracking is intentionally disabled.

These notifications should only be visible to teachers and content creators, not students.
If a teacher also has a student role, this information should not appear when logged in as a student.

That's why the pre-existing is_tracking_enabled() function has been updated to only check if tracking
is on for an activity, without considering user capabilities (that's why the $user parameter has been
removed from this function too). Besides, a new function called can_submit() has been created to find
out if users are allowed to submit an activity.
2024-01-25 17:46:36 +01:00
Sara Arjona
f30110b5eb
weekly release 4.4dev 2024-01-25 16:48:23 +01:00
Paul Holden
6f00e3a460
MDL-80660 user: preserve return URL upon role switch from frontpage. 2024-01-25 15:40:52 +00:00
Dani Palou
d638bb10cb MDL-80718 quiz: Apply overrides in mod_quiz_get_combined_review_options 2024-01-25 10:03:45 +01:00
Jun Pataleta
8795b5745b
Merge branch 'MDL-80656-main' of https://github.com/lameze/moodle 2024-01-25 12:14:05 +08:00
Jun Pataleta
22cccb52d6
Merge branch 'MDL-80673-main' of https://github.com/snake/moodle 2024-01-25 12:06:14 +08:00
Jake Dallimore
9921d5f5ef
MDL-80673 mod_forum: fix modal creation when viewing student grades
Fixes a regression caused by MDL-78324.
2024-01-25 12:01:22 +08:00
Huong Nguyen
ff96c6f05c Merge branch 'MDL-80224' of https://github.com/paulholden/moodle 2024-01-25 11:01:09 +07:00
Huong Nguyen
d6254da301 Merge branch 'MDL-80516' of https://github.com/paulholden/moodle 2024-01-25 10:44:47 +07:00
Huong Nguyen
ccc9bf6b60 Merge branch 'MDL-76671-master' of https://github.com/jleyva/moodle 2024-01-25 10:23:56 +07:00
Huong Nguyen
aa545904da Merge branch 'MDL-80650' of https://github.com/timhunt/moodle 2024-01-25 09:23:27 +07:00
Ilya Tregubov
32fe5a74ed Merge branch 'MDL-80098' of https://github.com/paulholden/moodle 2024-01-25 10:20:05 +08:00
Huong Nguyen
854ba5dc20 Merge branch 'MDL-80676-main' of https://github.com/junpataleta/moodle 2024-01-25 09:07:25 +07:00
Ilya Tregubov
59cac76dc1 Merge branch 'MDL-79927' of https://github.com/paulholden/moodle 2024-01-25 09:53:21 +08:00
Huong Nguyen
5d9cd397f9 Merge branch 'MDL-76716-master' of https://github.com/stefangub/moodle 2024-01-25 08:50:47 +07:00
Ilya Tregubov
6de142b0a2 Merge branch 'MDL-80409' of https://github.com/paulholden/moodle 2024-01-25 09:49:59 +08:00
Ilya Tregubov
404b7078c0 Merge branch 'MDL-79159-master' of https://github.com/andelacruz/moodle 2024-01-25 09:35:28 +08:00
Ilya Tregubov
62f8ccecdd Merge branch 'MDL-80653' of https://github.com/paulholden/moodle 2024-01-25 09:25:20 +08:00
Sara Arjona
53ad9cdfae
Merge branch 'MDL-80429' of https://github.com/paulholden/moodle 2024-01-24 17:18:12 +01:00
Sara Arjona
a31646d2d8
Merge branch 'MDL-80458-main' of https://github.com/mickhawkins/moodle 2024-01-24 17:14:53 +01:00
Sara Arjona
5585ccf048
Merge branch 'MDL-71950' of https://github.com/paulholden/moodle 2024-01-24 17:08:59 +01:00
Sara Arjona
6cea979891
Merge branch 'MDL-79681' of https://github.com/paulholden/moodle 2024-01-24 17:02:17 +01:00