87958 Commits

Author SHA1 Message Date
Juan Leyva
1f7565c121 MDL-61622 auth: New WS is_age_digital_consent_verification_enabled 2018-03-09 17:54:58 +01:00
Eloy Lafuente (stronk7)
1287039e62 weekly release 3.5dev 2018-03-08 13:29:02 +01:00
Eloy Lafuente (stronk7)
03141d1ae2 NOBUG: Fixed file access permissions 2018-03-08 13:29:02 +01:00
Eloy Lafuente (stronk7)
053186ba0e NOBUG: Fixed SVG browser compatibility 2018-03-08 13:29:01 +01:00
Eloy Lafuente (stronk7)
08f5fc107a Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2018-03-08 13:29:00 +01:00
Andrew Nicols
1e9016d8d8 Merge branch 'MDL-61423-master' of git://github.com/mihailges/moodle 2018-03-08 15:26:30 +08:00
Mihail Geshoski
25dbbdf90b MDL-61423 authentication: Add digital minor verification upon signup 2018-03-08 15:01:25 +08:00
Jake Dallimore
438a62f28b Merge branch 'MDL-38829-master-whitespacefix' of https://github.com/snake/moodle 2018-03-08 11:41:55 +08:00
Jake Dallimore
8525d8466a MDL-38829 core: fix whitespace in xmlize test 2018-03-08 11:39:42 +08:00
Jake Dallimore
f9628f871a Merge branch 'MDL-38829-master' of git://github.com/andrewnicols/moodle 2018-03-08 11:17:05 +08:00
Eloy Lafuente (stronk7)
3e5d0447fd Merge branch 'MDL-60445-master' of https://github.com/lucaboesch/moodle 2018-03-07 19:19:21 +01:00
Shamim Rezaie
abe7ceabfa MDL-61557 Questions: Fixed behat failure with clean 2018-03-07 17:08:41 +01:00
Shamim Rezaie
451df14218 MDL-61556 Questions: Fixed behat failure with clean 2018-03-07 17:08:33 +01:00
Jesse Ritchey
c91a59ac42 MDL-60445 theme_boost: remove fieldset tag 2018-03-07 11:08:42 +01:00
Andrew Nicols
e6b354d99b Merge branch 'master' of https://github.com/chkhanu/moodle 2018-03-07 11:34:16 +08:00
Andrew Nicols
b8979ffe69 Merge branch 'wip-MDL-61322-master' of git://github.com/abgreeve/moodle 2018-03-07 10:57:36 +08:00
Jake Dallimore
2215d5744a Merge branch 'MDL-61363-int-master' of git://github.com/ryanwyllie/moodle 2018-03-07 10:55:01 +08:00
Ryan Wyllie
79c9ad6277 MDL-61363 question: unit tests for question tags context change 2018-03-07 10:31:47 +08:00
Ryan Wyllie
dd69ecb630 MDL-61363 question: unit tests for course context tagging 2018-03-07 10:31:47 +08:00
Ryan Wyllie
68beb75851 MDL-61363 question: update tags on question context change 2018-03-07 10:31:47 +08:00
Ryan Wyllie
081eb156c5 MDL-61363 question: add course context tagging 2018-03-07 10:31:47 +08:00
Ryan Wyllie
49374833fc MDL-61363 tag: unit tests for change_instances_context 2018-03-07 10:31:47 +08:00
Ryan Wyllie
f7c1c97cac MDL-61363 tag: unit tests for delete functions 2018-03-07 10:31:47 +08:00
Ryan Wyllie
4823de0269 MDL-61363 tag: unit tests for tagging in different context 2018-03-07 10:31:47 +08:00
Ryan Wyllie
4c3f4d2c2a MDL-61363 tag: unit tests for get_items_tags function 2018-03-07 10:31:47 +08:00
Ryan Wyllie
5436b0ed02 MDL-61363 tag: allow tagging in different context to item 2018-03-07 10:31:46 +08:00
Andrew Nicols
988fb76589 Merge branch 'MDL-61404-master' of git://github.com/Kathrin84/moodle 2018-03-07 10:31:23 +08:00
Ryan Wyllie
8376557c4c MDL-61363 tag: add change_instances_context function 2018-03-07 10:27:42 +08:00
Ryan Wyllie
694710d0f2 MDL-61363 tag: add get_items_tags function 2018-03-07 10:27:42 +08:00
Ryan Wyllie
064f6b5a81 MDL-61363 tag: add additional tag instance delete functions 2018-03-07 10:27:42 +08:00
Andrew Nicols
976ba87888 Merge branch 'MDL-61497-master' of https://github.com/lucaboesch/moodle 2018-03-07 09:58:29 +08:00
Andrew Nicols
79e4395888 MDL-38829 core: Rewrite xmlize unit tests
These changes adjust the unit tests to compare known values rather than
calculating them on the fly.

The unit test against a 'bad' source has been modified to simply check
for the relevant exception as PHP prevents any output on exceptions
anyway.
2018-03-07 09:40:11 +08: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
AMOS bot
7e9468ed20 Automatically generated installer lang files 2018-03-07 00:06:13 +00:00
Eloy Lafuente (stronk7)
647db53d14 Merge branch 'MDL-61503-master' of git://github.com/rezaies/moodle 2018-03-07 00:55:29 +01:00
Eloy Lafuente (stronk7)
e975671ca3 Merge branch 'MDL-61312-master' of git://github.com/jleyva/moodle 2018-03-07 00:47:44 +01:00
Eloy Lafuente (stronk7)
e28b586b9c Merge branch 'MDL-61557-master' of git://github.com/rezaies/moodle 2018-03-07 00:19:50 +01:00
Eloy Lafuente (stronk7)
e35205bfec Merge branch 'MDL-61556-master' of git://github.com/rezaies/moodle 2018-03-07 00:13:01 +01: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
1b63ff10f9 MDL-61380 behat: Added autocomplete_suggestions name selector 2018-03-07 06:52:01 +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
2adefc21ac MDL-61380 Questions: Support selecting "random" by tag in question bank 2018-03-07 05:33:11 +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
Kilian
533a7edeae MDL-38829 core: Unit test for xmlize using two sample xml files.
The file sample_questions.xml from moodle-stack is properly formed.
The file sample_questions_wrong.xml has mismatching tags.
Comparison is performed with recursive array comparison.
Error messages and returned data structures are compared.
Call with: phpunit lib/tests/xmlize_test.php
2018-03-06 15:36:14 +08:00
Kilian
7825ffb1d5 MDL-38829 core: fix for xmlize is unable to import xml files>10MB
Since version 2.7.3 the libxml library (https://bugs.php.net/bug.php?id=49660)
limits parsing in memory files to 10MB. Unfortunately the libxml option
LIBXML_PARSEHUGE to release the 10MB limit is not exposed to php. Through
using the sax parser which is typically used to parse directly from files but
instead chunking the string in memory xml files larger than 10MB can again
be parsed. I copied the exact behaviour of the previous routine
by Hans Anderson (http://www.hansanderson.com/contact/) so compatibility
should be maintained.
2018-03-06 15:36:08 +08:00
Kilian
e4d61d8321 MDL-38829 core: Remove xmlize from thirdpartylibs 2018-03-06 15:35:46 +08:00