110386 Commits

Author SHA1 Message Date
Ilya Tregubov
70de576893
Merge branch 'master_MDL-78571' of https://github.com/mattporritt/moodle 2023-08-02 12:11:44 +08:00
Jun Pataleta
ce131c354a
Merge branch 'MDL-78498-master' of https://github.com/lameze/moodle 2023-08-02 11:23:18 +08:00
Mathew May
5282ddd170 MDL-78101 gradereport_grader: Select all collapsed columns functionality 2023-08-02 10:52:40 +08:00
Ilya Tregubov
3f16a97a2d
MDL-78430 core_grades: Support grades categories and outcomes 2023-08-02 10:29:38 +08:00
Sara Arjona
c1d805a676
Merge branch 'MDL-78738-master' of https://github.com/andrewnicols/moodle 2023-08-01 16:24:42 +02:00
Mikel Martín
628336f639 MDL-78708 core_courseformat: Fix activity icon link shown without access
In course page activity icon was showing as a link even when the user
does not have access to the activity. This commit fixes this behaviour
checking if activity is visible for the user and showing the icon without
link if not.
2023-08-01 16:03:10 +02:00
Sara Arjona
612b8e0891
Merge branch 'MDL-71421' of https://github.com/paulholden/moodle 2023-08-01 15:17:20 +02:00
Sara Arjona
025e05f980
Merge branch 'MDL-78107' of https://github.com/Chocolate-lightning/moodle 2023-08-01 14:07:58 +02:00
Sara Arjona
5c53122494
Merge branch 'MDL-78575-fix' of https://github.com/paulholden/moodle 2023-08-01 13:59:56 +02:00
Andrew Nicols
8b97071c94
MDL-78738 core_communication: Set avatar from a stored_file
We should always use a stored_file instance to set the avatar, and never
a data uri. Especially where the datauri is from Moodle itself.

This change requires a number of changes in associated locations.

I am not adding this change to any upgrade notes as this is a
master-only feature.

Note: I have removed some tests and will not consider fixing them
because I will be entirely removing that test file in a subsequent issue
(MDL-77917).
2023-08-01 19:50:14 +08:00
Andrew Nicols
0a5c1ea5f9
MDL-78738 core_course: Add helper to get the course image 2023-08-01 19:50:14 +08:00
Andrew Nicols
235d5b9b72
MDL-78738 core_testing: Add helper to run adhoc tasks 2023-08-01 19:50:13 +08:00
Paul Holden
3b6fcd1f5b
MDL-78575 mod_lti: remove column alias from inner sub-select.
The `usage` alias is a reserved word in MySQL/MariaDB.
2023-08-01 12:46:18 +01:00
Sara Arjona
84257e4aa3
Merge branch 'MDL-78703' of https://github.com/paulholden/moodle 2023-08-01 13:44:53 +02:00
Paul Holden
c1c000aa15
MDL-71421 core: deprecate openssl fallbacks in encryption library.
Since c66dc591 the PHP Sodium library is required, negating the need
for the OpenSSL equivalent. Remove fallbacks where possible, leaving
only the ability to decrypt legacy OpenSSL-encrypted content (with
debugging).
2023-08-01 12:10:36 +01:00
Sara Arjona
3e4157b21f
Merge branch 'MDL-78430-master-2' of https://github.com/ilyatregubov/moodle 2023-08-01 13:02:47 +02:00
Sara Arjona
8e6c3c0dcb
Merge branch 'MDL-78723-master' of https://github.com/andrewnicols/moodle 2023-08-01 12:07:40 +02:00
danghieu1407
a5af041c40 MDL-78866 question: question_created trigger pre-saving extra fields 2023-08-01 16:01:31 +07:00
Andrew Nicols
01a1210954 MDL-78289 courseformat: Amend behat tests to reduce test overheads 2023-08-01 09:45:47 +02:00
Mikel Martín
8ff60512fb MDL-78289 core_courseformat: New completion dropdown buttons UI
- Update completion dropdown button styles for students depending on activity
overall completion status.
- Add new behat partial named selector 'core_courseformat > Activity completion'
- Add new behat Feature to test activity completion criteria button or dropdown
for students and teachers.
2023-08-01 09:41:21 +02:00
Simey Lameze
4e754bd337 MDL-78498 behat: add support for private replies
This commit adds support for private replies in the
'the following forum replies exist in course' custom step.
2023-08-01 13:39:52 +08:00
Angelia Dela Cruz
ebbe96905a MDL-78498 Behat: Use data generators for forum posts and replies
This commit does few things:
* Replace manual forum posts and replies to use data generator.
* It also changes the code to handle social forums.
* Other behat clean-ups and optimization.

Co-authored-by: Simey Lameze <simey@moodle.com>
2023-08-01 13:39:52 +08:00
Mathew May
b2e1121fc0
MDL-77639 gradebook_setup: Create outcomes via dyn form 2023-08-01 11:34:04 +07:00
Andrew Nicols
30f7e50770
Merge branch 'MDL-78575-master' of https://github.com/snake/moodle 2023-08-01 09:38:15 +08:00
Andrew Nicols
37b27a3853
MDL-78632 core: Update upgrade versions 2023-08-01 09:29:34 +08:00
Andrew Nicols
455db24747
Merge branch 'MDL-78632' of https://github.com/marcusboon/moodle 2023-08-01 09:27:10 +08:00
Tomo Tsuyuki
eacffa413e MDL-77378 qtype_multianswer: Fix division by zero errors 2023-08-01 11:24:32 +10:00
Michael Aherne
4dffe0f23b MDL-78235 userprofile: Check for defaultdata with isset(). 2023-07-31 19:32:07 +08:00
Sara Arjona
d7dfae00a2
Merge branch 'MDL-45452-course_completion_excel_dates' of https://github.com/leonstr/moodle 2023-07-31 12:47:46 +02:00
Paul Holden
124113515e
MDL-78858 grade: set types on aggregation form text fields. 2023-07-31 11:27:29 +01:00
Paul Holden
5c3f296138
MDL-71331 course: final removal of non-AJAX activity control method. 2023-07-31 09:06:47 +01:00
Paul Holden
334b6c75a4
MDL-71196 completion: final removal of get_completion_state support. 2023-07-31 09:04:03 +01:00
Jun Pataleta
43553f5f08
Merge branch 'MDL-76338-master' of https://github.com/junpataleta/moodle 2023-07-31 13:38:16 +08:00
Matt Porritt
668057c3eb MDL-50160 Administration: HTTP only cookies default set to on.
This patch removes the UI setting (cookiehttponly) for HTTP only
cookies. For new installs HTTP only cookies will default to on.
For existing sites teh behaviour will stay as set.
The behaviour can be overriden in config.php
2023-07-31 14:09:30 +10:00
Ilya Tregubov
aa06409241
Merge branch 'master_MDL-62401' of https://github.com/mattporritt/moodle 2023-07-31 12:00:42 +08:00
Jun Pataleta
2f31f35e06
MDL-76338 contentbank: Add copy content capability lang strings 2023-07-31 11:41:34 +08:00
Andrew Nicols
cad1c7d008
MDL-77174 core: Modal z-index calc should ignore hidden items
When an AMD dialogue is opened from a YUI dialogue, the YUI dialogue is
not actually removed from the DOM, but was counted in z-index
calculation.

We need to stop including it otherwise nested AMD => YUI => AMD
dialogues get broken.
2023-07-31 10:57:09 +08:00
Andrew Nicols
56260354b1
MDL-77174 filemanager: Switch from YUI dialogue to utility modal 2023-07-31 10:57:09 +08:00
Andrew Nicols
10838ef878
MDL-77174 gradeform: Switch from YUI dialogue to utility modal 2023-07-31 10:56:23 +08:00
Andrew Nicols
222c43f8eb
MDL-77174 mod_quiz: Switch from YUI dialogue to utility modal 2023-07-31 10:56:22 +08:00
Andrew Nicols
dbf3bccf99
MDL-77174 core: Add support for button sources to modal utility 2023-07-31 10:56:22 +08:00
Andrew Nicols
c6e987f525
MDL-77174 core_payment: Switch to utility modal 2023-07-31 10:56:22 +08:00
Andrew Nicols
715902c9c0
MDL-77174 core: Provide default anchor support to modal utility 2023-07-31 10:56:22 +08:00
Andrew Nicols
96dfb8382e
MDL-77174 core: Provide default strings for modal utility 2023-07-31 10:56:22 +08:00
Andrew Nicols
d20b272df7
MDL-77174 mod_quiz: Remove usage of moodle-core-nofification-alert 2023-07-31 10:56:21 +08:00
Andrew Nicols
43575489e9
MDL-77174 core: Deprecate moodle-core-notification-confirm 2023-07-31 10:56:21 +08:00
Andrew Nicols
d860566a50
MDL-77174 editor_atto: Drop unused dependency 2023-07-31 10:56:21 +08:00
Andrew Nicols
2e706ee5fb
MDL-77174 mod_quiz: Update toolbox to drop YUI confirm module 2023-07-31 10:56:21 +08:00
Andrew Nicols
650fb3ba43
MDL-77174 enrol: Update role manager to drop YUI confirm module 2023-07-31 10:56:21 +08:00
Andrew Nicols
95d82058af
MDL-77174 course: Update course move to drop YUI confirm usage 2023-07-31 10:56:21 +08:00