Eloy Lafuente (stronk7) [Wed, 6 Jul 2011 00:05:20 +0000 (02:05 +0200)]
Merge branch 'w26_MDL-28167_m22_exconstructor' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 23:52:32 +0000 (01:52 +0200)]
Merge branch 'wip-MDL-28172-master' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 23:45:15 +0000 (01:45 +0200)]
Merge branch 'MDL-28179' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 23:29:27 +0000 (01:29 +0200)]
Merge branch 'MDL-28193' of git://git.luns.net.uk/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 20:00:51 +0000 (22:00 +0200)]
MDL-28196 quiz calls get_in_or_equal (fixing missing $DB)
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 17:55:31 +0000 (19:55 +0200)]
Merge branch 'MDL-28196' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 17:41:32 +0000 (19:41 +0200)]
Merge branch 'MDL-27821' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 15:58:55 +0000 (17:58 +0200)]
Merge branch 'MDL-28185_master' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 15:46:46 +0000 (17:46 +0200)]
Merge branch 'MDL-26618' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2011 13:37:16 +0000 (15:37 +0200)]
MDL-28185 upgrade - fix oracle problem upgrading blocks
Tim Hunt [Tue, 5 Jul 2011 13:29:30 +0000 (14:29 +0100)]
MDL-28196 quiz calls get_in_or_equal (not DB->get_in_or_equal) in two places
Also, another minor error in one method call.
Andrew Robert Nicols [Tue, 5 Jul 2011 10:58:14 +0000 (11:58 +0100)]
MDL-28193 Add $external arg to get_driver_instance
Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Sam Hemelryk [Tue, 5 Jul 2011 08:51:49 +0000 (16:51 +0800)]
Merge branch 'MDL-25357_wip' of git://github.com/timhunt/moodle
Iñaki Arenaza [Mon, 4 Jul 2011 19:38:53 +0000 (21:38 +0200)]
MDL-24666 sync_users.php can throw db exception on sites upgraded from 1.x
From 2.0 on we lowercase all the settings related to LDAP attributes
to cope with differences in LDAP servers when returning attribute
names as array indices (some lowercase them, some leave them as
specified in the query, some normalize them, etc.).
But we only lowercase them when saving the settings page. So on sites
that have been migrated from 1.x, it may happen that we still have
mixed-case attribute names. And this is fatal for the user_attribute
setting, as we might not detect it in the returned array from LDAP and
it will be empty (and the db layer throws and exception).
So we just make sure the attribute name is lowercased (and trimmed,
in case it's got some white space around it).
Signed-off-by: Iñaki Arenaza <iarenaza@mondragon.edu>
Tim Hunt [Mon, 4 Jul 2011 17:55:45 +0000 (18:55 +0100)]
MDL-28179 make failed event hander error message much more useful.
Petr Skoda [Mon, 4 Jul 2011 14:42:55 +0000 (16:42 +0200)]
MDL-28167 fix missing new
And sloppy whitespace.
Tim Hunt [Sat, 26 Feb 2011 11:26:13 +0000 (11:26 +0000)]
MDL-26618 Moving sticky blocks on other pages does not work in Oracle.
This was due to some missing $DB->sql_empty() in a query affecting the
block_positions table.
Tim Hunt [Fri, 10 Jun 2011 14:44:20 +0000 (15:44 +0100)]
MDL-27821 backup_exception should not throw away debug info.
Tim Hunt [Mon, 7 Mar 2011 18:08:04 +0000 (18:08 +0000)]
MDL-25357 Allow maximum number of sections to be set by the admin. Also allow 0 sections at an choice.
Also fix one bad <br/> in another lang string.
Sam Hemelryk [Mon, 4 Jul 2011 07:04:16 +0000 (15:04 +0800)]
MDL-28172 forum: Fixed up overzealous check for portfolio enabled.
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 21:58:02 +0000 (23:58 +0200)]
weekly release 2.2dev
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 21:47:23 +0000 (23:47 +0200)]
release 2.1
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 21:39:00 +0000 (23:39 +0200)]
fix permissions
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 20:33:04 +0000 (22:33 +0200)]
Merge branch 'MDL-28152-course-grade-category' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 20:17:16 +0000 (22:17 +0200)]
Merge branch 'MDL-28103' of git://github.com/timhunt/moodle
Tim Hunt [Fri, 1 Jul 2011 20:17:06 +0000 (21:17 +0100)]
MDL-28103 one more problem.
David Mudrak [Fri, 1 Jul 2011 20:10:21 +0000 (22:10 +0200)]
MDL-28152 Improved detection of the course grade_category on course restore
Tim Hunt [Fri, 1 Jul 2011 19:58:39 +0000 (20:58 +0100)]
MDL-28103 code to deal with missing question_attempts was buggy.
Tim Hunt [Fri, 1 Jul 2011 19:41:07 +0000 (20:41 +0100)]
MDL-28103 make the upgrade more robust in the presence of old garbage data in the DB.
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 18:29:07 +0000 (20:29 +0200)]
MDL-27829 blocks - lang string fixes. Credit goes to Helen!
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 17:41:28 +0000 (19:41 +0200)]
MDL-27829 blocks - clean dupe comments
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 16:29:39 +0000 (18:29 +0200)]
MDL-27829 block creation - ensure correct pagetypepattern in mod/ pages
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 14:23:28 +0000 (16:23 +0200)]
MDL-27829 course report - fix name of "Course completion report". Credit goes to Helen!
Tim Hunt [Wed, 29 Jun 2011 23:36:45 +0000 (00:36 +0100)]
MDL-28103 when handling questions that have been deleted from the question bank, find the right updater class.
Tim Hunt [Wed, 29 Jun 2011 23:25:22 +0000 (00:25 +0100)]
MDL-28103 fix silly error in quiz_upgrade_very_old_question_sessions.
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 14:13:51 +0000 (16:13 +0200)]
Merge branch 'MDL-27960' of git://github.com/nebgor/moodle
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 11:43:05 +0000 (13:43 +0200)]
Merge branch 's11_MDL-27976_undefined_variable_master' of github.com:dongsheng/moodle
Aparup Banerjee [Wed, 22 Jun 2011 09:20:19 +0000 (17:20 +0800)]
MDL-27960 assignment subplugin moodle1 conversion handling and handlers added
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 09:51:26 +0000 (11:51 +0200)]
Merge branch 'MDL-27829_block_pagetype_master' of git://github.com/andyjdavis/moodle
Andrew Davis (andyjdavis) [Fri, 1 Jul 2011 09:02:44 +0000 (17:02 +0800)]
MDL-27829 blocks: made the ability to add a block to all site administration pages work
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 09:05:17 +0000 (11:05 +0200)]
Merge branch 'MDL-27418' of git://github.com/timhunt/moodle
Sam Hemelryk [Fri, 1 Jul 2011 09:01:57 +0000 (17:01 +0800)]
Merge branch 'MDL-28138' of git://github.com/timhunt/moodle
Tim Hunt [Fri, 1 Jul 2011 08:44:31 +0000 (09:44 +0100)]
MDL-27418 fix minor regression found by Rajesh.
Eloy Lafuente (stronk7) [Fri, 1 Jul 2011 08:40:15 +0000 (10:40 +0200)]
Merge branch 'MDL-28022-glossary-export' of git://github.com/mudrd8mz/moodle
Tim Hunt [Fri, 1 Jul 2011 08:14:56 +0000 (09:14 +0100)]
MDL-28138 fix calculated-specific format float function
Sadly this has to be done in question.php and in two places in the ugprade code :-(.
Andrew Davis (andyjdavis) [Fri, 1 Jul 2011 07:43:26 +0000 (15:43 +0800)]
MDL-27829 blocks: added some more page types to some _page_type_list() functions
Sam Hemelryk [Fri, 1 Jul 2011 07:07:21 +0000 (15:07 +0800)]
Merge branch 's11_MDL-28121_split_master' of github.com:dongsheng/moodle
Andrew Davis (andyjdavis) [Fri, 1 Jul 2011 02:01:38 +0000 (10:01 +0800)]
MDL-27829 blocks: altered some strings so page type strings match the names of the course reports in the UI
David Mudrak [Fri, 1 Jul 2011 00:34:00 +0000 (02:34 +0200)]
MDL-28022 glossary entry without attachment can be exported to Mahara as Leap2A content
The problem here was that the manifest file was written into the
'./files/leap2a.xml' instead of the './leap2a.xml' in the ZIP package.
I believe there was a bug in the write_new_file() using the 3rd parameter
incorrectly. A detailed review of all other modules using the same
method must happen soon.
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 23:49:59 +0000 (01:49 +0200)]
Merge branch 'MDL-28128' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 23:41:38 +0000 (01:41 +0200)]
Merge branch 'MDL-28129' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 23:37:43 +0000 (01:37 +0200)]
Merge branch 'MDL-28132' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 23:10:06 +0000 (01:10 +0200)]
Merge branch 'MDL-28133' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 22:54:35 +0000 (00:54 +0200)]
Merge branch 'MDL-28099_wip' of git://github.com/jamiepratt/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 22:09:50 +0000 (00:09 +0200)]
Merge branch 'MDL-28006-convert-gradebook' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 21:56:53 +0000 (23:56 +0200)]
Merge branch 'MDL-28116-master' of git://github.com/sammarshallou/moodle
David Mudrak [Thu, 30 Jun 2011 20:40:54 +0000 (22:40 +0200)]
MDL-28006 restore - improved handling of gradebook 1.9 backups
On contrary from a backup created in 2.0, the file gradebook.xml in the
converted MBZ can contain the course grade_item without the
corresponding grade_category record which is something restore_stepslib
did not expect. This patch fixes two places:
1) the gradebook restore does not use mapped itemid but calls
grade_category::fetch_course_category() to get the actual category to
link the course_item with
2) after_execute makes sure that the mapping actually exists before
trying to move the activities from the default root category
Tim Hunt [Thu, 30 Jun 2011 18:34:44 +0000 (19:34 +0100)]
MDL-28132 truncate very long category names before using them in random question names.
Jamie Pratt [Tue, 31 May 2011 09:20:13 +0000 (16:20 +0700)]
NOBUG if we are going to reuse the functions used within the evalmath code then
the calling api should not be weird with reversed parameters etc.
Jamie Pratt [Sat, 28 May 2011 13:47:34 +0000 (20:47 +0700)]
MDL-27659 "have evalmath accept numbers expressed with scientific
notation"
Jamie Pratt [Sat, 28 May 2011 13:31:46 +0000 (20:31 +0700)]
NOBUG fixed some coding style deviations in unit test code. Mostly
white space changes and added scope declarations to unit test
functions.
jamiepratt [Thu, 14 Apr 2011 05:48:47 +0000 (12:48 +0700)]
NOBUG move pattern for func and var names into a static var and make a function to test a string to see if it is a valid func or var name.
sam marshall [Thu, 30 Jun 2011 16:27:18 +0000 (17:27 +0100)]
MDL-28116 Fix issue restoring old backups with duplicate completion rows
Jamie Pratt [Thu, 30 Jun 2011 16:21:37 +0000 (17:21 +0100)]
MDL-28129 two issues with loading and saving questions
1. Missing order by could randomise the order of the hints.
2. the extraanswerfields big had some SQL errros.
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 15:09:42 +0000 (17:09 +0200)]
Merge branch 'MDL-28115' of git://github.com/rwijaya/moodle
Tim Hunt [Thu, 30 Jun 2011 15:00:15 +0000 (16:00 +0100)]
MDL-28128 finish the fix for MDL-28035.
There was one place where I had only fixed the backup code to work-around bad data from Moodle 2.0. I needed to make the equivalent change in the upgrade code.
The bad data is that the seq_number fields can be wrong (not unique). Se already have data ordered by (seq_number, id) and the array keys of the array we are building are not used for anything, so this fix deals with the problem.
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 14:39:45 +0000 (16:39 +0200)]
Merge branch 'MDL-27829_block_pagetype_master' of git://github.com/andyjdavis/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 14:22:20 +0000 (16:22 +0200)]
Merge branch 'MDL-28061' of git://github.com/rwijaya/moodle
Tim Hunt [Thu, 30 Jun 2011 14:20:42 +0000 (15:20 +0100)]
MDL-28127 incorrect lang string placeholder in question engine upgrade.
David Mudrak [Thu, 30 Jun 2011 13:17:03 +0000 (15:17 +0200)]
MDL-28006 Fixed grades subpath handling
Registering the grades subpath even if we do not process the grades yet.
This is to prevent from incorrect considering the wrapper as an empty tag.
Rossiani Wijaya [Thu, 30 Jun 2011 11:29:07 +0000 (19:29 +0800)]
MDL-28061 mediaplugins filter: add aac audio node to filetypes.mm, fixed string mistype within the admin setting page (acc -> aac) and add mediaplugin_html5audio css class to align the player/link like the rest.
Rossiani Wijaya [Thu, 30 Jun 2011 10:43:25 +0000 (18:43 +0800)]
MDL-28115 lesson module: fixed undefined variable for multiple answer, disabled numberical input text during review and fixed bug for essay answer during review process.
Dongsheng Cai [Thu, 30 Jun 2011 09:46:44 +0000 (17:46 +0800)]
MDL-27976, Fixed undefined variable
Andrew Davis (andyjdavis) [Thu, 30 Jun 2011 09:35:15 +0000 (17:35 +0800)]
MDL-27829 blocks: added a warning to the block settings page that displays when the block was using a block type we dont let users select anymore
Dongsheng Cai [Thu, 30 Jun 2011 09:34:36 +0000 (17:34 +0800)]
MDL-28121, fixed deprecated split() function
Andrew Davis (andyjdavis) [Thu, 30 Jun 2011 07:49:09 +0000 (15:49 +0800)]
MDL-27829 blocks: improved backwards compatibility for blocks set to display on page types we dont allow the user to select anymore
Jamie Pratt [Thu, 30 Jun 2011 07:34:10 +0000 (14:34 +0700)]
MDL-28099 Fixed regression as outlined in tracker.
Andrew Davis (andyjdavis) [Thu, 30 Jun 2011 07:30:34 +0000 (15:30 +0800)]
MDL-27829 blocks: added code to make the page type restrictions for blocks on admin setting pages make sense
Sam Hemelryk [Thu, 30 Jun 2011 02:49:29 +0000 (10:49 +0800)]
Merge branch 'MDL-24684_master' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Thu, 30 Jun 2011 01:37:30 +0000 (03:37 +0200)]
MDL-24684 backup - basic protection against time/memory limits
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 23:59:49 +0000 (01:59 +0200)]
Merge branch 'MDL-28044' of git://github.com/nebgor/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 23:54:19 +0000 (01:54 +0200)]
Merge branch 'MDL-15587-head' of git://github.com/grabs/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 23:16:57 +0000 (01:16 +0200)]
Merge branch 'MDL-19864_database_excel_export' of git://github.com/andyjdavis/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 23:13:34 +0000 (01:13 +0200)]
Merge branch 'wip-MDL-27431-master' of git://github.com/Beedell/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 23:10:51 +0000 (01:10 +0200)]
Merge branch 'master_MDL-28016' of git://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 22:55:20 +0000 (00:55 +0200)]
Merge branch 'wip-MDL-25249-master-r1' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 22:20:43 +0000 (00:20 +0200)]
Merge branch 'MDL-27149' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 22:02:51 +0000 (00:02 +0200)]
Merge branch 'MDL-28055' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 22:00:12 +0000 (00:00 +0200)]
Merge branch 'MDL-28108' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 21:57:08 +0000 (23:57 +0200)]
MDL-27418 qtype numerical - minor whitespace fix
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 21:51:33 +0000 (23:51 +0200)]
Merge branch 'MDL-27418' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 21:33:01 +0000 (23:33 +0200)]
Merge branch 'MDL-27430' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 21:09:13 +0000 (23:09 +0200)]
Merge branch 'MDL-28074' of git://github.com/timhunt/moodle
Tim Hunt [Wed, 29 Jun 2011 21:02:53 +0000 (22:02 +0100)]
MDL-28108 oops! I got the cut-off percentage wrong.
Tim Hunt [Wed, 29 Jun 2011 13:39:16 +0000 (14:39 +0100)]
MDL-28074 question preview should set context/course/cm properly.
1. We need this so that, for example, when previewing a question from
the quiz editing page, the preview uses the filter settings, theme and
language set for that quiz and course.
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 19:00:06 +0000 (21:00 +0200)]
Merge branch 'pagelib_single' of git://github.com/marxjohnson/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 18:58:27 +0000 (20:58 +0200)]
Merge branch 'MDL-28028' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 18:47:16 +0000 (20:47 +0200)]
Merge branch 'MDL-28035' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 18:44:49 +0000 (20:44 +0200)]
Merge branch 'MDL-28037' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 29 Jun 2011 18:11:17 +0000 (20:11 +0200)]
Merge branch 'MDL-28087_friendly_jabber' of git://github.com/andyjdavis/moodle