Mark Nielsen
72c089f117
Adding in activity support and adding base forum classes as proof of concept
2011-05-10 17:57:57 +02:00
Mark Nielsen
534d4294a4
Section conversion
2011-05-10 17:57:57 +02:00
Mark Nielsen
30a4a49421
Figured out how to get the final task to work properly
2011-05-10 17:57:56 +02:00
Mark Nielsen
7125544864
Adding to moodle1 abstract structured step
2011-05-10 17:57:56 +02:00
Mark Nielsen
d2c32ec8a1
A start at a moodle1 abstract structured step
2011-05-10 17:57:56 +02:00
Mark Nielsen
be145927c5
Creating stepslib.php and taskslib.php
2011-05-10 17:57:55 +02:00
Mark Nielsen
56bd1ab0e1
Added use of get_contextid and fixed some problems
2011-05-10 17:57:55 +02:00
Philip Cali
a656fcb387
Adding the convert_file function to the file manager.
2011-05-10 17:57:55 +02:00
Mark Nielsen
62c5daf122
Adding doc block todos
2011-05-10 17:57:55 +02:00
Mark Nielsen
6c0235b375
Adding doc block
2011-05-10 17:57:54 +02:00
Mark Nielsen
e10e887905
Might make it faster...
2011-05-10 17:57:54 +02:00
Mark Nielsen
eba6af755c
Re-arranging function definition
2011-05-10 17:57:53 +02:00
Philip Cali
142ec51fcd
Added contextid generation... I think.
2011-05-10 17:57:53 +02:00
Mark Nielsen
970bc1f3e0
Adding root and final tasks
2011-05-10 17:57:53 +02:00
Mark Nielsen
bb2e1609c5
Full example implementation of the convert course step
2011-05-10 17:57:53 +02:00
Philip Cali
5c10f37b8a
Adding vanilla 1.9 moodle.xml for unit testing.
2011-05-10 17:57:52 +02:00
Mark Nielsen
dda19810e0
Starting to unit test - fixed bugs, things are... working!?!
2011-05-10 17:57:52 +02:00
Mark Nielsen
653bc98b0e
Fixing several bugs while actually trying to execute some of the code
2011-05-10 17:57:52 +02:00
Mark Nielsen
5af8804415
Moving converters into sub-directories so they can have other files and simpletest directories specific to them
2011-05-10 17:57:51 +02:00
Mark Nielsen
8450e2c41f
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.
2011-05-10 17:57:51 +02:00
Mark Nielsen
c5c8b3503a
Making the conversion process more re-usable
2011-05-10 17:57:51 +02:00
Mark Nielsen
1e8c265c2b
Added converter format detection and added conversion logic to restore controller
2011-05-10 17:57:50 +02:00
Mark Nielsen
7336701ff1
Minor fixes and added more methods
2011-05-10 17:57:50 +02:00
Mark Nielsen
17252e2d8a
Adding some of the base classes and starting to fill out their methods/properties
2011-05-10 17:57:50 +02:00
Tim Hunt
7bbe96dc16
MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers
2011-05-05 19:17:41 +01:00
Sam Hemelryk
e1ce7c7e7b
Merge branch 'MDL-26896' of git://github.com/stronk7/moodle
2011-04-11 14:48:01 +08:00
Eloy Lafuente (stronk7)
14e6710d99
MDL-26896 parser - add start/end path notifications
2011-04-11 02:16:58 +02:00
Aparup Banerjee
ca3617c513
MDL-26319 moved cancel_backup() from backup_ui to cancel_process() in base_ui and renamed callers. fix for method inheritance in restore_ui.
2011-04-07 10:39:34 +08:00
Dan Marsden
7fd4730805
Plagiarism MDL-26939 - missing return
2011-03-24 14:46:35 +13:00
Dan Marsden
571ae25286
MDL-21432 backup - add plagiarism plugin hooks for course and module
2011-03-14 11:44:14 +01:00
sam marshall
69ae86ea5f
MDL-26606 Theme backup: Minor improvement to make it more consistent with other backup
2011-03-10 12:57:27 +00:00
Petr Skoda
25ca24d59f
Merge branch 'MDL-25388_restore_activities_target' of git://github.com/stronk7/moodle
2011-03-07 12:32:46 +01:00
Eloy Lafuente (stronk7)
4b43b1074f
backup MDL-26572 add new param to plugin and subplugin functions
2011-03-07 00:16:25 +01:00
Eloy Lafuente (stronk7)
07a36633f9
Merge branch 'MDL-26572_backup_sum' of git://github.com/andyjdavis/moodle
2011-03-07 00:10:16 +01:00
Eloy Lafuente (stronk7)
165b7bd987
MDL-25388 restore - confusing options restoring 1-activity
2011-03-04 19:45:43 +01:00
sam marshall
89213d0041
backup MDL-26606 Backup should allow themes to have course data; also fix course theme restore
2011-03-04 15:53:48 +00:00
Andrew Davis (andyjdavis)
98529b009b
backup MDL-26572 made restore store null instead of 0
2011-03-04 12:14:00 +08:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
David Mudrak
29cbe43189
MDL-13481 Strings fullname and shortname are now deprecated
...
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.
AMOS BEGIN
CPY [fullname,core],[outcomefullname,core_grades]
CPY [shortname,core],[outcomeshortname,core_grades]
CPY [name,core],[rolefullname,core_role]
CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Eloy Lafuente (stronk7)
e4f72d1428
MDL-26513 restore - observe target site restrictmodulesfor setting
2011-02-21 15:58:20 +01:00
Petr Skoda
3bc644ce70
Merge branch 'MDL-26405_take_two' of git://github.com/stronk7/moodle
2011-02-16 20:24:54 +01:00
Eloy Lafuente (stronk7)
0149e6c713
MDL-26405 restore - dispatch able to skip branches
...
after this change any restore_structure_step processor
method is able to instruct the dispatcher about to skip
any path below it. Until now, we were doing the checks on
each child processor method, but that was inneficient and
prone to errors (easy to miss the check in a child so some
orphaned piezes of restore may be causing mess here and there).
Once implemented, it's simlpy a matter of the parent deciding if
all its children must be processed or no. Easier for developers
and also small speed improvement because avoids unnecesary
dispatching/processing to happen.
Surely only will be used in parts of core, like in question_categories,
saving 50-60 sub processors (sub-paths) to be dispatched.
2011-02-16 19:13:56 +01:00
Petr Skoda
c9e12de4e3
Merge branch 'MDL-26405_qtype_exception_wip' of git://github.com/stronk7/moodle
2011-02-16 09:59:14 +01:00
Eloy Lafuente (stronk7)
0ff7159edb
MDL-26405 restore - incorrectly thrown exception
2011-02-15 23:28:00 +01:00
Eloy Lafuente (stronk7)
8afbe44f7d
MDL-25863 backup - fix removal of old automated backup, both in filearea and filesystem
2011-02-14 21:38:45 +01:00
Eloy Lafuente (stronk7)
02cf691951
MDL-25863 backup - take rid of dupe code for filename calculations
2011-02-14 21:36:27 +01:00
Petr Skoda
251e5a8b62
Merge branch 'MDL-22146_backup_course_format_wip' of git://github.com/stronk7/moodle
2011-02-14 21:08:19 +01:00
Petr Skoda
995b6ff605
Merge branch 'MDL-26229_restore_attempts_wip' of git://github.com/stronk7/moodle
2011-02-14 21:02:49 +01:00
Petr Skoda
d2592c9b54
Merge branch 'MDL-26399_oracle_restore_wip' of git://github.com/stronk7/moodle
2011-02-14 20:34:58 +01:00
Eloy Lafuente (stronk7)
d84fe4c8a6
MDL-26399 restore - fix oracle/mssql problems
2011-02-14 19:42:57 +01:00