23075 Commits

Author SHA1 Message Date
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
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
Ilya Tregubov
a704f137cf Merge branch 'MDL-55231-master' of https://github.com/dcai/moodle 2021-10-27 08:46:41 +02:00
Mark Nelson
2621d36782 MDL-71439 mod_forum: display user grade from web service 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
Peter Dias
7791553bd9 MDL-71914 feedback: Unit tests for the dynamic forms 2021-10-27 09:33:20 +08:00
Eloy Lafuente (stronk7)
fdc2dcf264 MDL-72871 cleanup: Remove incorrect whitespace from codebase
Differences can be checked with git diff --ignore-all-space and
that will show that the only non-whitespace change is in a test
in the git lib/tests/html2text_test.php file. In that case the
whitespace has been replaced by a quoted string (of whitespaces)
keeping the test 100% equivalent and workarrounding the whitespace.
2021-10-26 17:19:11 +02:00
Stephen Vickers
6fa817db27 MDL-72552 mod_lti: Add context_memberships_v2_url custom parameter 2021-10-26 15:47:45 +01:00
Marty
424fecb7b0
MDL-69723 assign: Add # need grading to summary
For teachers viewing the assignment summary (/mod/assign/index.php),
it shows a '-' in the 'Grade' column. Instead of showing a '-', display
the number of items that need grading.

Augment by creating a link to the grading page so that teachers can see
the outstanding assignments more quickly.

Also attempted to write phpunit tests that verify values for ungraded
submissions for teachers.
2021-10-26 09:58:02 -04:00
Dan Marsden
ecc47348b3 MDL-55231 core_course: Correct chat cache handling 2021-10-26 19:08:15 +11:00
Dongsheng Cai
9a900492bc MDL-55231 core_course: Partial course cache rebuild 2021-10-26 19:08:15 +11:00
Peter Dias
f3ee54ae04 MDL-71914 mod_glossary: Updated glossary behat tests 2021-10-26 11:21:32 +08:00
Peter Dias
57220ca4e3 MDL-71914 feedback: Updated feedback behat tests 2021-10-26 11:21:32 +08:00
Peter Dias
773051b98f MDL-71914 mod_feedback: Add tertiary nav in feedback 2021-10-26 11:21:32 +08:00
Peter Dias
10b7badd61 MDL-71914 mod_glossary: Add tertiary nav in glossary 2021-10-26 11:21:32 +08:00
Mahmoud Kassaei
e799e8a1ba MDL-71761 Quiz: Show custom fields for user overrides
Note, this was a joint effort between Mahmoud & Tim.
2021-10-22 13:48:07 +01:00
Paul Holden
9829fc5b99 MDL-72743 mod_quiz: verify user mapping prior to restoring attempts. 2021-10-21 08:26:50 +01:00
Andrew Nicols
349312143d MDL-72013 js: Fix jsdocs to meet stricter eslint 2021-10-21 13:28:00 +08:00
Andrew Nicols
05e6d69e4c Merge branch 'MDL-72507-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-21 12:56:23 +08:00
Ilya Tregubov
ce8daac9cf MDL-52456 quiz: Fix illegal white space. 2021-10-20 11:51:12 +02:00
Ilya Tregubov
282c4a124a Merge branch 'MDL-52456-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-20 11:33:14 +02:00
Thong Bui
46b88325ed MDL-52456 Quiz: notification message for students.
Notification message for students after questions have been manually graded.
2021-10-19 20:06:16 +07:00
Thong Bui
3c19cbbb18 MDL-72507 Quiz: Quiz auto-save does not detect uploaded files 2021-10-19 16:10:15 +07:00
Andrew Nicols
0869496eb8 MDL-71785 mod_quiz: Correct string as per reviewer feedback 2021-10-19 11:19:54 +08:00
Andrew Nicols
da98ed6ea2 Merge branch 'MDL-71785_master' of https://github.com/StudiUM/moodle 2021-10-19 11:19:06 +08:00
Shamim Rezaie
7a17a2e8e4 Merge branch 'MDL-72720-master' of git://github.com/sarjona/moodle 2021-10-18 15:43:31 +11:00
Sara Arjona
e62f8ed093 MDL-72720 assignxxx: Implement enable_plugin() method 2021-10-15 13:00:03 +02:00
Jun Pataleta
e6a518e497 Merge branch 'MDL-72807' of https://github.com/stronk7/moodle 2021-10-15 09:08:26 +08:00
Eloy Lafuente (stronk7)
fc77e5e2ab Merge branch 'MDL-26633-master-workshopnumofreviews' of git://github.com/mudrd8mz/moodle 2021-10-14 22:40:43 +02:00
Mihail Geshoski
242ec0860a MDL-71913 mod_data: Update behat tests 2021-10-14 21:57:52 +07:00
Eloy Lafuente (stronk7)
8515a0560f MDL-72807 behat: Add a few more @skip_chrome_zerosize tags
This is the 3rd round adding the tags to some scenarios
detected to be failing with zerosize problems lately.

Note that @ MDL-71108, the final solution will happen, say
switching to own webdriver till the upstream one is fixed
or whatever. Our @skip_chrome_zerosize solution is just a
workaround to have all those scenarios detected and ignored
by normal runs.
2021-10-14 16:12:20 +02:00
Mihail Geshoski
d1c9c65e53 MDL-71913 mod_h5pactivity: Update behat tests 2021-10-13 11:05:30 +08:00
Mihail Geshoski
89878377b3 MDL-71913 mod_wiki: Update behat tests 2021-10-13 11:05:30 +08:00
Mihail Geshoski
6c0e1eee94 MDL-71913 mod_data: Update behat tests 2021-10-13 11:05:30 +08:00
Mihail Geshoski
671375115f MDL-71913 mod_folder: Add tertiary navigation 2021-10-13 11:05:30 +08:00
Mihail Geshoski
0dd4ddb1e8 MDL-71913 mod_resource: Hide unnecessary headings 2021-10-13 11:05:29 +08:00
Mihail Geshoski
3e97273b21 MDL-71913 mod_h5pactivity: Add attempts report setting node 2021-10-13 11:05:29 +08:00
Mihail Geshoski
77e9f45157 MDL-71913 mod_wiki: Add tertiary navigation 2021-10-13 11:05:29 +08:00
Mihail Geshoski
6470282e93 MDL-71913 mod_data: Add tertiary navigation 2021-10-13 11:05:29 +08:00
Ilya Tregubov
843066ecf4 Merge branch 'MDL-72091-rebase-3' of https://github.com/Chocolate-lightning/moodle 2021-10-11 14:46:54 +07:00
Mathew May
dba47e8641 MDL-72091 Navigation: Update navigation to match designs 2021-10-11 12:20:34 +08:00
Andrew Nicols
290a741796 Merge branch 'MDL-66203-master' of git://github.com/rezaies/moodle 2021-10-11 08:28:53 +08:00
David Mudrák
78f9ea3b1c MDL-26633 workshop: Allow to randomly allocate more than 30 reviews
For classes with many students, there may be valid cases for having more
than 30 reviews per submission / reviewer.

The patch changes the type of the input field so that it can freely
editable to any integer value.
2021-10-08 17:46:43 +02:00