1414 Commits

Author SHA1 Message Date
Eloy Lafuente
e521039d22 MDL-24381 backup - avoid infinite iteration under windows caused by platform-dependent dirname() 2010-09-28 21:26:11 +00:00
Eloy Lafuente
dc1e4ccebd MDL-23752 backup - export/import mode. Fixed various details. 2010-09-28 09:33:54 +00:00
Sam Hemelryk
2473693278 backup-import MDL-24361 Fixed up bug with course imports 2010-09-24 05:37:17 +00:00
David Mudrak
1b42bc07e8 NOMDL restore: do not display course details for activity backups
Activity backups do not contain these details so I just put all the
block into one if-statement.
2010-09-22 15:31:27 +00:00
David Mudrak
9404c7dbe7 NOMDL backup: missing AS for column alias
Throws DML read exception in PostgreSQL. Credit goes to skodak.
2010-09-22 13:37:24 +00:00
Sam Hemelryk
8d3950ea2e core MDL-19786 Cleaned up a couple of minor deprecated calls 2010-09-22 07:48:35 +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
Sam Hemelryk
593fc4a977 restore MDL-23863 Category->coursecount is incremented if restoring to a new course. 2010-09-21 10:12:58 +00:00
Dongsheng Cai
0e4c5b912c MDL-24303, check tmp dir before copying backup files 2010-09-21 09:58:03 +00:00
Petr Skoda
e894efc31c MDL-24321 switching to stdClass in /backup/ 2010-09-21 08:47:01 +00:00
Sam Hemelryk
fe213bc056 NOBUG: Added missing include within restore 2010-09-21 05:47:32 +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
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
Petr Skoda
693ef3a8af MDL-24283 improved stored_file encapsulation, this should allow us to hack with stored_file/file_storage internals in the future without breaking BC 2010-09-19 15:50:18 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Eloy Lafuente
8b6f4e6626 MDL-22153 backup - removing old files, sniff, sniff 2010-09-17 13:22:15 +00:00
Eloy Lafuente
e060e77a9f MDL-22153 backup - delete all the old *.html files 2010-09-17 13:21:15 +00:00
Petr Skoda
940a91a638 fixed missing $ typos 2010-09-17 10:53:15 +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
10618448c8 backup MDL-24219 Tidied up restore destination forms 2010-09-17 03:16:39 +00:00
Sam Hemelryk
bd39b6f226 backup MDL-22254 Added backup and restore of course completion information 2010-09-17 03:04:55 +00:00
Eloy Lafuente
9e0eb41d87 MDL-21432 backup - better handling of null sql params 2010-09-17 01:08:57 +00:00
Eloy Lafuente
fc92674d7a MDL-21432 backup - keep any empty() value to offset unmodified 2010-09-16 10:07:32 +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
Sam Hemelryk
74535bb575 course-import MDL-24176 Fixed regression caused by custom backup extension+mimetype 2010-09-16 03:51:30 +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
Eloy Lafuente
cfea745e41 NOBUG: Restore section names and descriptions when restoring deleting. Somehow related wit Q3 @ MDL-24219 2010-09-15 10:58:13 +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
Sam Hemelryk
548f565f7d backup MDL-23437 Restore now locks the course_startdate setting if the user doesn't have the rolldates capability 2010-09-10 07:54:15 +00:00
Sam Hemelryk
86234a925a backup MDL-23437 Backup and restore now check moodle/backup|restore:configure capability and lock settings if the user does not have the cap 2010-09-10 07:38:13 +00:00
Sam Hemelryk
f9bbe3c9d2 backup MDL-24103 Altered strings as requested and added a help string for 1.9 backup restoration 2010-09-08 07:46:45 +00:00
Sam Hemelryk
d94bb34312 backup MDL-24103 Better error messages when a user attempts to restore invalid backup file formats such as moodle 1.9 backups 2010-09-08 07:23:27 +00:00
Sam Hemelryk
6fa76842b3 backup MDL-22254 Fixed up use of deprecated functions in backup UI 2010-09-08 05:47:28 +00:00
Eloy Lafuente
58f8ca39b2 MDL-24107 backup - add missing course->legacyfiles col. Thanks Tim Lock 2010-09-07 08:21:48 +00:00
Eloy Lafuente
12c80f79b4 MDL-23993 backup - enforce in UI and save all backup files with .mbz 2010-09-06 09:33:20 +00:00
Eloy Lafuente
df7264331b MDL-23437 backup - restore security checks 2010-09-05 21:49:34 +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
88bb11eb55 MDL-24079 backup now using new sql_like() 2010-09-04 11:56:34 +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
Sam Hemelryk
741b96fd01 backup MDL-23904 Fixed regression in backup UI 2010-09-03 07:50:33 +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
Eloy Lafuente
2a918d8f55 MDL-23362 backup - allow set_mapping() to specify one parentitemid to be saved 2010-08-31 09:15:38 +00:00