David Mudrak [Fri, 13 May 2011 01:16:13 +0000 (03:16 +0200)]
Merge branch 'master' into backup-convert
David Mudrak [Fri, 13 May 2011 01:09:26 +0000 (03:09 +0200)]
Removing relics of the previous plan/tasks/steps based implementation
Kudos to Mark Nielsen for his initial work on this project. In his code,
Mark described the valuable logic of the conversion using a framework
mirroring plan/tasks/steps based architecture of the backup and restore.
My attempt to simplify it led to the current handlers-based
architecture.
David Mudrak [Fri, 13 May 2011 00:42:44 +0000 (02:42 +0200)]
MDL-27444 Choice module 1.9 backup converts to 2.0 format
So far, user related data are not supported by the project.
David Mudrak [Fri, 13 May 2011 00:41:47 +0000 (02:41 +0200)]
Improved course module info conversion
David Mudrak [Thu, 12 May 2011 16:36:03 +0000 (18:36 +0200)]
Refactored get_contextid() and unit tests for it
David Mudrak [Thu, 12 May 2011 16:18:29 +0000 (18:18 +0200)]
Improved the moodle1_convert stashing subsystem
David Mudrak [Thu, 12 May 2011 13:32:36 +0000 (15:32 +0200)]
More backup-converter API improvements
Added write_xml() helper that writes the given tree-ish structure into
the current xml writer. Improved get_contextid() so that it can use
indices for searching data. Added set_stash() and get_stash() helper
methods.
Eloy Lafuente (stronk7) [Wed, 11 May 2011 13:12:20 +0000 (15:12 +0200)]
weekly release 2.1dev
David Mudrak [Wed, 11 May 2011 01:28:39 +0000 (03:28 +0200)]
MDL-27376 MDL-27377 MDL-27378 Backup converters refactoring - still work in progress
This patch mainly adds support for dispatching path-start and path-end events,
defines API to access backup_ids_temp table. Some ideas emailed by Mark
after his first review of the code are incorporated already.
David Mudrak [Mon, 9 May 2011 08:16:00 +0000 (10:16 +0200)]
MDL-27376 MDL-27377 MDL-27378 Backup converters refactoring - work in progress
These are David's changes of Mark's code that replace the
plan/tasks/steps infrastructure with a bit simpler one. The changes will
be described in the next commit that will actually finish the
conversion.
TODO: refactor backup/converter/moodle1/stepslib.php into conversion
handlers.
David Mudrak [Thu, 5 May 2011 00:21:23 +0000 (02:21 +0200)]
MDL-27376 MDL-27377 Backup converters API refactored
* Several base_converter methods made protected when there was no obvious
reason why they should be public (subject of eventual change still).
* The conversion chain now constructed in advance before any converter
class is instantiated, using Dijkstra's algorithm.
David Mudrak [Wed, 4 May 2011 14:16:57 +0000 (16:16 +0200)]
MDL-22414 Fixed standard copyright file headers (R0417)
Eloy Lafuente (stronk7) [Thu, 14 Apr 2011 18:16:17 +0000 (20:16 +0200)]
Apply parser processor new methods + observe $CFG->keeptempdirectoriesonbackup
Mark Nielsen [Tue, 22 Mar 2011 20:35:21 +0000 (13:35 -0700)]
Adding moodle_backup.xml generation and updating course structure step
Mark Nielsen [Mon, 21 Mar 2011 23:49:28 +0000 (16:49 -0700)]
Adding basic block instance conversion
Mark Nielsen [Mon, 21 Mar 2011 22:32:54 +0000 (15:32 -0700)]
Adding plugin abstract class and adding a step to activities to generate their module.xml
Mark Nielsen [Mon, 21 Mar 2011 21:35:33 +0000 (14:35 -0700)]
Cleanup from last commit, just wanted prototype code to be saved to VCS
Mark Nielsen [Mon, 21 Mar 2011 21:31:21 +0000 (14:31 -0700)]
Adding in activity support and adding base forum classes as proof of concept
Mark Nielsen [Fri, 18 Mar 2011 23:03:52 +0000 (16:03 -0700)]
Section conversion
Mark Nielsen [Thu, 17 Mar 2011 22:08:51 +0000 (15:08 -0700)]
Figured out how to get the final task to work properly
Mark Nielsen [Mon, 14 Mar 2011 22:01:25 +0000 (15:01 -0700)]
Adding to moodle1 abstract structured step
Mark Nielsen [Mon, 14 Mar 2011 21:25:29 +0000 (14:25 -0700)]
A start at a moodle1 abstract structured step
Mark Nielsen [Mon, 14 Mar 2011 20:56:11 +0000 (13:56 -0700)]
Creating stepslib.php and taskslib.php
Mark Nielsen [Mon, 14 Mar 2011 20:41:42 +0000 (13:41 -0700)]
Added use of get_contextid and fixed some problems
Philip Cali [Mon, 14 Mar 2011 19:27:50 +0000 (14:27 -0500)]
Adding the convert_file function to the file manager.
Mark Nielsen [Mon, 14 Mar 2011 19:38:22 +0000 (12:38 -0700)]
Adding doc block todos
Mark Nielsen [Mon, 14 Mar 2011 19:37:40 +0000 (12:37 -0700)]
Adding doc block
Mark Nielsen [Mon, 14 Mar 2011 19:35:36 +0000 (12:35 -0700)]
Might make it faster...
Mark Nielsen [Mon, 14 Mar 2011 19:34:17 +0000 (12:34 -0700)]
Re-arranging function definition
Philip Cali [Mon, 14 Mar 2011 18:38:10 +0000 (13:38 -0500)]
Added contextid generation... I think.
Mark Nielsen [Mon, 14 Mar 2011 19:25:18 +0000 (12:25 -0700)]
Adding root and final tasks
Mark Nielsen [Mon, 14 Mar 2011 19:01:31 +0000 (12:01 -0700)]
Full example implementation of the convert course step
Philip Cali [Fri, 11 Mar 2011 21:33:31 +0000 (15:33 -0600)]
Adding vanilla 1.9 moodle.xml for unit testing.
Mark Nielsen [Fri, 11 Mar 2011 21:06:24 +0000 (13:06 -0800)]
Starting to unit test - fixed bugs, things are... working!?!
Mark Nielsen [Fri, 11 Mar 2011 19:18:23 +0000 (11:18 -0800)]
Fixing several bugs while actually trying to execute some of the code
Mark Nielsen [Fri, 11 Mar 2011 18:40:28 +0000 (10:40 -0800)]
Moving converters into sub-directories so they can have other files and simpletest directories specific to them
Mark Nielsen [Fri, 11 Mar 2011 18:32:26 +0000 (10:32 -0800)]
Attempting to write up processing of the moodle.xml file - the converter collects all of the element paths to watch and then dispatches them to the convert_structure_step classes.
Mark Nielsen [Thu, 10 Mar 2011 18:17:13 +0000 (10:17 -0800)]
Making the conversion process more re-usable
Mark Nielsen [Thu, 10 Mar 2011 00:21:19 +0000 (16:21 -0800)]
Added converter format detection and added conversion logic to restore controller
Mark Nielsen [Wed, 9 Mar 2011 23:44:09 +0000 (15:44 -0800)]
Minor fixes and added more methods
Mark Nielsen [Wed, 9 Mar 2011 22:51:33 +0000 (14:51 -0800)]
Adding some of the base classes and starting to fill out their methods/properties
Sam Hemelryk [Tue, 10 May 2011 01:45:40 +0000 (09:45 +0800)]
Merge branch 'MDL-27140_master' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Mon, 9 May 2011 16:15:10 +0000 (18:15 +0200)]
MDL-27140 weeks course format - incorrect roll of dates on hidden sections
Credit goes to Nikhil Gupta, big thanks!
Eloy Lafuente (stronk7) [Mon, 9 May 2011 15:46:22 +0000 (17:46 +0200)]
Merge branch 'MDL-27401-master' of git://github.com/sammarshallou/moodle
sam marshall [Fri, 6 May 2011 10:53:23 +0000 (11:53 +0100)]
MDL-27401 Unit test errors in lib/simpletest/testpagelib_moodlepage.php
Andreas Grabs [Mon, 9 May 2011 09:27:06 +0000 (17:27 +0800)]
MDL-27422 The excel export fails in some conditions.
Sam Hemelryk [Mon, 9 May 2011 02:35:31 +0000 (10:35 +0800)]
Merge branch 'MDL-27325_master' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 9 May 2011 02:20:15 +0000 (10:20 +0800)]
Merge branch 'MDL-27367-HEAD' of git://github.com/srynot4sale/moodle
Eloy Lafuente (stronk7) [Mon, 9 May 2011 00:04:34 +0000 (02:04 +0200)]
Merge branch 'wip-MDL-27400-master' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Sun, 8 May 2011 23:58:38 +0000 (01:58 +0200)]
Merge branch 'MDL-27317-variable-name-typos' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Sun, 8 May 2011 23:54:46 +0000 (01:54 +0200)]
Merge branch 'MDL-27372' of git://github.com/nebgor/moodle
Eloy Lafuente (stronk7) [Sun, 8 May 2011 22:58:55 +0000 (00:58 +0200)]
Merge branch 'MDL-27391-master' of git://github.com/sammarshallou/moodle
David Mudrak [Mon, 2 May 2011 23:40:46 +0000 (01:40 +0200)]
MDL-27317 Fixed incorrect variable names in the language pack update
This was introduced by copying & pasting the code during 74a4c9.
Eloy Lafuente (stronk7) [Thu, 5 May 2011 16:21:18 +0000 (18:21 +0200)]
MDL-27325 Adding some extreme, but 32bits safe, float tests
Eloy Lafuente (stronk7) [Thu, 5 May 2011 16:10:10 +0000 (18:10 +0200)]
MDL-27325 Now also testing update_record and set_field
Eloy Lafuente (stronk7) [Thu, 5 May 2011 15:42:41 +0000 (17:42 +0200)]
MDL-27325 mysql: Avoid some implicit casting from float to varchar/text
Tim Hunt [Fri, 29 Apr 2011 19:11:04 +0000 (20:11 +0100)]
MDL-27325 New DB unit tests to demonstrate the problem.
Eloy Lafuente (stronk7) [Fri, 6 May 2011 12:44:46 +0000 (14:44 +0200)]
weekly release 2.1dev (emergency)
Sam Hemelryk [Fri, 6 May 2011 08:27:15 +0000 (16:27 +0800)]
MDL-27400 Fixed up typo in blocklib.php
Eloy Lafuente (stronk7) [Thu, 5 May 2011 20:00:58 +0000 (22:00 +0200)]
Merge branch 'MDL-27394_master' of git://github.com/timhunt/moodle
Tim Hunt [Thu, 5 May 2011 18:01:26 +0000 (19:01 +0100)]
MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers
sam marshall [Thu, 5 May 2011 11:10:27 +0000 (12:10 +0100)]
MDL-26778 Completion unit tests broken by earlier change
Aparup Banerjee [Thu, 5 May 2011 07:27:38 +0000 (15:27 +0800)]
MDL-27372 moved blog comments to end of body of blog entry. we now see the entire blog entry without comments in the way.
Sam Hemelryk [Thu, 5 May 2011 05:25:36 +0000 (13:25 +0800)]
Merge branch 's9_MDL-27382_dropbox_get_file_fix_master' of github.com:dongsheng/moodle
Sam Hemelryk [Thu, 5 May 2011 05:22:15 +0000 (13:22 +0800)]
Merge branch 's9_MDL-27381_overwrite_dialog_safari_master' of github.com:dongsheng/moodle
Sam Hemelryk [Thu, 5 May 2011 03:44:49 +0000 (11:44 +0800)]
Merge branch 's9_MDL-26854_spam_comments_master_2' of git://github.com/dongsheng/moodle
Dongsheng Cai [Thu, 5 May 2011 03:22:39 +0000 (11:22 +0800)]
MDL-26854 Added comments block lib.php, it contains comments callbacks
Sam Hemelryk [Thu, 5 May 2011 02:41:53 +0000 (10:41 +0800)]
Merge branch 's9_MDL-26854_spam_comments_master_2' of git://github.com/dongsheng/moodle
Dongsheng Cai [Thu, 5 May 2011 02:41:02 +0000 (10:41 +0800)]
MDL-27381 fixed 'overwrite files' dialog zindex in safari
Sam Hemelryk [Thu, 5 May 2011 02:18:39 +0000 (10:18 +0800)]
Merge branch 'MDL-26838_ratings_bad_data_master4' of git://github.com/andyjdavis/moodle
Dongsheng Cai [Thu, 5 May 2011 01:58:49 +0000 (09:58 +0800)]
MDL-27382 repository dropbox plugin, fixed bug of
file downloading path
Eloy Lafuente (stronk7) [Wed, 4 May 2011 22:35:40 +0000 (00:35 +0200)]
weekly release 2.1dev
Eloy Lafuente (stronk7) [Wed, 4 May 2011 14:08:59 +0000 (16:08 +0200)]
Merge branch 'MDL-25594-HEAD' of git://github.com/srynot4sale/moodle
Sam Hemelryk [Wed, 4 May 2011 10:04:10 +0000 (18:04 +0800)]
Merge branch 'MDL-26250-final6' of github.com:mouneyrac/moodle
Dongsheng Cai [Wed, 4 May 2011 09:23:46 +0000 (17:23 +0800)]
MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)
AMOS BEGIN
MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
Eloy Lafuente (stronk7) [Wed, 4 May 2011 09:18:22 +0000 (11:18 +0200)]
Merge branch 'MDL-26788_head' of git://github.com/rwijaya/moodle
Dongsheng Cai [Wed, 4 May 2011 07:46:15 +0000 (15:46 +0800)]
MDL-26388 Recent repository plugin should return draft url
Dongsheng Cai [Wed, 4 May 2011 07:46:15 +0000 (15:46 +0800)]
MDL-26388 Recent repository plugin should return draft url
Andrew Davis (andyjdavis) [Wed, 4 May 2011 07:00:16 +0000 (15:00 +0800)]
MDL-26838 rating: multiple fixes after a review of rating validation code
Sam Hemelryk [Wed, 4 May 2011 05:53:47 +0000 (13:53 +0800)]
Merge branch 's10_MDL-27330_dropbox_authorization_url_master' of github.com:dongsheng/moodle
Jerome Mouneyrac [Wed, 4 May 2011 04:23:18 +0000 (12:23 +0800)]
MDL-26250 Create a web service function that enrols users to a certain course
Aaron Barnes [Wed, 27 Apr 2011 03:56:48 +0000 (15:56 +1200)]
MDL-25594 completion: Remove unused column from query
Which is also a reserved word.
Aaron Barnes [Thu, 17 Mar 2011 02:04:33 +0000 (15:04 +1300)]
MDL-26190 completion blocks: Completion blocks shouldn't ever be blank
Dongsheng Cai [Tue, 3 May 2011 09:41:03 +0000 (17:41 +0800)]
MDL-27330 repository dropbox plugin
Dropbox changed authorization URL, and added a few error check code
Sam Hemelryk [Tue, 3 May 2011 08:27:31 +0000 (16:27 +0800)]
Merged MDL-26388 Fixed whitespace
Sam Hemelryk [Tue, 3 May 2011 07:41:34 +0000 (15:41 +0800)]
Merged MDL-25805 Renamed property and function to be a little more descriptive
Aaron Barnes [Wed, 27 Apr 2011 03:33:45 +0000 (15:33 +1200)]
MDL-26628 completion report: Fix hard coded strings in Completion report
Sam Hemelryk [Tue, 3 May 2011 02:51:06 +0000 (10:51 +0800)]
Merged MDL-27251 Fixed up whitespace, Fixed broken string, reworded new strings
Eloy Lafuente (stronk7) [Mon, 2 May 2011 23:08:00 +0000 (01:08 +0200)]
Merge branch 'MDL-25840' of git://github.com/nebgor/moodle
Eloy Lafuente (stronk7) [Mon, 2 May 2011 14:14:05 +0000 (16:14 +0200)]
Merge branch 'MDL-27293-customlang-timeout' of git://github.com/mudrd8mz/moodle
Aparup Banerjee [Fri, 15 Apr 2011 10:04:45 +0000 (18:04 +0800)]
MDL-25805 Roles propagated ugly hack for parent seeing child activities into navigation lib to display nav node.
Eloy Lafuente (stronk7) [Mon, 2 May 2011 09:46:10 +0000 (11:46 +0200)]
Merge branch 'MDL-26714_master' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 2 May 2011 06:43:24 +0000 (14:43 +0800)]
Merged changes and fixed whitespace issues for MDL-23188
Sam Hemelryk [Mon, 2 May 2011 06:21:16 +0000 (14:21 +0800)]
Merge branch 'MDL-26955-themedir-plugindirectory' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Mon, 2 May 2011 06:16:13 +0000 (14:16 +0800)]
Merge branch 'MDL-27116-themedir-config' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Mon, 2 May 2011 06:03:36 +0000 (14:03 +0800)]
Merge branch 'MDL-27155_master' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 2 May 2011 04:11:23 +0000 (12:11 +0800)]
Merge branch 'MDL-27246-cutomlang-version' of git://github.com/mudrd8mz/moodle
Dongsheng Cai [Mon, 2 May 2011 02:11:19 +0000 (10:11 +0800)]
MDL-26388, pop up a dialog when attaching a file already being used in draft area.
Tim Hunt [Sun, 1 May 2011 16:36:19 +0000 (17:36 +0100)]
MDL-27340 tablelib.php fix a notice when is false.
Andrew Davis (andyjdavis) [Fri, 1 Apr 2011 09:20:33 +0000 (17:20 +0800)]
MDL-26838 rating: remove logged in users ability to sidestep rating validity checks