Petr Skoda
5aaac8b2d6
MDL-40949 admin: Fix $CFG->preventexecpath hints
...
This setting restricts all local paths, not just
executables.
2014-10-29 10:45:44 +13:00
Damyon Wiese
2b97417296
Merge branch 'wip-MDL-30358-master' of git://github.com/marinaglancy/moodle
2014-10-27 10:30:44 +08:00
Dan Poltawski
4ade5b11b2
Merge branch 'MDL-47814-master' of git://github.com/FMCorz/moodle
2014-10-24 11:48:14 +02:00
Frederic Massart
3e5a4c9047
MDL-47814 core_grades: Improved coverage of user_graded event tests
...
The tests needed to use the API in order to trigger the user_graded
event that occurs when the course final grade has changed.
2014-10-24 11:48:14 +02:00
Dan Poltawski
1153177851
Merge branch 'MDL-47499-master' of git://github.com/damyon/moodle
2014-10-24 11:48:11 +02:00
Marina Glancy
c3b545a92a
Merge branch 'wip-MDL-47675-master' of git://github.com/abgreeve/moodle
2014-10-24 11:48:09 +02:00
Marina Glancy
fca97cbec4
MDL-47673 grades: unittest change caused by generator change
...
Unit test was introduced in MDL-40697 when the generator for quiz activity was setting grade=0
2014-10-22 14:14:49 +08:00
Russell Smith
34f5a2bc4f
MDL-47806: Add footer function for command line output.
2014-10-22 14:32:15 +11:00
Damyon Wiese
a6396272f8
Merge branch 'wip_MDL-41593_m28_preventexecdefault' of https://github.com/skodak/moodle
2014-10-21 13:11:27 +08:00
Dan Poltawski
6366cc0774
Merge branch 'MDL-47711' of git://github.com/timhunt/moodle
2014-10-20 17:28:50 +01:00
Tim Hunt
d69a6ad965
MDL-47711 behat: make it easier to copy the init.php command.
2014-10-20 12:11:28 +01:00
Tim Hunt
a92105fd3f
MDL-47588 behat: fix switching back to the main window in Chrome
...
This fix is mostly based on what Colin Chambers found out. This commit
is a simplification of his work.
The problem is that the Chrome / Selenium 2 integration cannot swich to
a window with a blank name. The work-around applied here is, when we
switch away from an unnamed window, we set a name on it. Then we can use
that name to switch back.
2014-10-20 12:10:14 +01:00
Adrian Greeve
c42d18183a
MDL-47675 phpunit: Update unit tests to pass on MSSQL
...
Unit tests were failing on MSSQL. gc_collect_cycles() was
removed from the phpunit utils.php file to save time in running
the tests, but MSSQL doesn't clean up open files as well as
other databases.
This patch includes the garbage collection for the unit tests
that require it.
2014-10-20 14:26:11 +08:00
Dan Poltawski
560b04b408
Merge branch 'MDL-47243-master' of git://github.com/xow/moodle
2014-10-15 16:14:39 +01:00
John Okely
cfa91962d1
MDL-47243 behat: Add data generators for gradeitems scales and outcomes
2014-10-15 14:33:26 +08:00
Damyon Wiese
1a847ddaf8
Merge branch 'MDL-47646' of git://github.com/timhunt/moodle
2014-10-15 14:26:49 +08:00
Damyon Wiese
b51c2c4f8c
Merge branch 'wip-MDL-47572-master' of git://github.com/marinaglancy/moodle
2014-10-15 13:58:32 +08:00
Marina Glancy
bf8542ce3a
MDL-30358 forms: strict validation is too strict
2014-10-15 11:57:01 +08:00
Damyon Wiese
852ff0372f
MDL-47499 tasks: Scheduled tasks custom schedule is reset on upgrade.
...
Add a unit test for reset_scheduled_tasks_for_component and make sure it doesn't clear
customised schedules for existing tasks.
2014-10-14 14:59:24 +08:00
Tim Hunt
90048c7cfa
MDL-47646 CURL redirect unit test: handle broken servers
2014-10-13 15:52:04 +01:00
Damyon Wiese
e6b00f032d
Merge branch 'wip-MDL-46921-master' of git://github.com/abgreeve/moodle
2014-10-09 09:57:58 +08:00
Adrian Greeve
e622b1a14b
MDL-46921 lib: Update get_all_user_name_fields() plus unit tests.
2014-10-09 08:07:44 +08:00
Tim Hunt
cb7db63b5d
MDL-47497 behat: steps for basic download testing.
...
These steps were created by sam marshall and Jes Ackland-Snow at the Open
University. I just altered them to make them a bit more generic, and
submitted them to Moodle core, at the point when I wanted to reuse them
in another plugin.
This commit introduces two new steps:
Then following "XXX" should download "YY" bytes
Then following "XXX" should download between "YY" and "ZZ" bytes
At the moment, this only works for links with href attributes.
2014-10-08 19:43:09 +08:00
Marina Glancy
54f7d2d7f4
MDL-47572 libraries: modify unittest to avoid random timing fail
...
Thanks to Nigel Cunningham
2014-10-08 11:32:10 +08:00
Mark Nelson
828b71d845
MDL-40697 core: added unit test for grade_deleted event
2014-10-07 19:08:35 -07:00
Mark Nelson
b310c9a1fe
MDL-40697 core: added more unit tests for the user_graded event
2014-10-07 19:08:35 -07:00
Sam Hemelryk
252bd39983
Merge branch 'MDL-47470-master' of git://github.com/danpoltawski/moodle
2014-10-08 12:21:31 +13:00
Petr Skoda
41186f4f80
MDL-41593 admin: use default setting if preventexecpath active
...
This resolves problems when installing Moodle
and addons when preventexecpath active.
Please note the admin_setting_configfile is still
incorrectly restricted - this will be resolved by
MDL-40949.
2014-10-07 11:30:08 +13:00
Dan Poltawski
f5bacd6539
Merge branch 'wip-MDL-46576-master' of git://github.com/abgreeve/moodle
...
Conflicts:
lib/upgrade.txt
lib/db/upgrade.php
version.php
2014-10-06 18:06:13 +01:00
Dan Poltawski
ab7fa55694
MDL-47470 behat: fix 'I navigate to' exception
...
When a child page is not found
2014-10-05 14:28:15 +01:00
Dan Poltawski
16078807f8
MDL-47221 task: allow 'random' time definitions
...
When working against external services it can be advantageous to not
have automated tasks all hit the service at the exact same time from
many different installations.
This change allows the use of 'R' in hour/minute fields of the scheduled
task definition so a task will be installed with a 'random' hour/minute
value for these sort of occasions.
Note that the task will be installed in the database with a defined
time, this simply randomises the time chosen when loading from the
definiton.
2014-10-05 14:27:04 +01:00
Marina Glancy
97329f1bc1
MDL-47492 behat: refer to table column indexes instead of names
2014-10-03 13:55:25 +08:00
zbdd
77218e4a52
MDL-42993 auth: spaces removed from usernames by default only
...
Functionality by default does not change with this patch.
However spaces are no longer stripped when cleaning usernames IF
$CFG->extendedusernamechars has been set.
Also included 2 trim statements where small issues were found with reading
external usernames in that were not filtered for trailing whitespaces.
2014-10-01 08:24:54 +13:00
Sam Hemelryk
14aa5a408a
MDL-46652 output: more thorough custom menu multilang tests
2014-09-30 09:54:08 +13:00
Sam Hemelryk
3cfbdd9e5a
Merge branch 'MDL-46652-master' of git://github.com/jethac/moodle
2014-09-30 09:52:54 +13:00
Sam Hemelryk
fc2856aab1
Merge branch 'MDL-47214-ClientIp-wrong-with-multiple-proxies' of https://github.com/mhughes2k/moodle
2014-09-30 08:48:20 +13:00
Michael Hughes
ad2fc0d83f
MDL-47214 General: Multiple IP addresses in X-Forwarded-For Fixed
...
Fixed getremoteaddr() function handle multiple IP addresses
Addressed point 2 on Dan's list
Stopped changing $CFG value after started test.
2014-09-26 16:28:57 +01:00
Petr Skoda
64d1184600
MDL-47333 fix support for custom fonts in tcpdf
2014-09-26 13:58:30 +12:00
Sam Hemelryk
4356012960
Merge branch 'MDL-46811-master' of git://github.com/danpoltawski/moodle
2014-09-23 16:36:05 +12:00
Dan Poltawski
bd75ef826e
Merge branch 'wip-MDL-40356-master' of git://github.com/abgreeve/moodle
2014-09-22 15:02:51 +01:00
Eloy Lafuente (stronk7)
e1bb8035e6
Merge branch 'MDL-46613-master' of git://github.com/jleyva/moodle
2014-09-16 18:42:17 +02:00
Juan Leyva
10f1cfc18c
MDL-46613 grades ws: Fixed external function declaration
...
Gradebook items with overridden grades was causing error as Web
Services response
2014-09-16 10:06:21 +02:00
Damyon Wiese
ac7fac558e
Merge branch 'MDL-47225-master' of git://github.com/andrewnicols/moodle
2014-09-16 15:15:57 +08:00
Andrew Nicols
96671c8c38
MDL-47225 core: Tidy up component normalisation tests
2014-09-16 15:07:11 +08:00
Andrew Nicols
7ace328737
MDL-47225 core: Add ability to normalize component names
2014-09-16 15:06:46 +08:00
Damyon Wiese
c4006c851a
Merge branch 'MDL-44257-master' of git://github.com/lameze/moodle
2014-09-16 14:58:48 +08:00
Adrian Greeve
795c5881ab
MDL-40356 lib: Unit tests for the alternativefullnameformat setting.
2014-09-16 10:57:28 +08:00
Simey Lameze
9a2c52571e
MDL-44257 message: added test to make sure the stored file still exists
2014-09-16 10:07:17 +08:00
Eloy Lafuente (stronk7)
26115c284e
Merge branch 'MDL-46588-master' of git://github.com/jleyva/moodle
2014-09-16 00:23:09 +02:00
Dan Poltawski
0908fb4221
Merge branch 'wip-MDL-46585-master' of git://github.com/marinaglancy/moodle
2014-09-15 13:00:24 +01:00