Commit graph

24481 commits

Author SHA1 Message Date
Jun Pataleta
a874a4fcdd
Merge branch 'MDL-77993' of https://github.com/paulholden/moodle 2023-06-29 11:27:51 +08:00
Jun Pataleta
bb59f98c81
Merge branch 'MDL-78432-master' of https://github.com/laurentdavid/moodle 2023-06-29 11:25:53 +08:00
Andrew Nicols
42c7c56c9f
Merge branch 'MDL-78018' of https://github.com/paulholden/moodle 2023-06-29 11:01:34 +08:00
Ilya Tregubov
c10e47b4be
Merge branch 'MDL-77286-master' of https://github.com/lameze/moodle 2023-06-29 09:45:20 +08:00
Simey Lameze
efc6255477 MDL-77286 behat: change window size to large to avoid random fails 2023-06-27 16:09:12 +08:00
Laurent David
901fb4f2d0 MDL-78432 mod_label: Process markdown in label name
* Process markdown and other allowed formats (see FORMAT_XXX) in get_label_name
so it does not display it as a litteral string in the course index menu.
2023-06-27 08:09:55 +02:00
Jun Pataleta
132cf637f3 Merge branch 'MDL-77637-trimmed' of https://github.com/Chocolate-lightning/moodle 2023-06-27 10:33:34 +08:00
Mathew May
997134f52f MDL-77637 gradebook_setup: Create gradeitems via dyn form 2023-06-27 09:01:25 +08:00
Jun Pataleta
2cc54dda28 Merge branch 'MDL-78168-master-final' of https://github.com/andrewnicols/moodle 2023-06-26 11:20:06 +08:00
Andrew Nicols
91e2e5c532
Merge branch 'MDL-78172' of https://github.com/paulholden/moodle 2023-06-24 21:58:48 +08:00
Andrew Nicols
d66f81d2e1
MDL-78168 mod_assign: Deprecate assign_files::preprocess 2023-06-24 13:33:01 +08:00
Andrew Nicols
adddcf394f
MDL-78168 mod_assign: Stop storing properties dynamically
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

In these cases, mod_assign was treating other unrelated objects as its
personal object store. These have been updated to not require this.
2023-06-24 13:33:00 +08:00
Ilya Tregubov
b2dce5d60c Merge branch 'MDL-76629' of https://github.com/liorgil/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols
6c6c795230 Merge branch 'MDL-78056-master' of https://github.com/laurentdavid/moodle 2023-06-22 14:29:40 +02:00
Andrew Nicols
bd8b6e011c Merge branch 'MDL-78435' of https://github.com/paulholden/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols
b9cc9d4034 Merge branch 'MDL-76953' of https://github.com/paulholden/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols
bf72c0de9d Merge branch 'MDL-75913-master' of https://github.com/davewoloszyn/moodle 2023-06-22 14:29:39 +02:00
Andrew Nicols
3e1d6d61a9 Merge branch 'MDL-78159-master' of https://github.com/meirzamoodle/moodle 2023-06-22 14:29:38 +02:00
Sara Arjona
5f1ed26c75 Merge branch 'MDL-76635-master' of https://github.com/lameze/moodle 2023-06-21 14:02:11 +02:00
Ilya Tregubov
81c8850462
Merge branch 'MDL-77591-master' of https://github.com/justusdieckmann/moodle 2023-06-21 16:57:49 +08:00
Meirza
97ff68fd6b MDL-78159 lib: Added missing properties for core libraries
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-06-21 15:39:53 +07:00
Justus Dieckmann
a7d5328c31 MDL-77591 mod_assign: Fix feedback zip import for group submissions
Import now checks whether assignment is an group submission and
matches group ids instead of user ids in that case.

Additionally check for original unchanged files to not import in
group files instead of user files.
2023-06-20 20:20:35 +02:00
Simey Lameze
d79788245b MDL-76635 behat: improve submission comments test 2023-06-20 10:59:03 +08:00
Lior Gil
f92437428e MDL-76629 core_table: add sticky column option 2023-06-19 12:46:29 +03:00
David Woloszyn
802ff3e2e3 MDL-75913 behat: Use alternatives to Atto in tests 2023-06-19 16:35:46 +10:00
Andrew Nicols
fcdfc74abd MDL-75913 behat: Add support for file uploads in page generators 2023-06-19 16:35:46 +10:00
Laurent David
2144bdf06c MDL-78056 mod_h5pactivity: Fix incorrect attempt report
* Fix interpretation of the results on the attempt report whenever case
sensitive option is enabled.
2023-06-19 06:10:29 +02:00
Paul Holden
436a279dec
MDL-76953 mod: deprecate libxml library method wrappers.
The `libxml_disable_entity_loader` method is deprecated since PHP8.0,
which is our minimum required version so we no longer need to support
calls to it using the current wrappers.
2023-06-16 19:15:24 +01:00
Paul Holden
70e5ff196a
MDL-78435 mod_assign: ensure due date is always after start date. 2023-06-16 18:41:45 +01:00
Sara Arjona
750d1c1130 Merge branch 'MDL-78165-master' of https://github.com/andrewnicols/moodle 2023-06-15 10:16:57 +02:00
Andrew Nicols
3a9f55dcf7
MDL-78165 mod_bigbluebuttonbn: Fetch cron status using API 2023-06-15 16:01:15 +08:00
Ilya Tregubov
7bcd4973e0
Merge branch 'MDL-70152-master-fix' of https://github.com/ilyatregubov/moodle 2023-06-15 12:12:59 +08:00
Andrew Nicols
540aeec2c8
Merge branch 'MDL-78310-master' of https://github.com/aanabit/moodle 2023-06-15 12:03:35 +08:00
Andrew Nicols
04b1e6469c
Merge branch 'MDL-77224' of https://github.com/paulholden/moodle 2023-06-15 12:02:11 +08:00
Simey Lameze
ce93aa7e4f
MDL-70152 behat: reply to post using data generator 2023-06-15 12:01:39 +08:00
Jun Pataleta
5088fba999 Merge branch 'MDL-78333' of https://github.com/paulholden/moodle 2023-06-15 11:59:53 +08:00
Andrew Nicols
4d15a4ee32
Merge branch 'MDL-69231-master' of https://github.com/lameze/moodle 2023-06-15 10:58:56 +08:00
Ilya Tregubov
3705832400
Merge branch 'MDL-77542' of https://github.com/paulholden/moodle 2023-06-15 10:36:12 +08:00
Ilya Tregubov
6eaf187d35
Merge branch 'MDL-76733-master' of https://github.com/andrewnicols/moodle 2023-06-15 10:22:26 +08:00
Andrew Nicols
19c98d0d6e
MDL-76733 mod_assign: Remove JS requirement for time-based tests
Converting these tests to use an onlinetext submission and drop the JS
requirement means that they are much less susceptible to runtime issues,
and not susceptible to those caused by JS at all.
2023-06-15 09:32:36 +08:00
Andrew Nicols
9b5d081a48
MDL-76733 mod_assign: Address random failure
This random failure was happening because of the time required to render
and interact with the file picker which sometimes exceeded 2 seconds,
depending on the speed of the machine running the tests.

Converting these tests to use an onlinetext submission and drop the JS
requirement means that they are much less susceptible to runtime issues,
and not susceptible to those caused by JS at all.
2023-06-15 09:28:17 +08:00
Ilya Tregubov
8debfd63ba
Merge branch 'MDL-78207-master' of https://github.com/sarjona/moodle 2023-06-15 09:21:11 +08:00
Jun Pataleta
b5931eaf4f Merge branch 'MDL-78306-master' of https://github.com/andrewnicols/moodle 2023-06-15 00:05:15 +08:00
Sara Arjona
f748a9da10 Merge branch 'MDL-76733-master' of https://github.com/andrewnicols/moodle 2023-06-14 16:22:09 +02:00
Andrew Nicols
ecf49b2a19
MDL-78306 mod_quiz: Convert AMD modals to ESM 2023-06-14 21:41:50 +08:00
Sara Arjona
4cf2730823 Merge branch 'MDL-78253' of https://github.com/paulholden/moodle 2023-06-14 13:32:28 +02:00
Sara Arjona
25eaa1ed03 Merge branch 'MDL-76715-master' of https://github.com/aanabit/moodle 2023-06-14 13:18:15 +02:00
Ilya Tregubov
9611669cae
Merge branch 'MDL-70152-master' of https://github.com/andelacruz/moodle 2023-06-14 13:24:06 +08:00
Ilya Tregubov
ae88b72a31
Merge branch 'MDL-78328-master' of https://github.com/andrewnicols/moodle 2023-06-14 11:11:30 +08:00
Sara Arjona
af164ce9c7 MDL-78207 resource: Move file type to activity badge
One of the resource settings, the file type, has been moved to the
activity badge near the activity name.
The rest of the information will be displayed using the afterlink
feature.

However, for now, the activity page still displays all the information
together (that's why resource_get_optional_details() supports now one
new parameter, $showtype, to define whether the file type should be
displayed or not).
2023-06-13 12:09:58 +02:00