Eloy Lafuente (stronk7)
ede7105fd9
MDL-27233 move the restorer enrol/ra creation to the very beginning of the restore process
...
Some early steps in restore are using capability checks to decide how to
restore some information. But at that stage, if the course contents have
been removed and the user had perms at course level only (usually teacher)
the process can fail because some content is not restoreable due to the
lack of permissions.
Moving the restorer step to the beginning really helps is those situations
and it does not hurt at all.
Also, fixed one notice detected when testing this.
2011-11-25 01:07:27 +01:00
Eloy Lafuente (stronk7)
0620787a17
Merge branch 'w47_MDL-27233_m22_restoreenrol' of git://github.com/skodak/moodle
2011-11-24 23:44:24 +01:00
Petr Skoda
d53e3298c0
MDL-27233 add new options to keep enrols and groups purging existing course in restore
2011-11-23 18:38:27 +01:00
Eloy Lafuente (stronk7)
1acad8eed7
MDL-30192 restore - prevent any extra info to be created for deleted users
2011-11-18 13:03:08 +01:00
Ankit Kumar Agarwal
ef6b3ba159
MDL-29035 Backups making email match case-insensitive when restoring backups
2011-11-03 10:18:15 +05:30
Aparup Banerjee
ed6a14eb03
MDL-28453 backup - made temporary restoration courses hidden by default.
2011-07-25 16:34:11 +08: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
41941110fd
MDL-22138 backup - I know smaller cathedrals than this, yay quizzes!
2010-10-24 10:43:42 +00:00
Sam Hemelryk
593fc4a977
restore MDL-23863 Category->coursecount is incremented if restoring to a new course.
2010-09-21 10:12:58 +00:00
Petr Skoda
e894efc31c
MDL-24321 switching to stdClass in /backup/
2010-09-21 08:47:01 +00:00
Eloy Lafuente
b212f87e32
MDL-21432 backup - proper fallback of user if missing orig one
2010-09-05 15:42:11 +00:00
Petr Skoda
2b199e7c0b
MDL-23885 fixed file api encapsulation and lowering number of direcories in zip files
2010-08-26 07:43:06 +00:00
Eloy Lafuente
f2745cbe67
MDL-21432 backup - allow restore of only one itemid (instead of the whole itemname)
2010-08-06 16:08:29 +00:00
Eloy Lafuente
70c1ad5836
MDL-21432 backup - exceptions are not good, so imscp imaginative use of itemid sucks, imo. :-P
2010-08-02 17:06:49 +00:00
Eloy Lafuente
84cdf7de51
MDL-21432 backup - improve restore of files (user and sortorder)
2010-07-28 15:52:09 +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
Eloy Lafuente
4a15bb7660
MDL-23478 backup - adding support for fileareas to blocks
2010-07-23 17:36:38 +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
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
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
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
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
fbc2778d1c
MDL-21432 backup - rest of helper files
2010-07-06 22:35:02 +00:00