Eloy Lafuente (stronk7)
438606fca3
MDL-28156 restore - fix some notices restoring empty courses
2011-07-10 13:13:23 +02:00
David Mudrak
477f1d2b78
MDLQA-1147 Fixed a typo in the exception class name
...
Thanks Steve Turley for spotting and reporting this during the QA.
2011-06-29 00:10:59 +02:00
Eloy Lafuente (stronk7)
beae4a6684
MDL-25811 automated backups - clean running status after 90 mins of inactivity
2011-06-21 02:41:12 +02:00
David Mudrak
fad0f24499
MDL-22414 Removing obj_to_readable helper
2011-06-09 11:38:15 +02:00
David Mudrak
fe50f530fd
MDL-27379 Backup conversion logging facilities
2011-06-06 13:56:06 +02:00
David Mudrak
d51345c7c6
Fixed the class name in the calling code after a recent change
2011-05-18 00:55:24 +02:00
David Mudrak
383f6f63c7
Fixed wrong class name
2011-05-16 19:05:34 +02:00
David Mudrak
99a82518eb
The main moodle_backup.xml file is now being generated by the converter
2011-05-16 19:02:13 +02:00
David Mudrak
17d2e210b7
Renamed converter factory method to more self-descriptive get_converter()
2011-05-13 12:06:10 +02:00
David Mudrak
a5ea28b32d
Removing relics of the previous plan/tasks/steps based implementation
...
Kudos to Mark Nielsen for his initial work on this project. In his code,
Mark described the valuable logic of the conversion using a framework
mirroring plan/tasks/steps based architecture of the backup and restore.
My attempt to simplify it led to the current handlers-based
architecture.
2011-05-13 03:09:26 +02:00
David Mudrak
beb7de3736
More backup-converter API improvements
...
Added write_xml() helper that writes the given tree-ish structure into
the current xml writer. Improved get_contextid() so that it can use
indices for searching data. Added set_stash() and get_stash() helper
methods.
2011-05-12 15:36:09 +02:00
David Mudrak
1e2c735111
MDL-27376 MDL-27377 MDL-27378 Backup converters refactoring - work in progress
...
These are David's changes of Mark's code that replace the
plan/tasks/steps infrastructure with a bit simpler one. The changes will
be described in the next commit that will actually finish the
conversion.
TODO: refactor backup/converter/moodle1/stepslib.php into conversion
handlers.
2011-05-10 17:58:00 +02:00
David Mudrak
0164592b8c
MDL-27376 MDL-27377 Backup converters API refactored
...
* Several base_converter methods made protected when there was no obvious
reason why they should be public (subject of eventual change still).
* The conversion chain now constructed in advance before any converter
class is instantiated, using Dijkstra's algorithm.
2011-05-10 17:57:59 +02:00
David Mudrak
e48477d94f
MDL-22414 Fixed standard copyright file headers (R0417)
2011-05-10 17:57:59 +02:00
Eloy Lafuente (stronk7)
5b01180aed
Apply parser processor new methods + observe $CFG->keeptempdirectoriesonbackup
2011-05-10 17:57:58 +02:00
Mark Nielsen
56bd1ab0e1
Added use of get_contextid and fixed some problems
2011-05-10 17:57:55 +02:00
Philip Cali
a656fcb387
Adding the convert_file function to the file manager.
2011-05-10 17:57:55 +02:00
Mark Nielsen
62c5daf122
Adding doc block todos
2011-05-10 17:57:55 +02:00
Mark Nielsen
6c0235b375
Adding doc block
2011-05-10 17:57:54 +02:00
Mark Nielsen
e10e887905
Might make it faster...
2011-05-10 17:57:54 +02:00
Mark Nielsen
eba6af755c
Re-arranging function definition
2011-05-10 17:57:53 +02:00
Philip Cali
142ec51fcd
Added contextid generation... I think.
2011-05-10 17:57:53 +02:00
Mark Nielsen
653bc98b0e
Fixing several bugs while actually trying to execute some of the code
2011-05-10 17:57:52 +02:00
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
17252e2d8a
Adding some of the base classes and starting to fill out their methods/properties
2011-05-10 17:57:50 +02:00
Eloy Lafuente (stronk7)
14e6710d99
MDL-26896 parser - add start/end path notifications
2011-04-11 02:16:58 +02: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
743fff98dc
MDL-26142 fix immediately spelling in strings, comments and code
2011-02-13 11:36:46 +01: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
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
0f66acede0
MDL-22135 - logs restore, course and activities + cleanup
2010-11-11 19:46:04 +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
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
Eloy Lafuente
41941110fd
MDL-22138 backup - I know smaller cathedrals than this, yay quizzes!
2010-10-24 10:43:42 +00:00
Petr Skoda
4756e9c9e2
MDL-21915 fixing remaining chmod and mkdir to use moodle file permissions
2010-10-06 19:06:52 +00:00
Eloy Lafuente
dc1e4ccebd
MDL-23752 backup - export/import mode. Fixed various details.
2010-09-28 09:33:54 +00:00
Eloy Lafuente
767cb7f03a
MDL-22151 & MDL-22138 - Quiz activity backup & questions banks too!
...
CV S: ----------------------------------------------------------------------
2010-09-21 01:28:30 +00:00
Petr Skoda
693ef3a8af
MDL-24283 improved stored_file encapsulation, this should allow us to hack with stored_file/file_storage internals in the future without breaking BC
2010-09-19 15:50:18 +00:00
Petr Skoda
2b199e7c0b
MDL-23885 fixed file api encapsulation and lowering number of direcories in zip files
2010-08-26 07:43:06 +00:00
Andrew Davis
c2a4f885b4
backup MDL-23885 committing Eloys patch so backup works with the revised file area system
2010-08-26 02:15:11 +00:00
Eloy Lafuente
329e67fbde
MDL-21432 backup - inform about missing restore subpluggins to developers
2010-08-06 16:07:06 +00:00
Dan Marsden
5c40dc5143
MDL-23479 fix typo in restore code
2010-07-29 03:58:55 +00:00
Dan Marsden
2e45c72a20
MDL-23479 missing global
2010-07-29 03:41:16 +00:00
Eloy Lafuente
cdc680110a
MDL-22179 backup interlinks - save a bunch (zillions) of regexps to happen
2010-07-27 23:14:28 +00:00
Eloy Lafuente
5b457d2657
MDL-22179 backup - final implementation of the interlinks decoder for restore
2010-07-27 14:45:44 +00:00