moodle.git
10 years agoMDL-20636 Finish making ddwtos work, mostly. Also various other JS fixes.
Tim Hunt [Wed, 2 Feb 2011 19:03:38 +0000 (19:03 +0000)]
MDL-20636 Finish making ddwtos work, mostly. Also various other JS fixes.

This JavaScript really needs to be rewritten to use YUI3.

10 years agoMDL-20636 ddwtos and gapselect qtypes now very nearly work.
Tim Hunt [Tue, 1 Feb 2011 23:44:40 +0000 (23:44 +0000)]
MDL-20636 ddwtos and gapselect qtypes now very nearly work.

Todo rendering questions with files, and ddwtos javascript.

10 years agoMDL-20636 Now all the unit tests for the the ddwtos and gapselect qtypes pass.
Tim Hunt [Tue, 1 Feb 2011 11:40:29 +0000 (11:40 +0000)]
MDL-20636 Now all the unit tests for the the ddwtos and gapselect qtypes pass.

10 years agoMDL-20636 More work on the ddwtos and gapselect qtypes.
Tim Hunt [Mon, 31 Jan 2011 18:07:38 +0000 (18:07 +0000)]
MDL-20636 More work on the ddwtos and gapselect qtypes.

Now there are no longer fatal errors that break other qtypes, but these two qtypes still not work completely. More to come.

10 years agoMDL-20636 work-in-progress converting the ddwtos and gapselect qtypes.
Tim Hunt [Fri, 28 Jan 2011 19:07:33 +0000 (19:07 +0000)]
MDL-20636 work-in-progress converting the ddwtos and gapselect qtypes.

10 years agoMDL-20636 Rename the question type editing forms to start with qtype_...
Tim Hunt [Fri, 28 Jan 2011 18:50:20 +0000 (18:50 +0000)]
MDL-20636 Rename the question type editing forms to start with qtype_...

10 years agoMDL-20636 Clean up.
Tim Hunt [Thu, 27 Jan 2011 19:11:17 +0000 (19:11 +0000)]
MDL-20636 Clean up.

10 years agoMDL-20636 Bug 11408 JME and applet components don't work in IE.
Tim Hunt [Thu, 27 Jan 2011 18:03:35 +0000 (18:03 +0000)]
MDL-20636 Bug 11408 JME and applet components don't work in IE.

10 years agoMDL-20636 Fix bad line endings.
Tim Hunt [Thu, 27 Jan 2011 18:02:10 +0000 (18:02 +0000)]
MDL-20636 Fix bad line endings.

10 years agoMDL-20636 Bug 11396 better handle manually graded questions that are graded out of 0.
Tim Hunt [Thu, 27 Jan 2011 17:43:50 +0000 (17:43 +0000)]
MDL-20636 Bug 11396 better handle manually graded questions that are graded out of 0.

The key point is that 0 * Ungraded should equal 0, rather than Ungraded.

10 years agoMDL-20636 Bug 11406 Opaque gives radio groups name _rg by default, which QE cannot...
Tim Hunt [Mon, 24 Jan 2011 14:54:21 +0000 (14:54 +0000)]
MDL-20636 Bug 11406 Opaque gives radio groups name _rg by default, which QE cannot handle.

As a work around, we specifically look for this variable, and if it is present, include it in the sumbitted data.

10 years agoMDL-20636 Conversion of the OU multi-response question type.
Tim Hunt [Tue, 18 Jan 2011 19:23:26 +0000 (19:23 +0000)]
MDL-20636 Conversion of the OU multi-response question type.

10 years agoMDL-20636 Finish conversion of the Opaque qtype/behaviour.
Tim Hunt [Tue, 18 Jan 2011 17:35:03 +0000 (17:35 +0000)]
MDL-20636 Finish conversion of the Opaque qtype/behaviour.

10 years agoMDL-20636 And fix XML import unit tests too.
Tim Hunt [Tue, 18 Jan 2011 16:06:05 +0000 (16:06 +0000)]
MDL-20636 And fix XML import unit tests too.

10 years agoMDL-20636 Question XML export unit tests now all pass.
Tim Hunt [Tue, 18 Jan 2011 14:36:40 +0000 (14:36 +0000)]
MDL-20636 Question XML export unit tests now all pass.

10 years agoMDL-20636 Merge import/export formats. XML is not finished (unit test failures).
Tim Hunt [Mon, 17 Jan 2011 18:01:49 +0000 (18:01 +0000)]
MDL-20636 Merge import/export formats. XML is not finished (unit test failures).

10 years agoMDL-20636 More work on the opaque question type. You can now set up question engines.
Tim Hunt [Mon, 17 Jan 2011 17:53:49 +0000 (17:53 +0000)]
MDL-20636 More work on the opaque question type. You can now set up question engines.

More work still needed on the actual question type.

10 years agoMDL-20636 unit tests MDL-26029 fix notices from CheckSpecifie
Tim Hunt [Mon, 17 Jan 2011 16:30:09 +0000 (16:30 +0000)]
MDL-20636 unit tests MDL-26029 fix notices from CheckSpecifie
dFieldsExpectation.

10 years agoMDL-20636 qtype admin MDL-25987 also allow question type settings to be on an admin_e...
Tim Hunt [Fri, 14 Jan 2011 19:09:53 +0000 (19:09 +0000)]
MDL-20636 qtype admin MDL-25987 also allow question type settings to be on an admin_externalpage.

10 years agoMDL-20636 work-in-progress on converting the Opaque question type.
Tim Hunt [Fri, 14 Jan 2011 19:06:52 +0000 (19:06 +0000)]
MDL-20636 work-in-progress on converting the Opaque question type.

10 years agoMDL-20636 qtype admin MDL-25987 use get_plugin_list, rather than including questionli...
Tim Hunt [Fri, 14 Jan 2011 17:24:38 +0000 (17:24 +0000)]
MDL-20636 qtype admin MDL-25987 use get_plugin_list, rather than including questionlib.php.

This should be a small be significant performance win for people who are logged in as admin.

10 years agoMDL-20636 Fix behaviour unit tests. (all but opaque)
Tim Hunt [Fri, 14 Jan 2011 16:30:27 +0000 (16:30 +0000)]
MDL-20636 Fix behaviour unit tests. (all but opaque)

10 years agoMDL-20636 Conversion of the match question type.
Tim Hunt [Thu, 13 Jan 2011 20:24:28 +0000 (20:24 +0000)]
MDL-20636 Conversion of the match question type.

10 years agoMDL-20636 html_writer MDL-25971 Support disabled => boolean, as well as disabled...
Tim Hunt [Thu, 13 Jan 2011 19:36:30 +0000 (19:36 +0000)]
MDL-20636 html_writer MDL-25971 Support disabled => boolean, as well as disabled => disabled in html_writer::select.

10 years agoMDL-20636 Fix editing of multichoice questions.
Tim Hunt [Thu, 13 Jan 2011 17:16:36 +0000 (17:16 +0000)]
MDL-20636 Fix editing of multichoice questions.

10 years agoMDL-20636 Better icon for missing qtype.
Tim Hunt [Thu, 13 Jan 2011 17:13:38 +0000 (17:13 +0000)]
MDL-20636 Better icon for missing qtype.

10 years agoMDL-20636 Mostly working conversion of the multichoice question type.
Tim Hunt [Wed, 12 Jan 2011 19:09:49 +0000 (19:09 +0000)]
MDL-20636 Mostly working conversion of the multichoice question type.

Currently, you get an error on saving the editing form.

10 years agoMDL-20636 Conversion of the missingtype question type.
Tim Hunt [Wed, 12 Jan 2011 18:52:53 +0000 (18:52 +0000)]
MDL-20636 Conversion of the missingtype question type.

10 years agoMDL-20636 Actually, passing to get_question summary is silly. Revert.
Tim Hunt [Wed, 12 Jan 2011 18:51:13 +0000 (18:51 +0000)]
MDL-20636 Actually, passing  to get_question summary is silly. Revert.

10 years agoMDL-20636 Conversion of the essay question type.
Tim Hunt [Wed, 12 Jan 2011 14:51:17 +0000 (14:51 +0000)]
MDL-20636 Conversion of the essay question type.

10 years agoMDL-20636 Fix if the use of the File API so images work in questions.
Tim Hunt [Wed, 12 Jan 2011 13:52:09 +0000 (13:52 +0000)]
MDL-20636 Fix if the use of the File API so images work in questions.

10 years agoMDL-20636 Conversion of the description question type.
Tim Hunt [Tue, 11 Jan 2011 13:58:29 +0000 (13:58 +0000)]
MDL-20636 Conversion of the description question type.

10 years agoMDL-20636 Add all the new styles to the base theme.
Tim Hunt [Mon, 10 Jan 2011 18:19:06 +0000 (18:19 +0000)]
MDL-20636 Add all the new styles to the base theme.

Later, some of these should be moved to canvas, or something, but this is good enough for now.

10 years agoMDL-20636 Conversion of the shortanswer question type to the new question engine.
Tim Hunt [Mon, 10 Jan 2011 17:37:22 +0000 (17:37 +0000)]
MDL-20636 Conversion of the shortanswer question type to the new question engine.

This commit includes minor bug fixes elsewhere in the system.

10 years agoMDL-20636 Fix a bunch of minor errors in the truefalse preview.
Tim Hunt [Fri, 24 Dec 2010 23:25:58 +0000 (23:25 +0000)]
MDL-20636 Fix a bunch of minor errors in the truefalse preview.

Most significantly, all behaviours now work.

10 years agoMDL-20636 Previewing a truefalse question in deferred feedback mode now works.
Tim Hunt [Fri, 24 Dec 2010 14:51:56 +0000 (14:51 +0000)]
MDL-20636 Previewing a truefalse question in deferred feedback mode now works.

10 years agoMDL-20636 It is now possible to save a truefalse question you have created.
Tim Hunt [Fri, 24 Dec 2010 13:22:26 +0000 (13:22 +0000)]
MDL-20636 It is now possible to save a truefalse question you have created.

This includes all the necessary DB upgrades.

Also all unit tests in question/type/simpletest and question/type/truefalse now pass.

10 years agoMDL-20636 converstion of questionlib.php and base questiontype.php, plus other cheang...
Tim Hunt [Thu, 23 Dec 2010 08:41:01 +0000 (08:41 +0000)]
MDL-20636 converstion of questionlib.php and base questiontype.php, plus other cheanges required to get the question editing page to display.

10 years agoMDL-20636 More progress.
Tim Hunt [Tue, 21 Dec 2010 17:01:46 +0000 (17:01 +0000)]
MDL-20636 More progress.

10 years agoMDL-20636 todo list
Tim Hunt [Mon, 20 Dec 2010 16:17:28 +0000 (16:17 +0000)]
MDL-20636 todo list

10 years agoMDL-20636 Current work-in-progress converting the question engine to Moodle 2.0
Tim Hunt [Mon, 20 Dec 2010 16:16:09 +0000 (16:16 +0000)]
MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0

10 years agoweekly version bump
Petr Skoda [Wed, 12 Jan 2011 09:50:18 +0000 (10:50 +0100)]
weekly version bump

10 years agoMerge branch 'MDL-25596-fixed' of git://github.com/samhemelryk/moodle
Petr Skoda [Wed, 12 Jan 2011 08:57:18 +0000 (09:57 +0100)]
Merge branch 'MDL-25596-fixed' of git://github.com/samhemelryk/moodle

10 years agoblocks-navigation MDL-25596 Fixed notice when block config doesn't already exist
Sam Hemelryk [Wed, 12 Jan 2011 01:52:30 +0000 (09:52 +0800)]
blocks-navigation MDL-25596 Fixed notice when block config doesn't already exist

10 years agoMDL-25501 reverting PULL-95
Petr Skoda [Tue, 11 Jan 2011 21:36:38 +0000 (22:36 +0100)]
MDL-25501 reverting PULL-95

10 years agoMerge branch 'AMOS-install-strings' of git://github.com/mudrd8mz/moodle
Petr Skoda [Tue, 11 Jan 2011 15:21:58 +0000 (16:21 +0100)]
Merge branch 'AMOS-install-strings' of git://github.com/mudrd8mz/moodle

10 years agoAutomatic installer lang files (20110111)
AMOS bot [Tue, 11 Jan 2011 15:08:58 +0000 (16:08 +0100)]
Automatic installer lang files (20110111)

10 years agoMerge branch 'MDL-25793' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Mon, 10 Jan 2011 23:33:56 +0000 (00:33 +0100)]
Merge branch 'MDL-25793' of git://github.com/samhemelryk/moodle

10 years agoMerge branch 'MDL-24521' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Mon, 10 Jan 2011 22:20:30 +0000 (23:20 +0100)]
Merge branch 'MDL-24521' of git://github.com/samhemelryk/moodle

10 years agoMerge branch 'MDL-24561_forum_subscribe_sesskey' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 10 Jan 2011 20:38:13 +0000 (21:38 +0100)]
Merge branch 'MDL-24561_forum_subscribe_sesskey' of git://github.com/mudrd8mz/moodle

10 years agoMerge branch 'm20_MDL-25794_sections_typo' of git://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Mon, 10 Jan 2011 20:22:02 +0000 (21:22 +0100)]
Merge branch 'm20_MDL-25794_sections_typo' of git://github.com/danmarsden/moodle

10 years agoMerge branch 'wip-MDL-25927' of git://github.com/sammarshallou/moodle
Petr Skoda [Mon, 10 Jan 2011 14:16:22 +0000 (15:16 +0100)]
Merge branch 'wip-MDL-25927' of git://github.com/sammarshallou/moodle

10 years agocompletion MDL-25927 Added old function back as deprecated, to preserve API compatibility
sam marshall [Mon, 10 Jan 2011 14:08:10 +0000 (14:08 +0000)]
completion MDL-25927 Added old function back as deprecated, to preserve API compatibility

10 years agoMerge branch 'm20_MDL-25501_wiki_upgrade_improvement' of git://github.com/dongsheng...
Petr Skoda [Mon, 10 Jan 2011 13:54:53 +0000 (14:54 +0100)]
Merge branch 'm20_MDL-25501_wiki_upgrade_improvement' of git://github.com/dongsheng/moodle

10 years agoMerge branch 'm20_MDL-25669_course_sortorder' of git://github.com/dongsheng/moodle
Petr Skoda [Mon, 10 Jan 2011 13:51:22 +0000 (14:51 +0100)]
Merge branch 'm20_MDL-25669_course_sortorder' of git://github.com/dongsheng/moodle

10 years agoMerge branch 'm20_MDL-25219_question_text' of git://github.com/dongsheng/moodle
Petr Skoda [Mon, 10 Jan 2011 13:44:26 +0000 (14:44 +0100)]
Merge branch 'm20_MDL-25219_question_text' of git://github.com/dongsheng/moodle

10 years agoMerge branch 'MDL-25596' of git://github.com/samhemelryk/moodle
Petr Skoda [Mon, 10 Jan 2011 13:41:04 +0000 (14:41 +0100)]
Merge branch 'MDL-25596' of git://github.com/samhemelryk/moodle

10 years agoMerge branch 'MDL-24984' of git://git.luns.net.uk/moodle
Petr Skoda [Mon, 10 Jan 2011 13:38:16 +0000 (14:38 +0100)]
Merge branch 'MDL-24984' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-24742' of git://git.luns.net.uk/moodle
Petr Skoda [Mon, 10 Jan 2011 13:37:21 +0000 (14:37 +0100)]
Merge branch 'MDL-24742' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25232' of git://git.luns.net.uk/moodle
Petr Skoda [Mon, 10 Jan 2011 13:35:38 +0000 (14:35 +0100)]
Merge branch 'MDL-25232' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25675' of git://git.luns.net.uk/moodle
Petr Skoda [Mon, 10 Jan 2011 13:34:18 +0000 (14:34 +0100)]
Merge branch 'MDL-25675' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25854' of git://github.com/samhemelryk/moodle
Petr Skoda [Mon, 10 Jan 2011 13:31:21 +0000 (14:31 +0100)]
Merge branch 'MDL-25854' of git://github.com/samhemelryk/moodle

10 years agoMerge commit 'ed5c4cf44d0b38e129ad57747dfaf16d9677d465'
Petr Skoda [Mon, 10 Jan 2011 13:21:15 +0000 (14:21 +0100)]
Merge commit 'ed5c4cf44d0b38e129ad57747dfaf16d9677d465'

10 years agoMerge commit '246cc0e6b52f455dcb1ab23039202d7498d91d30'
Petr Skoda [Mon, 10 Jan 2011 13:12:34 +0000 (14:12 +0100)]
Merge commit '246cc0e6b52f455dcb1ab23039202d7498d91d30'

Conflicts:
course/request.php

10 years agocompletion MDL-25927 Change print_help_icon to display_help_icon (returns html instea...
sam marshall [Mon, 10 Jan 2011 13:04:54 +0000 (13:04 +0000)]
completion MDL-25927 Change print_help_icon to display_help_icon (returns html instead of printing)

10 years agoMerge branch 'MDL-25886-user_picture_fields' of git://github.com/mudrd8mz/moodle
Petr Skoda [Mon, 10 Jan 2011 12:43:00 +0000 (13:43 +0100)]
Merge branch 'MDL-25886-user_picture_fields' of git://github.com/mudrd8mz/moodle

10 years agomod-wiki MDL-25793 Bumped version number and adjusted version number in new upgrade...
Sam Hemelryk [Mon, 10 Jan 2011 09:31:40 +0000 (17:31 +0800)]
mod-wiki MDL-25793 Bumped version number and adjusted version number in new upgrade code.

10 years agoMerge branch 'MDL-24133' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 08:40:30 +0000 (16:40 +0800)]
Merge branch 'MDL-24133' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25909' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 08:36:49 +0000 (16:36 +0800)]
Merge branch 'MDL-25909' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-23393' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 08:26:17 +0000 (16:26 +0800)]
Merge branch 'MDL-23393' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-23425' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 08:12:50 +0000 (16:12 +0800)]
Merge branch 'MDL-23425' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25869' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 08:10:46 +0000 (16:10 +0800)]
Merge branch 'MDL-25869' of git://git.luns.net.uk/moodle

10 years agoMerge remote branch 'mouneyrac/MDL-25768'
Sam Hemelryk [Mon, 10 Jan 2011 08:01:08 +0000 (16:01 +0800)]
Merge remote branch 'mouneyrac/MDL-25768'

10 years agoMerge branch 'MDL-23657' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 05:39:44 +0000 (13:39 +0800)]
Merge branch 'MDL-23657' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-23224' of git://github.com/mouneyrac/moodle
Sam Hemelryk [Mon, 10 Jan 2011 05:33:48 +0000 (13:33 +0800)]
Merge branch 'MDL-23224' of git://github.com/mouneyrac/moodle

10 years agoMerge branch 'MDL-24299' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 05:10:33 +0000 (13:10 +0800)]
Merge branch 'MDL-24299' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25478' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 05:02:52 +0000 (13:02 +0800)]
Merge branch 'MDL-25478' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-25709-2' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 10 Jan 2011 04:08:10 +0000 (12:08 +0800)]
Merge branch 'MDL-25709-2' of git://git.luns.net.uk/moodle

10 years agoWIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki...
Dongsheng Cai [Mon, 10 Jan 2011 02:07:34 +0000 (10:07 +0800)]
WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool

10 years agoMDL-25669, fix_course_sortorder should check MAX_COURSE_CATEGORIES limit, and print...
Dongsheng Cai [Fri, 7 Jan 2011 03:54:41 +0000 (11:54 +0800)]
MDL-25669, fix_course_sortorder should check MAX_COURSE_CATEGORIES limit, and print debugging message when the number of courses in a category reach the limit

10 years agoSCORM MDL-25794 fix db call to use select_menu to pass into single_select renderer...
Dan Marsden [Sun, 9 Jan 2011 22:22:50 +0000 (11:22 +1300)]
SCORM MDL-25794 fix db call to use select_menu to pass into single_select renderer - also fix small typo for label/lable

10 years agoforum MDL-25232 - fix unbalanced divs
Dan Poltawski [Sun, 9 Jan 2011 21:11:01 +0000 (21:11 +0000)]
forum MDL-25232 - fix unbalanced divs

10 years agocourse/lib MDL-24984 - fix lack of spacing on category list
Paul Vaughan [Sun, 9 Jan 2011 20:33:19 +0000 (20:33 +0000)]
course/lib MDL-24984 - fix lack of spacing on category list

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
10 years agoSCORM MDL-25891 typo causing general exception for some SCORM objects - thanks to...
Dan Marsden [Sun, 9 Jan 2011 20:24:16 +0000 (09:24 +1300)]
SCORM MDL-25891 typo causing general exception for some SCORM objects - thanks to Hais Deakin for report/fix

10 years agocourse-format-weeks MDL-24742 dont redefine maincontent
Dan Poltawski [Sun, 9 Jan 2011 20:02:21 +0000 (20:02 +0000)]
course-format-weeks MDL-24742 dont redefine maincontent

It was breaking XHTML validation due to duplicate id

10 years agomod/data MDL-24133 - footer called before header
Dan Poltawski [Sun, 9 Jan 2011 19:29:59 +0000 (19:29 +0000)]
mod/data MDL-24133 - footer called before header

10 years agocourse: MDL-23425 use correct config setting in check for displaying course request...
Myles Carrick [Sun, 9 Jan 2011 18:28:41 +0000 (18:28 +0000)]
course: MDL-23425 use correct config setting in check for displaying course request buttons

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
10 years agoblog MDL-23393 - Tidy up preferences form
Dan Poltawski [Sun, 9 Jan 2011 18:01:55 +0000 (18:01 +0000)]
blog MDL-23393 - Tidy up preferences form

Make form display set value and use mforms type checking

10 years agoforum MDL-25909 - Fix undefined variable
Dan Poltawski [Sat, 8 Jan 2011 15:16:18 +0000 (15:16 +0000)]
forum MDL-25909 - Fix undefined variable

10 years agoblocks/rss_client MDL-25869 Prevent sharing id
Dan Poltawski [Sat, 8 Jan 2011 00:13:33 +0000 (00:13 +0000)]
blocks/rss_client MDL-25869 Prevent sharing id

The form was generating an element id of "header", causing theme
breakage

10 years agoMDL-25886 method to convert aliased fields returned by user_picture::fields() back...
David Mudrak [Fri, 7 Jan 2011 13:05:25 +0000 (14:05 +0100)]
MDL-25886 method to convert aliased fields returned by user_picture::fields() back to unaliased form

The new public static method user_picture::unalias() picks the user
picture fields from the given record and maps the properties back to
unaliased form so that the result can be rendered.
Also fixes a forgotten bug in previous commit and adds a unit test for
both aliasing and unaliasing.

10 years agoMDL-25886 allow user_picture::fields() to be used multiple times within a single...
David Mudrak [Fri, 7 Jan 2011 01:12:43 +0000 (02:12 +0100)]
MDL-25886 allow user_picture::fields() to be used multiple times within a single query

When user table is joined twice or more within a single query, it is
important to be able to provide aliases to all returned files. This
patch adds optional parameter that, if provided, is used as a prefix
for columns aliases. Does not apply to the 'id' column, use $idalias for
that.

10 years agoQUESTION MDL-25219 fixed image links in description question type, credit to Sam...
Dongsheng Cai [Thu, 6 Jan 2011 07:29:07 +0000 (15:29 +0800)]
QUESTION MDL-25219 fixed image links in description question type, credit to Sam Hemelryk

10 years agoblocks-navigation MDL-25596 Fixed up redundant AJAX calls when navigation was limited...
Sam Hemelryk [Wed, 5 Jan 2011 05:27:59 +0000 (13:27 +0800)]
blocks-navigation MDL-25596 Fixed up redundant AJAX calls when navigation was limited by config

10 years agoenrol MDL-25522 Fixed up duplicate fields in search_other_users method that was causi...
Sam Hemelryk [Thu, 6 Jan 2011 02:20:28 +0000 (10:20 +0800)]
enrol MDL-25522 Fixed up duplicate fields in search_other_users method that was causing problems in Oracle

10 years agolib/ajax/ MDL-25675 Use className instead of classList.toString()
Andrew Robert Nicols [Tue, 14 Dec 2010 16:49:57 +0000 (16:49 +0000)]
lib/ajax/ MDL-25675 Use className instead of classList.toString()

Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
10 years agoMDL-24561 forum: require sesskey for the course-wide subscriptions
David Mudrak [Wed, 5 Jan 2011 11:58:25 +0000 (12:58 +0100)]
MDL-24561 forum: require sesskey for the course-wide subscriptions

mod/forum/index.php allows to subscribe to and unsubscribe from all
forums in the course. However, sesskey was not checked here.

10 years agoMDL-24561 forum subscription checks sesskey
David Mudrak [Wed, 5 Jan 2011 11:40:38 +0000 (12:40 +0100)]
MDL-24561 forum subscription checks sesskey

The only case when sesskey is not available is when we came to
subscribe.php from a link in email. In that case, we display a
confirmation page that redirects back providing the sesskey.
All other links to subscribe.php are fixed now so they provide sesskey
as a parameter.
I also polished $mode parameter handling a bit because the check
against empty string was not correct as the value is cast to PARAM_INT.

10 years agoweekly release
Petr Skoda [Wed, 5 Jan 2011 10:54:01 +0000 (11:54 +0100)]
weekly release

10 years agojavascript lib MDL-23224 dropdown onclick event is not trigger in Chrome
jeromemoodle [Wed, 5 Jan 2011 08:12:52 +0000 (16:12 +0800)]
javascript lib MDL-23224 dropdown onclick event is not trigger in Chrome