Commit Graph

43 Commits

Author SHA1 Message Date
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
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 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 74535bb575 course-import MDL-24176 Fixed regression caused by custom backup extension+mimetype 2010-09-16 03:51:30 +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
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
Dongsheng Cai 1a22a422de "MDL-23910, fixed breadcrumb for backup files editing ui" 2010-08-30 03:44:44 +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
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
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 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
Dongsheng Cai 30ad8cddc5 MDL-22915, added user backup to tree, added capability check to file picker form 2010-07-28 05:38:23 +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 39bc4c6fa6 restore MDL-23109 Fixed several minor issues with restore UI
* Category + course selectors now perform required capability checks
* Show/Hide settings from UI tested and implemented for overwrite_conf setting
* Final continue button is GET rather than post
* Temp zip file is deleted after successfull extraction
* Removed previous button from settings stage MDL-23480
2010-07-26 07:10:54 +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 8909da85ae NOBUG forms - formslib isn't available everywhere anymore. Add it when necessary! 2010-07-10 14:30:04 +00:00
Petr Skoda 64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +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 dd6af534e4 backup MDL-22761 improvement to allow backup ui to maintain custom params across stages 2010-06-16 05:28:58 +00:00
Sam Hemelryk 17f04f5306 backup MDL-22511 Fixed unit tests for backup 2010-06-15 02:15:57 +00:00
Eloy Lafuente b46ba22bf5 NOBUG: reduce to 1 whitespace. ctags was crying 2010-06-04 18:38:33 +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
Sam Hemelryk 8f87420a92 backup MDL-22142 P13 - File name is now given default value and correctly sized 2010-05-03 05:03:24 +00:00
Sam Hemelryk e43ba98080 backup MDL-22142 P24 - Fixed locked settings with no dependencies 2010-05-03 04:05:08 +00:00
Sam Hemelryk 6ed9a7da53 backup MDL-22142 Fixed dependency chaining through inspection in relation to the dependent setting rather than the prominent setting. Also did away with reference dealing with processing dependencies for mforms, new recursive structure returns managed property array instead. 2010-05-03 03:36:33 +00:00
Sam Hemelryk 84e546e0fc backup MDL-22142 P22 - Several big backup dependency issues resolved 2010-05-02 09:02:20 +00:00
Sam Hemelryk 8c6d7f34ed backup MDL-22142 P19 - Moved optional_param call for backupid out of load controller static method and into backup.php 2010-05-02 03:36:26 +00:00
Sam Hemelryk 232d4fac42 backup MDL-22142 P17 - backup_ui class now calls backup_controller::process_ui_event on init and after changes to ensure validity 2010-05-02 03:25:18 +00:00
Sam Hemelryk 81623fad7a backup MDL-22142 P16 - Fixed display of hidden fixed settings 2010-05-02 03:14:33 +00:00
Sam Hemelryk 1a83fcb5cd backup MDL-22142 P11 - Can now set help buttons for backup settings 2010-05-02 02:52:46 +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
Eloy Lafuente 69dd0c8cbf MDL-21432 backup 2.0 - initial commit. util dir 2010-04-21 09:17:06 +00:00