1226 Commits

Author SHA1 Message Date
Sam Hemelryk
e34a326f72 course-section MDL-22262 Added a summaryformat field to the database and implemented it when editing/viewing sections and backup 2010-05-27 03:07:54 +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
David Mudrak
5fb882193f MDL-21695 Bye bye help/course*.html and help/rolerenaming.html, we have better friends now 2010-05-06 18:32:03 +00:00
David Mudrak
9f48fa3789 MDL-21695 Course fullname string 2010-05-06 18:06:05 +00:00
Eloy Lafuente
1fce7f2d59 NOBUG: Updated to have PR1 backups under control 2010-05-04 18:36:03 +00:00
Eloy Lafuente
cf10078dba MDL-22142 - quick hack until P26 gets fixed 2010-05-03 10:00:19 +00:00
Eloy Lafuente
2e14f78bd7 MDL-21432 backup - enforce users = no on hub/import backups 2010-05-03 08:54:30 +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
Eloy Lafuente
3eeb2fd55d MDL-22141 backup - security always throw exception 2010-05-02 22:41:07 +00:00
Eloy Lafuente
c0772270d7 MDL-22141 implement security checks. sensible settings applied and locked 2010-05-02 22:02:02 +00:00
Eloy Lafuente
de4bf1ff9d MDL-21432 backup - this is finally out. Any backup / restore should use the API 2010-05-02 18:31:54 +00:00
Eloy Lafuente
a934bd23ff MDL-21839 backup - added new backup logs table and cleaned some anymore in use 2010-05-02 17:35:51 +00:00
Eloy Lafuente
b65e022034 MDL-22142 backup - P3: add all the remaining dependencies 2010-05-02 10:35:51 +00:00
Eloy Lafuente
1386bc0905 MDL-22145 backup storage - anonymised courses go to user_backup file area too 2010-05-02 09:21:05 +00:00
Sam Hemelryk
e35fb47974 backup MDL-22142 Fixed typo 2010-05-02 09:09:32 +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
72d5e574ab backup MDL-22142 P21 - Settings are now aware of their own dependencies as well as setting that are dependent on them 2010-05-02 05:43:47 +00:00
Sam Hemelryk
d698081efe backup MDL-22142 P20 - Removed process_change from settings as it is now handled by dependencies 2010-05-02 04:00:59 +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
f6ae3f0108 backup MDL-22142 P18 - Removed unused ui related function and params from core backup classes 2010-05-02 03:31:56 +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
105f805c01 backup MDL-22142 P15 - Backup.php now adds meaningful heading 2010-05-02 03:08:56 +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
9c27e9ab11 backup MDL-22142 P10 - Backup.php now checks more backup capabilities 2010-05-02 02:35:01 +00:00
Sam Hemelryk
a2190f5c22 backup MDL-22142 P9 - Properly check section/cm in backup.php 2010-05-02 02:25:26 +00:00
Sam Hemelryk
05f5ae3e7a backup MDL-22142 P8 - Changed locked text to locked icon 2010-05-02 02:23:52 +00:00
Eloy Lafuente
9eeaea5fa4 NOBUG backup - on OS temp area, use backup.zip. When storing, rename to utf-8 name 2010-05-02 00:19:51 +00:00
Eloy Lafuente
be3e542d11 MDL-22145 backup - calculate default backup filename 2010-05-02 00:10:19 +00:00
Eloy Lafuente
dacd7becbf MDL-22142 backup - tidy up logger defaults for production envs 2010-05-01 14:13:23 +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
Sam Hemelryk
2589eb89f0 backup MDL-22251 fixed issue with delete_old_backup_dirs passing a full path rather than a backupid 2010-04-30 03:02:36 +00:00
Eloy Lafuente
2de3539b43 MDL-21432 backup - clean temps after execution 2010-04-29 18:30:17 +00:00
Eloy Lafuente
3930e8b806 MDL-22145 backup - use more clear constant names 2010-04-28 21:43:48 +00:00
Eloy Lafuente
cd0034d860 MDL-22145 backup - implemented storage into proper file areas 2010-04-27 21:42:54 +00:00
Eloy Lafuente
633fedbcea MDL-22145 backup storage - add missing userid 2010-04-27 01:10:15 +00:00
Eloy Lafuente
ce937f9957 MDL-22145 backup storage - provide 'user_tohub' storage for HUB files 2010-04-27 01:02:38 +00:00
Eloy Lafuente
777f6eb3d6 NOBUG: Fix tests that were using the old forum_ratings table (moved to rating). 2010-04-26 17:17:01 +00:00
Eloy Lafuente
1c9e93c77a MDL-21432 backup settings - added root "activities" setting and section settings 2010-04-25 15:51:42 +00:00
Eloy Lafuente
9dbe1980c4 MDL-22176 backup & restore links - Added support for course encoder 2010-04-23 16:35:08 +00:00
Eloy Lafuente
cd00f9b78f MDL-20628 section backup - add new field and missing alias 2010-04-23 12:35:40 +00:00
Eloy Lafuente
57a535cd42 MDL-21432 backup - plan builder can have harcoded format 2010-04-21 16:41:37 +00:00
Eloy Lafuente
c6cc972695 MDL-21432 backup 2.0 - initial commit. controller 2010-04-21 09:26:06 +00:00
Eloy Lafuente
77547b4666 MDL-21432 backup 2.0 - initial commit. moodle2 format 2010-04-21 09:19:30 +00:00
Eloy Lafuente
69dd0c8cbf MDL-21432 backup 2.0 - initial commit. util dir 2010-04-21 09:17:06 +00:00
Petr Skoda
6ad1100fe4 MDL-22102 killing all CRLFs, sorry for introducing them, we need to do search replace before each commit of 3rd party lib 2010-04-19 14:42:19 +00:00
Petr Skoda
1f96e907ea MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2 2010-04-14 09:45:49 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00