Commit Graph

18 Commits

Author SHA1 Message Date
Sam Hemelryk
c866fe44de MDL-23538 backup: tidied up phpdocs + coding style 2014-11-19 10:04:10 +13:00
Sam Hemelryk
a8266e2f1c MDL-46335 backup: fixed casting issue with setting labels
The issue was that clean_param took an int and returned a string
and the result was used in an exact comparison.
The type change mean the comparison failed.
The solution was to ensure the param was cast as a string.
2014-07-18 08:29:55 +12:00
Eloy Lafuente (stronk7)
5ae69b2aed MDL-38735 backup: add missing setType() to forms 2013-04-03 02:17:40 +02:00
Frederic Massart
d9f95015f5 MDL-36777 usability: Theming fixes on backup steps 2012-11-30 16:53:39 +08:00
Frederic Massart
c384744304 MDL-36638 usability: Core changes for new quiz/question icons 2012-11-29 12:41:29 +08:00
Tim Hunt
ff5d6f8872 MDL-33682 backup: cope with sections called '0'
It was not previously possible to have a section called 0 because of
bugs in the standard course formats, but we hit this with the OU course
format. You got an exception because backup settings tested to see if
their lable was empty, which means a section name of '0' was fatal.
Should work now.
2012-06-12 17:46:47 +01:00
Eloy Lafuente
287e804058 MDL-24962 backup - circular refs destroyer for backup settings 2010-11-15 07:16:24 +00:00
Petr Skoda
940a91a638 fixed missing $ typos 2010-09-17 10:53:15 +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
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
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
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
17f04f5306 backup MDL-22511 Fixed unit tests for backup 2010-06-15 02:15:57 +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
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