Marina Glancy
d0c05602f5
MDL-35263 removed unit test test_format_display_course_content()
...
since the function global_navigation::format_display_course_content() is removed
2012-10-02 14:16:54 +08:00
Eloy Lafuente (stronk7)
1ef501ca03
MDL-35669 gravatar amend and complete gravatar tests.
2012-10-02 01:33:59 +02:00
Tim Hunt
9f82ddd66f
MDL-34657 datalib: function to generate user sort sql.
...
The purpose of this method is to ensure that when we display lists of
users in different places, the default sort order is consistent.
Having this code centralised in one place them makes it possible to
improve things accross the board, and there is an example of that here.
There is logic so that if we are searching for particular string, then
users with an exact match are sorted first.
2012-09-27 12:41:41 +01:00
Marina Glancy
7b444a96ec
MDL-35001 added unit test for function convert_to_array()
2012-09-20 15:37:25 +08:00
Petr Škoda
a3b6e311b8
MDL-35479 some more debugging assert cleanup
2012-09-17 12:06:24 +02:00
Petr Škoda
c8bc6c1548
MDL-35479 fix moodlelib tests to use debugging asserts
2012-09-17 11:58:43 +02:00
Petr Škoda
5388ff57f4
MDL-35479 fix textlib tests to use debugging asserts
2012-09-17 11:37:09 +02:00
Petr Škoda
dfb10d7857
MDL-35479 fix outputlib tests to use debugging asserts
2012-09-17 11:34:27 +02:00
Eloy Lafuente (stronk7)
8127f098d8
Revert "MDL-30643 - Added statslib test file."
...
This reverts commit 8646f5a436
.
2012-09-05 19:03:06 +02:00
Eloy Lafuente (stronk7)
06d54f411c
Revert "MDL-30643 - Fixing minor log output error and test cases."
...
This reverts commit 2da32bd6a5
.
2012-09-05 19:02:54 +02:00
Eloy Lafuente (stronk7)
fa4fbd9790
Revert "MDL-30643 - Updated test cases to handle timezones better."
...
This reverts commit f0f0fec295
.
2012-09-05 19:02:38 +02:00
Aparup Banerjee
b0381539e5
Merge branch 'MDL-30643_master-log-speed' of git://github.com/tbannister/moodle
2012-09-05 01:16:51 +08:00
Tyler Bannister
f0f0fec295
MDL-30643 - Updated test cases to handle timezones better.
2012-09-04 10:10:19 -04:00
Eloy Lafuente (stronk7)
55970f85a4
Merge branch 'w36_MDL-35145_m24_guestdelete' of git://github.com/skodak/moodle
2012-09-03 16:17:51 +02:00
Sam Hemelryk
21a87e501a
Merge branch 'MDL-35109-available-updates' of git://github.com/mudrd8mz/moodle
2012-09-03 12:28:30 +12:00
Petr Škoda
4366ce8097
MDL-35145 add basic unit tests for delete_user()
2012-09-01 14:13:40 +02:00
Tyler Bannister
2da32bd6a5
MDL-30643 - Fixing minor log output error and test cases.
2012-08-31 14:52:29 -04:00
Tyler Bannister
8646f5a436
MDL-30643 - Added statslib test file.
...
- Tests daily stats and daily stats related functions.
2012-08-31 14:52:28 -04:00
Aparup Banerjee
a476581f0d
Merge branch 'wip-MDL-34075-master' of git://github.com/abgreeve/moodle
2012-08-29 12:38:17 +08:00
David Mudrák
720f7c12e8
MDL-35109 Improve unittests for cron based fetching of available updates
...
The expected behaviour is as follows:
* If the recently fetched data is older than 48 hours, it is considered
as outdated and the new fetch is executed
* else, if the recently fetched data is younger than 24 hours, it is
considered as fresh enough and no fetch is executed
* else, if the current time is after 01:00 AM plus a certain offset
(which is randomly generated for each site), the fetch is
executed.
2012-08-28 22:59:26 +02:00
Aparup Banerjee
9455f48280
Merge branch 'MDL-34549-master' of git://github.com/ankitagarwal/moodle
2012-08-28 11:45:11 +08:00
Adrian Greeve
96729f6d2d
MDL-34075 - lib - Alteration to the csv import lib to include rfc-4180 compliance
2012-08-28 09:23:16 +08:00
Eloy Lafuente (stronk7)
6b2b869049
Merge branch 'MDL-35055' of git://github.com/timhunt/moodle
2012-08-27 16:16:14 +02:00
Aaron Barnes
1caeb4b450
MDL-32386 completion: Fix incorrect method parameters
2012-08-27 10:57:52 +12:00
Tim Hunt
aa5f05110f
MDL-35055 question import: slight error with the Match grades option.
...
Even in the 'Error if grade not listed case', it was applying a small
tolerance. In the case of a fuzzy match, it was returning the inexact
grade from the import file, rather than the precise grade that Moodle
was expecting.
That causes problems when the editing form is displayed, because the
value from the database does not match any of the available options, so
the grade is changed to 0%.
2012-08-24 15:34:20 +01:00
Ankit Agarwal
5fbe2118bc
MDL-34549 libraries: Changing strictness of context::instance_by_id() when required
2012-08-24 11:30:35 +08:00
Ankit Agarwal
d197ea4300
MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id()
2012-08-24 11:30:10 +08:00
Frederic Massart
d5bdbbba26
MDL-34756 Unit Tests: Move backup helper tests
2012-08-20 10:24:37 +08:00
Frederic Massart
7b05e14659
MDL-28531 Unit Tests: Fixed tests to work with core update
2012-08-17 15:00:10 +08:00
Frederic Massart
4d91f7354e
MDL-28531 Backup: Automated backups run when they are scheduled
2012-08-17 15:00:10 +08:00
Dan Poltawski
40a37bf974
Revert "MDL-34075 - lib - Alteration to the csv import lib to include rfc-4180 compliance"
...
This reverts commit 92dfce6be7
.
2012-08-08 13:44:03 +08:00
Sam Hemelryk
563c436ece
Merge branch 'wip-MDL-34075-master' of git://github.com/abgreeve/moodle
2012-08-08 14:24:09 +12:00
Aparup Banerjee
67ab929cbf
Revert "Merge branch 'MDL-28531-master' of git://github.com/FMCorz/moodle"
...
This reverts commit e5d9cc13ac
, reversing
changes made to 20c3e25343
.
2012-08-07 14:27:01 +08:00
Aparup Banerjee
e5d9cc13ac
Merge branch 'MDL-28531-master' of git://github.com/FMCorz/moodle
2012-08-07 13:58:07 +08:00
Sam Hemelryk
6869060218
Merge branch 'wip-MDL-34074-master' of git://github.com/abgreeve/moodle
2012-08-06 13:36:44 +12:00
Dan Poltawski
3539c2f2bf
MDL-28486 - tests: fix broken youtube tests
2012-08-06 09:25:24 +08:00
Frederic Massart
3d515f4896
MDL-28531 Backup: Automated backups run when they are scheduled
2012-08-03 09:30:39 +08:00
Adrian Greeve
9a5abd1b70
MDL-34074 - lib - Creation of a csv upload class which is FRC 4180 compliant and the alteration of various files around Moodle to use this class.
2012-08-02 13:18:57 +08:00
Dan Poltawski
87dd647f04
Merge branch 'wip-MDL-34465-master' of git://github.com/abgreeve/moodle
2012-07-30 15:23:27 +08:00
Adrian Greeve
92dfce6be7
MDL-34075 - lib - Alteration to the csv import lib to include rfc-4180 compliance
2012-07-30 11:34:11 +08:00
Petr Škoda
9a97fa5a65
MDL-34538 add float validation tests
2012-07-27 18:44:27 +02:00
Adrian Greeve
b0c6dc1cac
MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8)
2012-07-27 10:10:46 +08:00
Dan Poltawski
b7db7803bc
Merge branch 'w30_MDL-34299_m24_html5' of git://github.com/skodak/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-07-24 14:07:26 +08:00
Petr Škoda
13725b3797
MDL-34299 remove xmlstrictheaders setting and switch to html5 doctype by default
...
This fixes WCAG 2.0 compliance because we were already using HTML5 markup.
The strict XML headers setting never worked for production servers, developers
used browser validators for compliance testing. XHTML 5 option is relatively
similar to this obsolete option, but still it can not be used on production servers.
XHTML Strict 1.x was a standardised dead end, HTML5 is the new de-facto-standard
supported by all major browsers including latest versions of IE.
Please note nothing changes in our coding style because HTML5 is a superset of
several previous standards, it is recommended to use only features that are
already implemented in all our supported browsers.
2012-07-21 19:23:44 +02:00
Rajesh Taneja
405aca3532
MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT
2012-07-19 15:46:10 +08:00
Sam Hemelryk
af0c360f48
Merge branch 'w28_MDL-33887_m24_jsstrings' of git://github.com/skodak/moodle
2012-07-10 15:07:47 +12:00
Dan Poltawski
315e968209
MDL-8249 - tests: fix breaking unit tests
2012-07-10 10:17:47 +08:00
Dan Poltawski
029be094ab
MDL-8249 - tests: fix trailing whitespace
2012-07-10 10:17:33 +08:00
Dan Poltawski
e1980f8bb9
Merge branch 'w28_MDL-8249_m24_roletranslations' of git://github.com/skodak/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-07-10 09:43:23 +08:00
Sam Hemelryk
5958b17eb0
Merge branch 'MDL-29470-master' of git://github.com/FMCorz/moodle
2012-07-10 12:13:03 +12:00