Dongsheng Cai
ac0628e913
MDL-33177 Fixed restore warning when backup has external contents
2012-05-22 14:43:06 +08:00
Dan Poltawski
2b4f1cbc32
Merge branch 'wip-files23' of git://github.com/marinaglancy/moodle
2012-05-21 18:19:32 +08:00
Dongsheng Cai
6723372514
MDL-28666 Extends repository to support references
...
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Eloy Lafuente (stronk7)
ad4dc7d265
MDL-33079 Enable IMS-CC export (backup converter)
2012-05-18 01:35:07 +02:00
Aparup Banerjee
648baa788c
Merge branch 'MDL-28657-master' of https://github.com/mackensen/moodle
2012-05-02 13:55:39 +08:00
Petr Skoda
bb7898c6ab
MDL-32569 convert remaining backup tests and drop old simpletests
2012-04-21 16:24:33 +02:00
Charles Fulton
66150286b5
MDL-28657 backup: make automated backup filenames site admin-configurable
2012-04-20 08:52:56 -07:00
Petr Skoda
4b02743182
MDL-32149 improve testcase naming and list in config file
2012-04-03 22:30:57 +02:00
Petr Skoda
4ac88d6d10
MDL-32149 remaining phpunit tests for backup/restore
2012-04-03 22:30:55 +02:00
Petr Skoda
dbf5a44798
MDL-32149 add backup tests and dropping of extra tables
2012-04-03 22:30:54 +02:00
Eloy Lafuente (stronk7)
2ed7cc2730
Merge branch 'w10_MDL-31301_m23_textlibcleanup' of git://github.com/skodak/moodle
2012-03-06 16:06:53 +01:00
Petr Skoda
6f3451e540
MDL-31301 remove all uses of moodle_strtolower() and deprecated it
2012-03-03 11:46:26 +01:00
Eloy Lafuente (stronk7)
f88224624d
MDL-29248 backup: delete user_files settings, lang strings and uses
2012-03-01 13:09:47 +01:00
Petr Skoda
46f0e774f3
MDL-31173 fix variable name typo when throwing invalid $rule param exception in restore decode processor
2012-01-21 20:14:58 +01:00
Petr Skoda
927010240f
MDL-31006 some more PHP54 notices
...
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +01:00
Petr Skoda
daca599ff1
MDL-30943 fix forgotten admin/report/ references
2011-12-28 19:36:23 +01:00
Eloy Lafuente (stronk7)
acb8164304
MDL-29956 ims-cc - disabling export and cleaning some unused code
...
This commits cleans some code (settings and dependencies)
and one file included previous by error.
Also it disables all the IMS-CC export feature by default, being
possible to enable it under demand by setting (@ config.php):
$CFG->enablebackupconverters = true;
2011-11-14 21:32:05 +01:00
Mark Nielsen
42dffc6feb
MDL-29956: Implement common cartridge export (r16882)
2011-11-14 21:25:08 +01:00
Marina Glancy
a6c124f5e3
MDL-25454: using the faster way to check if record exists in db
2011-09-29 17:00:04 +08:00
Marina Glancy
e2558cd3ab
MDL-25454 before skipping course backup make sure that there are no change entries in it's log during the last month. Store the nextstarttime even for courses that were not backed up
2011-09-29 08:56:48 +08:00
Aparup Banerjee
5433da6064
Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
...
- resolved conflicts.
2011-09-13 11:39:06 +08:00
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +02:00
Sam Hemelryk
8ebbb06adf
MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently
2011-09-08 09:30:27 +12:00
Sagie Maoz
0d5e5644b8
MDL-26721 automated backups - Fix typo
...
Causing the 'role assignment' backup inclusion to be tied to the users
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-08-08 15:40:55 +08:00
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