Commit graph

12141 commits

Author SHA1 Message Date
Jerome Mouneyrac
9360256937 MDL-29277 when validate externallib function parameters or return values, build the path to the error into the debuginfo. This patch also revert the exception to the original invalid_parameter_exception and invalid_response_exception 2011-10-07 16:06:19 +08:00
Jerome Mouneyrac
2c28fa7643 MDL-29435 SOAP/XMLRPC server return debuginfo into the exception message when DEBUG >= NORMAL 2011-10-07 14:21:41 +08:00
Eloy Lafuente (stronk7)
a7f99cf02e MDL-29677 unit tests - missing global was causing tons of incorrect debugging info 2011-10-07 01:24:18 +02:00
Eloy Lafuente (stronk7)
943c662d62 fix permissions 2011-10-07 00:07:15 +02:00
Sam Hemelryk
dee1a0fd7a MDL-29224 navigation: Navigation now respects a modules onclick event when preparing navigation nodes 2011-10-06 19:32:27 +13:00
Aparup Banerjee
80f01595af MDL-29089 gradebook: fixed incorrect precision 2011-10-05 15:14:27 +08:00
Aparup Banerjee
73f5ebea0c Merge branch 'wip-MDL-28615-master-squashed' of git://github.com/samhemelryk/moodle 2011-10-05 10:54:05 +08:00
Aparup Banerjee
2fbc708186 Merge branch 'MDL-29089_grade_history_missing_columns2' of git://github.com/andyjdavis/moodle.git (resolved version.php conflicts) 2011-10-05 02:46:38 +08:00
Eloy Lafuente (stronk7)
a361676b22 Merge branch 'MDL-27857-assignment-portfolio' of git://github.com/mudrd8mz/moodle 2011-10-04 12:42:32 +02:00
Sam Hemelryk
66d216c574 Merge branch 'wip-mdl-25937-disableif' of git://github.com/rajeshtaneja/moodle 2011-10-04 15:52:57 +13:00
Rajesh Taneja
63d5c4ac85 MDL-25937 Forms Library: Filepicker will respect disable if 2011-10-03 16:26:21 +08:00
David Mudrak
d3996e0705 MDL-27857 Typo in the phpDocs fixed 2011-10-03 10:15:38 +02:00
Sam Hemelryk
006debe5e4 Merge branch 'wip-mdl-29539' of git://github.com/rajeshtaneja/moodle 2011-10-03 15:09:17 +13:00
Sam Hemelryk
1efd3fc8e7 Merge branch 'MDL-29567' of git://github.com/stronk7/moodle 2011-10-03 13:23:01 +13:00
Sam Hemelryk
dcde0e9389 Merge branch 'MDL-29566' of git://github.com/stronk7/moodle 2011-10-03 12:49:39 +13:00
Sam Hemelryk
61ab8f0749 MDL-28615 forum: Revised enrol_sharing_course to use the new enrol_get_shared_courses and fixed permission checking in forum_user_can_see_post 2011-10-03 11:23:30 +13:00
Petr Skoda
9e44f79f57 MDL-29555 import YUI 3.4.1
To be backported to 2.1 stable soon.
2011-09-29 09:38:40 +02:00
Andrew Davis (andyjdavis)
70e61f7071 MDL-29089 gradebook: added missing columns to the history tables 2011-09-29 09:53:18 +08:00
Rajesh Taneja
c6aa3670d0 MDL-25937 Froms Library: Added server side validation for filepicker and filemanager 2011-09-29 09:39:44 +08:00
Rajesh Taneja
856484f92f MDL-29539 HTML Editor: Fixed XHTML formatting for editor 2011-09-29 09:36:57 +08:00
Sam Hemelryk
4b71542394 MDL-28615 mod_forum: Fixed the users page that shows all of the users posts 2011-09-29 14:20:58 +13:00
Eloy Lafuente (stronk7)
69857fa06e MDL-29567 postgresql - handle negative defaults in numerical cols properly 2011-09-29 01:20:10 +02:00
Eloy Lafuente (stronk7)
c75d9b6700 MDL-29567 unit tests - add some tests to cover negative defaults in numerical cols 2011-09-29 01:15:37 +02:00
Eloy Lafuente (stronk7)
61e55061a6 MDL-29566 mysql - length / decimal specs in float columns are optional 2011-09-29 00:24:54 +02:00
Eloy Lafuente (stronk7)
12e89a0a69 MDL-29566 unit tests - add some tests to cover get_columns() with number/float columns 2011-09-29 00:13:44 +02:00
Eloy Lafuente (stronk7)
ce05a13d83 Merge branch 'w38_MDL-29533_m22_yui341pr1' of git://github.com/skodak/moodle 2011-09-27 12:12:57 +02:00
Petr Skoda
4bb2ac5a7f MDL-29533 add skins 2011-09-27 12:08:02 +02:00
Petr Skoda
a4e0591dba MDL-29533 fresh build fetched from cdn 2011-09-27 11:55:16 +02:00
Petr Skoda
3340dae60a MDL-29504 plugin_callback() - undelete global $CFG that was supposed to be unused 2011-09-27 10:12:57 +02:00
Sam Hemelryk
f08d258cd4 Merge branch 'master_MDL-29519' of git://github.com/danmarsden/moodle 2011-09-27 14:09:18 +13:00
Eloy Lafuente (stronk7)
432e182654 MDL-29504 plugin_callback() - delete some unused code 2011-09-27 02:03:50 +02:00
Eloy Lafuente (stronk7)
01b4e00161 Merge branch 'w38_MDL-29509_m22_admintool2' of git://github.com/skodak/moodle 2011-09-27 01:52:23 +02:00
Eloy Lafuente (stronk7)
a068812635 Merge branch 'w38_MDL-29504_m22_plugincallback' of git://github.com/skodak/moodle 2011-09-27 01:02:51 +02:00
Petr Skoda
fab6f7b78e MDL-29509 migrate DB replace to admin tools 2011-09-27 00:39:21 +02:00
Petr Skoda
3cdfaeeff9 MDL-29509 new admin tool manager UI 2011-09-27 00:39:21 +02:00
Petr Skoda
9597e00b79 MDL-29509 move timezoneimport to admin tools
AMOS BEGIN
 MOV [configintrotimezones,core_admin],[configintrotimezones,tool_timezoneimport]
 MOV [importtimezones,core_admin],[importtimezones,tool_timezoneimport]
 MOV [importtimezonescount,core_admin],[importtimezonescount,tool_timezoneimport]
 MOV [importtimezonesfailed,core_admin],[importtimezonesfailed,tool_timezoneimport]
 MOV [updatetimezones,core_admin],[updatetimezones,tool_timezoneimport]
AMOS END
2011-09-27 00:39:20 +02:00
Petr Skoda
17a14fbd01 MDL-29509 move spamcleaner to admin tools
Why? Because this tool does not support contexts, allows data modifications and is intended only for admins. It is still linked from admin reports for now, we will move it elsewhere once we know where to add general new reports.

AMOS BEGIN
 MOV [pluginname,report_spamcleaner],[pluginname,tool_spamcleaner]
 MOV [spamauto,report_spamcleaner],[spamauto,tool_spamcleaner]
 MOV [spamcannotdelete,report_spamcleaner],[spamcannotdelete,tool_spamcleaner]
 MOV [spamcannotfinduser,report_spamcleaner],[spamcannotfinduser,tool_spamcleaner]
 MOV [spamcleanerintro,report_spamcleaner],[spamcleanerintro,tool_spamcleaner]
 MOV [spamdeleteall,report_spamcleaner],[spamdeleteall,tool_spamcleaner]
 MOV [spamdeleteallconfirm,report_spamcleaner],[spamdeleteallconfirm,tool_spamcleaner]
 MOV [spamdeleteconfirm,report_spamcleaner],[spamdeleteconfirm,tool_spamcleaner]
 MOV [spamdesc,report_spamcleaner],[spamdesc,tool_spamcleaner]
 MOV [spameg,report_spamcleaner],[spameg,tool_spamcleaner]
 MOV [spamfromblog,report_spamcleaner],[spamfromblog,tool_spamcleaner]
 MOV [spaminvalidresult,report_spamcleaner],[spaminvalidresult,tool_spamcleaner]
 MOV [spamoperation,report_spamcleaner],[spamoperation,tool_spamcleaner]
 MOV [spamresult,report_spamcleaner],[spamresult,tool_spamcleaner]
 MOV [spamsearch,report_spamcleaner],[spamsearch,tool_spamcleaner]
AMOS END
2011-09-27 00:39:20 +02:00
Petr Skoda
cff8fc8d5b MDL-29509 move qeupgradehelper to admin tools
AMOS BEGIN
 MOV [action,local_qeupgradehelper],[action,tool_qeupgradehelper]
 MOV [alreadydone,local_qeupgradehelper],[alreadydone,tool_qeupgradehelper]
 MOV [areyousure,local_qeupgradehelper],[areyousure,tool_qeupgradehelper]
 MOV [areyousuremessage,local_qeupgradehelper],[areyousuremessage,tool_qeupgradehelper]
 MOV [areyousureresetmessage,local_qeupgradehelper],[areyousureresetmessage,tool_qeupgradehelper]
 MOV [attemptstoconvert,local_qeupgradehelper],[attemptstoconvert,tool_qeupgradehelper]
 MOV [backtoindex,local_qeupgradehelper],[backtoindex,tool_qeupgradehelper]
 MOV [conversioncomplete,local_qeupgradehelper],[conversioncomplete,tool_qeupgradehelper]
 MOV [convertattempts,local_qeupgradehelper],[convertattempts,tool_qeupgradehelper]
 MOV [convertquiz,local_qeupgradehelper],[convertquiz,tool_qeupgradehelper]
 MOV [convertedattempts,local_qeupgradehelper],[convertedattempts,tool_qeupgradehelper]
 MOV [cronenabled,local_qeupgradehelper],[cronenabled,tool_qeupgradehelper]
 MOV [croninstructions,local_qeupgradehelper],[croninstructions,tool_qeupgradehelper]
 MOV [cronprocesingtime,local_qeupgradehelper],[cronprocesingtime,tool_qeupgradehelper]
 MOV [cronsetup,local_qeupgradehelper],[cronsetup,tool_qeupgradehelper]
 MOV [cronsetup_desc,local_qeupgradehelper],[cronsetup_desc,tool_qeupgradehelper]
 MOV [cronstarthour,local_qeupgradehelper],[cronstarthour,tool_qeupgradehelper]
 MOV [cronstophour,local_qeupgradehelper],[cronstophour,tool_qeupgradehelper]
 MOV [extracttestcase,local_qeupgradehelper],[extracttestcase,tool_qeupgradehelper]
 MOV [extracttestcase_desc,local_qeupgradehelper],[extracttestcase_desc,tool_qeupgradehelper]
 MOV [gotoindex,local_qeupgradehelper],[gotoindex,tool_qeupgradehelper]
 MOV [gotoquizreport,local_qeupgradehelper],[gotoquizreport,tool_qeupgradehelper]
 MOV [gotoresetlink,local_qeupgradehelper],[gotoresetlink,tool_qeupgradehelper]
 MOV [includedintheupgrade,local_qeupgradehelper],[includedintheupgrade,tool_qeupgradehelper]
 MOV [invalidquizid,local_qeupgradehelper],[invalidquizid,tool_qeupgradehelper]
 MOV [listpreupgrade,local_qeupgradehelper],[listpreupgrade,tool_qeupgradehelper]
 MOV [listpreupgrade_desc,local_qeupgradehelper],[listpreupgrade_desc,tool_qeupgradehelper]
 MOV [listpreupgradeintro,local_qeupgradehelper],[listpreupgradeintro,tool_qeupgradehelper]
 MOV [listtodo,local_qeupgradehelper],[listtodo,tool_qeupgradehelper]
 MOV [listtodo_desc,local_qeupgradehelper],[listtodo_desc,tool_qeupgradehelper]
 MOV [listtodointro,local_qeupgradehelper],[listtodointro,tool_qeupgradehelper]
 MOV [listupgraded,local_qeupgradehelper],[listupgraded,tool_qeupgradehelper]
 MOV [listupgraded_desc,local_qeupgradehelper],[listupgraded_desc,tool_qeupgradehelper]
 MOV [listupgradedintro,local_qeupgradehelper],[listupgradedintro,tool_qeupgradehelper]
 MOV [noquizattempts,local_qeupgradehelper],[noquizattempts,tool_qeupgradehelper]
 MOV [nothingupgradedyet,local_qeupgradehelper],[nothingupgradedyet,tool_qeupgradehelper]
 MOV [notupgradedsiterequired,local_qeupgradehelper],[notupgradedsiterequired,tool_qeupgradehelper]
 MOV [numberofattempts,local_qeupgradehelper],[numberofattempts,tool_qeupgradehelper]
 MOV [oldsitedetected,local_qeupgradehelper],[oldsitedetected,tool_qeupgradehelper]
 MOV [outof,local_qeupgradehelper],[outof,tool_qeupgradehelper]
 MOV [pluginname,local_qeupgradehelper],[pluginname,tool_qeupgradehelper]
 MOV [pretendupgrade,local_qeupgradehelper],[pretendupgrade,tool_qeupgradehelper]
 MOV [pretendupgrade_desc,local_qeupgradehelper],[pretendupgrade_desc,tool_qeupgradehelper]
 MOV [questionsessions,local_qeupgradehelper],[questionsessions,tool_qeupgradehelper]
 MOV [quizid,local_qeupgradehelper],[quizid,tool_qeupgradehelper]
 MOV [quizupgrade,local_qeupgradehelper],[quizupgrade,tool_qeupgradehelper]
 MOV [quizzesthatcanbereset,local_qeupgradehelper],[quizzesthatcanbereset,tool_qeupgradehelper]
 MOV [quizzestobeupgraded,local_qeupgradehelper],[quizzestobeupgraded,tool_qeupgradehelper]
 MOV [quizzeswithunconverted,local_qeupgradehelper],[quizzeswithunconverted,tool_qeupgradehelper]
 MOV [resetquiz,local_qeupgradehelper],[resetquiz,tool_qeupgradehelper]
 MOV [resetcomplete,local_qeupgradehelper],[resetcomplete,tool_qeupgradehelper]
 MOV [resettingquizattempts,local_qeupgradehelper],[resettingquizattempts,tool_qeupgradehelper]
 MOV [resettingquizattemptsprogress,local_qeupgradehelper],[resettingquizattemptsprogress,tool_qeupgradehelper]
 MOV [upgradingquizattempts,local_qeupgradehelper],[upgradingquizattempts,tool_qeupgradehelper]
 MOV [upgradedsitedetected,local_qeupgradehelper],[upgradedsitedetected,tool_qeupgradehelper]
 MOV [upgradedsiterequired,local_qeupgradehelper],[upgradedsiterequired,tool_qeupgradehelper]
 MOV [veryoldattemtps,local_qeupgradehelper],[veryoldattemtps,tool_qeupgradehelper]
AMOS END
2011-09-27 00:39:20 +02:00
Petr Skoda
b703861f49 MDL-29509 move customlang to admin tools
AMOS BEGIN
 MOV [checkin,report_customlang],[checkin,tool_customlang]
 MOV [checkout,report_customlang],[checkout,tool_customlang]
 MOV [checkoutdone,report_customlang],[checkoutdone,tool_customlang]
 MOV [checkoutinprogress,report_customlang],[checkoutinprogress,tool_customlang]
 MOV [confirmcheckin,report_customlang],[confirmcheckin,tool_customlang]
 MOV [customlang:edit,report_customlang],[customlang:edit,tool_customlang]
 MOV [customlang:view,report_customlang],[customlang:view,tool_customlang]
 MOV [filter,report_customlang],[filter,tool_customlang]
 MOV [filtercomponent,report_customlang],[filtercomponent,tool_customlang]
 MOV [filtercustomized,report_customlang],[filtercustomized,tool_customlang]
 MOV [filtermodified,report_customlang],[filtermodified,tool_customlang]
 MOV [filteronlyhelps,report_customlang],[filteronlyhelps,tool_customlang]
 MOV [filtershowstrings,report_customlang],[filtershowstrings,tool_customlang]
 MOV [filterstringid,report_customlang],[filterstringid,tool_customlang]
 MOV [filtersubstring,report_customlang],[filtersubstring,tool_customlang]
 MOV [headingcomponent,report_customlang],[headingcomponent,tool_customlang]
 MOV [headinglocal,report_customlang],[headinglocal,tool_customlang]
 MOV [headingstandard,report_customlang],[headingstandard,tool_customlang]
 MOV [headingstringid,report_customlang],[headingstringid,tool_customlang]
 MOV [markinguptodate,report_customlang],[markinguptodate,tool_customlang]
 MOV [markinguptodate_help,report_customlang],[markinguptodate_help,tool_customlang]
 MOV [markuptodate,report_customlang],[markuptodate,tool_customlang]
 MOV [modifiedno,report_customlang],[modifiedno,tool_customlang]
 MOV [modifiednum,report_customlang],[modifiednum,tool_customlang]
 MOV [nostringsfound,report_customlang],[nostringsfound,tool_customlang]
 MOV [placeholder,report_customlang],[placeholder,tool_customlang]
 MOV [placeholder_help,report_customlang],[placeholder_help,tool_customlang]
 MOV [placeholderwarning,report_customlang],[placeholderwarning,tool_customlang]
 MOV [pluginname,report_customlang],[pluginname,tool_customlang]
 MOV [savecheckin,report_customlang],[savecheckin,tool_customlang]
 MOV [savecontinue,report_customlang],[savecontinue,tool_customlang]
AMOS END
2011-09-27 00:39:19 +02:00
Petr Skoda
58415fa0aa MDL-29509 explain registration url trouble
The problem is that the registration does not pass the confirmation url together with the registration request, this means we can not move the admin/registration to admin/tool/registration, but also sites with custom $CFG->admin can not be registered either.
2011-09-27 00:39:19 +02:00
Petr Skoda
67a6243ad4 MDL-29509 add cron support for admin tools 2011-09-27 00:39:19 +02:00
Petr Skoda
60c452b4a2 MDL-29504 fix invalid plugin callback names
Only modules are allow to use old style non-frankenstyle callback names, all other plugins must use full component prefix.
2011-09-27 00:37:18 +02:00
Eloy Lafuente (stronk7)
e135797586 Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
Petr Skoda
a5bb3a70aa MDL-29401 few more tests for Eloy 2011-09-26 23:26:09 +02:00
Eloy Lafuente (stronk7)
c430009676 Merge branch 'MDL-29462' of git://github.com/timhunt/moodle 2011-09-26 22:40:32 +02:00
Eloy Lafuente (stronk7)
8374ca3c5f Merge branch 'w38_MDL-29533_m22_yui341pr1' of git://github.com/skodak/moodle 2011-09-26 22:10:52 +02:00
Petr Skoda
363e0389ec MDL-29533 import new YUI 3.4.1pr1
We need to test this in master because we need to backport it into Moodle 2.1.x in order to resolve issues with latest browsers.
2011-09-26 21:54:31 +02:00
Aparup Banerjee
2ba08e4ba2 Merge branch 'wip-MDL-29487-master' of git://github.com/samhemelryk/moodle 2011-09-26 16:00:04 +08:00
Petr Skoda
65e9eac0d1 MDL-29401 fix forgotten area
Thanks Eloy!
2011-09-26 02:16:31 +02:00
Dan Marsden
8cf1862ccc MDL-29519 move plagiarism cron to after event queue 2011-09-26 13:15:15 +13:00