Commit Graph

20 Commits

Author SHA1 Message Date
Frederic Massart
8417c3a620 MDL-53700 competency: Migrating backup logic to core 2016-04-18 11:05:59 +08:00
Eloy Lafuente (stronk7)
ea6c56437a MDL-46455 restore: Implement restore of standard logstore
Using standard subplugin support, this commits implements
the restore of logstore subplugins in general and the
standard logstore is particular. Notes:

- TODO: Decide about these 2 pending issues:

1) Some logs are already created (events fired) by the restore process itself. Every time
   an API is used and it fires events... corresponding (and actual!)
   logs are created. We need to prevent restore to duplicate them (or,
   alternatively, stop firing events when restore is happening).

2) There are 2 pieces of information in the logs that, right now, can
   not be restored, because the process does not know enough to be able
   to remap that information to its new counterparts. We are talking
   about objectid and other columns. So we need to specify, in some way
   understandable by restore, to which existing mappings they correspond
   to.
2015-10-09 16:23:09 -07:00
Frederic Massart
167eb0335b MDL-46696 backup: Include grade history in backups 2014-09-01 17:29:24 +08:00
Frederic Massart
d9f95015f5 MDL-36777 usability: Theming fixes on backup steps 2012-11-30 16:53:39 +08:00
Tim Hunt
d0565885ae MDL-34727 restore UI: use checkboxes for userdata.
It was using select menus for the convenience of the code, but the
inconvenience of users.

The way this fix is done is a bit hacky, but it works, makes users'
lives much better, but it would be good if someone would dehackify
this in the future.
2012-08-07 11:36:09 +01:00
Ankit Agarwal
8331a159c5 MDL-22895 backup: Adding the feature to support backing up and restoring calendar events 2012-04-02 13:58:33 +08:00
David Mudrak
f9dab4bed2 MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
David Mudrak
37065c2e06 MDL-29793 Advanced grading forms attached to activity modules can be restored now 2011-11-08 23:33:40 +01:00
Eloy Lafuente (stronk7)
25b4558c40 MDL-27822 rename new methods 2011-06-14 00:33:16 +02:00
Tim Hunt
be7b29eff6 MDL-27822 old module version should be available in restore_activity_structure_step::define_structure() 2011-06-14 00:30:30 +02:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Petr Skoda
7c109ea3f0 MDL-24276 "static abstract" combination is deprecated since PHP 5.2, replacing with our coding_style exception 2010-09-19 18:43:52 +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
Eloy Lafuente
5095f3258f MDL-23479 backup - activity completion and availability implemented 2010-08-30 00:24:51 +00:00
Sam Hemelryk
83c000d9b5 backup MDL-23904 Backup and restore UI improvements 2010-08-26 02:18:13 +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
39aa0280e1 MDL-21432 backup - fix for non-page comments (glossary...) 2010-07-31 22:22:51 +00:00
Eloy Lafuente
5ab8d2de39 MDL-21432 backup - let the tasks to use the steps 2010-07-27 23:40:35 +00:00
Eloy Lafuente
2801883fd5 MDL-21432 restore - spreading restore plan with block tasks 2010-07-11 18:22:38 +00:00
Eloy Lafuente
864842aa83 MDL-21432 backup - all sort of restore tasks 2010-07-06 22:28:38 +00:00