4157 Commits

Author SHA1 Message Date
Vadim Tabunshchik
d5f47f8f39 MDL-62871 quiz: incorrect foreign key declaration 2018-07-26 11:36:43 +02:00
Jun Pataleta
432e755f2b Merge branch 'MDL-62769' of https://github.com/timhunt/moodle 2018-07-19 08:46:50 +08:00
Luca Bösch
4a73ecc654 MDL-62262 quiz: quiz index page showing wrong dates. 2018-07-06 14:37:07 +02:00
Helen Foster
9722f6a25e MDL-62763 lang: Merge English strings from the en_fix language pack
Significant string changes:

* various strings in tool_dataprivacy and tool_policy - 'Data Protection
  Officer' changed to 'privacy officer'
* idnumbermod_help,core - mentioning resource and custom reporting
2018-07-02 11:15:26 +02:00
Tim Hunt
bc6687bab3 MDL-62698 quiz_overview: new index should not be unique 2018-06-22 13:32:04 +01:00
Tim Hunt
db421d4d52 MDL-62769 quiz statistics: graph should show all, not last, variant 2018-06-21 12:55:43 +01:00
Eloy Lafuente (stronk7)
00977e984e MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
Andrew Nicols
63b0f6276c MDL-62432 quiz: Check contexts more carefully 2018-05-15 09:25:51 +08:00
Eloy Lafuente (stronk7)
1906a73574 MDL-61973 editor_atto: apply string changes to behat tests 2018-05-12 01:24:26 +02:00
Eloy Lafuente (stronk7)
4f510bea17 Merge branch 'MDL-62384-master' of git://github.com/andrewnicols/moodle 2018-05-11 18:12:45 +02:00
Jun Pataleta
44d89dfa7a Merge branch 'MDL-62382-master' of git://github.com/ryanwyllie/moodle 2018-05-11 12:06:03 +08:00
Ryan Wyllie
ebe7417f94 MDL-62382 quiz: include subcategories when previewing top categories
Include the subcategories when loading the list of questions for
a top level question in the add random question modal.
2018-05-11 11:51:50 +08:00
Andrew Nicols
037027230a MDL-62384 mod_quiz: Improve performancy of privacy queries 2018-05-11 09:15:29 +08:00
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Jake Dallimore
209f6e1eda Merge branch 'MDL-61407-master' of git://github.com/andrewnicols/moodle 2018-05-04 11:50:26 +08:00
Andrew Nicols
09a9b8f1ac MDL-61407 quizaccess: Add null_writer implementations 2018-05-03 16:14:38 +08:00
Andrew Nicols
2e85118fb3 MDL-61407 quiz: Add reports for quiz 2018-05-03 16:14:37 +08:00
Andrew Nicols
4c729982c7 MDL-61407 mod_quiz: Add initial privacy implementation 2018-05-03 16:14:36 +08:00
Ryan Wyllie
8f0f0a5903 MDL-62149 quiz: include tag ids in random question link 2018-04-30 17:03:03 +08:00
Eloy Lafuente (stronk7)
6d647878a5 NOBUG: Fixed file access permissions 2018-04-20 23:53:53 +02:00
Eloy Lafuente (stronk7)
cd8a0226de Merge branch 'MDL-61348-take2' of git://github.com/timhunt/moodle 2018-04-20 01:59:15 +02:00
David Monllao
b704717847 Merge branch 'MDL-61138-master-require-context-id' of git://github.com/ryanwyllie/moodle 2018-04-19 11:18:47 +02:00
Ryan Wyllie
1c26b3143d MDL-61138 mod_quiz: add question preview to random question modal 2018-04-19 13:51:41 +08:00
Eloy Lafuente (stronk7)
3271e83c6e Merge branch 'MDL-61614-master' of git://github.com/rezaies/moodle 2018-04-18 23:13:07 +02:00
Jun Pataleta
7c12fc2734 Merge branch 'MDL-61520-master' of git://github.com/lameze/moodle 2018-04-18 13:28:36 +08:00
Ryan Wyllie
6c057c77dc MDL-61138 mod_quiz: remove YUI random question modal 2018-04-18 11:45:01 +08:00
Ryan Wyllie
1e46fb428f MDL-61138 mod_quiz: use AMD modal for add random question 2018-04-18 11:45:00 +08:00
Ryan Wyllie
f046b9a4c5 MDL-61138 mod_quiz: create random question AMD modal 2018-04-18 11:45:00 +08:00
Shamim Rezaie
9da6f4d968 MDL-61614 Quiz: Restore tags for random questions 2018-04-18 13:07:08 +10:00
Shamim Rezaie
2a1855887d MDL-61614 Quiz: backup tags for random questions 2018-04-18 13:07:08 +10:00
Shamim Rezaie
3090719d7d MDL-61614 Quiz: Deleting a quiz slot should delete its random tags 2018-04-18 13:07:08 +10:00
Shamim Rezaie
66aa172cbb MDL-61614 Quiz: Maintain slot tags when editing random questions 2018-04-18 13:07:08 +10:00
Shamim Rezaie
d62793fdee MDL-61614 Quiz: save slot's tags in a table when adding random question 2018-04-18 13:07:08 +10:00
Shamim Rezaie
28e392a8b6 MDL-61614 Quiz: DB schema changes
Created a new DB table to store tag data for qiuz slots.
2018-04-18 13:07:08 +10:00
Matteo Scaramuccia
ef844148a9 MDL-60923 backup: Added $CFG->backuptempdir
The new setting will allow to host the temporary backup files
into a specific target directory. Defaults to '$CFG->tempdir/backup'.

Calling make_backup_temp_directory() checks that the required sub-directory
will be properly created under the new target directory.
2018-04-16 23:50:28 +02:00
Simey Lameze
de81dc8763 MDL-61520 quiz: fix references for xhtml on stats report 2018-04-11 10:46:13 +08:00
Tim Hunt
e37c1fe23d MDL-61348 quiz reports: fix incorrect groups averages
the averages were wrong if a user had mulitple enrolments in a course,
which can happen with some enrolment plugins.
2018-04-10 17:10:28 +01:00
Helen Foster
efefa2d905 MDL-61033 mod_quiz: Update lang string 2018-04-09 10:39:19 +08:00
Andrew Nicols
c36eea3d28 Merge branch 'MDL-61033-master' of https://github.com/nashtechdev01/moodle 2018-04-09 10:37:23 +08:00
Simey Lameze
13e2b19838 MDL-61364 core: remove param from question_has_capability_on calls 2018-03-28 08:53:41 +08:00
dinhloc
f4695ec722 MDL-61033 quiz: Editing a quiz while a preview is open
Editing a quiz while a preview is open in another browser tab can leads to a cryptic error that is hard to recover from
2018-03-27 10:47:32 +07:00
Jun Pataleta
edf88a3bb3 Merge branch 'MDL-61514-master' of git://github.com/rezaies/moodle 2018-03-22 10:52:53 +08:00
Shamim Rezaie
3b5ae9777d MDL-61514 Quiz: Fix restore error
Include mod/quiz/locallib.php to fix the restore error.
2018-03-22 09:57:35 +11:00
Eloy Lafuente (stronk7)
bb0ca2c4a3 Merge branch 'MDL-61605' of https://github.com/timhunt/moodle 2018-03-21 00:24:46 +01:00
Tim Hunt
d9b80a5e69 MDL-61605 quiz report: add missing index/key
Thanks to Patryk Szuta for the suggestion
2018-03-18 20:40:43 +00:00
Shamim Rezaie
ae88770b33 MDL-61514 Quiz: unit testing restore 2018-03-12 14:12:54 +11:00
Shamim Rezaie
33b7941d94 MDL-61514 Quiz: Backward compatibility for backups from 3.4 and earlier 2018-03-12 13:40:21 +11:00
Shamim Rezaie
9859359fbc MDL-61514 Quiz: Include random question's new data in backup and restore 2018-03-12 13:40:20 +11:00
Shamim Rezaie
c907987844 MDL-61514 Quiz: Display unavailable tags when editing random questions
When editing a random question, the form will display the tags that the random question
is configured to get questions from even if those tags do not exist anymore.
2018-03-12 13:40:20 +11:00
Shamim Rezaie
fb5343a00c MDL-61514 Quiz: unit tests for new functions in mod/quiz/locallib.php
unit testing
 - quiz_build_random_question_tag_json
 - quiz_extract_random_question_tags
 - quiz_extract_random_question_tag_ids
2018-03-12 13:38:12 +11:00