443 Commits

Author SHA1 Message Date
Dongsheng Cai
30ad8cddc5 MDL-22915, added user backup to tree, added capability check to file picker form 2010-07-28 05:38:23 +00:00
Eloy Lafuente
bad08e7f0f MDL-21432 backup - need course/lib to rebuild course cache. 2010-07-27 23:42:00 +00:00
Eloy Lafuente
aae0d2fad0 MDL-21432 backup - need to acces gradelib API on restore 2010-07-27 23:15:09 +00:00
Eloy Lafuente
cdc680110a MDL-22179 backup interlinks - save a bunch (zillions) of regexps to happen 2010-07-27 23:14:28 +00:00
Eloy Lafuente
0330784635 MDL-21432 backup - add links decoder processor to restore plan/tasks 2010-07-27 23:12:53 +00:00
Eloy Lafuente
fc46764db6 MDL-21432 backup - improve start date offset 2010-07-27 23:11:54 +00:00
Eloy Lafuente
5b457d2657 MDL-22179 backup - final implementation of the interlinks decoder for restore 2010-07-27 14:45:44 +00:00
Sam Hemelryk
3acc9b81f5 restore MDL-23109 Added role mapping interface and implemented searchable course/category selectors 2010-07-27 06:58:39 +00:00
Sam Hemelryk
39bc4c6fa6 restore MDL-23109 Fixed several minor issues with restore UI
* Category + course selectors now perform required capability checks
* Show/Hide settings from UI tested and implemented for overwrite_conf setting
* Final continue button is GET rather than post
* Temp zip file is deleted after successfull extraction
* Removed previous button from settings stage MDL-23480
2010-07-26 07:10:54 +00:00
Eloy Lafuente
245491b062 MDL-21432 backup - improve a bit detection of errors on restore structured steps 2010-07-24 16:31:16 +00:00
Eloy Lafuente
2d7cd79839 MDL-23478 backup - change in block positions structure. Break BC, so up minversion 2010-07-24 00:15:59 +00:00
Eloy Lafuente
4a15bb7660 MDL-23478 backup - adding support for fileareas to blocks 2010-07-23 17:36:38 +00:00
Eloy Lafuente
fbd7413708 MDL-23109 backup - exclude info in moodle_backup.xml about non-included task. Thanks SamH! 2010-07-22 11:37:23 +00:00
Eloy Lafuente
71aa9472eb MDL-21432 backup - enable startdate offset now that UI and setting is available 2010-07-22 10:36:11 +00:00
Eloy Lafuente
b1eaf633eb MDL-21432 backup - solve problem deleting restore temp dirs, thanks SamH! 2010-07-22 10:33:27 +00:00
Eloy Lafuente
396ee01f53 MDL-21432 backup - access to userid is done across task 2010-07-22 08:22:29 +00:00
Eloy Lafuente
ba8bead5b6 MDL-21432 backup - fix some get_userid() calls 2010-07-22 08:19:21 +00:00
Sam Hemelryk
785d6603dd backup MDL-23109 Implemented base restore UI within Moodle and linked through the navigation. 2010-07-22 07:48:02 +00:00
Dongsheng Cai
72f38ce751 MDL-22915, restore pre-ui 2010-07-22 03:14:41 +00:00
Eloy Lafuente
024c288dab MDL-21432 backup - now restoring ras/caps and "manual" enrolment plugins.
TODO: Complete the enrolments part and fix current implementation, it's only one skeleton
2010-07-21 19:30:15 +00:00
Eloy Lafuente
4bca307a40 MDL-21432 backup - helper function for restoring course/role names and date_offset 2010-07-21 15:50:06 +00:00
Eloy Lafuente
560811a91b MDL-23109 backup - define some original course bits for easier access from UI 2010-07-21 00:42:55 +00:00
Eloy Lafuente
8d4e41f4ec MDL-21432 backup - role load/mappings and integration with UI via controller (MDL-23109) 2010-07-20 22:51:04 +00:00
Eloy Lafuente
71a50b133d MDL-21432 - backup finished groupings restore + introduced role precheck/execution step 2010-07-19 14:06:16 +00:00
Eloy Lafuente
a7ce4231be MDL-21432 backup - added role parser processor to be used on prechecks/execution 2010-07-19 13:59:54 +00:00
Eloy Lafuente
b400939141 MDL-21432 backup - restore prechecks are now being executed. Pending role mapping one 2010-07-18 23:54:06 +00:00
Eloy Lafuente
c3ea499d53 MDL-21432 backup - handle mnet_remoteusers and support for prechecks 2010-07-18 23:49:55 +00:00
Eloy Lafuente
c0440b3f0e MDL-21432 backup - allow arbitrary contexts restoring files. original sysctxid + scales 2010-07-18 18:11:20 +00:00
Eloy Lafuente
3a1cccc6d4 MDL-21432 backup - allow arbitrary contexts when annotating files. Record orignal sysctxid 2010-07-18 17:52:33 +00:00
David Mudrak
2d3522ae1e NOMDL Fixed incorrect throwing of exceptions - missing 'new' or unknown exception class 2010-07-18 12:30:49 +00:00
Eloy Lafuente
b8bb45b001 MDL-21432 backup - move all the files handling on restore to use new backup_files_temp table 2010-07-18 11:13:03 +00:00
Eloy Lafuente
c44d4aeeee MDL-21432 backup - fix minor problem with anon backups and course format 2010-07-18 10:59:43 +00:00
Eloy Lafuente
2df0f295b4 MDL-21432 backup - file handling and other changes. Saving before changes tomorrow due to MySQL temp tables limits 2010-07-18 01:35:18 +00:00
Eloy Lafuente
482aac657a MDL-21432 backup - root task, inforef and users handling completed, various fixes 2010-07-14 23:59:19 +00:00
Eloy Lafuente
2087babba1 MDL-21432 backup - added inforef and users parsers 2010-07-14 23:53:29 +00:00
Eloy Lafuente
3b6a420945 MDL-21432 backup - allow conditional (dynamic) execution of structure steps 2010-07-13 09:34:24 +00:00
Eloy Lafuente
c60a8c82ac MDL-22139 backup - minor fix to query (grade_item->id is in backup_ids_temp->itemid) 2010-07-13 09:29:25 +00:00
Andrew Davis
315f6d8eab backup MDL-22139 added gradebook backup 2010-07-13 01:26:06 +00:00
Eloy Lafuente
c3c8f8b87d MDL-21432 backup - restore element to completely guide parsing 2010-07-12 22:50:20 +00:00
Eloy Lafuente
690234554f MDL-21432 backup - restore_structure_step implementation 2010-07-12 22:44:46 +00:00
Eloy Lafuente
a4e13312bf MDL-21432 backup - get target on restore 2010-07-12 22:35:28 +00:00
Eloy Lafuente
90338ad14b MDL-21432 restore - block tasks, factories 2010-07-11 18:25:53 +00:00
Eloy Lafuente
8909da85ae NOBUG forms - formslib isn't available everywhere anymore. Add it when necessary! 2010-07-10 14:30:04 +00:00
Eloy Lafuente
c0bd624928 MDL-21432 backup - Small change in API after discussion in MDL-22245 2010-07-07 22:56:14 +00:00
Eloy Lafuente
fbc2778d1c MDL-21432 backup - rest of helper files 2010-07-06 22:35:02 +00:00
Eloy Lafuente
c9d8234a9c MDL-21432 backup - restore plan builder (still missing blocks support) 2010-07-06 22:30:49 +00:00
Eloy Lafuente
b5d45a0430 MDL-21432 backup - plan/task/step basis 2010-07-05 22:23:00 +00:00
Eloy Lafuente
dc5a2f8a5a MDL-21432 backup - using grouped parser in moodle_backup.xml + minor changes in common stuff 2010-07-05 22:10:51 +00:00
Eloy Lafuente
d12fd69be0 NOBUG backup - delete whitespace typo causing problems in section settings 2010-07-05 21:14:09 +00:00
Eloy Lafuente
f60f4666f9 MDL-21432 backup - added operation to separate backup & restore 2010-07-05 16:37:50 +00:00