2618 Commits

Author SHA1 Message Date
stronk7
304084d937 Restoring choices COMPLETED 2003-06-01 18:19:09 +00:00
stronk7
65ec0f59d1 Restoring assignmets COMPLETED
Cleaning up temp data
2003-06-01 10:44:35 +00:00
stronk7
bd19b8fa96 Restoring assignments COMPLETED.
Added clean temp structures
Increased version info
2003-06-01 10:40:11 +00:00
stronk7
99d1a496a4 Restoring assignments COMPLETED 2003-06-01 10:39:07 +00:00
stronk7
16f77249aa Added little check 2003-06-01 10:38:39 +00:00
stronk7
3ad243153a Typo :-) 2003-05-31 15:27:37 +00:00
stronk7
516c30b75a Now restore resources and final checks are included !!! 2003-05-31 15:24:14 +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
d6d7461bd9 Restore IMPLEMENTED 2003-05-31 15:20:25 +00:00
stronk7
58d9f06216 Small typo 2003-05-31 15:19:59 +00:00
stronk7
907933f6ae Included course/lib.php to execute rebuild_course_cache() 2003-05-31 14:51:38 +00:00
stronk7
6d18c5a214 Added backup_todb to addslashes and decode
from UTF before inserting info in db.
2003-05-31 10:08:44 +00:00
stronk7
04b353e4d6 Return info to know what modules process... 2003-05-30 22:55:40 +00:00
stronk7
0b1473f971 Stop showing this mods to restore 2003-05-30 21:56:47 +00:00
stronk7
22c5d5271a Only save to backup_ids restoreable modules. 2003-05-30 21:56:08 +00:00
stronk7
b274cafd99 Everything is ready to begin restoring mods... 2003-05-30 21:32:45 +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
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
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
381ae36075 User files and course files are now working !! 2003-05-28 19:48:10 +00:00
stronk7
1bdeb2ca8e Implemented copying course_files and user_files. 2003-05-28 19:43:11 +00:00
stronk7
d688c342ad Begin restoring user files. 2003-05-27 22:37:05 +00:00
stronk7
3f676beac0 Finished restoring users.
Now, if selected, restore user files (in progress).
2003-05-27 22:34:29 +00:00
stronk7
4848d55a9e Few changes to gather info to show in restore progress
(various user counts (existing, new,...)
2003-05-26 00:07:56 +00:00
stronk7
0be7c25ebe Minor bug creating newid when restorinf users 2003-05-25 23:37:07 +00:00
stronk7
2f6c832d5c Included User restore. Hard work !!! 2003-05-25 23:02:09 +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
stronk7
0535cadae5 Included new "autosubscribe" fiel in users backup 2003-05-25 09:31:17 +00:00
stronk7
6a602d47e0 hanged info field in backp_ids to store text data
(used when restoring long portions of data)
2003-05-24 09:23:41 +00:00
stronk7
5881bb7e3c Changed info field in backp_ids to store text data
(used when restoring long portions of data9
2003-05-24 09:23:05 +00:00
stronk7
8fdd5ab2b3 Advance a bit more.
Course, course_sections and course_modules finished.
We have to update instance (in course_modules) and modinfo
(in course) at the end of the restore. We haven't the necessary
info now.
2003-05-24 00:34:27 +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
47e9035598 In course_modules export the field ADDED too. 2003-05-24 00:23:35 +00:00
stronk7
f698f3f394 Finished restore frontend. 2003-05-22 22:59:21 +00:00
stronk7
6157b82c7b none 2003-05-22 22:12:32 +00:00
stronk7
7c934d06ed Finished the check phase.
Tomorrow I'll start recovering course info !!
2003-05-22 22:11:17 +00:00
stronk7
91d7f813e5 Initial checks. More to do !! 2003-05-19 22:34:12 +00:00
stronk7
304d7785ca Now all the required variables are set to call restore_check.html 2003-05-19 22:33:45 +00:00
stronk7
7e092fdaed Now call restore_check.html too. 2003-05-19 22:28:39 +00:00
stronk7
3f50cab58d Checks everything is OK before lanunch the process. It allows to
select the destination course.
Initial version, it doesn't work !!
2003-05-19 19:29:51 +00:00
stronk7
8d5b052f35 Now, one more step. Call to restore_check.html 2003-05-19 19:28:14 +00:00
stronk7
96376e9a4f Finalized. Form data is displayed dinamically, depending of
every mod features and the backup file-contents.
2003-05-18 22:57:23 +00:00
stronk7
96112b5224 Initial version. Does nothing !!, but needed to show info in
restore_form.php
2003-05-18 22:55:54 +00:00
stronk7
f2deadb30c Control when cancel has been selected. Inform and finalize. 2003-05-18 22:53:11 +00:00
stronk7
fd2f02d4cd Initial version. Form to select where and what to restore. 2003-05-18 21:41:08 +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
729035fdaa Advance a bit more... 2003-05-18 15:54:01 +00:00
stronk7
76bf541df8 Course Header and Backup info is showed now !!
I'll start using sessions to mange all this data.
2003-05-18 15:51:20 +00:00
stronk7
fd43f7d026 Now course header is retrieved too !! 2003-05-17 17:34:30 +00:00
stronk7
48cbf566bb XML generation. Included the main course data under a HEADER tag.
Needed for recover.
2003-05-17 15:58:24 +00:00