Petr Škoda
5d4c82560b
MDL-44191 hack around MySQL 5.6 inability to lower auto_increment
2014-03-14 11:31:43 +08:00
Eloy Lafuente (stronk7)
630bb85d9e
MDL-43266 testing: avoid assoc arrays for json
...
Last commit switched from raw arrays to associative
arrays. That leads to json_encode() to generate an
object instead of an array, ultimately leading to
problems with the rest of code expecting an array.
By using array_values() we are moving back to the
non-associative array.
Also, fix some file permissions.
2014-03-13 22:11:03 +01:00
Eloy Lafuente (stronk7)
1700bec3c6
Merge branch 'MDL-43266_master-last-fixes' of git://github.com/dmonllao/moodle
...
Conflicts:
lib/phpunit/classes/util.php
2014-03-13 19:12:25 +01:00
David Monllao
d3daf24563
MDL-43266 testing: Removing duplicated keys
2014-03-12 17:49:55 +08:00
Jerome Mouneyrac
c78f19d153
MDL-43266 Testing sites are cleaning all test dataroot contents
2014-02-25 14:47:25 +08:00
David Monllao
702851c071
MDL-44108 behat: Adding a roles data generator
2014-02-21 13:25:44 +08:00
David Monllao
ff7139d6cb
MDL-43461 testing: Avoid switching to .bat files when running MinGW
...
MinGW can not execute .bat files (http://sourceforge.net/p/mingw/bugs/1902 )
so we should not switch to .bat files when running MinGW.
2014-01-14 13:11:07 +08:00
Petr Skoda
9bb80d2005
MDL-43213 fix init regression and remove $checkphp parameter
2013-12-19 13:11:25 +08:00
Sam Hemelryk
2df83c2ea8
Merge branch 'MDL-43355_master' of git://github.com/dmonllao/moodle
2013-12-18 10:52:41 +13:00
David Monllao
244da9d1f8
MDL-43355 testing: Return the hash when HEAD points to a hash
2013-12-12 17:26:22 +08:00
Dan Poltawski
dfe84ffb52
MDL-37517 testing: remove deprecated classes
2013-12-05 12:05:10 +08:00
David Monllao
7514c2f282
MDL-42842 testing: Generalization of the site info
2013-11-26 10:48:29 +08:00
Frederic Massart
7cb353ff69
MDL-42666 tests: Setting new Box.net mandatory arguments
2013-11-07 13:54:47 +08:00
Marina Glancy
c24b3f66f1
MDL-42400 generator: unittest for module generator
2013-10-26 14:00:27 +11:00
Marina Glancy
b6affde2cb
MDL-42400 generator: Add function testing_module_generator::create_content()
...
also implement it for mod_book and mod_forum to call existing create_page, create_discussion/post functions
2013-10-26 14:00:24 +11:00
Marina Glancy
7fbe33fcf1
MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts
2013-10-26 14:00:23 +11:00
Petr Škoda
401c82d7a7
MDL-41022 cleanup core_test_generator_testcase
2013-08-24 16:18:19 +02:00
Petr Škoda
c5701ce7d4
MDL-41086 rework detection of necessary upgrades
2013-08-08 21:11:40 +02:00
Petr Škoda
528a7b447a
MDL-41017 improve purify caching
...
The improvements include:
* HTMLPurifier cache is stored in localcachedir
* allowobjectembed changes are not ignored any more
* the cache keys include revision and all options which makes
this suitable for local caches on cluster nodes
* unchanged test is replaced by "true" value which should
significantly improve performance
* removal of purge_all_caches() hack for directory recreation
* comments and coding style cleanup
2013-08-03 11:31:18 +02:00
Damyon Wiese
0b92270b19
Merge branch 'MDL-38863_master' of git://github.com/dmonllao/moodle
2013-07-23 16:04:50 +08:00
David Monllao
72ddc05f67
MDL-38863 behat: Role assign generator
2013-07-23 09:46:39 +02:00
Petr Škoda
85b3806114
MDL-40545 add $CFG->localcachedir intended for local caching on cluster nodes
2013-07-20 14:10:25 +02:00
Petr Škoda
b0d1d941c9
MDL-40220 use new core_component::get_component_directory()
2013-07-16 22:42:37 +02:00
Petr Škoda
56da374e1e
MDL-40220 use new core_component::normalize_component()
2013-07-16 22:41:00 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224
MDL-40220 use new core_component::get_plugin_types()
2013-07-16 22:31:48 +02:00
Marina Glancy
9a2188812d
Merge branch 'wip-mdl-40218' of git://github.com/rajeshtaneja/moodle
2013-07-10 09:58:09 +10:00
Rajesh Taneja
1ecb8044b6
MDL-40218 Assignment: Added lazy loading for showactiveenrol option and supended users
2013-07-09 14:09:11 +08:00
Rajesh Taneja
e6cc5347eb
MDL-40218 Assignment: Added unit test to check suspended users
2013-07-09 13:32:10 +08:00
Adrian Greeve
a327f25ef1
MDL-31776 - lib: Alternate name fields
...
Add support for additional name fields and flexible formating of
user names.
2013-07-09 11:45:50 +08:00
Petr Škoda
7f86a95f30
MDL-39854 fix test_finder regression
2013-06-18 10:37:04 +02:00
Petr Škoda
9e19a0f08b
MDL-39854 reimplement Frankenstyle support and enable classloader
...
Better performance, more reliable, completely self contained,
more validation and full backwards compatibility.
This will also allow us to implement ignoring of plugins.
2013-06-18 09:10:07 +02:00
Damyon Wiese
ba375bcb17
MDL-39477: Remove some unused instances of $CFG
...
Also change @since tags to 2.5.1 because this will be backported.
2013-05-28 11:13:52 +08:00
David Monllao
c29e3e248f
MDL-39702 generators: Adding MOODLE_INTERNAL
...
As discussed generators should include MOODLE_INTERNAL
as they make use of CFG and they don't make sense without
requiring config.php.
2013-05-27 14:52:53 +08:00
Frederic Massart
0852bbaed5
MDL-39477 repository: Introducing data generators for repositories
2013-05-27 14:52:11 +08:00
David Monllao
7b33327126
MDL-38878 behat: Also update composer dependencies after site install/reinstall
2013-04-08 09:03:04 +08:00
Eloy Lafuente (stronk7)
cf20e809aa
Merge branch 'MDL-38582' of git://github.com/timhunt/moodle
2013-03-26 16:03:37 +01:00
Damyon Wiese
0c241b980a
Merge branch 'wip-MDL-38147-master' of git://github.com/marinaglancy/moodle
...
Conflicts:
lib/upgrade.txt
2013-03-26 14:22:11 +08:00
Marina Glancy
b28bb7e8c7
MDL-38147 Added coursecatlib_test.php, changed other tests to use coursecat::create() for creating category
2013-03-25 13:20:39 +11:00
Petr Škoda
c3f31a3ded
MDL-38581 move forum discussion and post generators to proper place
2013-03-22 13:21:35 +01:00
Tim Hunt
ba203de1d3
MDL-38582 testing: Let any component have a data generator.
...
Plus a simple core_question generator to test the concept.
2013-03-22 10:28:24 +00:00
David Monllao
e88d47b4a2
MDL-38352 behat: Removing extra double quotes escape
2013-03-11 12:52:12 +08:00
David Monllao
0a7f6a02eb
MDL-37958 behat: Nasty strings in HTML
...
Nasty strings includes html entities and
non-breaking spaces followed by spaces which makes
very hard to find these strings in the DOM html,
this patch keeps the non-breaking spaces and all
the nasty characters, but leaves them isolated from
other regular spaces. It swaps the strings to HTML before
finding elements in the HTML that matches that contents.
2013-03-06 13:34:09 +08:00
Petr Škoda
dbf60a042c
MDL-37963 hash only given passwords in user generator
2013-02-24 10:40:55 +01:00
David Monllao
110761997a
MDL-37858 testing: Adding nasty strings generator
2013-02-15 13:38:14 +08:00
Dan Poltawski
5c70d6505a
Merge branch 'MDL-37768_master' of git://github.com/dmonllao/moodle
2013-02-12 15:44:17 +08:00
Simon Coggins
5c4ffeb883
MDL-35332: Use fast hash when generating hashes during tests
2013-02-11 21:38:07 +13:00
David Monllao
b831d47925
MDL-37768 behat: Checking test site version before running tests
2013-02-08 17:14:26 +08:00
Damyon Wiese
183e656eea
Merge branch 'MDL-30102_master' of git://github.com/markn86/moodle
2013-02-05 11:23:01 +08:00
Mark Nelson
a9a0cb691c
MDL-30102 mod_forum: adding webservice function to allow for the retrieval of forum discussions
2013-02-04 19:28:29 +08:00