stronk7
2ecad74265
First version of restore logs !!
...
It restores:
course logs
user logs
Todo:
module logs
Coming soon :-)
2004-02-13 23:28:45 +00:00
stronk7
dfa14bc98f
Now groups and members are restored and recoded when restoring courses.
...
Existing courses are searched by name+description to add members to
existing groups (when restoring over another course).
2004-01-25 20:57:58 +00:00
moodler
d497a2a2fb
Don't throw an error if users aren't found - just print a notice.
2003-10-07 14:02:32 +00:00
stronk7
0611af101d
Now, "needed" users are included in backup/restore when
...
"course users" are selected. This uses the xxxx_get_participants()
function in every module.
This solves an issue about info in modules belonging to
unenrolled users (Bug #692 closed).
Mantain compatibility with old backups (1.1 and 1.1.1).
Updated version to "1.2 development".
Included support to "label" module (by Martin)
2003-09-14 21:43:34 +00:00
moodler
830ce8241b
Some fixes for robustness (make sure variables exist before using them
...
because it flags errors when in debug mode).
Also, when specifying array values by name use quotes around the name
eg $array['value'] instead of $array[value]
Finally, I changed the way user restoring works (slightly). Before, if a
restored user was found to be a course creator or an admin, then this
status was restored. I don't think this is a good idea - it could lead
to security problems when copying a backup from one site to another,
or if that person's status has changed since the backup was made.
I think it's best to only restore what is actually part of the course,
ie teacher or student.
If this broke anything else let me know!
2003-08-25 01:44:01 +00:00
stronk7
300ae26c2d
Ooops I commited some debug source code in previous
...
versions. Going back. Sorry.
2003-08-23 17:40:27 +00:00
stronk7
41923e7511
Solved one problem when copying empty directories.
2003-08-23 17:33:34 +00:00
stronk7
bbc69d99c1
Changed one notify
2003-08-23 17:02:20 +00:00
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