Commit graph

11700 commits

Author SHA1 Message Date
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
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Petr Skoda
c49bec382c MDL-27148 fix unit tests to accept arbitrary named params format from get_in_or_equal 2011-04-14 15:12:33 +02:00
Petr Skoda
906c957b63 MDL-27148 use static counter instead of incrementing parameter name 2011-04-14 14:50:35 +02:00
John Beedell
7351b54e86 MDL-27123 adds a new admin_setting_configmultiselect_modules class
and uses it on the module security page. This saves one DB query per
page for users who can see the admin tree in the settings nav.
2011-04-14 12:25:41 +01:00
Petr Skoda
2293a504eb MDL-25718 fix incorrect 'no grade' test and improve coding style 2011-04-12 10:06:13 +02:00
Petr Skoda
d2e360a95b Merge branch 'MDL-25718_recover_grades_master' of git://github.com/andyjdavis/moodle 2011-04-12 09:50:20 +02:00
Sam Hemelryk
fec617dee5 form-dateselector MDL-27145 Fixed up error resulting from incorrectly required 'optional' argument on create event 2011-04-12 14:14:34 +08:00
Eloy Lafuente (stronk7)
9ff913b716 Merge branch 'MDL-26778-master' of git://github.com/sammarshallou/moodle 2011-04-11 17:48:29 +02:00
Eloy Lafuente (stronk7)
72e97b5880 Merge branch 'w15_MDL-26577_m21_groupscleanup' of git://github.com/skodak/moodle 2011-04-11 15:55:33 +02:00
Eloy Lafuente (stronk7)
af58cf7d40 Merge branch 'w15_MDL-26805_m21_userpol' of git://github.com/skodak/moodle 2011-04-11 15:15:40 +02:00
sam marshall
6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Petr Skoda
82053cb192 MDL-26805 cleanup default role selections
Frontpage role selection now allows only guest and frontpage roles. Default forntpage role is selected duuring install. Unused nodefaultuserrolelists option was removed completely. Coding style improvements.
2011-04-11 13:10:50 +02:00
Eloy Lafuente (stronk7)
920234498e Merge branch 's9_MDL-27098_filemanager_strings_master' of git://github.com/dongsheng/moodle 2011-04-11 11:18:23 +02:00
Dongsheng Cai
6d30723e41 MDL-27098
1. Fixed add file language string
2. Fixed hard-coded 'moving' string
3. Fixed hard-coded 'Files' string
2011-04-11 17:09:15 +08:00
Eloy Lafuente (stronk7)
43f8192a65 Merge branch 'w15_MDL-25826_m21_htmlpurifier' of git://github.com/skodak/moodle 2011-04-11 11:06:30 +02:00
Sam Hemelryk
08c2633f12 Merge branch 'MDL-27034_xhprof_table_sql_master' of git://github.com/stronk7/moodle 2011-04-11 14:28:57 +08:00
Eloy Lafuente (stronk7)
90bf8b535b Merge branch 'w15_MDL-26910_m21_httpd' of git://github.com/skodak/moodle 2011-04-11 00:14:05 +02:00
Petr Skoda
4e3e8464b6 MDL-26910 add HTTPD server name whitelisting 2011-04-10 14:00:42 +02:00
Petr Skoda
998ced0805 MDL-26577 fix several groups and groupings issues
The current group in verified on each page which prevents problems when group settings are changed. The default group for course level is now using correct grouping id which solves problems when activity and course are using different grouping. The grouping is now displayed in group selector if user has access to all groups.
2011-04-10 13:31:17 +02:00
Petr Skoda
1c71748dd1 MDL-27121 fix incorrect check_moodle_environment() version parameter
This prevents Moodle 2.0 from using environment info for 2.1 in the installer and CLI upgrade.
2011-04-09 17:43:52 +02:00
Petr Skoda
a32b68475a MDL-25826 add more HTMLPurifier integration tests 2011-04-09 11:46:13 +02:00
Petr Skoda
7df50029b4 MDL-25826 integrate HTMLPurifier 4.3.0 and improve performance
The new HTMLPurifier finally caches the schema properly eliminating both extra CPU cycles and disk writes. The repeated dir exists tests might cause problems on NFS shares.
2011-04-09 11:45:24 +02:00
Petr Skoda
88efb586b4 MDL-25826 import HTMLPurifier 4.3.0 2011-04-09 10:05:27 +02:00
Colin Chambers
7ee214ff89 MDL-20636 lib/Questionlib fixed calls to question_delete_question() #381 2011-04-08 16:21:47 +01:00