Mark Nielsen
8450e2c41f
Attempting to write up processing of the moodle.xml file - the converter collects all of the element paths to watch and then dispatches them to the convert_structure_step classes.
2011-05-10 17:57:51 +02:00
Mark Nielsen
c5c8b3503a
Making the conversion process more re-usable
2011-05-10 17:57:51 +02:00
Mark Nielsen
1e8c265c2b
Added converter format detection and added conversion logic to restore controller
2011-05-10 17:57:50 +02:00
Mark Nielsen
7336701ff1
Minor fixes and added more methods
2011-05-10 17:57:50 +02:00
Mark Nielsen
17252e2d8a
Adding some of the base classes and starting to fill out their methods/properties
2011-05-10 17:57:50 +02:00
Sam Hemelryk
e1ce7c7e7b
Merge branch 'MDL-26896' of git://github.com/stronk7/moodle
2011-04-11 14:48:01 +08:00
Eloy Lafuente (stronk7)
14e6710d99
MDL-26896 parser - add start/end path notifications
2011-04-11 02:16:58 +02:00
Aparup Banerjee
ca3617c513
MDL-26319 moved cancel_backup() from backup_ui to cancel_process() in base_ui and renamed callers. fix for method inheritance in restore_ui.
2011-04-07 10:39:34 +08:00
Petr Skoda
25ca24d59f
Merge branch 'MDL-25388_restore_activities_target' of git://github.com/stronk7/moodle
2011-03-07 12:32:46 +01:00
Eloy Lafuente (stronk7)
4b43b1074f
backup MDL-26572 add new param to plugin and subplugin functions
2011-03-07 00:16:25 +01:00
Eloy Lafuente (stronk7)
07a36633f9
Merge branch 'MDL-26572_backup_sum' of git://github.com/andyjdavis/moodle
2011-03-07 00:10:16 +01:00
Eloy Lafuente (stronk7)
165b7bd987
MDL-25388 restore - confusing options restoring 1-activity
2011-03-04 19:45:43 +01:00
sam marshall
89213d0041
backup MDL-26606 Backup should allow themes to have course data; also fix course theme restore
2011-03-04 15:53:48 +00:00
Andrew Davis (andyjdavis)
98529b009b
backup MDL-26572 made restore store null instead of 0
2011-03-04 12:14:00 +08:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
David Mudrak
29cbe43189
MDL-13481 Strings fullname and shortname are now deprecated
...
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.
AMOS BEGIN
CPY [fullname,core],[outcomefullname,core_grades]
CPY [shortname,core],[outcomeshortname,core_grades]
CPY [name,core],[rolefullname,core_role]
CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Petr Skoda
3bc644ce70
Merge branch 'MDL-26405_take_two' of git://github.com/stronk7/moodle
2011-02-16 20:24:54 +01:00
Eloy Lafuente (stronk7)
0149e6c713
MDL-26405 restore - dispatch able to skip branches
...
after this change any restore_structure_step processor
method is able to instruct the dispatcher about to skip
any path below it. Until now, we were doing the checks on
each child processor method, but that was inneficient and
prone to errors (easy to miss the check in a child so some
orphaned piezes of restore may be causing mess here and there).
Once implemented, it's simlpy a matter of the parent deciding if
all its children must be processed or no. Easier for developers
and also small speed improvement because avoids unnecesary
dispatching/processing to happen.
Surely only will be used in parts of core, like in question_categories,
saving 50-60 sub processors (sub-paths) to be dispatched.
2011-02-16 19:13:56 +01:00
Eloy Lafuente (stronk7)
8afbe44f7d
MDL-25863 backup - fix removal of old automated backup, both in filearea and filesystem
2011-02-14 21:38:45 +01:00
Eloy Lafuente (stronk7)
02cf691951
MDL-25863 backup - take rid of dupe code for filename calculations
2011-02-14 21:36:27 +01:00
Petr Skoda
251e5a8b62
Merge branch 'MDL-22146_backup_course_format_wip' of git://github.com/stronk7/moodle
2011-02-14 21:08:19 +01:00
Petr Skoda
995b6ff605
Merge branch 'MDL-26229_restore_attempts_wip' of git://github.com/stronk7/moodle
2011-02-14 21:02:49 +01:00
Petr Skoda
743fff98dc
MDL-26142 fix immediately spelling in strings, comments and code
2011-02-13 11:36:46 +01:00
Eloy Lafuente (stronk7)
945962a45d
MDL-26229 restore - prevent tag-conflicting structures to be created
2011-02-12 02:40:38 +01:00
Eloy Lafuente (stronk7)
5539e69862
MDL-26229 restore - parser improvements (repetitions and skipped tags)
2011-02-12 02:19:02 +01:00
Eloy Lafuente (stronk7)
a90659d6ba
DL-22146 backup & restore - course formats remaining hooks
2011-02-11 00:07:32 +01:00
Eloy Lafuente (stronk7)
4ab111b9bf
MDL-22146 backup & restore - extending the backup plugins API
2011-02-10 12:14:00 +01:00
Eloy Lafuente
636444e8b6
MDL-25019 backup - course_startdate may not exist
2010-11-24 10:46:15 +00:00
Sam Hemelryk
edf577d2cd
backup-cancel MDL-25244 Added missing YUI module requirement
2010-11-19 02:51:07 +00:00
Sam Hemelryk
92f3345773
backup MDL-25283 Fixed regression in restore by adding destroy method to independent restore stages.
2010-11-18 07:09:09 +00:00
Sam Hemelryk
44bb101dfe
backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion.
2010-11-18 02:09:23 +00:00
Sam Hemelryk
ca1292e014
backup MDL-24962 Automated backups now explicitly destroy the backup controller created at the end of a backup for a course.
2010-11-18 01:35:16 +00:00
Eloy Lafuente
8231bb159b
MDL-24962 backup - clean plan/settings circular refs on restore
2010-11-15 16:08:02 +00:00
Eloy Lafuente
f2364c93ed
MDL-24962 backup - cache xmldb_tables for multiple operations. Apply destroyer to temp controller.
2010-11-15 07:17:24 +00:00
Eloy Lafuente
287e804058
MDL-24962 backup - circular refs destroyer for backup settings
2010-11-15 07:16:24 +00:00
Eloy Lafuente
4f6ed68c1c
MDL-24962 backup - circular refs destroyer for backup plan
2010-11-15 07:15:48 +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
Eloy Lafuente
0f66acede0
MDL-22135 - logs restore, course and activities + cleanup
2010-11-11 19:46:04 +00:00
Sam Hemelryk
33d34b4b77
restore MDL-24757 Fixed up course and category selectors
2010-11-11 01:21:16 +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
Andrew Davis
46505ee75e
message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version
2010-11-05 08:04:40 +00:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +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
d0ad98607d
MDL-24962 backup - now destroying circular refs manually to help PHP 5.2
2010-11-01 22:09:44 +00:00
Sam Marshall
5bef986516
Backup MDL-24906 Fixed unit test failures
2010-11-01 16:33:30 +00:00
Eloy Lafuente
648a575eda
NOBUG: Added support for after_restore() methods on restore. Will help some blocks.
2010-11-01 15:53:35 +00:00
Eloy Lafuente
9f68f2d5a6
MDL-24817 backup - added support for decode contents in plugins (and qtypes)
2010-11-01 15:49:01 +00:00
Sam Marshall
1865b411fd
Backup MDL-24906 Fixed unit test failures
2010-11-01 14:46:07 +00:00
Eloy Lafuente
9af849fa73
MDL-24918 backup - fix setting use leading to wrong security check error
2010-10-28 18:04:35 +00:00