24819 Commits

Author SHA1 Message Date
Mikel Martín
e6a3598c59 MDL-80002 forumreport_summary: Fix summary report date filtering 2023-11-03 15:45:24 +01:00
Huong Nguyen
4ee2af64dd
Merge branch 'MDL-79807_master' of https://github.com/marxjohnson/moodle 2023-10-31 12:48:43 +08:00
Sara Arjona
a5d6a73778
MDL-78285 resource: Reintroduce file icon
The new activity card design, planned for Moodle 4.3, reintroduces
the resource MIME icon that was removed in Moodle 4.0.
2023-10-27 09:44:00 +02:00
Mark Johnson
4552591eaa MDL-79807 quiz_statistics: Clear stats cache when question added/removed 2023-10-26 13:45:14 +01:00
Angelia Dela Cruz
261a39d8e2 MDL-79768 fix: Fixed random failing Behat due to time difference 2023-10-26 18:09:16 +08:00
Angelia Dela Cruz
46f31447f2 MDL-79768 mod_data: Test for student can see upcoming data activity 2023-10-23 08:52:19 +08:00
Huong Nguyen
c71df58802 Merge branch 'MDL-79689-master' of https://github.com/andelacruz/moodle 2023-10-19 10:02:45 +07:00
Sara Arjona
54b5902f1c
Merge branch 'MDL-79747' of https://github.com/timhunt/moodle 2023-10-18 10:28:52 +02:00
Huong Nguyen
96c8642ed8 Merge branch 'MDL-78979' of https://github.com/paulholden/moodle 2023-10-18 09:22:58 +07:00
Tim Hunt
ec0c4e18ad MDL-79747 quiz stats: task should run as admin the right way
The correct way to get an ad-hoc task to run as the main admin account
is to leave userid as null.

Setting it causes fatal errors if the main admin account is set to
auth: nologin.
2023-10-17 16:38:44 +01:00
Sara Arjona
cc02c2eae3
Merge branch 'MDL-78481-master' of https://github.com/iarenaza/moodle 2023-10-17 17:15:09 +02:00
Angelia Dela Cruz
90fff90a68 MDL-79689 mod_assign: Behat for enabling anonymous submissions 2023-10-17 09:54:18 +08:00
Paul Holden
944e158d35
MDL-78979 mod_data: correct restore decode rule for data view page. 2023-10-16 20:52:19 +01:00
Angelia Dela Cruz
2888997710 MDL-79691 mod_h5pactivity: Behat coverage for H5P activity grades reset 2023-10-16 16:45:47 +08:00
Jun Pataleta
52e614ebda
Merge branch 'MDL-79633' of https://github.com/paulholden/moodle 2023-10-11 13:40:43 +08:00
Sara Arjona
7b83434dbf
Merge branch 'MDL-79626-master' of https://github.com/junpataleta/moodle 2023-10-10 15:13:02 +02:00
Sara Arjona
c43017e1f9
Merge branch 'MDL-77816' of https://github.com/paulholden/moodle 2023-10-10 09:21:21 +02:00
Jun Pataleta
9beff03a96
MDL-79626 upgrade: add the 4.3.0 separation line to all upgrade scripts 2023-10-10 10:44:17 +08:00
Paul Holden
2a07f77406
MDL-79633 mod_data: correct timemodified tag replacement attribute. 2023-10-09 19:26:10 +01:00
Paul Holden
4df9222f51
MDL-77816 mod_bigbluebuttonbn: feedback when validating completion. 2023-10-09 14:58:03 +01:00
Yannick Schillinger
cad2aedf59
MDL-77816 mod_bigbluebuttonbn: Fix completionValidate argument format 2023-10-09 14:58:03 +01:00
Laurent David
753909325d MDL-71414 mod_h5pactivity: Add a new "None" message
* In matching types of questions, sometimes the user does not answer all
questions. We now display "None" in the result report. The answer can
be either correct or incorrect.
* Fix "unknown" answer constant name.
2023-10-09 11:44:30 +02:00
Laurent David
830b19649e MDL-71414 mod_h5pactivity: Fix issue with drop down report
* Drag and Drop report were missing answers when target could be dropped on multiple
drop zones.
2023-10-09 11:44:29 +02:00
Huong Nguyen
5ab3d0a02f
Merge branch 'MDL-79591-master' of https://github.com/sarjona/moodle 2023-10-05 09:35:10 +07:00
Andrew Nicols
805ebbb434
Merge branch 'MDL-79276-master' of https://github.com/raortegar/moodle 2023-10-05 08:55:14 +08:00
Jun Pataleta
98ac14eecb
Merge branch 'MDL-79531-master-1' of https://github.com/mihailges/moodle 2023-10-05 07:37:02 +08:00
Sara Arjona
d113c7f00e
MDL-79591 quiz: Fix the string for the completion condition 2023-10-04 16:40:40 +02:00
Mihail Geshoski
bef518efb8 MDL-79531 mod_quiz: Create only one random question in new category 2023-10-04 12:31:12 +02:00
Mihail Geshoski
451614016e MDL-79531 mod_quiz: Fix exception when adding random questions
Moves the data-filtercondition property to an element that always
exists regardless of whether the selected category from the filter
has questions or not. This will effectively solve the exception
that is being thrown due to the non-existing element and also
enable creation of random questions in a category that does not
have any questions yet. Also, the data-filtercondition attribute
is no longer used when creating a random question in a new category
as this value is not relevant in this case. Instead, a default
filter condition is generated in the webservice for the random
question based on the newly created category.
2023-10-04 12:31:12 +02:00
Sara Arjona
9877a06246
Merge branch 'MDL-79551-master-rc' of https://github.com/junpataleta/moodle 2023-10-04 12:28:14 +02:00
Paul Holden
b91feb0b23
MDL-79310 forumreport_summary: report only on users who can be viewed. 2023-10-04 14:30:45 +08:00
Paul Holden
6de45d2c9f
MDL-79310 mod_forum: ensure only visible users can be exported. 2023-10-04 14:30:45 +08:00
Jun Pataleta
d5d7835a0a
MDL-79551 versions: Make CiBoT happy
* Use array short syntax for $plugin->dependencies
* Add trailing comma for multi-line $plugin->dependencies array
2023-10-04 14:04:29 +08:00
Jun Pataleta
94bc2cd38b
MDL-79551 versions: bump all versions and requires near release 2023-10-04 13:57:17 +08:00
Mikel Martín
5fec728be9 MDL-79509 mod_wiki: Improve comment editing 2023-10-04 01:24:20 +00:00
Paul Holden
3400ae6510 MDL-79409 mod_imscp: appropriate unserialization of package structure. 2023-10-04 01:24:20 +00:00
Paul Holden
ba974a4add MDL-79408 mod_lesson: safer unserializing/comparison of properties. 2023-10-04 01:24:19 +00:00
Laurent David
a20997441d MDL-77795 mod_bigbluebuttonbn: Change meetingID on duplicate
* We need to set a different meetingID when duplicating or importing a
BigBlueButtonBN activity to prevent unwanted sharing of recordings between
meetings.
2023-10-04 01:24:19 +00:00
Paul Holden
aa8ab48521 MDL-78971 quiz_grading: escape user identity fields on display. 2023-10-04 01:24:19 +00:00
Jun Pataleta
b19a93b989
Merge branch 'MDL-79507_master' of https://github.com/marxjohnson/moodle 2023-10-04 09:15:45 +08:00
Andrew Nicols
213fd0cdb3
MDL-78580 mod_quiz: Do not concatenate lang strings 2023-10-03 12:02:29 +08:00
Andrew Nicols
be8093e2c7
Merge branch 'MDL-78580_master' of https://github.com/marxjohnson/moodle 2023-10-03 11:05:42 +08:00
Huong Nguyen
6d6ed6822f
Merge branch 'MDL-79247' of https://github.com/stronk7/moodle 2023-10-03 09:56:55 +07:00
Jun Pataleta
6ee9522dfa
Merge branch 'MDL-79254_master' of https://github.com/marxjohnson/moodle 2023-10-03 09:42:25 +08:00
Jun Pataleta
cfc14c45bb
Merge branch 'MDL-79535' of https://github.com/paulholden/moodle 2023-10-03 09:21:12 +08:00
Brendan Heywood
10dd816af1 Revert "MDL-79320 mod_forum: remove use of buffering constant when exporting."
This reverts commit 4aeb85b9883563625e8ab6c54c6282eb3e01862b.
2023-10-02 21:11:44 +10:00
Eloy Lafuente (stronk7)
f284cd9eaf
MDL-79247 forum: Workaround same-time discussion modified dates bug
Within the forum_get_discussion_neighbours() function of forum
when the discussions timemodified (last post) is the same, there
is a bug that does strange things when calculating the prev and
next discussions.

Note that, in real life, this is really hard to achieve, but in tests,
when multiple discussions and post can be created by generators in the
same second (specially when the test machine is quick), chances of
facing that problem are higher.

By adding 1 second wait, we ensure that the discussions won't have
the same timemodified (last post) and workaround the problem.

No mater of that, the problem deserves an issue to be created
so we guarantee from code that it also works ok when the same
timemodified (last post) situation happens.
2023-10-01 23:23:30 +02:00
Eloy Lafuente (stronk7)
4fcb52cd45
MDL-79247 forum: Make discussion list ordering deterministic
Note that normally this doesn't matter much, but there are situations
when we want the discussion list ordering fully consistent /
deterministic.

Specifically, when discussions (or forum posts )are created in the
same second, or when the discussion titles are repeated, or 2
discussions have the same number of votes... (any criteria in general),
in the context of testing, we don't want the order
to be non-consistent, so we need to provide an extra sorting
criterion to make it fully deterministic.

So, in this case, we are adding a sort by discussion.id <<DIRECTION>>
that is an unique value, primary key... so cheap to calculate and,
that way, when the 1st sorting column has repeated values, the id
will decide.
2023-10-01 18:34:09 +02:00
Mark Johnson
f462a48202 MDL-79507 quiz: Hide version info when rendering blocked questions 2023-09-29 09:31:36 +01:00
Ilya Tregubov
bd380a11ec
Merge branch 'MDL-79280' of https://github.com/paulholden/moodle 2023-09-29 09:53:35 +08:00