1969 Commits

Author SHA1 Message Date
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)
43fb30d652 Merge branch 'wip-mdl-30394' of git://github.com/rajeshtaneja/moodle 2011-11-23 13:37:37 +01:00
Eloy Lafuente (stronk7)
9002363b35 Merge branch 'MDL-30390-grading-restore' of git://github.com/mudrd8mz/moodle 2011-11-23 13:16:04 +01:00
Sam Hemelryk
b8a2a92773 Merge branch 'MDL-30192' of git://github.com/stronk7/moodle 2011-11-23 14:11:23 +13:00
David Mudrak
086ed2a6c0 MDL-30390 Advanced grading - fixed the database table field name in the restore
This is a regression of the recent fields renaming.
2011-11-22 15:50:17 +01:00
Rajesh Taneja
d6e23c1466 MDL-30394 Backup: Removed popup, inserted by 27790 during restore in new course 2011-11-22 12:03:26 +08:00
Rajesh Taneja
ecdd2d183c MDL-30391 Backup: Exception in restore should be thrown as it is to be handled by calling function 2011-11-22 11:39:18 +08:00
Eloy Lafuente (stronk7)
f218cdab34 Merge branch 'MDL-29591-master-2' of git://git.luns.net.uk/moodle 2011-11-18 17:28:53 +01:00
Andrew Robert Nicols
7d7d82de03 MDL-29591 Check for permission before overwriting course idnumber when restoring 2011-11-18 14:54:00 +00: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
Henning Bostelmann
6336bd914a MDL-29350 Prevent duplication of groupings when copying activities
This patch also includes a database upgrade to correct data produced as a
result of this bug.
2011-11-15 11:12:40 +00:00
Eloy Lafuente (stronk7)
9bddc37f97 MDL-29956 ims-cc - whitespace cleanup 2011-11-14 23:35:12 +01:00
Eloy Lafuente (stronk7)
acb8164304 MDL-29956 ims-cc - disabling export and cleaning some unused code
This commits cleans some code (settings and dependencies)
and one file included previous by error.

Also it disables all the IMS-CC export feature by default, being
possible to enable it under demand by setting (@ config.php):

$CFG->enablebackupconverters = true;
2011-11-14 21:32:05 +01:00
Darko Miletic
584f92962d Updated text conversion to read and store safe xml strings. 2011-11-14 21:25:08 +01:00
Mark Nielsen
726a770949 MDL-29956: Common Cartridge should handle HTML content more natively (r17188, r17210:17265)
Also implemented support for LTI icon during import.
2011-11-14 21:25:08 +01:00
Mark Nielsen
91e6ca6e71 MDL-29956: Implement export of Quiz activity (r16977, r17032) 2011-11-14 21:25:08 +01:00
Mark Nielsen
42dffc6feb MDL-29956: Implement common cartridge export (r16882) 2011-11-14 21:25:08 +01:00
David Mudrak
3319af85a9 MDL-29793 Advanced grading - do not execute the restore step if the grading.xml is missing 2011-11-14 21:11:41 +01:00
David Mudrak
c309e4f05e MDL-29793 Advanced grading backup - fixed the recently renamed DB field 2011-11-14 21:11:00 +01:00
Sam Hemelryk
1ae9aa2b8f Merged MDL-29108 Advanced grading 2011-11-14 22:01:05 +13:00
Eloy Lafuente (stronk7)
032bfca82a Merge branch 'MDL-29035-master' of git://github.com/ankitagarwal/moodle 2011-11-11 02:42:40 +01:00
Sam Hemelryk
e3dfd1a1d9 Merged branch 'w44_MDL-29030_m22_reports' of git://github.com/skodak/moodle.git with conflict resolution 2011-11-10 10:15:50 +13:00
Aparup Banerjee
92f6c2eb7f Merge branch 'MDL-30021' of git://github.com/timhunt/moodle 2011-11-09 12:19:20 +08: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
David Mudrak
9b553d472e MDL-29793 Advanced grading forms attached to activity modules are included in the backup now 2011-11-08 16:25:58 +01:00
Rajesh Taneja
687f512d88 MDL-27790 Backup: Added warning message to let user know that temporary course will be created for restoration process 2011-11-08 11:37:48 +08:00
Rajesh Taneja
416128379f MDL-27790 Backup: temperory course will be deleted in case of exception and cancellation of restore process 2011-11-08 11:37:43 +08:00
Petr Skoda
158e9e2af9 MDL-29030 add basic report backup/restore support for course level 2011-11-06 12:22:51 +01:00
Tim Hunt
de529cd253 MDL-30021 qtype numerical better showunits default when coming from 1.9
This applies to:
1. Upgrade from 1.9,
2. Import of questions exported from 1.9, and
3. Restore of courses backed-up from 1.9.

It also applies to the calculated question type.
2011-11-03 11:27:41 +00:00
Ankit Kumar Agarwal
ef6b3ba159 MDL-29035 Backups making email match case-insensitive when restoring backups 2011-11-03 10:18:15 +05:30
Sam Hemelryk
49ebdaf1da Merge branch 'wip-MDL-25454-master' of git://github.com/marinaglancy/moodle 2011-10-03 14:24:38 +13:00
Eloy Lafuente (stronk7)
f253e791ed MDL-29618 backup - back to handling enrolments properly. Regession of MDL-26841, my fault, grrr 2011-10-03 00:45:18 +02:00
Marina Glancy
a6c124f5e3 MDL-25454: using the faster way to check if record exists in db 2011-09-29 17:00:04 +08:00
Marina Glancy
e2558cd3ab MDL-25454 before skipping course backup make sure that there are no change entries in it's log during the last month. Store the nextstarttime even for courses that were not backed up 2011-09-29 08:56:48 +08:00
Eloy Lafuente (stronk7)
e135797586 Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
Jean-Michel Vedrine
9107daa0f5 MDL-29270 Fixed question bank backup converter (field rename) 2011-09-25 23:33:00 +02:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk
436cfb8bb7 Merge branch 'MDL-26841' of git://github.com/stronk7/moodle 2011-09-20 12:14:13 +12:00
Eloy Lafuente (stronk7)
9ab5df6b8b MDL-26841 backup - prevent any enrolments info to be handled in IMPORT/HUB operations 2011-09-19 11:21:43 +02:00
Sam Hemelryk
89eda3eeaf MDL-29185 backup: Removed backup_log table and fixed the backup admin report 2011-09-16 15:51:23 +12:00
Aparup Banerjee
d1e362405e Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08:00
Aparup Banerjee
7eae2c5ae2 Merge branch MDL-29187-master of git://github.com/samhemelryk/moodle
- resolved conflict.
2011-09-13 13:52:31 +08:00
Aparup Banerjee
f7dd6bda31 Merge branch 'wip-MDL-29188-master' of git://github.com/samhemelryk/moodle 2011-09-13 11:58:21 +08:00
Aparup Banerjee
5433da6064 Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
- resolved conflicts.
2011-09-13 11:39:06 +08:00
Sam Hemelryk
f8adfe6cc0 Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle 2011-09-12 18:26:09 +12:00
Eloy Lafuente (stronk7)
59fc0cbdb7 MDL-28488 backup - conditionaly apply defaults based on mode
Some modes of backup cannot be preloaded with general backup
settings because they may conflict with the definitions required/set
by the mode (for example, import backups are, by definition, without
users always, so we cannot apply one default in the opposite direction).

So, after the patch, current general_backup setting will be only applied
to general backups, import/hub modes won't be using any default and
automated backup defaults should be loaded here (TODO)
2011-09-11 19:35:56 +02:00
Eloy Lafuente (stronk7)
2a4ba40f31 MDL-28488 backup - '[backup|restore]:configure cap does not control import mode anymore 2011-09-11 19:09:59 +02:00
Tom Lanyon
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Eloy Lafuente (stronk7)
77c2ca69af MDL-28488 backup - make backup and import capabilities independent
Before this change, in order to perform one course import it was
necessary to have both the backupcourse and the backuptargetimport
capabilities. After agreement now each one will control its own
backup mode. Same applies for restore.
2011-09-09 17:46:21 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00