Dani Palou
f72ca3ce29
MDL-61600 recaptcha: Create a script to display recaptcha
2018-03-14 10:31:09 +01:00
Andrew Nicols
04d6ba8638
Merge branch 'MDL-43362-master' of git://github.com/Kathrin84/moodle
2018-03-14 13:18:14 +08:00
Andrew Nicols
d7ff2fc28b
Merge branch 'MDL-60398-master' of git://github.com/mihailges/moodle
2018-03-14 10:33:03 +08:00
Eloy Lafuente (stronk7)
dd9f60ee49
Merge branch 'MDL-61625_master' of git://github.com/dmonllao/moodle
2018-03-14 01:00:13 +01:00
Jake Dallimore
dfeeed062a
Merge branch 'm35_MDL-61626_PgSQL_Table_Name_Could_Be_Schema_Qualified' of https://github.com/scara/moodle
2018-03-13 15:37:19 +08:00
Shamim Rezaie
bd94e16e95
MDL-61615 Questions: Fix multiple top cats when deleting a course cat
...
Prevent having multiple top question categories when deleting a course category.
This commit also fix the problem of question files' contexts not being updated when moving them.
2018-03-13 18:31:01 +11:00
Shamim Rezaie
15f80bf579
MDL-61615 Questions: unit test for question_delete_course_category
2018-03-13 18:30:51 +11:00
Eloy Lafuente (stronk7)
c3cb1ea063
Merge branch 'MDL-48501-master' of git://github.com/jswebster/moodle
2018-03-13 01:55:41 +01:00
Eloy Lafuente (stronk7)
bad062a992
Merge branch 'MDL-61619-master' of https://github.com/snake/moodle
2018-03-12 16:46:29 +01:00
Eloy Lafuente (stronk7)
417ec51bb6
Merge branch 'MDL-61622-master' of git://github.com/jleyva/moodle
2018-03-12 10:56:23 +01:00
Jake Dallimore
20e6024581
Merge branch 'master_MDL-49417' of https://github.com/danmarsden/moodle
2018-03-12 11:34:13 +08:00
Jake Dallimore
786f1270a5
MDL-61619 core: use empty string instead of null in xmlize
2018-03-12 11:12:00 +08:00
Jake Dallimore
0c23f4e6b6
MDL-61619 phpunit: phpunit test confirming bug in new xmlize code
2018-03-12 11:11:58 +08:00
Matteo Scaramuccia
bccbd3b4eb
MDL-61626 core_dml: pgsql and schema qualification.
2018-03-11 22:56:36 +01:00
David Monllao
f5bc604de0
MDL-61625 persistent form: Add missing param to the constructor
2018-03-11 22:23:15 +01:00
Juan Leyva
1f7565c121
MDL-61622 auth: New WS is_age_digital_consent_verification_enabled
2018-03-09 17:54:58 +01:00
Kathrin Osswald
9d492637ec
MDL-43362 outputrenderers: Add bootstrap classes to errorbox.
2018-03-09 11:29:44 +01:00
Andrew Nicols
0d7ab3f692
MDL-61571 atto: Implement null provider for atto plugins
2018-03-09 13:03:32 +08:00
Andrew Nicols
431a3bb674
MDL-61307 core: Add component_class_callback functionality
2018-03-09 10:01:18 +08:00
Andrew Nicols
dcc16e155d
MDL-61307 core: Define a new privacy component
2018-03-09 09:59:36 +08:00
Jeff Webster
be41e4e518
MDL-48501 form/recaptcha: update to use reCAPTCHA v2
2018-03-08 14:48:35 -05:00
Jeff Webster
caae082025
MDL-48501 recaptchalib_v2: add new lib to support reCAPTCHA v2
2018-03-08 14:48:35 -05:00
Eloy Lafuente (stronk7)
03141d1ae2
NOBUG: Fixed file access permissions
2018-03-08 13:29:02 +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
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
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
5436b0ed02
MDL-61363 tag: allow tagging in different context to item
2018-03-07 10:31:46 +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
Andrew Nicols
475d4345f9
Merge branch 'MDL-61380-master' of git://github.com/rezaies/moodle
2018-03-07 09:00:15 +08:00
Eloy Lafuente (stronk7)
e28b586b9c
Merge branch 'MDL-61557-master' of git://github.com/rezaies/moodle
2018-03-07 00:19:50 +01:00
Shamim Rezaie
1b63ff10f9
MDL-61380 behat: Added autocomplete_suggestions name selector
2018-03-07 06:52:01 +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
Shamim Rezaie
536d4d5729
MDL-61557 Lib: Add get_top_level_parent_id function
2018-03-05 13:34:08 +11:00
Andrew Nicols
03d174d733
MDL-61268 core: Fix empty string DB cehck
...
(amended by stronk7 to use the helper better)
2018-03-02 16:31:11 +01:00
Adrian Greeve
8a844437bf
MDL-61268 blocks: Unit tests for deprecated object update.
...
Unit tests for testing that the upgrade functions to change
the now deprecated object to stdClass works.
2018-03-02 09:22:05 +08:00
Adrian Greeve
e78849e837
MDL-61268 blocks: Fix corrupt configdata in block instances.
...
Old configuration data in the block instances is base64 encoded with
the deprecated object class instead of stdClass.
2018-03-02 09:22:05 +08:00
Shamim Rezaie
4fa49cc647
MDL-61380 Quiz: Adding a random question
2018-03-01 11:50:52 +11:00
Dan Marsden
1a11bf375c
MDL-49417 enrol_cohort: use ajax searchable selector for cohorts.
2018-03-01 13:39:56 +13:00
Mihail Geshoski
757a889b24
MDL-60398 resource: Unable to download folder resource
2018-02-26 16:49:21 +08:00
Andrew Nicols
26d26413a0
MDL-61480 core: Check plugin installed before returning
2018-02-26 12:11:25 +08:00
Cameron Ball
40e53599b3
MDL-61394 core_scss: Null coalesce path to sassc setting
2018-02-22 08:30:54 +08:00
Andrew Nicols
2b32b1fea8
Merge branch 'MDL-61394-master' of git://git.cameron1729.xyz/moodle
2018-02-22 08:30:53 +08:00
Cameron Ball
eadebb2445
MDL-61394 core_scss: Add unit tests for SassC compilation
...
This patch also adds a test in theme_boost to verify that boost
can be succesfully compiled without errors by SassC.
2018-02-19 14:46:00 +08:00