47 Commits

Author SHA1 Message Date
Frederic Massart
a173b52da0 MDL-28346 Backup: Backup does not fail when a file is missing 2012-09-03 14:13:11 +08:00
Frederic Massart
3b232aeffb MDL-28346 Backup: Restore does not fail when a file is missing 2012-09-03 14:13:11 +08:00
David Mudrák
7b5f67f77f MDL-33430 Notify user about file aliases failures at the final stage of the restore 2012-06-21 15:22:38 +02:00
Dongsheng Cai
6723372514 MDL-28666 Extends repository to support references
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Eloy Lafuente (stronk7)
14e2704ad4 MDL-29262 backup: new setting to control the ttl of backup logs
Add one new backup setting, moving from the general CFG->loglifetime,
to be able to delete backup logged information often.
2012-04-22 21:23:55 +02: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
Andrew Robert Nicols
8d1f386385 MDL-32142 Add missing langstring for section backups 2012-03-22 14:52:28 +00:00
Eloy Lafuente (stronk7)
ac6dc09c26 MDL-29248 backup: take rid of the setting and code handling the 'private' user filearea 2012-03-01 13:09:47 +01:00
Eloy Lafuente (stronk7)
f88224624d MDL-29248 backup: delete user_files settings, lang strings and uses 2012-03-01 13:09:47 +01:00
Rajesh Taneja
5f1f726e68 MDL-25432 backup: Catching exception for orphan course modules and it's block (if any), and logging them, no exception will be thrown for this now. 2012-02-20 09:28:55 +08: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
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
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
David Mudrak
71d1751c53 Improved the information display about a non-standard backup file 2011-05-18 12:19:57 +02:00
David Mudrak
f666f14930 The first attempt to include backup conversion in the restore process
With this initial implementation, we do not display any information
about the backup contents yet. The non-standard backup file is just
silently converted at the beginning of the settings stage, as soon as
the restore controller is available.

In the future we will probably want to display the information about the
contents of the converted file as if we were restoring from standard
MBZ format. However this includes more work in the restore UI machinery
and I leave it open for now.
2011-05-18 01:55:27 +02:00
David Mudrak
19414fa47b Fixed trivial typo in a string 2010-11-26 09:17:43 +00:00
Sam Hemelryk
081c914b39 backup MDL-25183 Added a dedicated CLI script for running automated backups 2010-11-12 07:05:18 +00:00
Eloy Lafuente
dc2abd4020 MDL-24718 import - always import adding 2010-11-11 22:17:09 +00:00
Sam Hemelryk
33d34b4b77 restore MDL-24757 Fixed up course and category selectors 2010-11-11 01:21:16 +00:00
David Mudrak
ac7ad71fb7 MDL-22184 Re-execution of the fixed AMOScript from Sam's commit
AMOS BEGIN
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 09:29:13 +00:00
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Dongsheng Cai
d0da42d1b7 MDL-24917, display activity backup area in restore-pre ui 2010-11-02 02:29:21 +00:00
Eloy Lafuente
41941110fd MDL-22138 backup - I know smaller cathedrals than this, yay quizzes! 2010-10-24 10:43:42 +00:00
jerome mouneyrac
5a91e9ba7e restore MDL-24536 [[backupmode30]] => 'Hub' 2010-10-06 03:16:53 +00:00
David Mudrak
54255c1bac NOMDL backup: added missing string 2010-09-22 15:18:14 +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
Eloy Lafuente
12c80f79b4 MDL-23993 backup - enforce in UI and save all backup files with .mbz 2010-09-06 09:33:20 +00:00
Sam Hemelryk
8c407e5872 NOBUG: Fixed spelling mistake, kudos to Andrew for spotting it 2010-08-27 03:01:19 +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
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
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
Sam Hemelryk
3acc9b81f5 restore MDL-23109 Added role mapping interface and implemented searchable course/category selectors 2010-07-27 06:58:39 +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
Dongsheng Cai
72f38ce751 MDL-22915, restore pre-ui 2010-07-22 03:14:41 +00:00
Eloy Lafuente
8287122673 MDL-21432 backup - added missing langstring 2010-07-20 22:54:29 +00:00
Eloy Lafuente
e14dd3434b MDL-23109 backup - added some restore precheck strings 2010-07-18 23:57:24 +00:00
Sam Hemelryk
61ebef8f6e backup MDL-22140 Added conf settings to control the default general backup settings 2010-06-17 08:57:00 +00:00
Sam Hemelryk
4886029cba backup MDL-22142 Several changes to the backup UI and it's classes as noted below
*  backup moodleforms for specific stages are now cached between stage processing and display making it possible to leave all validation up to the bridge.
    * The backup stage now relies entirely on the backup controllers save, load, and check methods + dependency checks rather then previous stage processing to ensure accuracy.
    * filename is now a required field and validated to ensure it ends with .zip and is a valid filename.
    * There is now a previous button for backup stages after the initial and before the complete.
    * The progress bar previous stages are now links as well allowing the user to jump to previous stages (not linked on complete of course).
    * The root settings are only shown on the schema stage now if they were changed because of dependency.
    * Stages are now numbered in the progress bar.
    * The complete page now shows a notice that the backup was complete and provides a continue button to view the backup file.
    * Adds administration blocks to the backup pages.
2010-05-10 02:53:31 +00:00
Helen Foster
b9af1f1f04 MDL-22144 typo fix 2010-05-06 11:34:50 +00:00
Sam Hemelryk
09209fc99b backup MDL-22142 Backup buttons for progressing on the first two stages now read Next 2010-05-05 06:50:08 +00:00
Sam Hemelryk
105f805c01 backup MDL-22142 P15 - Backup.php now adds meaningful heading 2010-05-02 03:08:56 +00:00
Sam Hemelryk
05f5ae3e7a backup MDL-22142 P8 - Changed locked text to locked icon 2010-05-02 02:23:52 +00:00
Sam Hemelryk
1904e9b35b backup MDL-22142 This is the user interface for backups, several minor/cosmetic issues still to be ironed out. See the tracker for details 2010-05-01 09:51:39 +00:00