Eloy Lafuente (stronk7)
215c37097e
Merge branch 'MDL-48685-master' of git://github.com/andrewnicols/moodle
2015-01-28 00:36:14 +01:00
Neill Magill
8072628a67
MDL-48177 core: Plugin environment checks with no version of Moodle
...
The environment.xml files in plugins force you to define the versions of Moodle that the checks should be carried out against.
For community plugins the environment requirements of the plugin seem unlikely to be dependant on the version of Moodle.
This patch will allow the environment.xml files to use a new <PLUGIN> tag in place of the <MOODLE version="> tag.
This solution has the following properties:
* The Environment file will not break versions of Moodle that do not support the PLUGIN syntax.
* Specific versioned MOODLE tags can still be defined for versions of Moodle that do not have this patch.
* If both MOODLE and PLUGIN tags exist the PLUGIN tag will be used in preference.
* The PLUGIN tag will not function in the main Moodle environment.xml file.
* The PLUGIN tag has a mandatory name attribute that must match the frankenstyle name of the plugin being tested.
2015-01-27 13:08:47 +01:00
Andrew Nicols
96a5463119
MDL-48685 core_useragent: Correct IE 5.0 issues
2015-01-27 08:36:20 +08:00
Andrew Nicols
83af132901
MDL-48685 tests: Add testing for supports_json_contenttype
2015-01-27 08:36:20 +08:00
Andrew Nicols
5ee4f58134
MDL-48685 tests: Add additional User Agents
...
* Firefox 33; Mac OS X 10.10
* Chrome 39; Mac OS X
* Safari; iPhone 6 Plus; iOS 8.1; Build 12B411
* Opera 12.15 (Build 1748); Mac OS X
2015-01-27 08:36:20 +08:00
Andrew Nicols
7c10ad334d
MDL-48685 tests: Rewrite useragent tests
2015-01-27 08:36:19 +08:00
Ankit Agarwal
93975a6afc
MDL-48212 messages: Add unit tests for the message class
2015-01-26 08:16:03 +05:30
Andrew Nicols
1cb5f61213
Revert "Merge branch 'wip-mdl-48624-m' of https://github.com/rajeshtaneja/moodle "
...
This reverts commit e08f58288a
, reversing
changes made to 782ea98c59
.
2015-01-22 12:13:35 +08:00
Andrew Nicols
81a9b9cee3
Merge branch 'wip-mdl-48761' of https://github.com/rajeshtaneja/moodle
2015-01-21 10:21:24 +08:00
Rajesh Taneja
d58b0ad6f1
MDL-48761 behat: Added new step for debugging scenarios
2015-01-21 10:16:22 +08:00
Jetha Chan
c589b7be4e
MDL-48542 user_menu: add custom user menu unit test
2015-01-19 23:58:10 +08:00
Rajesh Taneja
e41aa29bca
MDL-48624 behat: Added extended timeout to ensure step pass
...
following_should_download_between_and_bytes step sometimes
fails because of server speed. Added extended timout
ensuring they wait enough before failing.
Also, not calling force download while running behat site
2015-01-19 10:15:47 +08:00
Frederic Massart
d2fdad7c6c
MDL-43679 core: Handle Meridio user agents with MS Word
2015-01-02 11:22:47 +08:00
Paul Nicholls
21ece8eebc
MDL-43679 core_useragent: add test cases for MS Word
...
The new is_msword() check should always return false for regular browsers.
It should return true for known MS Word, but false for known MS Outlook.
2015-01-02 10:54:52 +08:00
Dan Poltawski
9835839186
Merge branch 'MDL-46124-master' of git://github.com/FMCorz/moodle
2014-12-23 10:20:44 +00:00
Dan Poltawski
e04cf8d83f
MDL-48653 behat: fix incorrect phpdoc
2014-12-22 13:12:48 +00:00
Dan Poltawski
6a96178bc0
Merge branch 'MDL-48653' of git://github.com/timhunt/moodle
2014-12-22 13:10:44 +00:00
Dan Poltawski
c67c00a6fe
Merge branch 'MDL-42616-master' of https://github.com/sammarshallou/moodle
2014-12-22 12:13:31 +00:00
sam marshall
91fed57a4e
MDL-42616 filelib: Use config value for custom MIME types (1/2)
...
Uses a new optional config variable to define custom MIME types
in JSON format. Includes new API for accessing and modifying
this data.
2014-12-19 14:48:59 +00:00
Tim Hunt
20dd5a7a7a
MDL-48653 behat: Steps to click and dismiss a dialogue.
...
We already had the corresponding
I click on "Home" "link" confirming the dialogue
but I needed the opposite
I click on "Home" "link" dismissing the dialogue
2014-12-18 19:29:29 +00:00
Dan Poltawski
344b4b9846
Merge branch 'MDL-44829_MOODLE_MASTER' of git://github.com/BenKelada/moodle
2014-12-17 10:11:40 +00:00
BKelada
8ce30abf5b
MDL-44829 libraries: Update android user agent detection
2014-12-17 16:10:24 +11:00
Dan Poltawski
f5360dd16b
Merge branch 'MDL-43902-master' of git://github.com/FMCorz/moodle
2014-12-16 18:52:40 +00:00
Dan Poltawski
eb7ab07ef8
Merge branch 'MDL-44985-master' of git://github.com/ankitagarwal/moodle
2014-12-16 12:44:22 +00:00
Eloy Lafuente (stronk7)
3bd434cd49
Merge branch 'MDL-34550-master' of git://github.com/ankitagarwal/moodle
2014-12-16 13:35:52 +01:00
Dan Poltawski
4c4507d6dc
Merge branch 'MDL-42862-master' of git://github.com/ankitagarwal/moodle
2014-12-16 12:22:37 +00:00
Frederic Massart
38a73bf4ae
MDL-48495 curl: Limit usage of curl to HTTP and HTTPS protocols
2014-12-16 10:08:33 +00:00
Frederic Massart
6b61c2c45f
MDL-46124 libraries: Final deprecation of text libs and plugin libs
...
- textlib_get_instance
- textlib
- collatorlib
- plugin_manager
- plugininfo_base
2014-12-15 17:02:31 +08:00
Ankit Agarwal
f9b7be4f95
MDL-34550 libraries: Final deprecation - get_context_instance_by_id()
2014-12-10 13:50:08 +05:30
Ankit Agarwal
4d851042eb
MDL-44985 libraries: Final deprecation of conditional apis in modinfo
2014-12-10 12:20:37 +05:30
Ankit Agarwal
e56e8e3a0e
MDL-44985 libraries: Final deprecation of conditional classes and apis
2014-12-10 12:20:37 +05:30
Ankit Agarwal
88b122537b
MDL-42862 behat: Final deprecation of various steps
2014-12-10 09:58:42 +05:30
Ankit Agarwal
1973a7e2f5
MDL-42862 behat: update deprecated_message api
...
Deprecated message api now accepts a $throwexception param that if set to true always throws an exception
2014-12-09 14:34:46 +05:30
Frederic Massart
ba55be9151
MDL-43902 output: Final deprecation of classes r0/r1 in table rows
2014-12-09 14:52:30 +08:00
Sam Hemelryk
440d861ccb
Merge branch 'wip-mdl-48426' of https://github.com/rajeshtaneja/moodle
2014-12-09 12:13:26 +13:00
Tim Hunt
0db16e082f
MDL-48373 behat: generators for questions and categories
2014-12-05 12:22:27 +00:00
Tim Hunt
dd2e1c222a
MDL-48373 behat: find table columns better.
...
It was not possible to select the question bank 'Created by'
or 'Modified by' columns without this change.
2014-12-05 12:22:26 +00:00
Eloy Lafuente (stronk7)
a610c9abac
MDL-48374 behat: Added missing $session
2014-12-04 12:14:30 +00:00
Rajesh Taneja
9f3a68fe61
MDL-48374 behat: Check flag before searching for span on page
2014-12-04 12:04:37 +00:00
Andrew Nicols
1b2c35af34
MDL-48374 behat: improved page load detection
...
Check that page load detection was correctly started before testing that a
new page was loaded.
Without this, it is possible to have mutliple subsequent cases of:
And a new page should have loaded since I started watching
Without first starting the page load detection.
2014-12-04 12:04:36 +00:00
Eloy Lafuente (stronk7)
951af91e08
Merge branch '48374-29' of git://github.com/samhemelryk/moodle
2014-12-04 12:04:09 +00:00
Sam Hemelryk
7594ed1e2a
Merge branch 'MDL-40419-master-2nd' of git://github.com/FMCorz/moodle
2014-12-04 12:03:18 +00:00
Sam Hemelryk
a33fed2161
MDL-48374 behat: improved page load exceptions
...
The following improvements have been made to the page load watching:
* Improved the exceptions when a page load expectation fails.
* Added an exception if start watching happens twice without a page load.
* Improved the page load span and xpath to make it faster and less likely
to interfer in the future.
2014-12-02 11:43:58 +13:00
Tim Hunt
a109a3ca35
MDL-48374 behat: new steps for detecting page loads.
2014-12-02 08:57:28 +13:00
Rajesh Taneja
55f4734100
MDL-48426 behat: soft-reset mink session before scenario
2014-12-01 12:39:42 +08:00
Frederic Massart
3af5725b74
MDL-40419 blocks: Function to get page type patterns from pattern
2014-11-27 15:28:51 +08:00
Sam Hemelryk
ac8c153862
Merge branch 'MDL-22309_master' of git://github.com/dmonllao/moodle
2014-11-26 09:06:08 +13:00
Sam Hemelryk
328e4e4c77
Merge branch 'MDL-23839-master' of git://github.com/andrewnicols/moodle
2014-11-25 14:07:08 +13:00
Eloy Lafuente (stronk7)
f62b278a91
Merge branch '48304-29' of git://github.com/samhemelryk/moodle
2014-11-25 00:23:42 +01:00
Sam Hemelryk
4cbf997db0
Merge branch 'MDL-48197-master' of git://github.com/andrewnicols/moodle
2014-11-25 11:02:19 +13:00