1249 Commits

Author SHA1 Message Date
Eloy Lafuente
fbc2778d1c MDL-21432 backup - rest of helper files 2010-07-06 22:35:02 +00:00
Eloy Lafuente
c9d8234a9c MDL-21432 backup - restore plan builder (still missing blocks support) 2010-07-06 22:30:49 +00:00
Eloy Lafuente
864842aa83 MDL-21432 backup - all sort of restore tasks 2010-07-06 22:28:38 +00:00
Eloy Lafuente
754a102b13 MDL-21432 backup - restore controller 2010-07-06 22:25:54 +00:00
Eloy Lafuente
b5d45a0430 MDL-21432 backup - plan/task/step basis 2010-07-05 22:23:00 +00:00
Eloy Lafuente
dc5a2f8a5a MDL-21432 backup - using grouped parser in moodle_backup.xml + minor changes in common stuff 2010-07-05 22:10:51 +00:00
Eloy Lafuente
d12fd69be0 NOBUG backup - delete whitespace typo causing problems in section settings 2010-07-05 21:14:09 +00:00
Eloy Lafuente
f60f4666f9 MDL-21432 backup - added operation to separate backup & restore 2010-07-05 16:37:50 +00:00
Eloy Lafuente
21f96041dd NOBUG backup - fix two recently broken tests 2010-07-05 07:36:14 +00:00
Eloy Lafuente
4c7f6ac693 MDL-22699 restore parser - new grouped parser, useful for multilevel tags 2010-07-05 00:50:06 +00:00
Eloy Lafuente
4abf04ea06 MDL-22245 backup - improving subplugin support a bit, thanks to David for his comments 2010-07-03 17:12:39 +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
Eloy Lafuente
060df4c8f7 MDL-22245 backup - added activities subplugin support 2010-07-02 11:13:00 +00:00
Eloy Lafuente
93e9978ef9 MDL-22245 optigroup tests - check elements without conditions are applied by default 2010-06-28 20:54:21 +00:00
Eloy Lafuente
a42dcde415 MDL-21432 move some stuff from base to backup plan classes 2010-06-22 10:31:37 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +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
be866f9d6c MDL-22699 xml parser - to be used by restore 2010-06-07 14:40:12 +00:00
Eloy Lafuente
b46ba22bf5 NOBUG: reduce to 1 whitespace. ctags was crying 2010-06-04 18:38:33 +00:00
Dongsheng Cai
1fd3ea4308 MDL-22548, added sortorder filed to backup2 2010-05-31 03:08:04 +00:00
Eloy Lafuente
c86fa1a2ce MDL-22588 restore scales - fix scales not being assigned to target course. Merged from 19_STABLE 2010-05-28 09:25:21 +00:00
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