Rajesh Taneja
1bce723292
MDL-56898 behat: Try data reset if it fails because of pending process
2016-11-21 09:25:35 +08:00
Andrew Nicols
6aefea74a4
Merge branch 'MDL-55209' of https://github.com/NeillM/moodle
2016-11-16 08:24:39 +08:00
Matteo Scaramuccia
ade30c673c
MDL-56917 core_upgrade: Do not use the raw version to check cURL caps.
...
Some Linux distros can backport features due to security issues
while keeping the same (old) version. See e.g.:
- RHEL 7, https://rhn.redhat.com/errata/RHSA-2015-2159.html
- RHEL 6, https://rhn.redhat.com/errata/RHBA-2016-0842.html
- Remi PHP 7.0.x, 87954ef9ca
2016-11-15 21:50:07 +01:00
Andrew Nicols
ea10a0319b
MDL-56602 core: Lock themerev during upgrade
...
This also changes install to use a fixed themerev.
2016-11-11 14:15:00 +08:00
Dan Poltawski
d5d6eda93c
Merge branch 'MDL-55777-master' of git://github.com/ankitagarwal/moodle
2016-11-10 13:46:10 +00:00
Dan Poltawski
f670b39e69
Merge branch 'MDL-56602-master-2' of git://github.com/andrewnicols/moodle
2016-11-10 11:26:14 +00:00
Ankit Agarwal
f2330472f0
MDL-55777 installation: Check libcurl version on install
2016-11-10 10:16:19 +05:30
Andrew Nicols
9d75a519f3
MDL-56602 themes: Use version number as base themerev
2016-11-10 08:02:31 +08:00
Jake Dallimore
605bab84ce
MDL-48498 core_files: Add security helper to curl class
...
Allow injection of security_helper objects into curl, but default
to a core helper tied to http security settings values.
2016-11-08 15:11:15 +08:00
Jake Dallimore
f6d9efefaa
MDL-48498 core_files: curl_security_helper_base and implementation
...
Base class and core implementation providing a means to check URLs
against the curl security admin settings entries.
2016-11-08 15:11:15 +08:00
Marina Glancy
fbb36ed1e6
MDL-38158 media: some players do not want fallback to other players
...
there is already logic to determine whether html5 is supported;
otherwise we may end up with nested <audio> or <video> tags
2016-11-07 11:55:05 +08:00
David Monllao
90abff01b3
Merge branch 'MDL-54751-master-v5' of https://github.com/snake/moodle
2016-11-07 08:55:44 +08:00
Jake Dallimore
ff4230d88e
MDL-54751 behat: Support for adhoc module and section deletion in behat
...
Introduced new behat step for running all pending adhoc tasks and
modified the relavant behat tests.
2016-11-07 07:41:59 +08:00
Marina Glancy
fab11235d8
MDL-38158 core_media: Convert media players to new plugin type
...
AMOS BEGIN
MOV [siteyoutube,core_media],[pluginname,media_youtube]
MOV [siteyoutube_desc,core_media],[pluginname_help,media_youtube]
MOV [sitevimeo,core_media],[pluginname,media_vimeo]
MOV [sitevimeo_desc,core_media],[pluginname_help,media_vimeo]
MOV [html5audio,core_media],[pluginname,media_html5audio]
MOV [html5audio_desc,core_media],[pluginname_help,media_html5audio]
MOV [html5video,core_media],[pluginname,media_html5video]
MOV [html5video_desc,core_media],[pluginname_help,media_html5video]
MOV [flashanimation,core_media],[pluginname,media_swf]
MOV [flashanimation_desc,core_media],[pluginname_help,media_swf]
AMOS END
2016-11-04 17:30:40 +08:00
Andrew Nicols
bc378b50ec
Merge branch 'wip-MDL-44467-master' of git://github.com/abgreeve/moodle
2016-11-03 14:08:21 +08:00
Neill Magill
c10bfee49f
MDL-55209 coursecat: Should be able to remove category idnumber test
...
A user should be able to remove an idnumber from a category, also 0
should not be allowed multiple times.
2016-11-02 09:50:30 +00:00
Kenneth Hendricks
c213a30670
MDL-56674 core: Fix test_get_all_observers
2016-11-02 13:29:07 +11:00
Adrian Greeve
e0789335ee
MDL-44467 lib: Unit test updates.
2016-10-28 13:27:00 +08:00
Simey Lameze
253ae23058
MDL-44467 core: always send email from noreplyaddress
2016-10-28 13:04:09 +08:00
Amanda Doughty
cc350fd9c8
MDL-47162 core_message: Add course id to message eventdata
2016-10-27 18:11:27 +02:00
Dan Poltawski
add9db49f4
MDL-56334 tests: add some trivial cases to domain tests
...
This gets us to 100% code coverage.
2016-10-26 09:58:05 +01:00
Dan Poltawski
e376b4bd64
Merge branch 'MDL-56334-master-v2' of git://github.com/snake/moodle
2016-10-26 09:57:50 +01:00
Adrian Greeve
020c98e373
MDL-56334 libraries: Addition of domain checker.
...
Added a function for checking if a domain is allowed
against a list of domains that could contain wildcards.
2016-10-26 15:51:32 +08:00
Jake Dallimore
6d6e36923b
MDL-56334 libraries: Add new internet protocol library to core
...
New library providing utilities for IP addresses, DNS and other
internet-protocol-related information.
2016-10-26 15:49:03 +08:00
Andrew Nicols
8d3c33c693
Merge branch 'MDL-50888-master' of https://github.com/lucisgit/moodle
2016-10-26 08:19:23 +08:00
Eloy Lafuente (stronk7)
0d80f6984b
Merge branch 'MDL-56250-32-formvalidation' of https://github.com/roperto/moodle
2016-10-25 20:23:12 +02:00
David Monllao
bf91437d25
Merge branch 'wip-mdl-55074' of https://github.com/rajeshtaneja/moodle
2016-10-25 15:09:24 +08:00
Rajesh Taneja
c99dffb69c
MDL-55074 behat: Fixed new theme related changes
2016-10-25 13:48:51 +08:00
Rajesh Taneja
4422ffc55e
MDL-56006 behat: Get proper feature and context for default theme
...
No matter which theme is default theme, overridden
context and blacklisted features should be respected
2016-10-25 10:15:20 +08:00
Damyon Wiese
e56b58e3c9
MDL-56006 theme: Set Boost as the default theme
...
Units tests have been adjusted e.g. 'boost' instead of 'clean' in pix urls.
Some places I didn't update the test to reflect the boost markup and reset
the theme to clean. This is because the test was not testing the markup - but the
functionality (e.g. looking for specific structures to indicate an error in a form element).
2016-10-25 10:15:20 +08:00
Ruslan Kabalin
f8927a7cde
MDL-50888 antivirus: Unit test refactoring.
...
Remove all cleanup and exception test references. We expect plugin just to
respond with scanning result constant and notice where applicable.
Add tests for \core\antivirus\manager.
2016-10-21 11:48:49 +01:00
Damyon Wiese
ba5c5083c5
MDL-55074 theme_boost: Behat fixes for latest theme changes
...
Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items
2016-10-21 16:06:54 +08:00
Damyon Wiese
245d354c6c
MDL-55074 theme_boost: Unit test fixes for all these changes
2016-10-21 12:40:06 +08:00
Daniel Thee Roperto
8b9ca065d8
MDL-56250 forms library: Changed form to validate once per object.
...
If two instances of moodleforms are validated in the same run, most
likely a phpunit test run, it would store the first validation result.
Now it stores the validation result per instance, not for all instances.
2016-10-21 10:43:03 +11:00
Eloy Lafuente (stronk7)
7b7dbac4e8
Merge branch 'wip-mdl-56369' of https://github.com/rajeshtaneja/moodle
2016-10-18 01:32:58 +02:00
acorbier
1b372a77a5
MDL-56369 behat: Updated comment for i_look_for_exceptions
...
After upgrade to Behat 3.x, i_look_for_exception is called from
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester
2016-10-14 13:22:04 +08:00
Rajesh Taneja
c5a566dc15
MDL-55522 behat: Commented failing transformations
...
- Reverted the order of transformations in order they are expected
- Commented failing transformation steps - MDL-56397
They should be fixed by https://github.com/Behat/Behat/issues/959
2016-10-13 19:35:45 +02:00
Eloy Lafuente (stronk7)
403b817857
Merge branch 'wip-mdl-55522' of https://github.com/rajeshtaneja/moodle
2016-10-13 19:32:04 +02:00
Eloy Lafuente (stronk7)
45dd1dc052
Merge branch 'MDL-53695-master' of git://github.com/danpoltawski/moodle
2016-10-10 18:25:18 +02:00
Dan Poltawski
4cb24aa9d7
MDL-53695 minify: switch to MatthiasMullie\Minify
...
The previously used minification libraries were:
a) Unmaintained
b) Had some silly licensing issues (MDL-36457)
The new library is smaller, maintained, active and GPL-compatible.
2016-10-10 13:17:04 +01:00
Rajesh Taneja
45ff0ff5d8
MDL-55522 behat: Add support for relative dates
2016-10-10 11:54:13 +08:00
Andrew Nicols
070015004e
MDL-56316 tests: Ensure consistent assertion count
2016-10-07 14:45:36 +08:00
Dan Poltawski
636ec5010f
MDL-56306 tests: make upgrade_util_test compatible with travis
2016-10-06 18:01:43 +01:00
Rajesh Taneja
904306389f
MDL-55713 behat: Include named and partial behat selector files
2016-10-06 07:55:51 +08:00
Eloy Lafuente (stronk7)
bd1edc8314
MDL-55713 behat: fix mistakenly broken php
2016-10-05 01:21:32 +02:00
Eloy Lafuente (stronk7)
b976e22a7e
Merge branch 'MDL-55713-master-3' of git://github.com/andrewnicols/moodle
2016-10-05 00:34:01 +02:00
Dan Poltawski
4089c42e12
MDL-55404 upgrade: dramatically simplify test code
...
Fixing http://xunitpatterns.com/Obscure%20Test.html
2016-10-04 20:00:59 +01:00
Dan Poltawski
6658ef6cd9
Merge branch 'MDL-55404-master' of git://github.com/cameron1729/moodle
2016-10-04 18:23:36 +01:00
Andrew Nicols
a4bf84ebda
Merge branch 'wip-MDL-31243-master' of https://github.com/Beedell/moodle
2016-10-04 09:19:42 +08:00
Andrew Nicols
520071f0bd
MDL-55713 behat: Adjust how NamedPartials are loaded
2016-10-04 09:18:02 +08:00