64 Commits

Author SHA1 Message Date
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
bea1a6a73a MDL-20636 Work-in-progress on quiz attempt backup and restore. 2011-04-28 21:21:43 +01:00
Tim Hunt
515e6b97b5 MDL-20636 Restore of question hints, and some other minor clean-up. 2011-03-02 17:43:02 +00:00
Tim Hunt
beca0d8daf MDL-20636 Fix backup and restore issues found during testing. 2011-03-02 17:42:54 +00:00
Tim Hunt
f3ca24e418 MDL-20636 Update quiz and questions backup and restore.
This does not include user data yet, and it needs more testing.
2011-03-02 17:42:51 +00: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
251e5a8b62 Merge branch 'MDL-22146_backup_course_format_wip' of git://github.com/stronk7/moodle 2011-02-14 21:08:19 +01:00
Eloy Lafuente (stronk7)
d84fe4c8a6 MDL-26399 restore - fix oracle/mssql problems 2011-02-14 19:42:57 +01:00
Eloy Lafuente (stronk7)
a90659d6ba DL-22146 backup & restore - course formats remaining hooks 2011-02-11 00:07:32 +01:00
Eloy Lafuente (stronk7)
4fda584f28 MDL-22146 backup & restore - course formats first cut 2011-02-10 10:37:36 +01:00
Eloy Lafuente
f81f513325 MDL-25161 restore - keep course->numsections unmodified 2010-11-15 17:10:11 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Eloy Lafuente
648a575eda NOBUG: Added support for after_restore() methods on restore. Will help some blocks. 2010-11-01 15:53:35 +00:00
Eloy Lafuente
9f68f2d5a6 MDL-24817 backup - added support for decode contents in plugins (and qtypes) 2010-11-01 15:49:01 +00:00
Eloy Lafuente
e3c2e1b2f9 MDL-24921 backup - on restore create missing sections up to max one to avoid some warns 2010-10-28 22:38:03 +00:00
Eloy Lafuente
41941110fd MDL-22138 backup - I know smaller cathedrals than this, yay quizzes! 2010-10-24 10:43:42 +00:00
Eloy Lafuente
f2a9be5f8a MDL-22148 backup - support for manual/self/guest enrolments. Credit goes to Petr. 2010-09-21 10:42:19 +00:00
Eloy Lafuente
767cb7f03a MDL-22151 & MDL-22138 - Quiz activity backup & questions banks too!
CV S: ----------------------------------------------------------------------
2010-09-21 01:28:30 +00:00
Eloy Lafuente
0f8941e208 MDL-24302 backup - not using unexisting block->multiple anymore. Credit goes to skodak! 2010-09-20 21:06:21 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Sam Hemelryk
aa54831894 backup MDL-22254 Implemented course completion skip criteria for module criteria that cannot be restored. Cheers Eloy for spotting. 2010-09-17 07:58:36 +00:00
Sam Hemelryk
bd39b6f226 backup MDL-22254 Added backup and restore of course completion information 2010-09-17 03:04:55 +00:00
Andrew Davis
0df2981f32 backup MDL-23362 commented out annotation of old/new ids for grade_grades and grade_settings as I dont think theyre required 2010-09-16 09:39:22 +00:00
Andrew Davis
b8040c830e backup MDL-23362 added grade_settings to backup and restore 2010-09-16 09:08:38 +00:00
Andrew Davis
e101180d18 backup MDL-23362 removed grade_letter context id from the backup 2010-09-16 08:08:40 +00:00
Eloy Lafuente
d90e49f238 MDL-22179 backup - ensure we have the old/new courseid mapping available always 2010-09-15 13:43:06 +00:00
Andrew Davis
9a20df967d backup MDL-23362 updated gradebook backup and restore based on Eloy's feedback 2010-09-15 09:35:28 +00:00
Eloy Lafuente
58328ce8a6 MDL-23362 backup - on restore detect missing modules / skipped activities, for gradebook. 2010-09-14 22:59:43 +00:00
Sam Hemelryk
7f32340be1 backup MDL-24067 Fixed up bug causing restore to reset course category to the first category. 2010-09-13 03:12:44 +00:00
Eloy Lafuente
b212f87e32 MDL-21432 backup - proper fallback of user if missing orig one 2010-09-05 15:42:11 +00:00
Andrew Davis
44a25cd200 gradebook MDL-23362 added a fix to deal with the course grade item already existing or not 2010-09-03 08:53:32 +00:00
Andrew Davis
499dbce85d gradebook MDL-23362 added a fix to deal with the course grade item already existing or not 2010-09-03 08:36:58 +00:00
Andrew Davis
4d787d8a6d gradebook MDL-23362 added a fix so that grade item sortorder isnt lost when you restore 2010-09-03 07:53:10 +00:00
Andrew Davis
0f94550c3c backup MDL-23362 another commit of gradebook restore 2010-09-01 04:46:23 +00:00
Eloy Lafuente
dc362c44e3 MDL-23362 backup - save grade_item orig category properly, my fault, sorry Andrew 2010-08-31 09:17:11 +00:00
Andrew Davis
074a765f37 backup MDL-23362 another intermediate commit for gradebook backup 2010-08-31 04:14:01 +00:00
Andrew Davis
c4d2c74594 backup MDL-23362 another intermediate commit for gradebook backup 2010-08-31 03:51:10 +00:00
Andrew Davis
a0d2710218 backup MDL-23362 committing restore_gradebook_step including a test for whether the gradebook was included in the backup 2010-08-30 06:12:41 +00:00
Eloy Lafuente
5095f3258f MDL-23479 backup - activity completion and availability implemented 2010-08-30 00:24:51 +00:00
Andrew Davis
0067d939b4 backup MDL-23362 first commit for gradebookbackup 2010-08-27 08:11:25 +00:00
Eloy Lafuente
28b6ff82d9 MDL-23898 backup - avoid role assignments for deleted users 2010-08-24 21:05:47 +00:00
Eloy Lafuente
a789ac6f6b MDL-21432 backup - my fault, fixing wrong var 2010-08-06 22:23:18 +00:00
Eloy Lafuente
9a1cfcbc92 MDL-21432 backup - restore of activity grade items added. Blame MDL-23701 for the delay! 2010-08-06 22:22:02 +00:00
Eloy Lafuente
91d1105756 MDL-22245 backup - added support for subplugins in activities 2010-08-06 02:20:21 +00:00
Eloy Lafuente
39aa0280e1 MDL-21432 backup - fix for non-page comments (glossary...) 2010-07-31 22:22:51 +00:00
Eloy Lafuente
aa39be201f MDL-21432 backup - improve section target detection on restore 2010-07-28 15:50:21 +00:00
Eloy Lafuente
394edb7e0e MDL-21432 backup - modules/activity/decoder steps (and others) 2010-07-27 23:36:38 +00:00
Eloy Lafuente
b8e455a789 MDL-23478 backup - restore blocks (instances an positions) 2010-07-24 22:56:30 +00:00
Eloy Lafuente
25d3cf44e9 MDL-23503 restore without users - fixed two incorrect function calls 2010-07-23 09:56:38 +00:00