Commit graph

11453 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
68fabb5c7e MDL-27481 profiling - prevent data to be sent to DB before it is available 2011-05-12 02:04:13 +02:00
Eloy Lafuente (stronk7)
36da956322 Merge branch 'MDL-27401-master' of git://github.com/sammarshallou/moodle 2011-05-09 17:46:22 +02:00
sam marshall
0367953eaf MDL-27401 Unit test errors in lib/simpletest/testpagelib_moodlepage.php 2011-05-09 11:15:55 +01:00
Sam Hemelryk
8f25ae26db Merge branch 'MDL-27325_master' of git://github.com/stronk7/moodle 2011-05-09 10:35:31 +08:00
Eloy Lafuente (stronk7)
91a7cd842d Merge branch 'wip-MDL-27400-master' of git://github.com/samhemelryk/moodle 2011-05-09 02:04:34 +02:00
Eloy Lafuente (stronk7)
a8f60a4d58 Merge branch 'MDL-27317-variable-name-typos' of git://github.com/mudrd8mz/moodle 2011-05-09 01:58:38 +02:00
Eloy Lafuente (stronk7)
3c1ee10423 Merge branch 'MDL-27391-master' of git://github.com/sammarshallou/moodle 2011-05-09 00:58:55 +02:00
David Mudrak
52deafc143 MDL-27317 Fixed incorrect variable names in the language pack update
This was introduced by copying & pasting the code during 74a4c9.
2011-05-06 23:38:02 +02:00
Eloy Lafuente (stronk7)
86f456d8f0 MDL-27325 Adding some extreme, but 32bits safe, float tests 2011-05-06 16:07:17 +02:00
Eloy Lafuente (stronk7)
0c4c6d468a MDL-27325 Now also testing update_record and set_field 2011-05-06 16:07:17 +02:00
Eloy Lafuente (stronk7)
7aa9e45f56 MDL-27325 mysql: Avoid some implicit casting from float to varchar/text 2011-05-06 16:07:17 +02:00
Tim Hunt
6531aff715 MDL-27325 New DB unit tests to demonstrate the problem. 2011-05-06 16:07:17 +02:00
Sam Hemelryk
faca4f2f29 MDL-27400 Fixed up typo in blocklib.php 2011-05-06 16:27:15 +08:00
sam marshall
1cec45f1c0 MDL-26778 Completion unit tests broken by earlier change 2011-05-05 12:10:27 +01:00
Sam Hemelryk
d045b479f4 Merge branch 's9_MDL-26854_spam_comments_master_2' of git://github.com/dongsheng/moodle 2011-05-05 10:41:53 +08:00
Sam Hemelryk
2c82d0eeb0 Merge branch 'MDL-26838_ratings_bad_data_master4' of git://github.com/andyjdavis/moodle 2011-05-05 10:18:39 +08:00
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Aaron Barnes
e874292134 MDL-25594 completion: Remove unused column from query
Which is also a reserved word.
2011-05-04 13:02:28 +12:00
Sam Hemelryk
c8ad2c12ba Merged MDL-26388 Fixed whitespace 2011-05-03 16:27:31 +08:00
Sam Hemelryk
870815faed Merged MDL-25805 Renamed property and function to be a little more descriptive 2011-05-03 15:41:34 +08:00
Sam Hemelryk
5f1c825dfa Merged MDL-27251 Fixed up whitespace, Fixed broken string, reworded new strings 2011-05-03 10:51:06 +08:00
Aparup Banerjee
b9bcad24db MDL-25805 Roles propagated ugly hack for parent seeing child activities into navigation lib to display nav node. 2011-05-02 20:08:08 +08:00
Sam Hemelryk
c0ceb0bab3 Merge branch 'MDL-26955-themedir-plugindirectory' of git://github.com/mudrd8mz/moodle 2011-05-02 14:21:16 +08:00
Sam Hemelryk
0af90dca01 Merge branch 'MDL-27116-themedir-config' of git://github.com/mudrd8mz/moodle 2011-05-02 14:16:13 +08:00
Dongsheng Cai
f392caba15 MDL-26388, pop up a dialog when attaching a file already being used in draft area. 2011-05-02 10:11:19 +08:00
Tim Hunt
d8a3b87c0e MDL-27340 tablelib.php fix a notice when is false. 2011-05-01 17:36:19 +01:00
Andrew Davis (andyjdavis)
2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
David Mudrak
3dd1d7e701 MDL-27116 theme_config::find_theme_location() respects $CFG->themedir
Credit goes to Jai Gupta for the idea of the patch.
2011-04-27 14:09:08 +02:00
David Mudrak
546b4bf59d MDL-26955 get_plugin_directory() respects $CFG->themedir
If $CFG->themedir is set (it is not usually) and the given theme is not
found in the standard location, then it is expected to be in the custom
$CFG->themedir directory.

Credit goes to Urs Hunkler for the idea of the patch.
2011-04-27 14:09:02 +02:00
Aparup Banerjee
60b5a2fec7 MDL-27251 Files API - added timeout re-calculation as an optional argument. added setting for minimum Kbps for large files fetched from internet where the passed in timeout maybe too low.
allowed turning off the http HEAD request timeout calculation with zero (or negative) bitrate

	This was added in to allow servers that have a problem with
	HEAD requests to carry on with the given timeout without re-calculations.
	See PULL-651 for the discussion.

	the optional argument to force recalculation of timeout has been forced within scorm/locallib.php

	timeout re-calculation only increments timeout.
2011-04-27 10:49:40 +08:00
Eloy Lafuente (stronk7)
b90b28e2cb Merge branch 'w17_MDL-26249_m21_usercourses' of git://github.com/skodak/moodle 2011-04-26 11:33:46 +02:00
Eloy Lafuente (stronk7)
0cd053b40b Merge branch 'w17_MDL-27253_m21_swfsize' of git://github.com/skodak/moodle 2011-04-26 11:08:05 +02:00
Petr Skoda
3364dbb5a4 MDL-26249 external enrol functions: get list of courses user is enrolled in 2011-04-25 10:53:29 +02:00
Petr Skoda
7774aca0fb MDL-27253 add default swf size and allow #d=100x50 URL resizing in mod/url 2011-04-21 20:35:48 +02:00
Sam Hemelryk
75ee207b81 MDL-26770 enrol - Added support for bulk operations by enrol plugins 2011-04-21 10:13:13 +08:00
Sam Hemelryk
12a52d7c6e MDL-23532 enrol - removed general handling of user enrolment editing/unenrolment plugins are now responsible for this 2011-04-21 10:02:55 +08:00
Sam Hemelryk
291215f441 MDL-23532 enrol - abstracted user enrolment action icons to the enrolment plugin class 2011-04-21 10:02:54 +08:00
Sam Hemelryk
b69ca6bee4 MDL-23532 enrol - moved UI enrolment components from core enrol to their respective enrolment plugins 2011-04-21 10:02:54 +08:00
Eloy Lafuente (stronk7)
329b79139e Fix permissions 2011-04-20 11:08:21 +02:00
Aparup Banerjee
eb183fe469 MDL-26580 adding precautionary upgrade_set_timeout() calls to some loops which may timeout in very edge cases 2011-04-19 17:52:35 +08:00
Aparup Banerjee
f5fa4c0e02 MDL-26580 adding some upgrade_set_timeout() calls to 2010080901 upgrade block, upgrades on questions were timing out 2011-04-19 17:38:54 +08:00
Eloy Lafuente (stronk7)
f50a61fb47 MDL-26167 lib/form: minor coding tweaks 2011-04-18 11:42:27 +02:00
Eloy Lafuente (stronk7)
ff6b4cdb6d Merge branch 'MDL-26167-master' of git://github.com/agwells/moodle 2011-04-18 11:09:38 +02:00
Eloy Lafuente (stronk7)
97fefd2386 Merge branch 'w16_MDL-27148_m21_stringinc' of git://github.com/skodak/moodle 2011-04-18 01:15:56 +02:00
Eloy Lafuente (stronk7)
dd92611ec5 Merge branch 'w16_MDL-27217_m21_tinyset' of git://github.com/skodak/moodle 2011-04-18 01:10:29 +02:00
Petr Skoda
c001225250 Merge branch 'MDL-22308_20' of git://git.catalyst.net.nz/moodle-r2 2011-04-17 16:30:41 +02:00
Petr Skoda
bdc782470b Merge branch 'wip-MDL-27145-master' of git://github.com/samhemelryk/moodle 2011-04-17 16:11:49 +02:00
Petr Skoda
3867494381 MDL-27123 fix coding style and add missing parameters in phpdocs 2011-04-17 16:06:19 +02:00
Petr Skoda
2b8747799e MDL-27217 use correct editor name in editor settings page
Credit goes to Franck Bellemain.
2011-04-17 11:18:49 +02:00
Aaron Wells
4b72f9eb78 MDL-26167 lib/form: Altering Javascript so that "disabledIf" will disable the "Choose" button for a filepicker 2011-04-15 09:59:46 +12:00