1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-10 10:52:14 +02:00

108369 Commits

Author SHA1 Message Date
Ilya Tregubov
e34bb395fc
Merge branch 'MDL-77591-401' of https://github.com/justusdieckmann/moodle into MOODLE_401_STABLE 2023-06-21 16:58:44 +08:00
Ilya Tregubov
f64e9f96aa
Merge branch 'MDL-76174_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE 2023-06-21 14:27:10 +08:00
Justus Dieckmann
049815cd5f 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:19:44 +02:00
Lars Bonczek
44f60f1b8e MDL-76174 core_course: get_nearest_editable_subcategory performance fix 2023-06-20 14:43:16 +02:00
Ilya Tregubov
a69d5ffe33
Merge branch 'MDL-78259-htmlpurify-media-tags-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE 2023-06-20 16:38:43 +08:00
Julien Boulen
4001902464
MDL-78259 weblib: purify audio/video tags as inline elements 2023-06-20 16:37:02 +08:00
Ilya Tregubov
dea9c9534c
Merge branch 'MDL-77525/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE 2023-06-20 13:05:29 +08:00
Jun Pataleta
d963201f0a Merge branch 'MDL-74021-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-06-20 10:13:22 +08:00
Jun Pataleta
64f4f58cb8 Merge branch 'MDL-78369_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE 2023-06-19 23:16:46 +08:00
Angelia Dela Cruz
07df782303 MDL-74021 behat: Page behat generators use UI
Replace steps that manually add page instances via the UI and use
Behat generators. This improves the speed of Behat test runs.

Co-authored-by: Simey Lameze <simey@moodle.com>
2023-06-19 17:14:19 +08:00
Petr Skoda
52e39db7ad MDL-77525 filter: add filtering stages 2023-06-17 16:49:34 +02:00
Andrew Nicols
64b701190d
weekly release 4.1.4+ 2023-06-16 12:04:26 +08:00
Andrew Nicols
202e6a788f
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-06-16 12:04:23 +08:00
Ilya Tregubov
a3692234ed
Merge branch 'MDL-70152-401-fix' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE 2023-06-15 12:12:18 +08:00
Simey Lameze
460e2c0c1e
MDL-70152 behat: reply to post using data generator 2023-06-15 12:05:41 +08:00
Andrew Nicols
4997295c38
Merge branch 'MDL-77224-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-15 12:02:40 +08:00
Andrew Nicols
b66d82ccb4
Merge branch 'MDL-77569-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-15 12:00:55 +08:00
Andrew Nicols
e2f07cf2b4
Merge branch 'MDL-78066-401' of https://github.com/snake/moodle into MOODLE_401_STABLE 2023-06-15 11:27:02 +08:00
Andrew Nicols
dedfbb7e63
Merge branch 'MDL-78461-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-15 11:23:27 +08:00
Andrew Nicols
196ed7530b
Merge branch 'MDL-69231-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-06-15 10:56:53 +08:00
Ilya Tregubov
7e523dfff9
Merge branch 'MDL-77542-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-15 10:36:34 +08:00
Ilya Tregubov
053ad4a57e
Merge branch 'MDL-76733-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-06-15 10:23:36 +08:00
Andrew Nicols
46f3dc6538
Merge branch 'MDL-78478-401' of https://github.com/dasistwas/moodle into MOODLE_401_STABLE 2023-06-15 09:56:18 +08:00
Jake Dallimore
68b6ca2f69
MDL-78066 enrol_lti: fix deep linking error in multiple grade items case
If an activity, like workshop or forum, has multiple grade items,
declarative binding of the grade item (line item) isn't supported.
Instead of throwing an exception, handle the case more elegantly
and just omit the 'add to gradebook' option for these activities.
2023-06-15 09:44:21 +08:00
Jake Dallimore
32a34f805f
MDL-78066 enrol_lti: test showing multi-grade-items failure
This test demonstrates the failure of the repository to properly fetch
published resources which are compatible with declarative line item
binding.
2023-06-15 09:44:17 +08:00
Andrew Nicols
1adbb84d07
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:34:06 +08:00
Andrew Nicols
b5fa1ee8dc
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:33:42 +08:00
Ilya Tregubov
5472d69233
Merge branch 'MDL-78102-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-06-15 09:04:09 +08:00
AMOS bot
ba4f42dfff Automatically generated installer lang files 2023-06-15 00:16:23 +00:00
Sara Arjona
36a7924b64 Merge branch 'MDL-78055-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-14 16:54:57 +02:00
Sara Arjona
4dcf2db446 Merge branch 'MDL-74824-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-06-14 16:51:11 +02:00
Sara Arjona
86b030d671 Merge branch 'MDL-76733-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-06-14 16:22:26 +02:00
David Bogner
c461b4d8fc MDL-78478 forms: Fix repeated elements in dynamic forms 2023-06-14 15:30:32 +02:00
Paul Holden
b8f3aa4d12
MDL-78055 themes: account for undefined extrascsscallback config.
Where a theme didn't define this property, it would raise debugging
deprecation warnings in PHP8.1.
2023-06-14 13:51:12 +01:00
Sara Arjona
29d1702f82 Merge branch 'MDL-76715-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE 2023-06-14 13:19:03 +02:00
Sara Arjona
4c6e5c977d Merge branch 'MDL-64648-401_enrol_manual_expirynotify_default_in_enrol_instance' of https://github.com/vtos/moodle into MOODLE_401_STABLE 2023-06-14 13:08:25 +02:00
Jun Pataleta
302d6f2a3e Merge branch 'MDL-78466-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-06-14 16:05:55 +08:00
Ilya Tregubov
beb0328060
Merge branch 'MDL-70152-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-06-14 13:25:03 +08:00
Jun Pataleta
e460f1ed4e Merge branch 'MDL-76445-401-patch' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE 2023-06-14 12:19:03 +08:00
Ilya Tregubov
c162f90445
MDL-76445 gradereport_singleview: Fix Behat test
When you unenrol a user, the notification blocks some tertiary
navigation links.
2023-06-14 11:38:04 +08:00
Andrew Nicols
fdf7ea57f0
MDL-78466 cache: Add new result_found helper
This helper is intended to prevent recurrences of this issue by moving
the guess-work to something well tested.
2023-06-14 09:35:40 +08:00
Ilya Tregubov
b699da1461
MDL-76445 core_grades: Use group select instead of group search
On Moodle 4.1 we don't have group search on grader report.
That is only available in 4.2+
2023-06-14 09:34:22 +08:00
Andrew Nicols
02652c7651
MDL-78466 cache: Perform strict test on static cache values
If a statically accelerated cache returns an empty array then the value
was still fetched from the non-static cache store.

The check of the `$result` should be strictly checked against `false`,
which is the value used if no value was found.
2023-06-14 09:28:48 +08:00
vtos
e0145522c9 MDL-64648 enrol_manual: fixed default setting of 'expirynotify'
When creating a course, a manual enrolment instance is added by default. The instance settings should inherit the values of those
for the manual enrolment plugin and properly calculate its extra settings. The 'expirynotify' setting wasn't inherited correctly
in case it had 'Enroller + Enrolled' value.
A functional test was added to test the behaviour of settings inheritance.
2023-06-13 18:23:35 +02:00
Paul Holden
43d715777a
MDL-78461 core: fix base plugininfo class reference to root directory. 2023-06-13 14:05:31 +01:00
Sara Arjona
7e74ec4a3c MDL-78102 badges: Check empty backpack email/password
For backpack connection using OBv2.0, email and password can't be
blank.
This patch adds some extra checks to validate this and displays an
error to the users before trying to connect to the backpack.
Besides, the error displayed when any error is returned by the
backpack (like invalid credentials), has also been improved, to
make it clearer for the users.
2023-06-13 11:21:52 +02:00
Ilya Tregubov
f6650607d6
Merge branch 'MDL-76445-401-2' of https://github.com/mihailges/moodle into MOODLE_401_STABLE 2023-06-13 15:46:29 +08:00
Amaia Anabitarte
789361ae13 MDL-76715 mod_data: Remove data_records when the last field is deleted 2023-06-13 09:35:09 +02:00
Mihail Geshoski
6ceb137f04 MDL-76445 gradereport_singleview: Usability fixes 2023-06-13 15:20:03 +08:00
Mihail Geshoski
e60edbf0cb MDL-76445 gradereport_user: Usability fixes 2023-06-13 15:20:03 +08:00