Commit graph

595 commits

Author SHA1 Message Date
Eloy Lafuente
08edad78cc MDL-22138 backup - added missing required lib 2010-10-24 15:37:55 +00:00
Eloy Lafuente
41941110fd MDL-22138 backup - I know smaller cathedrals than this, yay quizzes! 2010-10-24 10:43:42 +00:00
Petr Skoda
4756e9c9e2 MDL-21915 fixing remaining chmod and mkdir to use moodle file permissions 2010-10-06 19:06:52 +00:00
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
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
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
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
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
940a91a638 fixed missing $ typos 2010-09-17 10:53:15 +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
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
58328ce8a6 MDL-23362 backup - on restore detect missing modules / skipped activities, for gradebook. 2010-09-14 22:59:43 +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
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
Sam Hemelryk
741b96fd01 backup MDL-23904 Fixed regression in backup UI 2010-09-03 07:50:33 +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
Dongsheng Cai
1a22a422de "MDL-23910, fixed breadcrumb for backup files editing ui" 2010-08-30 03:44:44 +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
Dongsheng Cai
6aef525df4 "MDL-23910, improved restore pre-ui, removed treeview, list backup files in tables and sorted by created time" 2010-08-26 06:19:46 +00:00
Sam Hemelryk
70a102385f backup MDL-23918 Fixed up wording in the backup and restore stages. 2010-08-26 05:17:46 +00:00
Sam Hemelryk
83c000d9b5 backup MDL-23904 Backup and restore UI improvements 2010-08-26 02:18:13 +00:00
Andrew Davis
c2a4f885b4 backup MDL-23885 committing Eloys patch so backup works with the revised file area system 2010-08-26 02:15:11 +00:00
Sam Hemelryk
86e0afcfaa backup MDL-23559 Moved UI validation routines from backup_setting to backup_setting_ui and fixed label validation problems 2010-08-25 01:14:25 +00:00
Eloy Lafuente
f35de25886 MDL-23796 backup - improve parser to discard whitespace-empty tags 2010-08-24 14:07:31 +00:00
Sam Hemelryk
2a923f7da7 backup MDL-23909 fixed error in backup when navigating to a previous stage. 2010-08-24 07:47:10 +00:00
Sam Hemelryk
2a02a1036c restore MDL-23559 Setting more appropriate param type for UI label PARAM_TEXT instead of PARAM_ALPHAEXT 2010-08-24 03:29:04 +00:00
Sam Hemelryk
83a9c86690 backup MDL-23727 The proceed button is now to the right of the screen and the cancel button throws a confirmation box. 2010-08-17 05:21:57 +00:00
Sam Hemelryk
ad93ddd5f7 course-import MDL-23752 Implemented course import functionality back into Moodle 2.0
The course import now makes use of the backup and restore processed and the backup UI to allow the user to import one course into another.
The new UI is much the same as the backup ui except preceeded by a course selector to choose the course to import from.
2010-08-17 02:07:30 +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
329e67fbde MDL-21432 backup - inform about missing restore subpluggins to developers 2010-08-06 16:07:06 +00:00
Eloy Lafuente
91d1105756 MDL-22245 backup - added support for subplugins in activities 2010-08-06 02:20:21 +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
Sam Hemelryk
573cdf85e1 backup MDL-23563 numerous minor backup changes
* Root settings are now check boxes rather than selects
* Language strings adjusted as requested
* Final continue on backup now redirecteds to restore pre ui
2010-07-29 04:25:56 +00:00
Dan Marsden
5c40dc5143 MDL-23479 fix typo in restore code 2010-07-29 03:58:55 +00:00
Dan Marsden
2e45c72a20 MDL-23479 missing global 2010-07-29 03:41:16 +00:00