20081 Commits

Author SHA1 Message Date
Jun Pataleta
a9d98d5029 Merge branch 'MDL-52989-master' of git://github.com/junpataleta/moodle 2018-03-22 11:29:56 +08:00
Jun Pataleta
9ce10f2f2f MDL-52989 mod_lesson: Fix typo in feature description 2018-03-22 11:27:24 +08: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
Juan Leyva
bc694b4761 MDL-61321 mod_feedback: Return all the items responses
The WS should receive all the item responses for all the attempts.
2018-03-20 10:36:11 +01:00
Andrew Nicols
2624bb10e2 Merge branch 'master_MDL-58080' of https://github.com/danmarsden/moodle 2018-03-20 14:08:16 +08:00
Andrew Nicols
f78a8a52a5 Merge branch 'MDL-58179-master' of https://github.com/lucaboesch/moodle 2018-03-20 13:38:59 +08:00
Luca Bösch
d6076942e3 MDL-58179 lesson: Avoid using span with class "label" 2018-03-19 21:13:11 +01:00
Andrew Nicols
89b8efb09b Merge branch 'MDL-58179-master' of https://github.com/lucaboesch/moodle 2018-03-19 10:22:14 +08:00
Andrew Nicols
d7a6e531ee Merge branch 'MDL-61514-master' of git://github.com/rezaies/moodle 2018-03-19 09:01:19 +08: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
Luca Bösch
2ffd2afdba MDL-52989 mod_lesson: Fix cluster_jump returning a cluster page id. 2018-03-16 13:44:44 +01:00
Luca Bösch
ef2b45a977 MDL-58179 lesson: Avoid using span with class "label" 2018-03-16 08:52:21 +01:00
Dan Marsden
37ddc231f8 MDL-58080 mod_scorm: add immutable header for scorm content files. 2018-03-15 12:50:38 +13:00
Eloy Lafuente (stronk7)
4b183d2258 Merge branch 'MDL-61475-master-v3' of git://github.com/snake/moodle 2018-03-14 11:00:57 +01:00
Jake Dallimore
a57960ee11 MDL-61475 mod_choice: perf improvement when exporting personal data
Instead of creating an array containing all record information and then
writing, we know write periodically during the recordset iteration, thus
alleviating any memory concerns associated with the array approach.
2018-03-14 09:36:03 +08:00
Jake Dallimore
f1c1db434a MDL-61475 mod_choice: Update core_privacy implementation 2018-03-14 09:36:03 +08:00
Jun Pataleta
138816b1b1 MDL-61475 mod_choice: Add implementation of Privacy API 2018-03-14 09:36:03 +08:00
Andrew Nicols
1290576dab Merge branch 'MDL-61567-master' of git://github.com/zig-moodle/moodle 2018-03-13 12:15:21 +08:00
Zig Tan
e3644cd5c6 MDL-61567 mod_url: Implement null provider mod_url 2018-03-13 11:02:00 +08:00
Zig Tan
f318b80a0f MDL-61567 mod_resource: Implement null provider mod_resource 2018-03-13 11:02:00 +08:00
Zig Tan
121638b23f MDL-61567 mod_page: Implement null provider mod_page 2018-03-13 11:02:00 +08:00
Zig Tan
9da92dc1a9 MDL-61567 mod_label: Implement null provider mod_label 2018-03-13 11:02:00 +08:00
Zig Tan
c383366601 MDL-61567 mod_folder: Implement null provider mod_folder 2018-03-13 11:01:59 +08:00
Eloy Lafuente (stronk7)
c3cb1ea063 Merge branch 'MDL-48501-master' of git://github.com/jswebster/moodle 2018-03-13 01:55:41 +01: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
Shamim Rezaie
76d1f12d15 MDL-61514 Quiz: Add matchbyid arg to quiz_extract_random_question_tags
Let the quiz_extract_random_question_tags and quiz_extract_random_question_tag_ids functions
to decide whether they should use tag id to find tags or not.
2018-03-12 03:05:33 +11:00
Shamim Rezaie
2481a022d0 MDL-61514 Quiz: Make sure tag id is int when being saved as json 2018-03-11 19:07:04 +11:00
Jeff Webster
f567f34b92 MDL-48501 mod_feedback: update feedback to use reCAPTCHA v2 2018-03-08 14:48:35 -05:00
Luca Bösch
457b3ed139 MDL-61498 lesson: link to next activity in boost 2018-03-08 17:24:12 +01:00
Jake Dallimore
98aaa343f1 Merge branch 'MDL-60991' of https://github.com/mkassaei/moodle 2018-03-07 09:29:54 +08:00
Andrew Nicols
475d4345f9 Merge branch 'MDL-61380-master' of git://github.com/rezaies/moodle 2018-03-07 09:00:15 +08:00
Shamim Rezaie
81053f8cbe MDL-61380 Quiz: Behat test for tag filter in the random question form 2018-03-07 07:34:11 +11:00
Shamim Rezaie
f3f21c995c MDL-61380 Quiz: Re-attempting the same "random" question by tag
Some question behaviours allow the same question to be re-attempted several times during a quiz attempt.
This commit takes care of the case where a "random" question is re-attempted during a quiz attempt.
2018-03-07 05:43:44 +11:00
Shamim Rezaie
2a1c9daccd MDL-61380 Quiz: build attempt from "random" questions by tag 2018-03-07 05:43:38 +11:00
Shamim Rezaie
82c67ac7f0 MDL-61380 Quiz: Fix url generation in notenoughrandomquestions exception 2018-03-07 05:33:11 +11:00
Shamim Rezaie
6650c66b59 MDL-61380 Questions: Editing configuration of existing random questions
Editing "random" questions follows a different procedure than adding them.
This commit takes care of editing a "random" question's configuration.
This commit also introduces mod_quiz\form\randomquestion_form, so mod_quiz
can edit random questions without having to use the form that is inside qtype_random.
2018-03-07 05:32:40 +11:00
Shamim Rezaie
4f964a1ca0 MDL-61380 Quiz,Questions: Adding "random" question by tag 2018-03-07 00:30:32 +11:00
Eloy Lafuente (stronk7)
9655ef534d Merge branch 'MDL-61211-master' of git://github.com/mihailges/moodle 2018-03-05 23:30:19 +01:00
Helen Foster
ad5b7d26e7 MDL-61533 lang: Merge English strings from the en_fix language pack
Significant string change:

* typeoflogin_desc,tool_mobile - removing sentence about autologinguests
* gradepublishing_help, core_grades - updated explanation mentioning the
  manager role and grade export publishing settings
2018-03-01 17:17:16 +01:00
M Kassaei
235b6e4f06 MDL-60991 Workshop: Display late submission text after deadline 2018-03-01 13:51:46 +00:00
Mihail Geshoski
0e613a1f5b MDL-61211 lesson: Error when answer or response contains break tag 2018-03-01 09:50:51 +08:00
Shamim Rezaie
4fa49cc647 MDL-61380 Quiz: Adding a random question 2018-03-01 11:50:52 +11:00
Shamim Rezaie
78b3870c50 MDL-61380 Quiz: Initial implementation of slot_random class 2018-03-01 11:41:15 +11:00
Shamim Rezaie
6fc5a830d4 MDL-61380 Quiz: Migrate "random" questions data into quiz_slots
Search for all "random" questions in the qbank and move the configuration data of each one to the quiz slots table.
2018-03-01 11:41:15 +11:00