4379 Commits

Author SHA1 Message Date
Jun Pataleta
80c17cd2a0 Merge branch 'MDL-72701-master' of https://github.com/andrewnicols/moodle 2021-12-23 12:10:46 +08:00
Sara Arjona
ed0b14cbc4 Merge branch 'master_MDL-73350-statistics-column' of https://github.com/catalyst/moodle-MDL-70329 2021-12-22 16:07:36 +01:00
Andrew Nicols
bb9741d472 MDL-72701 unit tests: Fix broken @covers annotations 2021-12-21 09:24:00 +08:00
Eloy Lafuente (stronk7)
e4a2d9c1d4 MDL-73348 phpunit: normalize all privacy provider tests
As far as now all them have correct privacy level2 namespace:
- Move them to "privacy" subdir.
- Rename the files to "provider_test.php", this includes old
  privacy_test.php and privacy_provider_test.php files
- Rename the testcase to provider_test too (to match file name)

Also, change some relative paths and comments to point to new
locations.
2021-12-17 14:21:02 +01:00
Eloy Lafuente (stronk7)
57e6fb7ad9 MDL-73348 phpunit: privacy and privacy_provider testcase names
All privacy_test and privacy_provider_test classes:

- Namespaced with component\privacy.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Renamed a few files to make all be privacy_test or privacy_provider_test.php
- All them passing individually.
- Complete runs passing too.
2021-12-17 14:21:02 +01:00
Safat Shahin
750fafeedd MDL-73350 qbank_statistics: Discrimination index column update
This implementation changes a little logic where the
discrimination index shows an empty row if there is
no attempts been made to a question rather than showing
very likely.
2021-12-15 15:02:16 +11:00
Ilya Tregubov
16a7c3a698 Merge branch 'MDL-72413-master-dec13' of https://github.com/peterRd/moodle 2021-12-13 09:35:14 +02:00
Peter Dias
4c3f5b8541 MDL-72413 questions: Disable the common activity header 2021-12-13 09:49:35 +08:00
Ilya Tregubov
6f44f008d8 Merge branch 'MDL-73278' of https://github.com/stronk7/moodle 2021-12-10 18:51:40 +02:00
Safat Shahin
3011aa5226 MDL-72553 qbank_customfields: object issues with customfield form validation 2021-12-10 09:46:38 +02:00
Eloy Lafuente (stronk7)
de66ba356e t checkout MOODLE_311_STABLE && git fetch https://github.com/mudrd8mz/moodle.git MDL-73201-311-enfix && git merge --no-ff FETCH_HEAD
Merge branch 'MDL-73201-master-enfix' of https://github.com/mudrd8mz/moodle
2021-12-09 23:18:03 +01:00
David Mudrák
46e2e2020d MDL-73201 lang: Use fixed strings in the tests, too 2021-12-09 19:56:02 +01:00
Helen Foster
558b4c826d MDL-73201 lang: Import fixed English strings (en_fix) 2021-12-09 19:53:10 +01:00
Ilya Tregubov
4de7faf7f1 Merge branch 'master_MDL-72553_qbank_quiz' of https://github.com/catalyst/moodle-MDL-70329 2021-12-08 09:58:00 +02:00
Eloy Lafuente (stronk7)
deb0e76eee MDL-73278 phpunit: Rename already namespaced classes to match file name
These are the only cases 100% safe to apply the renaming of the
testcase class names to match the file names.

All other cases are not safe, because they are missing namespace
and may enter into name conflicts. Adding namespaces is not as
simple as imagined because it implies to, also, add a good number
of modifications to core. See the issue for more details.
2021-12-07 23:54:29 +01:00
Matt Porritt
556e2f1aec MDL-72553 qbank_customfields: Add custom fields for question types
Custom fields can now be added to question types.
Site administrators can configure the custom fields and
filed types available. Teachers and question creators can
then use these fields for extra question metadata when
creating questions. Question creators can control if
the fields are displayed to students when they are
taking a quiz or not.
This features uses the core Moodle custom field API.

Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Marc-Alexandre Ghaly <marc-alexandreghaly@catalyst-ca.net>
2021-12-07 18:32:41 +11:00
Sujith Haridasan
f000755ba1 MDL-71915 question: Update the behat tests
Update the behat tests to accommodate the
changes made for the tertiary navigation.
2021-12-06 10:26:40 +05:30
Sujith Haridasan
26eabeccf4 MDL-71915 question: Update the tertiary nav
Update the tertiary navigation activity for
question.
2021-12-06 10:26:40 +05:30
Andrew Nicols
c2a9fcfb18 MDL-73155 qtype_essay: Coding style fix 2021-12-02 14:41:55 +08:00
Andrew Nicols
ce7530053e Merge branch 'MDL-73155' of https://github.com/mkassaei/moodle 2021-12-02 14:41:52 +08:00
Luca Bösch
ff95ec1150 MDL-73147 questions: remove modulespecificbuttonscontainer class.
Also, in the bulk actions ui this aligns the bulk action button
properly.
2021-11-30 20:53:34 +01:00
Mathew May
f65b92577a MDL-70197 navigation: Update classic goutte tests 2021-11-30 08:13:49 +02:00
Mathew May
b983003e2e MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
Mahmoud Kassaei
66766eec24 MDL-73155 qtype_essay: Errors when Allow attachments is reset to 'No' 2021-11-26 13:51:05 +00:00
Safat Shahin
0805e387b7 MDL-72076 bulk actions ui: Implement bulk actions in qbank API
This implementation will introduce bulk actions qbank
plugins which can grab the selected question and perform
actions according to the selected option from dropdown
in the base view.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-22 11:35:21 +11:00
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