4354 Commits

Author SHA1 Message Date
Safat Shahin
7ee798f679 MDL-72074 qbank_usage: Oracle phpunit issues resolve 2021-11-05 14:18:14 +02:00
Safat Shahin
8c004839c7 MDL-72074 qbank_usage: Behat issues resolve 2021-11-05 14:18:10 +02:00
Jun Pataleta
d690997151 Merge branch 'MDL-72679-master' of git://github.com/HuongNV13/moodle 2021-11-05 12:40:50 +08:00
Ilya Tregubov
73863ef3d9 Merge branch 'master_MDL-72074-usage' of https://github.com/catalyst/moodle-MDL-70329 2021-11-04 16:12:35 +02:00
Safat Shahin
8f06aa01dc MDL-72074 qbank_usage: Add usage plugin to core
This implementation will introduce the usage plugin
which shows qhich quizes are using this question,
number of attmpts and other information.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-05 00:36:36 +11:00
Nathan Nguyen
dfe28d6781 MDL-72679 qtype_ddmarker: Fix incorrect positions in multiple viewportss
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2021-11-04 14:35:31 +07:00
Paul Holden
faddd24a13 MDL-70823 qtype_ddwtos: new method for safer feedback unserializing. 2021-11-03 16:57:06 +01:00
Sara Arjona
6f7e587f32 Merge branch 'MDL-72977-master' of https://github.com/juancs/moodle 2021-11-03 09:03:59 +01:00
Ilya Tregubov
0148708d3c Merge branch 'MDL-71872-master' of https://github.com/HuongNV13/moodle 2021-11-03 09:25:27 +02:00
Andrew Nicols
c166d9d269 Merge branch 'master_MDL-72075-statistics' of https://github.com/catalyst/moodle-MDL-70329 2021-11-03 14:33:47 +08:00
Nathan Nguyen
2fcc93981f MDL-72075 qbank_statistics: fix coding style 2021-11-03 14:27:27 +11:00
Juan Segarra Montesinos
177e6553ac MDL-72977 qtype_essay: Honor Information for graders text format. 2021-11-02 11:49:06 +01:00
Huong Nguyen
eef7ecf914 MDL-71872 Questions: The placeholder disappears when double-clicking 2021-11-01 17:26:42 +07:00
Eloy Lafuente (stronk7)
440fac33bb Merge branch 'MDL-72843-qbank_comment-unit-testsuite-resolve' of https://github.com/catalyst/moodle-MDL-70329 2021-10-28 22:12:11 +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
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
472bdb44f3 Merge branch 'MDL-72669-master' of git://github.com/rezaies/moodle 2021-10-27 15:07:32 +08:00
David Mudrák
53bb0947b6 MDL-72879 lang: Use fixed strings in tests, too 2021-10-27 07:37:03 +02: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
Helen Foster
07b7482063 MDL-72879 lang: Import fixed English strings (en_fix) 2021-10-26 21:05:10 +02:00
Tim Hunt
8950a974dd MDL-72912 questions: fix type of question_display_options::$context 2021-10-26 07:52:22 +01:00
Andrew Nicols
9e9b7bb20d Merge branch 'MDL-71750-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-25 13:18:21 +08:00
Thong Bui
76c0a743bf MDL-71750 File upload: Disable submittion when uploading multiple files
Fixed issue "Save" and "Submit and finish" button is not disabled when file uploading in the ticket MDL-71644
2021-10-22 13:26:02 +07:00
Shamim Rezaie
5c3cdd147d MDL-72669 qtype_multianswer: Replace empty option with NBSP 2021-10-22 14:33:50 +11:00
Andrew Nicols
349312143d MDL-72013 js: Fix jsdocs to meet stricter eslint 2021-10-21 13:28:00 +08:00
Safat Shahin
f4b1b63684 MDL-72843 qbank_comment: unit test fix for individual testsuite
This change resolves a unit test issue while running an
individual testsuite rather than the entire one after the
first init call for phpunit. It requires the file so it can
point back to the comment api while required.
2021-10-20 10:50:06 +11:00
Sara Arjona
999314af75 Merge branch 'MDL-72064-master' of https://github.com/NashTechOpenUniversity/moodle 2021-10-18 12:59:37 +02:00
Shamim Rezaie
c844ae5313 Merge branch 'MDL-71344-master' of git://github.com/HuongNV13/moodle 2021-10-15 14:23:53 +11:00
Andrew Nicols
f54ba13288 MDL-72813 js: Fix broken jsdoc usages 2021-10-14 15:44:56 +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
Ilya Tregubov
db21c7880a Merge branch 'master_MDL-71642-comment' of https://github.com/catalyst/moodle-MDL-70329 2021-10-11 14:01:21 +07:00
Mathew May
dba47e8641 MDL-72091 Navigation: Update navigation to match designs 2021-10-11 12:20:34 +08:00
Huong Nguyen
b39f98243a MDL-71344 questions: Improve event handler for Drag n Drop family 2021-10-11 11:05:03 +07:00
Guillermo Gomez
3be2b123e5 MDL-71642 qbank_comment: Add question comment plugin to core
This implementation will introduce a qbank plugin
"comment" which will allow users with the capability
to comment in a question. It also implements a
callback for the question preview page to view
and add comments from the preview page. Comment
plugin is implemented using the existing comments
API from the core.

Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-10-08 14:48:13 +11:00
Shamim Rezaie
5f2963b053 MDL-72517 qformat: Removed extra whitespaces 2021-10-07 13:28:00 +11:00
cescobedo
678826efb8 MDL-72517 qformat: Remove ExamView question format 2021-10-06 09:35:35 +02:00
Safat Shahin
f9fc355ec7 MDL-71679 mod_quiz: Updates for new qbank api
This implementation will introduct changes to
the mod_quiz to implement the new qbank api
for view. Major changes are introduced in
the custom view and also all the legacy points
to the old qbank are changed to qbank plugins
where needed. It also deprecated and deletes
classes and scripts which were kept not to
break mod_quiz for the new api implementation.
2021-10-04 15:44:25 +11:00
sam marshall
e332d1849d MDL-72643 core: Improve display_size
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.

Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').

Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
Jun Pataleta
f01c179cda Merge branch 'MDL-71602-master-2' of git://github.com/rezaies/moodle 2021-09-16 12:58:01 +08:00
Jun Pataleta
3d68eeb0d7 MDL-72216 question: Fix button spacing in preview template 2021-09-10 11:08:17 +08:00
Sara Arjona
573b035122 MDL-71614 qbank_previewquestion: Add role button to Preview 2021-09-08 16:13:57 +02:00
Sara Arjona
37827bb15d MDL-71614 qbank_exporttoxml: Use correct helper class name 2021-09-08 15:27:13 +02:00
Eloy Lafuente (stronk7)
d08cdaadb2 Merge branch 'MDL-72216-master' of git://github.com/lucaboesch/moodle 2021-09-08 11:28:47 +02:00
Sara Arjona
5c78efaaea Merge branch 'master_MDL-71614-previewquestion' of https://github.com/catalyst/moodle-MDL-70329 2021-09-08 09:29:22 +02:00
Safat Shahin
0d55b26da8 MDL-71614 qbank_previewquestion: Add Preview question plugin to core
This implementation will introduce a qbank plugin "previewquestion"
which will view the preview question action in the question bank
actions by replacing the core classes, scripts and yui modules.
This plugin will also replace the preview option in the edit
question form. Having this plugin will give users the
flexibility of enabling or disabling this feature from
the question bank view.
This change will also allow other qbank plugins to add
elements or information in the preview question page
by implementing a callback. It also changes the pop
up to page redirect from base view page to make sure
any changes in preview reflects in the base view, for
example, comments added and the number of comments in
the comments colum changes while back from the preview
page. Other locations like edit and qtype plugins where
the preview is implemented, stays the same.

Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
2021-09-08 16:21:06 +10:00
Jake Dallimore
400186a18d Merge branch 'MDL-72041-master' of git://github.com/sarjona/moodle 2021-09-07 12:31:43 +08:00
Eloy Lafuente (stronk7)
bf87572e0c Merge branch 'MDL-71639-fix' of github.com:sarjona/moodle 2021-09-06 17:49:22 +02:00
Sara Arjona
7cdb34aacf MDL-71639 qbank_exporttoxml: Use correct helper class name 2021-09-06 15:40:11 +02:00
Sara Arjona
46c1f7c43d MDL-71641 qbank_tagquestion: Fix behat failure with classic 2021-09-06 15:22:44 +02:00
Sara Arjona
2c90221888 Merge branch 'master_MDL-71641-tagquestion' of https://github.com/catalyst/moodle-MDL-70329 2021-09-06 13:06:01 +02:00