moodler
9069e60346
Restricted users can't do backups
2004-02-04 12:43:05 +00:00
stronk7
fb2fcf3af5
Added some optional_variables to avoid some NOTICES
2003-08-24 14:46:52 +00:00
moodler
63bcc9b55b
Use isteacheredit instead of isteacher
2003-08-16 06:37:06 +00:00
stronk7
1692281e40
Minor change to allow continue after upgrade_backup
2003-08-02 10:32:57 +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
moodler
10dcde409b
Further integration of backup into main Moodle.
...
The database checks/upgrades are now done on the main
admin page like the other modules.
The database files are now standard format .sql and .php files
PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
2003-08-01 13:59:17 +00:00
stronk7
d538d4008f
Changed calls to backup_version.php to version.php
...
(to be more consistent with the rest of the modules)
2003-07-31 16:54:05 +00:00
moodler
5351f569c6
Updated paths for new location (that was easy!)
2003-07-09 04:43:10 +00:00
stronk7
ac6a7b144d
Changed max_execution_time to 3000.
...
Call to backup_required_functions included.
2003-06-12 15:35:37 +00:00
stronk7
55513d3ec5
Changed max_execution_time and memory_limit php variables
...
to execute long and heavy scripts (restore and backup) :-)
Only affects current script execution
2003-06-11 19:13:07 +00:00
stronk7
7641819df0
Moved the check_version code to lib.php
...
Formatted portions of code
2003-05-16 21:51:07 +00:00
stronk7
52376d940f
Now backuplib.php includes all the functions needed in backup, restorelib.php all
...
the functions needed in restore and lib.php the rest of common functions.
2003-05-14 22:09:30 +00:00
stronk7
52b538621e
Changes to support xml sections generation.
...
And convert htmlentities an utf8
2003-05-07 22:15:14 +00:00
stronk7
95f6c01b03
Only admins can execute me !!
2003-05-07 16:09:34 +00:00
stronk7
000969becd
Included to get Moodle's version into xml file
2003-05-06 22:47:06 +00:00
stronk7
674b30f5f7
Begin the execute process. Created temporary structures (dir)
2003-05-04 23:24:48 +00:00
stronk7
b0778a76c3
Changed to link with new files (backup_form.html, backup_check.html
...
and backup_execute.html)
2003-05-04 21:32:11 +00:00
stronk7
3868b9c666
Finished the check phase. Ready to begin the execute phase.
2003-05-04 21:01:47 +00:00
stronk7
8cc242516e
Changed to support the backup_ids table in all modules (to store and
...
convert ids in backup/restore.
Added a check_version (copied from main moodle auto-update) to mantain
changes in backup/restore system.
2003-05-03 23:15:43 +00:00
stronk7
737c4885be
Simplified a lot (I discover the variable variables in php !!)
2003-05-01 17:42:08 +00:00
stronk7
3920667ee3
First Version. Do nothing but I saved it from accidental remove !!
2003-05-01 00:45:40 +00:00