24 Commits

Author SHA1 Message Date
stronk7
42f1ff47b4 Scales are now supported in backup/restore.
Updated version to 0.8.8 alpha. Please test.
2003-08-18 00:00:22 +00:00
moodler
63bcc9b55b Use isteacheredit instead of isteacher 2003-08-16 06:37:06 +00:00
stronk7
0c6e10b33e Now "backupdir" string is hardcoded in backup process. 2003-08-02 16:13:44 +00:00
moodler
bd38123e98 Completed mods to allow teachers to make backups 2003-08-01 14:42:14 +00:00
moodler
9c1ae5ae32 Removed $moodle_home and $mods_home references.
Also removed direct references to $backup_version and $backup_release

backup.php now accepts teachers of their own course
2003-08-01 14:34:11 +00:00
stronk7
4498d1a402 Prepared to insert string in langs. Tomorrow. 2003-07-27 21:30:24 +00:00
stronk7
042c19f5a5 Changed backup logs default to NO. 2003-07-15 18:12:41 +00:00
stronk7
040c7b7099 Changed end 2003-07-07 18:42:19 +00:00
stronk7
290a1b4a3e Backup quizzes COMPLETED. Two setps finished. 2003-06-10 09:25:27 +00:00
stronk7
58d9f06216 Small typo 2003-05-31 15:19:59 +00:00
stronk7
c563a9a0d1 added check login, check admin and check site to every page.
If not, it was possible to execute them...!!
2003-05-18 17:15:05 +00:00
stronk7
740aa005dc Interchange delete old data and create temp structures. The first time
an error ocurred, because we were trying to access an no-existent dir.
2003-05-16 17:36:47 +00:00
stronk7
4784696533 Backup finished.
Limitations:
   - Only assignment and resource mods are exported.
Little problems persit:
   - PCLZIP/UNZIP incompatibility
   - Do not count backup files in course_files_check_backup
2003-05-11 17:45:56 +00:00
stronk7
b294bc4b1d Zipping files.
Ok under command line. Bad under pcl lib
2003-05-11 11:06:23 +00:00
stronk7
667d2f2a86 User files and course files are saved selectively to backup directory 2003-05-11 00:14:11 +00:00
stronk7
d0ef834745 Preparing the user_files and course_files copy 2003-05-10 17:44:08 +00:00
stronk7
efead3b909 Now generate mod info about assignments (with file copy to temp/backup)
and resources.
2003-05-10 17:25:20 +00:00
stronk7
32ad57746b Avoid undefined backupable mods to be exported 2003-05-09 23:21:55 +00:00
stronk7
537718f85a Included log generation to XML 2003-05-09 20:05:15 +00:00
stronk7
cfb9c52577 User accounts are now included in XML generation 2003-05-09 14:57:41 +00:00
stronk7
52b538621e Changes to support xml sections generation.
And convert htmlentities an utf8
2003-05-07 22:15:14 +00:00
stronk7
3b8bad6ff0 Included support to clean /temp/backup automatically and to write
the xml file (header and info only)
2003-05-06 22:48:25 +00:00
stronk7
674b30f5f7 Begin the execute process. Created temporary structures (dir) 2003-05-04 23:24:48 +00:00
stronk7
a615cc7bb6 Renamed from check.html, execute.html and backup.html to avoid
problems when doing restore.
Old files deleted from CVS
2003-05-04 21:29:27 +00:00