moodle.git
10 years agoMerge branch 'MDL-25881' of git://git.luns.net.uk/moodle
Petr Skoda [Mon, 17 Jan 2011 18:12:33 +0000 (19:12 +0100)]
Merge branch 'MDL-25881' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'workshop_random_allocator' of git://github.com/mudrd8mz/moodle
Petr Skoda [Mon, 17 Jan 2011 18:02:55 +0000 (19:02 +0100)]
Merge branch 'workshop_random_allocator' of git://github.com/mudrd8mz/moodle

10 years agoMerge branch 'MDL-25980-mnet_remote_enrolment' of git://github.com/mudrd8mz/moodle
Petr Skoda [Mon, 17 Jan 2011 18:01:02 +0000 (19:01 +0100)]
Merge branch 'MDL-25980-mnet_remote_enrolment' of git://github.com/mudrd8mz/moodle

10 years agoMerge branch 'AMOS-install-strings' of git://github.com/mudrd8mz/moodle
Petr Skoda [Mon, 17 Jan 2011 17:57:22 +0000 (18:57 +0100)]
Merge branch 'AMOS-install-strings' of git://github.com/mudrd8mz/moodle

10 years agoAutomatic installer lang files (20110117)
AMOS bot [Mon, 17 Jan 2011 09:26:47 +0000 (10:26 +0100)]
Automatic installer lang files (20110117)

10 years agoMerge branch 'MDL-17884_m20' of git://github.com/rwijaya/moodle
Sam Hemelryk [Mon, 17 Jan 2011 08:00:20 +0000 (16:00 +0800)]
Merge branch 'MDL-17884_m20' of git://github.com/rwijaya/moodle

10 years agoMerge branch 'MDL-25729_m20' of git://github.com/rwijaya/moodle
Sam Hemelryk [Mon, 17 Jan 2011 07:54:27 +0000 (15:54 +0800)]
Merge branch 'MDL-25729_m20' of git://github.com/rwijaya/moodle

10 years agoMerge branch 'MDL-25860_20_wip_grpblocks' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 17 Jan 2011 07:36:10 +0000 (15:36 +0800)]
Merge branch 'MDL-25860_20_wip_grpblocks' of git://github.com/skodak/moodle

10 years agoMerge branch 'MDL-25973_20_wip_charset' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 17 Jan 2011 07:24:01 +0000 (15:24 +0800)]
Merge branch 'MDL-25973_20_wip_charset' of git://github.com/skodak/moodle

10 years agoMerge branch 'MDL-25971' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 17 Jan 2011 07:12:18 +0000 (15:12 +0800)]
Merge branch 'MDL-25971' of git://github.com/timhunt/moodle

10 years agoMerge branch 'MDL-25962_20_wip_removeyui' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 17 Jan 2011 05:17:04 +0000 (13:17 +0800)]
Merge branch 'MDL-25962_20_wip_removeyui' of git://github.com/skodak/moodle

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

10 years agoMerge branch 'MDL-25837_wip' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 17 Jan 2011 03:35:06 +0000 (11:35 +0800)]
Merge branch 'MDL-25837_wip' of git://github.com/skodak/moodle

10 years agoMerge branch 'MDL-25907_wip'
Sam Hemelryk [Mon, 17 Jan 2011 02:53:24 +0000 (10:53 +0800)]
Merge branch 'MDL-25907_wip'

10 years agosessions MDL-25907 Fixed typo prior to integration
Sam Hemelryk [Mon, 17 Jan 2011 02:48:00 +0000 (10:48 +0800)]
sessions MDL-25907 Fixed typo prior to integration

10 years agoMerge branch 'MDL-25836_wip' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 17 Jan 2011 02:17:40 +0000 (10:17 +0800)]
Merge branch 'MDL-25836_wip' of git://github.com/skodak/moodle

10 years agoMerge branch 'MDL-25935-user_picture_fields' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Mon, 17 Jan 2011 01:35:34 +0000 (09:35 +0800)]
Merge branch 'MDL-25935-user_picture_fields' of git://github.com/mudrd8mz/moodle

10 years agoMDL-25982 Workshop: users from the same group may be excluded from allocation in...
David Mudrak [Fri, 14 Jan 2011 13:16:10 +0000 (14:16 +0100)]
MDL-25982 Workshop: users from the same group may be excluded from allocation in visible group mode

If the Workshop is in the visible group mode, members of the same group
can be now optionally excluded from random allocation for a given user.

10 years agoMDL-25523 Workshop: not-grouped users are excluded from allocation in visible group...
David Mudrak [Thu, 13 Jan 2011 16:26:37 +0000 (17:26 +0100)]
MDL-25523 Workshop: not-grouped users are excluded from allocation in visible group mode

There was a bug as these users were ignored only as squares but not as
circles. This patch makes sure that no new allocation are added to
not-grouped users in visible group mode. However, the options 'Remove current
allocations' and 'Add self-assessments' apply to them intentionally.

Also, the user is warned if there are some not-grouped users found in a
workshop in visible groups mode or separate groups mode.

10 years agocourse reports MDL-25881 - incorrect string
Dan Poltawski [Sun, 16 Jan 2011 14:58:41 +0000 (14:58 +0000)]
course reports MDL-25881 - incorrect string

10 years agoMDL-25526 Workshop: fixed random allocation of reviews
David Mudrak [Thu, 13 Jan 2011 13:20:59 +0000 (14:20 +0100)]
MDL-25526 Workshop: fixed random allocation of reviews

The patch wraps that foreach ($circles as $circleid => $circle)
loop by yet another one for() loop. Reviews are allocated iteratively
now. During the first iteration, we try to make sure that at least one
circle link exists. During the second iteration, we try to allocate two,
etc. Circles are shuffled at the beginning of each iteration.
This is supposed to improve the randomness of the allocation.

The patch also fixes shuffle_assoc() implementation. The previous
implementation actually did not work at all. Also, that removed called
to shuffle_assoc() was redundant here.

10 years agoNOMDL MNet remote enrolment client: display a button to go back to the course selection
David Mudrak [Fri, 14 Jan 2011 11:53:01 +0000 (12:53 +0100)]
NOMDL MNet remote enrolment client: display a button to go back to the course selection

Without this button, the user has to go through the admin menu again,
selecting the same host. This improves the usability when enrolling
local users to multiple remote courses.

10 years agoMDL-25980 MNet: missing remotecourseid parameter in SQL clearing stale cache records
David Mudrak [Fri, 14 Jan 2011 10:26:14 +0000 (11:26 +0100)]
MDL-25980 MNet: missing remotecourseid parameter in SQL clearing stale cache records

Because the remotecourseid parameter was missing in SQL, all cache
records for other courses from that host were cleared.

10 years agoNOMDL MNet: Fixed incorrect remote course ID passed
David Mudrak [Fri, 14 Jan 2011 09:09:25 +0000 (10:09 +0100)]
NOMDL MNet: Fixed incorrect remote course ID passed

The param is deprecated anyway, it had to be blindly copied from a
legacy code.

10 years agoMDL-25860 adding missing blocks to groupings page
Petr Skoda [Fri, 14 Jan 2011 09:41:12 +0000 (10:41 +0100)]
MDL-25860 adding missing blocks to groupings page

10 years agoMDL-25973 add missing charset
Petr Skoda [Fri, 14 Jan 2011 08:32:17 +0000 (09:32 +0100)]
MDL-25973 add missing charset

10 years agoMDL-17884: Add test_download_file_content and componentlib to unittest. Credit goes...
Rossiani Wijaya [Fri, 14 Jan 2011 06:52:24 +0000 (14:52 +0800)]
MDL-17884: Add test_download_file_content and componentlib to unittest. Credit goes to Tomasz Muras

10 years agoMDL-25729_m20: fix invalid string in splash theme
Rossiani Wijaya [Fri, 17 Dec 2010 07:27:11 +0000 (15:27 +0800)]
MDL-25729_m20: fix invalid string in splash theme

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

10 years agoMDL-25962 removing obsolete YUI 2.8.1 library
Petr Skoda [Thu, 13 Jan 2011 09:13:52 +0000 (10:13 +0100)]
MDL-25962 removing obsolete YUI 2.8.1 library

10 years agoMDL-25936 fixed user upload when manual plugin not first
Petr Skoda [Wed, 12 Jan 2011 21:07:48 +0000 (22:07 +0100)]
MDL-25936 fixed user upload when manual plugin not first

10 years agoMDL-25837 adding missing modinfo course property
Ashley Holman [Wed, 12 Jan 2011 20:44:16 +0000 (21:44 +0100)]
MDL-25837 adding missing modinfo course property

10 years agoMDL-25837 detect invalid course parameter when getting fast modinfo
Petr Skoda [Wed, 12 Jan 2011 20:40:34 +0000 (21:40 +0100)]
MDL-25837 detect invalid course parameter when getting fast modinfo

10 years agoMDL-25907 purge sessions of not-logged-in users
Ashley Holman [Wed, 12 Jan 2011 19:14:00 +0000 (20:14 +0100)]
MDL-25907 purge sessions of not-logged-in users

10 years agoMDL-25836 fixed stripped src attribute from script tag
Petr Skoda [Tue, 11 Jan 2011 21:01:43 +0000 (22:01 +0100)]
MDL-25836 fixed stripped src attribute from script tag

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 agoMDL-25935 user_picture::unalias() now handles null values correctly
David Mudrak [Mon, 10 Jan 2011 23:27:42 +0000 (00:27 +0100)]
MDL-25935 user_picture::unalias() now handles null values correctly

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

10 years agocourse MDL-25831 removed trailing whitespace
andyjdavis [Wed, 5 Jan 2011 07:08:18 +0000 (15:08 +0800)]
course MDL-25831 removed trailing whitespace

10 years agocommunity hub finder MDL-25768 private hubs weren't displayed in the hub list
jeromemoodle [Wed, 5 Jan 2011 06:27:54 +0000 (14:27 +0800)]
community hub finder MDL-25768 private hubs weren't displayed in the hub list

10 years agojavascript MDL-24521 Fixed confirm dialog bug. Kudos to John Anderson for his work...
Sam Hemelryk [Wed, 5 Jan 2011 06:02:42 +0000 (14:02 +0800)]
javascript MDL-24521 Fixed confirm dialog bug. Kudos to John Anderson for his work on the patch and James Brisland for help testing.

10 years agoMerge branch 'MDL-25525' of git://git.luns.net.uk/moodle
Sam Hemelryk [Tue, 4 Jan 2011 05:47:55 +0000 (13:47 +0800)]
Merge branch 'MDL-25525' of git://git.luns.net.uk/moodle

10 years agocourse MDL-25831 made course request notifications work
andyjdavis [Tue, 4 Jan 2011 05:35:08 +0000 (13:35 +0800)]
course MDL-25831 made course request notifications work