18 Commits

Author SHA1 Message Date
moodler
63bcc9b55b Use isteacheredit instead of isteacher 2003-08-16 06:37:06 +00:00
stronk7
9e426d54ee Added preliminary support to teachers.
Not working yet.
2003-08-02 16:06:33 +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
907933f6ae Included course/lib.php to execute rebuild_course_cache() 2003-05-31 14:51:38 +00:00
stronk7
5f94815096 Included lib/xmlize.php to use it intensively
restoring mods.
Perhaps, in a future, the rest of the reading must be
xmlized too !!! (users, course_info, header...), but not now.
2003-05-30 21:30:47 +00:00
stronk7
7ba7461530 Finished restoring course, course_sections and course_modules.
When ending the restore process, we've to update the instance
field of course_modules and the modinfo field of course. Now
we haven´t the necessary info to do that.
2003-05-24 00:27:45 +00:00
stronk7
7c934d06ed Finished the check phase.
Tomorrow I'll start recovering course info !!
2003-05-22 22:11:17 +00:00
stronk7
7e092fdaed Now call restore_check.html too. 2003-05-19 22:28:39 +00:00
stronk7
f2deadb30c Control when cancel has been selected. Inform and finalize. 2003-05-18 22:53:11 +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
a4ad03f175 Debug a bit 2003-05-17 08:56:53 +00:00
stronk7
b9846a9b9e Copy, expand and do preliminary checks from backup file 2003-05-16 21:52:49 +00:00
stronk7
0f192e2cd6 Initial version of restore. Simply, a copy from backup.php 2003-05-14 23:25:00 +00:00