moodle.git
11 years agoAutomatic installer lang files (20101120)
AMOS bot [Sat, 20 Nov 2010 00:40:10 +0000 (00:40 +0000)]
Automatic installer lang files (20101120)

11 years agoMDL-25340 external blof - fix problem with extra tags processing
Eloy Lafuente [Fri, 19 Nov 2010 23:58:53 +0000 (23:58 +0000)]
MDL-25340 external blof - fix problem with extra tags processing

11 years agoSCORM MDL-25320 removes spaces from children patterns - thanks to Ian Wright for...
Dan Marsden [Fri, 19 Nov 2010 23:35:12 +0000 (23:35 +0000)]
SCORM MDL-25320 removes spaces from children patterns - thanks to Ian Wright for report

11 years agoMDL-25340 external blog - fix sql_compare_text() use
Eloy Lafuente [Fri, 19 Nov 2010 21:57:15 +0000 (21:57 +0000)]
MDL-25340 external blog - fix sql_compare_text() use

11 years agoNOBUG: moodle/blog:manageexternal is SYSTEM cap, not USER at all
Eloy Lafuente [Fri, 19 Nov 2010 18:25:27 +0000 (18:25 +0000)]
NOBUG: moodle/blog:manageexternal is SYSTEM cap, not USER at all

11 years agoNOBUG: Add one missing cap. definition string
Eloy Lafuente [Fri, 19 Nov 2010 17:45:38 +0000 (17:45 +0000)]
NOBUG: Add one missing cap. definition string

11 years agoMDL-25301 'Upload this file' button should not have ...
Sam Marshall [Fri, 19 Nov 2010 16:27:30 +0000 (16:27 +0000)]
MDL-25301 'Upload this file' button should not have ...

11 years agoquestion XML import/export MDL-18916 Fix import of questions with images exported...
Tim Hunt [Fri, 19 Nov 2010 14:24:18 +0000 (14:24 +0000)]
question XML import/export MDL-18916 Fix import of questions with images exported from Moodle 1.9.

Thanks again to Patrick Pollet

11 years agoFixed string typo
David Mudrak [Fri, 19 Nov 2010 13:28:56 +0000 (13:28 +0000)]
Fixed string typo

11 years agoTinyMCE tool to generate upstream pack to be imported into AMOS
David Mudrak [Fri, 19 Nov 2010 13:04:26 +0000 (13:04 +0000)]
TinyMCE tool to generate upstream pack to be imported into AMOS

I have tweaked Petr's script so that now it generates files in a
suitable format for importing into AMOS.

11 years agoquestion XML import/export MDL-18916 should include question tags.
Tim Hunt [Fri, 19 Nov 2010 12:33:48 +0000 (12:33 +0000)]
question XML import/export MDL-18916 should include question tags.

11 years agoquestion export NOBUG delete obsolete code.
Tim Hunt [Fri, 19 Nov 2010 12:16:23 +0000 (12:16 +0000)]
question export NOBUG delete obsolete code.

11 years agoNOBUG whitespace fixes.
Tim Hunt [Fri, 19 Nov 2010 12:13:59 +0000 (12:13 +0000)]
NOBUG whitespace fixes.

11 years agoqtype_multichoice MDL-25208 another problem with editing.
Tim Hunt [Fri, 19 Nov 2010 11:36:15 +0000 (11:36 +0000)]
qtype_multichoice MDL-25208 another problem with editing.
Thanks to Patrick Pollet for spotting this.

11 years agoquestion export MDL-25324 Better file names for question exports - argh! missed lang...
Tim Hunt [Fri, 19 Nov 2010 11:11:33 +0000 (11:11 +0000)]
question export MDL-25324 Better file names for question exports - argh! missed lang stings

Grr!

11 years agoquestion export MDL-25324 Better file names for question exports - argh! missed lang...
Tim Hunt [Fri, 19 Nov 2010 11:11:19 +0000 (11:11 +0000)]
question export MDL-25324 Better file names for question exports - argh! missed lang stings

AMOS BEGIN
 MOV [exportfilename,mod_quiz],[exportfilename,core_question]
 MOV [exportnameformat,mod_quiz],[exportnameformat,core_question]
AMOS END

11 years agoquestion export MDL-25324 Better file names for question exports.
Tim Hunt [Fri, 19 Nov 2010 11:02:28 +0000 (11:02 +0000)]
question export MDL-25324 Better file names for question exports.

11 years agogift import/export MDL-25088 another attempt at fixing it, this time with unit tests.
Tim Hunt [Fri, 19 Nov 2010 10:27:29 +0000 (10:27 +0000)]
gift import/export MDL-25088 another attempt at fixing it, this time with unit tests.

11 years agoquiz MDL-25297 fixing quiz messaging issues
Andrew Davis [Fri, 19 Nov 2010 09:50:12 +0000 (09:50 +0000)]
quiz MDL-25297 fixing quiz messaging issues

11 years agoqtype multicoice xml export MDL-25208 / MDL-25104 revert incorrect change in qtype_mu...
Tim Hunt [Fri, 19 Nov 2010 09:35:54 +0000 (09:35 +0000)]
qtype multicoice xml export MDL-25208 / MDL-25104 revert incorrect change in qtype_multichoice and do a proper fix in XML export.

11 years agoregistration MDL-25322 fix average participant and module display (only two digital)
jerome mouneyrac [Fri, 19 Nov 2010 09:23:12 +0000 (09:23 +0000)]
registration MDL-25322 fix average participant and module display (only two digital)

11 years agoMDL-25305 typo fix
Helen Foster [Fri, 19 Nov 2010 09:22:24 +0000 (09:22 +0000)]
MDL-25305 typo fix

11 years agotrying to work around gzip issue
Petr Skoda [Fri, 19 Nov 2010 08:51:49 +0000 (08:51 +0000)]
trying to work around gzip issue

11 years agowiki MDL-24862 fixed wiki upgrade error (tested for mssql and mysql)
Aparup Banerjee [Fri, 19 Nov 2010 08:36:49 +0000 (08:36 +0000)]
wiki MDL-24862 fixed wiki upgrade error (tested for mssql and mysql)

11 years agoregistration MDL-25322 fix average participant and module display (only two digital)
jerome mouneyrac [Fri, 19 Nov 2010 08:34:20 +0000 (08:34 +0000)]
registration MDL-25322 fix average participant and module display (only two digital)

11 years agoquiz MDL-25297 fixed erroneous inline comments
Andrew Davis [Fri, 19 Nov 2010 08:18:48 +0000 (08:18 +0000)]
quiz MDL-25297 fixed erroneous inline comments

11 years ago"MDL-25104, fixed answernumbering parameter"
Dongsheng Cai [Fri, 19 Nov 2010 08:08:39 +0000 (08:08 +0000)]
"MDL-25104, fixed answernumbering parameter"

11 years ago"MDL-24862 revert previous change, sub query works better"
Dongsheng Cai [Fri, 19 Nov 2010 07:43:13 +0000 (07:43 +0000)]
"MDL-24862 revert previous change, sub query works better"

11 years agoblog MDL-25318 fixed an sql error in blog_delete_external_entries()
Andrew Davis [Fri, 19 Nov 2010 07:38:29 +0000 (07:38 +0000)]
blog MDL-25318 fixed an sql error in blog_delete_external_entries()

11 years agotheme-formal_white MDL-25090 Further tweaking of region-pre-layout
Sam Hemelryk [Fri, 19 Nov 2010 07:16:41 +0000 (07:16 +0000)]
theme-formal_white MDL-25090 Further tweaking of region-pre-layout

11 years agorss MDL-25319 replicating my optimization made to forum rss in glossary rss and datab...
Andrew Davis [Fri, 19 Nov 2010 06:56:23 +0000 (06:56 +0000)]
rss MDL-25319 replicating my optimization made to forum rss in glossary rss and database rss

11 years agoFixing a string
Martin Dougiamas [Fri, 19 Nov 2010 06:46:19 +0000 (06:46 +0000)]
Fixing a string

11 years agorss MDL-25319 removing unnecessary call to isguestuser()
Andrew Davis [Fri, 19 Nov 2010 06:39:00 +0000 (06:39 +0000)]
rss MDL-25319 removing unnecessary call to isguestuser()

11 years agorss MDL-25319 adding a check to avoid some work if the same rss feed is requested...
Andrew Davis [Fri, 19 Nov 2010 06:33:38 +0000 (06:33 +0000)]
rss MDL-25319 adding a check to avoid some work if the same rss feed is requested repeatedly

11 years agowiki MDL-24862 fixed the upgrade code breaking in mssql.
Aparup Banerjee [Fri, 19 Nov 2010 06:10:33 +0000 (06:10 +0000)]
wiki MDL-24862 fixed the upgrade code breaking in mssql.

11 years agotheme-formal_white MDL-25090 Fixed up positioning on side-pre-only layouts in formal...
Sam Hemelryk [Fri, 19 Nov 2010 05:53:14 +0000 (05:53 +0000)]
theme-formal_white MDL-25090 Fixed up positioning on side-pre-only layouts in formal white.

11 years agomessage MDL-25297 refactored quiz to make message notifications work
Andrew Davis [Fri, 19 Nov 2010 05:18:34 +0000 (05:18 +0000)]
message MDL-25297 refactored quiz to make message notifications work

11 years agocourse MDL-25269 Fixed up module/resource indentation on the course view page. Now...
Sam Hemelryk [Fri, 19 Nov 2010 04:02:21 +0000 (04:02 +0000)]
course MDL-25269 Fixed up module/resource indentation on the course view page. Now uses div margins rather than spacer images.

11 years agoCHOICE MDL-24102 remove unused var - which should never be used anyway as it isn...
Dan Marsden [Fri, 19 Nov 2010 03:42:33 +0000 (03:42 +0000)]
CHOICE MDL-24102 remove unused var - which should never be used anyway as it isn't cleaned!!

11 years agoMDL-25314 improved prevention of output buffering + detection of misconfigured servers
Petr Skoda [Fri, 19 Nov 2010 03:40:43 +0000 (03:40 +0000)]
MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.

11 years agoCHOICE MDL-24102 use correct url in form submission
Dan Marsden [Fri, 19 Nov 2010 03:23:14 +0000 (03:23 +0000)]
CHOICE MDL-24102 use correct url in form submission

11 years agoMDL-23929 WIKI, fixed has_capability parameter
Dongsheng Cai [Fri, 19 Nov 2010 02:59:10 +0000 (02:59 +0000)]
MDL-23929 WIKI, fixed has_capability parameter

11 years agomod-data MDL-25281 Removed format_text call that we messing up database entries.
Sam Hemelryk [Fri, 19 Nov 2010 02:58:42 +0000 (02:58 +0000)]
mod-data MDL-25281 Removed format_text call that we messing up database entries.

11 years agoCHOICE MDL-24102 fix tabs in code
Dan Marsden [Fri, 19 Nov 2010 02:57:35 +0000 (02:57 +0000)]
CHOICE MDL-24102 fix tabs in code

11 years agobackup-cancel MDL-25244 Added missing YUI module requirement
Sam Hemelryk [Fri, 19 Nov 2010 02:51:07 +0000 (02:51 +0000)]
backup-cancel MDL-25244 Added missing YUI module requirement

11 years agoCHOICE MDL-24102 fix lang string
Dan Marsden [Fri, 19 Nov 2010 02:48:39 +0000 (02:48 +0000)]
CHOICE MDL-24102 fix lang string

11 years agonavigation MDL-25317 Fixed scroll issue and ajax expansion bug within the navigation JS
Sam Hemelryk [Fri, 19 Nov 2010 02:41:05 +0000 (02:41 +0000)]
navigation MDL-25317 Fixed scroll issue and ajax expansion bug within the navigation JS

11 years agoMDL-22553, fixed wiki upgrade sql to running on sql server
Dongsheng Cai [Fri, 19 Nov 2010 02:30:00 +0000 (02:30 +0000)]
MDL-22553, fixed wiki upgrade sql to running on sql server

11 years agomod-forum MDL-25299 Fixed up whitespace issue in forum lib
Sam Hemelryk [Fri, 19 Nov 2010 01:57:23 +0000 (01:57 +0000)]
mod-forum MDL-25299 Fixed up whitespace issue in forum lib

11 years agoMDL-25314 getting rid of @ hiding error
Petr Skoda [Fri, 19 Nov 2010 01:39:30 +0000 (01:39 +0000)]
MDL-25314 getting rid of @ hiding error
We were using these because we added them in stable and did not want to risk any regression, in the long term it is better to show all errors caused by random PHP restrictions introduced by shared hosting admins.

11 years agoUpdated the HEAD build version to 20101119
Moodle Robot [Fri, 19 Nov 2010 00:53:57 +0000 (00:53 +0000)]
Updated the HEAD build version to 20101119

11 years agoAutomatic installer lang files (20101119)
AMOS bot [Fri, 19 Nov 2010 00:40:09 +0000 (00:40 +0000)]
Automatic installer lang files (20101119)

11 years agoqtype multichoice MDL-25208 and another problem with saving Multiple choice questions.
Tim Hunt [Thu, 18 Nov 2010 23:43:12 +0000 (23:43 +0000)]
qtype multichoice MDL-25208 and another problem with saving Multiple choice questions.

11 years agoqtype_multichoice MDL-25208 fix my earlier screw-up
Tim Hunt [Thu, 18 Nov 2010 22:39:09 +0000 (22:39 +0000)]
qtype_multichoice MDL-25208 fix my earlier screw-up

11 years agoquiz NOBUG improve a comment.
Tim Hunt [Thu, 18 Nov 2010 22:38:50 +0000 (22:38 +0000)]
quiz NOBUG improve a comment.

11 years agoMDL-25310 backup - Bump!
Eloy Lafuente [Thu, 18 Nov 2010 21:35:40 +0000 (21:35 +0000)]
MDL-25310 backup - Bump!

11 years agoMDL-25310 backup - some minor tasks related to cleaning/old options
Eloy Lafuente [Thu, 18 Nov 2010 21:34:01 +0000 (21:34 +0000)]
MDL-25310 backup - some minor tasks related to cleaning/old options

11 years agoqtype_multichoice MDL-25208 problem with editing.
Tim Hunt [Thu, 18 Nov 2010 17:59:23 +0000 (17:59 +0000)]
qtype_multichoice MDL-25208 problem with editing.

11 years agoFixed capability names
David Mudrak [Thu, 18 Nov 2010 16:13:39 +0000 (16:13 +0000)]
Fixed capability names

11 years agoFormfactor theme custom menu style fixes, MDL-25213
john St [Thu, 18 Nov 2010 15:30:39 +0000 (15:30 +0000)]
Formfactor theme custom menu style fixes, MDL-25213

11 years agofix for Arialist theme submenu arrow, MDL-25211
john St [Thu, 18 Nov 2010 14:55:14 +0000 (14:55 +0000)]
fix for Arialist theme submenu arrow, MDL-25211

11 years agoOverlay theme fix for MDL-25214
john St [Thu, 18 Nov 2010 14:48:42 +0000 (14:48 +0000)]
Overlay theme fix for MDL-25214

11 years agoRemoving obsolete permission explanation strings
David Mudrak [Thu, 18 Nov 2010 14:06:57 +0000 (14:06 +0000)]
Removing obsolete permission explanation strings

11 years agoMDL-24863 unit tests - tidy up a bit some tests
Eloy Lafuente [Thu, 18 Nov 2010 14:02:02 +0000 (14:02 +0000)]
MDL-24863 unit tests - tidy up a bit some tests

11 years agoRemoving legacy hidden role assignment strings
David Mudrak [Thu, 18 Nov 2010 13:56:49 +0000 (13:56 +0000)]
Removing legacy hidden role assignment strings

11 years agoFixed the anchor of Show parent link in the Forum
David Mudrak [Thu, 18 Nov 2010 12:47:24 +0000 (12:47 +0000)]
Fixed the anchor of Show parent link in the Forum

The anchor link led to the post itself instead of to the parent.

11 years agoMDL-25104, fixed answertext in mulitchoice questoin type
Dongsheng Cai [Thu, 18 Nov 2010 07:35:27 +0000 (07:35 +0000)]
MDL-25104, fixed answertext in mulitchoice questoin type

11 years agomessage MDL-25267 improved the test for Jabber configuration
Andrew Davis [Thu, 18 Nov 2010 07:17:19 +0000 (07:17 +0000)]
message MDL-25267 improved the test for Jabber configuration

11 years agobackup MDL-25283 Fixed regression in restore by adding destroy method to independent...
Sam Hemelryk [Thu, 18 Nov 2010 07:09:09 +0000 (07:09 +0000)]
backup MDL-25283 Fixed regression in restore by adding destroy method to independent restore stages.

11 years agomessage MDL-25264 removed another reference to $USER
Andrew Davis [Thu, 18 Nov 2010 07:05:47 +0000 (07:05 +0000)]
message MDL-25264 removed another reference to $USER

11 years agofixing regression in the last commit
Petr Skoda [Thu, 18 Nov 2010 06:26:27 +0000 (06:26 +0000)]
fixing regression in the last commit

11 years agoNOBUG explaining why textlib sorting fails
Petr Skoda [Thu, 18 Nov 2010 06:14:59 +0000 (06:14 +0000)]
NOBUG explaining why textlib sorting fails

11 years agodatabase MDL-24863
Aparup Banerjee [Thu, 18 Nov 2010 06:00:51 +0000 (06:00 +0000)]
database MDL-24863
- added restricting text conditions to where_clause , it throws a dml_exception when detected.
- also added to where_clause throwing dml_exception for field that doesn't exist in table.
- added unit tests for text condition restricting.
- added 2 unit tests for set_field_select() testing 'auto-casting params to int problem' fix

11 years agomessage MDL-25264 made it possible to edit another user's message preferences
Andrew Davis [Thu, 18 Nov 2010 05:28:51 +0000 (05:28 +0000)]
message MDL-25264 made it possible to edit another user's message preferences

11 years agomessage MDL-25267 made jabber processor detect if it hasnt been configured
Andrew Davis [Thu, 18 Nov 2010 02:59:23 +0000 (02:59 +0000)]
message MDL-25267 made jabber processor detect if it hasnt been configured

11 years agoNOBUG: Added missing backup message provider string
Sam Hemelryk [Thu, 18 Nov 2010 02:54:46 +0000 (02:54 +0000)]
NOBUG: Added missing backup message provider string

11 years agomessage MDL-25265 message_send() now uses a success flag rather than returning false...
Andrew Davis [Thu, 18 Nov 2010 02:19:59 +0000 (02:19 +0000)]
message MDL-25265 message_send() now uses a success flag rather than returning false immediately if a processor fails to prevent a single bad processor preventing others from running

11 years agobackup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, contr...
Sam Hemelryk [Thu, 18 Nov 2010 02:09:23 +0000 (02:09 +0000)]
backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion.

11 years agogradebook MDL-25238 made things line up in IE and Safari with static student columns...
Andrew Davis [Thu, 18 Nov 2010 01:56:16 +0000 (01:56 +0000)]
gradebook MDL-25238 made things line up in IE and Safari with static student columns enabled

11 years agobackup MDL-24962 Automated backups now explicitly destroy the backup controller creat...
Sam Hemelryk [Thu, 18 Nov 2010 01:35:16 +0000 (01:35 +0000)]
backup MDL-24962 Automated backups now explicitly destroy the backup controller created at the end of a backup for a course.

11 years agoMDL-25276 dml - fix/implement sql_cast2int/real() across the 5 drivers. Tests passing.
Eloy Lafuente [Thu, 18 Nov 2010 01:27:49 +0000 (01:27 +0000)]
MDL-25276 dml - fix/implement sql_cast2int/real() across the 5 drivers. Tests passing.

11 years agoMDL-25276 dml - completed sql_cast_char2int/real tests to reveal some problems
Eloy Lafuente [Thu, 18 Nov 2010 01:10:41 +0000 (01:10 +0000)]
MDL-25276 dml - completed sql_cast_char2int/real tests to reveal some problems

11 years agoauth/cas: MDL-25062 CAS authentication plugin does not validate the CAS server certif...
Inaki [Thu, 18 Nov 2010 00:57:06 +0000 (00:57 +0000)]
auth/cas: MDL-25062 CAS authentication plugin does not validate the CAS server certificate

If we enable the server validation but don't specify a certificate file path
flag the error and don't let the user save the settings.

11 years agoUpdated the HEAD build version to 20101118
Moodle Robot [Thu, 18 Nov 2010 00:48:15 +0000 (00:48 +0000)]
Updated the HEAD build version to 20101118

11 years agoAutomatic installer lang files (20101118)
AMOS bot [Thu, 18 Nov 2010 00:40:09 +0000 (00:40 +0000)]
Automatic installer lang files (20101118)

11 years agoauth/cas: MDL-25062 CAS authentication plugin does not validate the CAS server certif...
Inaki [Thu, 18 Nov 2010 00:12:23 +0000 (00:12 +0000)]
auth/cas: MDL-25062 CAS authentication plugin does not validate the CAS server certificate

The CAS protocol security model requires that you verify the cas server
certificate before you trust the answer (valid authentication and username
etc.).

Credit goes to Joachim Fritschi for reporting it and providing a patch.

11 years agoMDL-21437 data - fixed navigation from list to single
Eloy Lafuente [Wed, 17 Nov 2010 21:47:08 +0000 (21:47 +0000)]
MDL-21437 data - fixed navigation from list to single

11 years agoMDL-21437 data - fixed the sort by fuctionality to be cross-db for all fields
Eloy Lafuente [Wed, 17 Nov 2010 21:18:53 +0000 (21:18 +0000)]
MDL-21437 data - fixed the sort by fuctionality to be cross-db for all fields

11 years agoMDL-21437 data - latlong, menu, radiobutton, text, textarea, url
Eloy Lafuente [Wed, 17 Nov 2010 19:27:47 +0000 (19:27 +0000)]
MDL-21437 data - latlong, menu, radiobutton, text, textarea, url

11 years agoMDL-21437 data - checkbox and multimenu fields search working + require all too
Eloy Lafuente [Wed, 17 Nov 2010 19:13:26 +0000 (19:13 +0000)]
MDL-21437 data - checkbox and multimenu fields search working + require all too

11 years agoMDL-21437 data - number and date fields search under mssql and oracle
Eloy Lafuente [Wed, 17 Nov 2010 17:54:00 +0000 (17:54 +0000)]
MDL-21437 data - number and date fields search under mssql and oracle

11 years agoMDL-21437 data - latlong, radio menu and multimenu now working under sqlserver &...
Eloy Lafuente [Wed, 17 Nov 2010 16:57:56 +0000 (16:57 +0000)]
MDL-21437 data - latlong, radio menu and multimenu now working under sqlserver & oracle

11 years agoYet another string using proper placeholder in Javascript
David Mudrak [Wed, 17 Nov 2010 12:44:17 +0000 (12:44 +0000)]
Yet another string using proper placeholder in Javascript

11 years agoNOBUG standardising prevention of output buffering
Petr Skoda [Wed, 17 Nov 2010 12:25:36 +0000 (12:25 +0000)]
NOBUG standardising prevention of output buffering
we should really add some new define before the config.php inclusion soon

11 years agoNOBUG: I hate the shut-up operator, really!
Eloy Lafuente [Wed, 17 Nov 2010 11:02:32 +0000 (11:02 +0000)]
NOBUG: I hate the shut-up operator, really!

11 years agoMDL-25268 dml - improved limitnum/limitfrom regexp in ms drivers + tests
Eloy Lafuente [Wed, 17 Nov 2010 10:39:56 +0000 (10:39 +0000)]
MDL-25268 dml - improved limitnum/limitfrom regexp in ms drivers + tests

11 years agoMDL-22898, fixed wiki preview
Dongsheng Cai [Wed, 17 Nov 2010 09:41:25 +0000 (09:41 +0000)]
MDL-22898, fixed wiki preview

11 years agoMDL-22449, improve wiki help info
Dongsheng Cai [Wed, 17 Nov 2010 09:04:46 +0000 (09:04 +0000)]
MDL-22449, improve wiki help info

11 years agocommunity block MDL-25262 improve hub listing css
jerome mouneyrac [Wed, 17 Nov 2010 09:03:26 +0000 (09:03 +0000)]
community block MDL-25262 improve hub listing css

11 years agoMDL-25250, fixed php coding error in wiki module
Dongsheng Cai [Wed, 17 Nov 2010 08:43:16 +0000 (08:43 +0000)]
MDL-25250, fixed php coding error in wiki module