102816 Commits

Author SHA1 Message Date
Sara Arjona
4816fec3fa MDL-72945 badges: use default issuer contact
The defaultissuercontact was ignored if the sitebackpack email was set
to empty string..
2021-10-28 17:43:49 +02:00
Víctor Déniz
307c4b9d20 Merge branch 'MDL-72912' of https://github.com/timhunt/moodle 2021-10-28 15:43:57 +01:00
Ferran Recio
3d2a6eacae MDL-71779 core_courseformat: reactive add and delete sections 2021-10-28 16:41:17 +02:00
Eloy Lafuente (stronk7)
3efac737fe Merge branch 'MDL-63983' of https://github.com/NeillM/moodle 2021-10-28 16:23:15 +02:00
Ilya Tregubov
a9d44b0f75 Merge branch 'MDL-72801' of https://github.com/paulholden/moodle 2021-10-28 15:44:54 +02:00
Shamim Rezaie
674ce41ffe Merge branch 'MDL-71086' of https://github.com/paulholden/moodle 2021-10-29 00:10:24 +11:00
Ilya Tregubov
2f5565af80 Merge branch 'MDL-72098-master' of git://github.com/peterRd/moodle 2021-10-28 15:07:12 +02:00
Víctor Déniz
a826682819 Merge branch 'MDL-72901' of https://github.com/timhunt/moodle 2021-10-28 13:48:10 +01:00
Víctor Déniz
45029a10e2 Merge branch 'MDL-72806' of https://github.com/paulholden/moodle 2021-10-28 13:05:37 +01:00
Ilya Tregubov
de8a4af190 Merge branch 'MDL-72670-master' of git://github.com/cameron1729/moodle 2021-10-28 13:14:05 +02:00
Eloy Lafuente (stronk7)
a02a5cb90a MDL-72743 tests: tidy up the new test with NS/name/covers
Ideally any new test should be using a class name matching
the file name, and to use namespace when clearly belonging to
a component (sub-namespace also allowed for better accuracy).

And, also, adding a @covers label to indicate which class
(preferred, method is also possible) is being covered with the test.
2021-10-28 12:56:00 +02:00
Eloy Lafuente (stronk7)
49fc1fa292 Merge branch 'MDL-72743' of git://github.com/paulholden/moodle 2021-10-28 12:50:01 +02:00
Ferran Recio
cf045f4b1c MDL-72938 core_courseformat: fix section title with 2021-10-28 12:27:10 +02:00
Eloy Lafuente (stronk7)
e2f119e390 Merge branch 'MDL-72616-master' of git://github.com/cescobedo/moodle 2021-10-28 12:25:47 +02:00
Neill Magill
a8d9b17b4b MDL-63983 messaging: Improve the performance of non-contact searches
When the messagingallusers setting is disabled only contacts that are
on the same course as the user should be returned as results.

We can reduce the number of candidate users significantly by
pre-filtering them by being enrolled on the same courses as the user
performing the search.

Since we must also return the user themselves sometimes, even when they
are not enrolled on a course I used a UNION as the most efficient way of
retriving them, this meant that the order by had to reference returned
columns by number to be sufficiently cross-database compatiable.
2021-10-28 10:56:38 +01:00
Andrew Nicols
54b4418596 Merge branch 'MDL-72871' of https://github.com/stronk7/moodle 2021-10-28 14:51:34 +08:00
Jun Pataleta
4d10196dec Merge branch 'MDL-72316-master-2' of git://github.com/mickhawkins/moodle 2021-10-28 14:51:34 +08:00
Andrew Nicols
00483c9419 MDL-72827 quiz: Remove pause step from behat scenario 2021-10-28 14:51:34 +08:00
Michael Hawkins
2a2ece647a MDL-72316 filelib: Add ability for modules to directly load SVG images
This also implements the functionality for SCORM packages, which may
have SVG images embedded within their content which require loading
directly (and are only created by users with appropriate risk flag).
2021-10-28 12:56:52 +08:00
Andrew Nicols
f80a31b8b6 Merge branch 'MDL-72827-master' of git://github.com/peterRd/moodle 2021-10-28 11:51:29 +08:00
Peter Dias
44d06f8218 MDL-72827 quiz: Expand completion behat tests
- Update the behat tests to more precisely check the state in the completion report.
- Check combination of completion conditions with passing grade
2021-10-28 11:38:10 +08:00
Peter Dias
cb2afc668d MDL-72827 completion: Revert completion flow logic
- Reverts the custom flow logic introduced in the 52206
- Expand unit tests to cover different grade based completion settings
2021-10-28 11:38:10 +08:00
Huong Nguyen
c2979ff1cc MDL-72603 timeline: Lazy loading for timeline block
Replace timeline block pagination with "Show more activities" lazy loading
2021-10-28 09:12:14 +07:00
Andrew Nicols
88d5175d41 MDL-72263 theme: Adjust parameters for focusing close button 2021-10-28 08:51:16 +08:00
Andrew Nicols
62f1e0540e Merge branch 'MDL-72263-master-v02' of git://github.com/ferranrecio/moodle 2021-10-28 08:51:09 +08:00
Eloy Lafuente (stronk7)
4f271297ce Merge branch 'MDL-72879-master-enfix' of git://github.com/mudrd8mz/moodle 2021-10-27 22:12:11 +02:00
Jun Pataleta
369983e713 Merge branch 'MDL-72652-master' of git://github.com/mihailges/moodle 2021-10-27 22:28:21 +08:00
Eloy Lafuente (stronk7)
51b45f0c71 Merge branch 'MDL-55231-patch' of git://github.com/ilyatregubov/moodle 2021-10-27 15:22:32 +02:00
Ilya Tregubov
c1468388bc MDL-55231 core_course: Fix behat tests. 2021-10-27 13:25:58 +02:00
Ferran Recio
59128bb411 MDL-72263 courseformat: adding core/tree to course index 2021-10-27 10:54:56 +02:00
Mikel Martín
9113f9d2f9 MDL-72588 reportbuilder: convert editing interface into a tab.
In preparation for further tabs in this interface, convert the report
editor to use the Dynamic tabs API.

At the same time, update the editor JS and it's modules to add listeners
on `document` instead of the report element itself, which will move in
and out of the current DOM in the future as tabs are switched.

Co-authored-by: Paul Holden <paulh@moodle.com>
2021-10-27 10:05:53 +02:00
David Matamoros
b2dd94ab8b MDL-72588 reportbuilder: define schema/models for report audiences. 2021-10-27 10:05:44 +02:00
Jun Pataleta
472bdb44f3 Merge branch 'MDL-72669-master' of git://github.com/rezaies/moodle 2021-10-27 15:07:32 +08:00
Ilya Tregubov
a704f137cf Merge branch 'MDL-55231-master' of https://github.com/dcai/moodle 2021-10-27 08:46:41 +02:00
David Mudrák
53bb0947b6 MDL-72879 lang: Use fixed strings in tests, too 2021-10-27 07:37:03 +02:00
Kevin Pham
086878c541 MDL-72924 check: Fix component initialisation for performance checks 2021-10-27 16:17:04 +11:00
cescobedo
0a5d387398 MDL-72615 core: Remove boxnet portfolio and repository 2021-10-27 06:24:55 +02:00
cescobedo
3c6ad8ac09 MDL-72616 blocks: Remove block_quiz_results 2021-10-27 06:23:04 +02:00
Mark Nelson
7bf0b6ab51 MDL-71439 core_grades: return a blank mustache template for letters 2021-10-27 12:19:31 +08:00
Mark Nelson
2621d36782 MDL-71439 mod_forum: display user grade from web service 2021-10-27 12:19:31 +08:00
Mark Nelson
4eecb896a2 MDL-71439 core_grades: return result of new method in web services 2021-10-27 12:19:31 +08:00
Mark Nelson
85eda546b3 MDL-71439 core_grades: add new method 'get_formatted_grade_for_user' 2021-10-27 12:19:31 +08:00
Mark Nelson
581bc8d6b4 MDL-71439 core_grades: fixed undefined class issues 2021-10-27 12:19:31 +08:00
Mark Nelson
2e1c282ef6 MDL-71439 core_grades: remove returning null when not possible
The method explicitly declares 'stdClass' as the return type.
2021-10-27 12:19:31 +08:00
Jake Dallimore
6266b198ed Merge branch 'MDL-71914-master-v3' of git://github.com/peterRd/moodle 2021-10-27 10:39:09 +08:00
Shamim Rezaie
4d705b52b1 Merge branch 'MDL-72385-master' of git://github.com/HuongNV13/moodle 2021-10-27 12:44:24 +11:00
Nathan Nguyen
341e3079fc MDL-72075 qbank_statistics: Add question statistics to core
This implementation will add the statistics plugin to core.
Statistics plugin shows the overall report for a question using
a couple columns in the base view.
2021-10-27 12:35:02 +11:00
Peter Dias
7791553bd9 MDL-71914 feedback: Unit tests for the dynamic forms 2021-10-27 09:33:20 +08:00
AMOS bot
4b1a4eb537 Automatically generated installer lang files 2021-10-27 00:07:29 +00:00
Helen Foster
07b7482063 MDL-72879 lang: Import fixed English strings (en_fix) 2021-10-26 21:05:10 +02:00