David Mudrak
e48477d94f
MDL-22414 Fixed standard copyright file headers (R0417)
2011-05-10 17:57:59 +02:00
Eloy Lafuente (stronk7)
5b01180aed
Apply parser processor new methods + observe $CFG->keeptempdirectoriesonbackup
2011-05-10 17:57:58 +02:00
Mark Nielsen
be85390109
Adding moodle_backup.xml generation and updating course structure step
2011-05-10 17:57:58 +02:00
Mark Nielsen
8e2c53665e
Adding basic block instance conversion
2011-05-10 17:57:58 +02:00
Mark Nielsen
5aee1af3f1
Adding plugin abstract class and adding a step to activities to generate their module.xml
2011-05-10 17:57:57 +02:00
Mark Nielsen
7c9d2927b8
Cleanup from last commit, just wanted prototype code to be saved to VCS
2011-05-10 17:57:57 +02:00
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
c749527bec
MDL-20636 Finished backup and restore of attempt data. Yay
2011-05-05 21:26:25 +01: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
Tim Hunt
9e06daf251
MDL-27394 Moodle 2.0 backup and restore may randomise the order of multichoice/numerical/shortanswer answers
2011-05-05 18:53:43 +01:00
Tim Hunt
d6522c33a1
MDL-20636 Fix qtype backup issues.
2011-05-03 17:53:12 +01:00
Tim Hunt
bea1a6a73a
MDL-20636 Work-in-progress on quiz attempt backup and restore.
2011-04-28 21:21:43 +01:00
Tim Hunt
d1de533164
MDL-20636 qtype_numerical oops, I deleted a function from the wrong place. Fix.
2011-04-28 20:22:45 +01:00
Tim Hunt
5d2465c3f4
MDL-20636 numerical qtype: assorted changes
...
1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.
2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.
3. Using this to wark students if they enter an answer that is not
recognised as a number.
2011-04-28 20:06:47 +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
Tim Hunt
515e6b97b5
MDL-20636 Restore of question hints, and some other minor clean-up.
2011-03-02 17:43:02 +00:00