24 Commits

Author SHA1 Message Date
moodler
ae5f8de620 Added some more error messages when restoring 2003-08-22 13:20:06 +00:00
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
moodler
6a2d42e6fb Changed function name 2003-08-07 16:04:54 +00:00
stronk7
51de923ed1 Reuse an existing string. 2003-08-03 15:15:23 +00:00
stronk7
be2a6fc6ca Teacher restoring and admin restoring finished.
Allow restore into new course (only admins),
      restore into existing course deleting old and
      restore into existing course adding to old
Teachers are limited to "current course" while admins ca
select any course. :-)
2003-08-03 00:42:41 +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
101735cc89 Included fix_category_courses() to
adjust the new category structure
2003-07-31 18:01:45 +00:00
stronk7
2b96840769 Variables passed by reference warning is out !! 2003-07-31 16:44:52 +00:00
stronk7
7d40e78c0d Uncommented clean_temp_data. I forgot it
in lastest tests...
2003-07-30 16:29:53 +00:00
stronk7
67805f89ec Prepared to insert string in langs. Tomorrow. 2003-07-28 19:37:37 +00:00
stronk7
11c1d52551 Added some flush 2003-07-07 18:46:36 +00:00
stronk7
56f56ca0b2 Now categories and questions are recovered completely (STEP1) 2003-06-28 23:18:37 +00:00
stronk7
7c7031dd16 Added some <br>... 2003-06-23 22:49:58 +00:00
stronk7
adc8b0c7fe Changes to users restore and some minor bugs detected
(when no modules were selected to restore)
2003-06-20 19:44:06 +00:00
stronk7
5c191b96ee Clear temp data working now (uncommented) 2003-06-12 17:32:22 +00:00
stronk7
2ffc0358aa Uncommented clean_temp_data. 2003-06-01 19:59:42 +00:00
stronk7
bd19b8fa96 Restoring assignments COMPLETED.
Added clean temp structures
Increased version info
2003-06-01 10:40:11 +00:00
stronk7
5146bf9f54 Now readjusting course_modules instance and course modinfo
os implemented and working
2003-05-31 15:21:39 +00:00
stronk7
e3df3ece17 Begin restoring mods. Now they are readed and saved to db
(backup_ids) in serialized form.
2003-05-30 21:32:04 +00:00
stronk7
64eed73fa2 Changed bahabior when restoring into a existing course
(don't create sections and assign to section 0 if original
section doesn't exist). Everything is saved in backup_ids
to use it when restoring modules.
2003-05-28 23:41:56 +00:00
stronk7
1bdeb2ca8e Implemented copying course_files and user_files. 2003-05-28 19:43:11 +00:00
stronk7
3f676beac0 Finished restoring users.
Now, if selected, restore user files (in progress).
2003-05-27 22:34:29 +00:00
stronk7
a2c7397c42 Restore into new course and existing course implemented.
Restore sections and mod implemented.
Restore users (all, course and none) implemented
2003-05-25 22:58:13 +00:00