Commit graph

455 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
917169221f Merge branch 'w50_MDL-36245_m25_convert' of git://github.com/skodak/moodle 2012-12-18 23:41:48 +01:00
Dan Poltawski
86575fa709 Merge branch 'MDL-36704-master' of git://github.com/sammarshallou/moodle 2012-12-18 14:57:43 +08:00
Petr Škoda
04463c0ea6 MDL-36245 add tests for the buggy utf-8 to utf-8 conversion 2012-12-15 11:50:17 +01:00
Jerome Mouneyrac
8158ce79f9 MDL-36773 timezone inconsistency => some number support decimal other don\'t - Original patch author: Nathan Mares 2012-11-30 10:11:55 +08:00
Jay Knight
5e9fd83df8 MDL-36704: wrap pending conditions in span tags 2012-11-22 10:42:10 +00:00
Aparup Banerjee
020e338dee Merge branch 'w47_MDL-36701_m24_composer' of git://github.com/skodak/moodle 2012-11-22 16:23:20 +08:00
Petr Škoda
3a7bc16ad7 MDL-36701 support for PHPUnit installation via Composer packaging system
See http://getcomposer.org/doc/00-intro.md
2012-11-20 11:27:35 +01:00
Dan Poltawski
430f5aaac0 Merge branch 'MDL-36646' of git://github.com/timhunt/moodle 2012-11-20 15:06:21 +08:00
Petr Škoda
f28af1dd13 MDL-36229 whitelist more search engines and add tests 2012-11-17 10:37:51 +01:00
Frederic Massart
716330444a MDL-36471 phpunit: Fixed failure because SVG support was dropped for Opera 2012-11-16 12:12:54 +08:00
Tim Hunt
e70b050838 MDL-36646 unit tests should not assume number of contexts. 2012-11-15 14:41:00 +00:00
Dan Poltawski
491391873e Merge branch 'MDL-36061_userid' of git://github.com/andyjdavis/moodle 2012-11-15 14:32:51 +08:00
Aparup Banerjee
244e907235 Merge branch 'MDL-30643_master-log-speed' of git://github.com/tbannister/moodle
Conflicts:
	lib/tests/statslib_test.php
2012-11-15 11:15:00 +08:00
Andrew Davis
69bcca5e9c MDL-36061 core_grade: added some unit tests related to refresh_grades() 2012-11-15 11:14:21 +08:00
Dan Poltawski
0e35ba6ffc MDL-36357 cleanup - remove double semicolons 2012-11-15 09:51:26 +08:00
Tyler Bannister
12ccfc123a MDL-30643 - Improved error reporting for daily stats tests. 2012-11-13 10:37:25 -05:00
Tyler Bannister
dcb28e6e7f MDL-30643 - Fixed timezone problems in test cases.
resolved integration time changes conflict.
Conflicts:
	lib/tests/statslib_test.php
2012-11-13 13:58:31 +08:00
Dan Poltawski
b0ba493cd0 Merge branch 'MDL-30545' of git://github.com/timhunt/moodle 2012-11-13 13:21:50 +08:00
Tyler Bannister
67690cfa92 MDL-30643 - Fixed timezone problems in test cases. 2012-11-12 22:47:09 -05:00
Aparup Banerjee
9540a7d0b8 MDL-30643 statslib test - remove using $CFG->timezone=99 for unit test as it clashes with test data in other tz 2012-11-13 00:49:21 +08:00
Aparup Banerjee
6b1a2e4a0d MDL-30643 fixed statslib test start timestamp 2012-11-12 14:46:23 +08:00
Aparup Banerjee
79fc5f5294 Merge branch 'MDL-30643_master-log-speed' of git://github.com/tbannister/moodle 2012-11-12 14:29:45 +08:00
Tyler Bannister
c0f00c5fba MDL-30643 - Added statslib test file.
- Tests daily stats and daily stats related functions.
2012-11-09 16:27:25 -05:00
Petr Škoda
3c1405a1ee MDL-36481 improve IE version sniffing 2012-11-09 15:23:22 +01:00
David Mudrák
3daedb5c5a MDL-35238 Implement deployment authorization
The caller of the mdeploy.php utility is expected to create a file in
the data directory. The name of such file and the passphrase in it are
then sent to mdeploy.php as a part of the request. The submitted and
stored values are then compared.
2012-11-08 22:33:07 +01:00
David Mudrák
7683e550ac MDL-35238 Introduce available_update_deployer class
This class represents the communication bridge from Moodle UI to the
(standalone) mdeploy.php utility. It consists of various helper methods
useful when dealing with user interface, update confirmation etc.

The class is implemented as a singleton. This allows us easily
transfer required data from top level scripts (like /admin/index.php)
into the rendering methods deep in the stack without the need to change
the API of many methods on the way.
2012-11-08 22:33:06 +01:00
Dan Poltawski
64f7d154db Merge branch 'wip-MDL-36113-master' of git://github.com/abgreeve/moodle
Conflicts:
	lib/tests/csvclass_test.php
2012-11-07 15:40:06 +08:00
Adrian Greeve
13041f2125 MDL-36113 - lib: Unit tests for importing csv files with empty lines in the middle of the file. 2012-11-07 15:34:36 +08:00
Dan Poltawski
1383b1f29a Merge branch 'wip-MDL-36365-master' of git://github.com/abgreeve/moodle 2012-11-07 14:09:25 +08:00
Adrian Greeve
1222dc52e1 MDL-36365 - lib: The csv class now reads tab separated files with tabs at the end of the file. 2012-11-07 14:02:39 +08:00
Eloy Lafuente (stronk7)
086f5f9ea8 MDL-35762 whitespace fix 2012-11-06 17:03:57 +01:00
Eloy Lafuente (stronk7)
278714a012 MDL-35762 fix deprecated use of get_fast_modinfo() reset. 2012-11-06 16:37:43 +01:00
Eloy Lafuente (stronk7)
cd59310d1b Merge branch 'MDL-35762_fix' of git://github.com/andyjdavis/moodle 2012-11-06 16:13:47 +01:00
Andrew Davis
69632d42f0 MDL-35762 core_grade: adding unit tests for modinfolib.php 2012-11-05 09:35:10 +08:00
Dan Poltawski
3bd6e74afd Merge branch 'w42_MDL-35469_m24_geckover' of git://github.com/skodak/moodle 2012-11-02 12:07:11 +08:00
Andrew Davis (andyjdavis)
6ba8a4bee2 MDL-30545 messaging prefs: add Andy's extra unit tests. 2012-10-23 18:41:43 +08:00
Tim Hunt
2cf5ab1028 MDL-30545 messaging prefs: show all relevant message providers.
Some message providers have an associated capability. For example
the mod/quiz:emailconfirmsubmission capability. At the moment,
we only show the preferences for the capabilities that the user
has in the system context.

That does not work for the example capability above. Typically
the capability will be overridden in one quiz, to allow for
Students, and the user will have the Student role in the course
context. Therefore, this message type does not appear on the
preferences page.

This fix corrects the logic, so that all message types that are
to the current user are displayed.
2012-10-23 18:41:43 +08:00
Sam Hemelryk
a896bc32cd Merge branch 'MDL-35412-master' of git://github.com/FMCorz/moodle 2012-10-16 17:41:49 +08:00
Frederic Massart
a8397303d2 MDL-35412 phpunit: date_format_string() is case insensitive 2012-10-16 17:21:11 +08:00
Dan Poltawski
ac088b1c21 Merge branch 'w42_MDL-35904_m24_mainadmin' of git://github.com/skodak/moodle 2012-10-16 14:50:30 +08:00
Marina Glancy
44aa854e93 MDL-35339 coding style corrections 2012-10-15 16:57:25 +08:00
Marina Glancy
b46be6adf4 MDL-35339 Better cache reset for get_fast_modinfo(), allow exec get_fast_modinfo($courseid) 2012-10-15 14:08:15 +08:00
Marina Glancy
38b19bbca1 MDL-35339 call rebuild_course_cache() always (and only) after changing course modules or sections 2012-10-15 14:08:14 +08:00
Frederic Massart
15396bba9b MDL-35171 Forms: Date selector always gets UTF-8 strings 2012-10-15 09:46:02 +08:00
Petr Škoda
e71c516065 MDL-35469 test for the new Gecko user agent handling 2012-10-13 09:59:28 +02:00
Petr Škoda
3ed5751685 MDL-35904 improve caching in get_admin() and fix order of records from get_admins() 2012-10-13 09:52:39 +02:00
Sam Hemelryk
c2e899a444 MDL-22955 output: Forced SVG use in unit tests for pix to fix unit test fails 2012-10-10 14:14:50 +08:00
Sam Hemelryk
436dbeecda MDL-22955 theme: Added ability to use SVG format for icons 2012-10-08 09:16:14 +13:00
Eloy Lafuente (stronk7)
5e6f26bdbe MDL-34657 tests: amend tests to verify lower() is used 2012-10-05 02:46:49 +02:00
Dan Poltawski
1e12c7a4f2 Merge branch 'wip-MDL-35263-master' of git://github.com/marinaglancy/moodle 2012-10-02 14:20:07 +08:00