Sam Hemelryk
6a91c41a49
Merge branch 'wip-MDL-37812-master' of git://github.com/marinaglancy/moodle
2014-07-15 12:07:05 +12:00
Marina Glancy
9f7379e9b4
MDL-37812 user: apply default values for user preferences when creating user
2014-07-08 12:35:44 +08:00
Russell Smith
529495f7ce
MDL-46193 phpunit: Use random starting value on initialization.
2014-07-04 16:33:13 +10:00
Russell Smith
fbb0c914b0
MDL-43835 phpunit: Create unique starting id's for sequences.
...
When all starting autoincrement ids are the same, it's difficult to detect coding and testing
errors that use the incorrect id in test calls. The classic case is cmid vs instance id.
To reduce the chance of the coding error we start sequences at different values where possible.
OUBlog installation is the case that highlighted this as it inserts a sitewide course module
at install time and cmid <> instance id in most cases.
2014-06-14 00:29:26 +10:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Petr Skoda
a9236a2c3f
MDL-45287 fix behat database reset between scenarios
...
We cannot find out if DB received any writes because behat
web access runs in different request.
This was affecting only scenarios without generators.
2014-04-28 17:02:58 +08:00
sam marshall
8d1f33e122
MDL-44070 Conditional availability enhancements (6): core changes
...
Changes core code to use new API instead of the old one when
checking user access to activities and sections.
Includes changes to other libraries that are necessary after
adding the availability system and removing old conditional tables
etc.
2014-04-07 20:11:48 +01:00
Gilles-Philippe Leblanc
2d35b7d3d8
MDL-42816 auth_manual: Add password expiry for manual auth method
2014-03-27 10:45:01 -04:00
Mark Nelson
e0c8619823
MDL-44316 test: added function to generate a tag
2014-03-22 13:47:24 -07:00
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