72 Commits

Author SHA1 Message Date
stronk7
5b76e6fc51 Now every link to forums (from resources and forums) and every link
to resources (from resources and forums) are re-encoded in backup/restore.

I could reduce the code size but for now I prefer to have it this looong
form to clarify what it's doing.

Please, test, test and test...
2004-05-08 18:30:30 +00:00
stronk7
56eea82e08 First version of inter-activities mantained in backup/restore.
All the conversion to some pseudo-codes are done at backup time.
In the restore process, every link is decoded to new ids.
For now, this is supported:
- In backup:
  -all links to forums are encoded.
- In restore:
  - all links to forums are decoded.
      - from forums (post->message).
      - from resources (resource->alltext).
The process requires a backup made with the same version (because it
has to be properly encoded at backup time). Old backups will work
without conversions at all.
Only tested with some little courses.
It would be perfect to have some "big" course to test it.
Please, test and feedback, ciao :-)
2004-04-24 00:40:45 +00:00
stronk7
866eb2ffbd Update a bit. 2004-04-09 21:41:00 +00:00
stronk7
63a3695bfa Now every all the logs are restored.
Please, test it !!
2004-02-22 19:22:05 +00:00
stronk7
cd44fdcb82 Some important changes:
- Now course events are supported in backup & restore.
        - in manual backups
        - in scheduled backups
    - Fixed important bug when restoring groups.
    - Added support to the "user change password" action
      (with some changes done in login/change_password.php)

Please, test it !!!!
2004-02-21 01:30:22 +00:00
stronk7
5d31e5af40 Updated a bit. 2004-02-20 20:10:14 +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
stronk7
d997d2d44e Now an email is sent to the admin when some course backup is excecuted.
TODO:
   - View logs
   - Language strings
2003-12-15 00:54:16 +00:00
stronk7
7f46857afe Now scheduled backups seem to be fully functional. Please, test it !!
TODO:
   - Insert info about process in backup_log
   - Be able to see that info from admin/backup.php
   - Email to the admin with the execution progress
   - Create all languaje strings
Bye :-)
2003-12-14 00:00:28 +00:00
stronk7
08c80128a9 Start the cron integration task for scheduled backups... 2003-12-10 16:47:02 +00:00
stronk7
b95a986819 Included (TODO) a new feature to select manually the desired activities
to backup (an Przemyslaw Stencel idea).
See http://moodle.org/mod/forum/discuss.php?d=3964
2003-12-09 16:16:04 +00:00
stronk7
90471d6b0b Going to "Create the script". Bump. 2003-11-30 21:57:43 +00:00
stronk7
6e980cfa80 Updated to include scheduled backup status. 2003-11-26 10:54:06 +00:00
stronk7
1becf68da2 Small typo :-) 2003-09-18 19:28:05 +00:00
stronk7
bb5eb662d0 Labels, attendances and glosaries finished.
Updated a bit info in STATUS.txt
2003-09-18 18:52:40 +00:00
stronk7
d04983d8a3 Now restoring workshops are working too !!
Now all is ready to be 1.1 Beta 1.
Congratulations everybody !!
Anyway, some polish must be done, friends...
2003-08-25 22:40:38 +00:00
stronk7
6252f5dcd3 Now workshops backup are included too !!
Only one step to Beta !! (workshop restore)
2003-08-25 19:56:42 +00:00
stronk7
6466b6bb56 Forgot to change one line !! :-) 2003-08-18 00:04:38 +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
stronk7
823e087163 Started work with scales !! 2003-08-17 20:17:41 +00:00
stronk7
80de201bfc Updated.
Now chat modules are included in backup and restore
2003-08-03 22:48:41 +00:00
stronk7
1b42805d61 Added chat status 2003-07-28 19:35:36 +00:00
stronk7
b1a09588e4 Now quizzes are restored too !! 2003-07-03 23:22:58 +00:00
stronk7
f82f87d630 Begin restoring quizzes (STEP 2)
Incomplete yet
2003-06-29 22:53:39 +00:00
stronk7
56f56ca0b2 Now categories and questions are recovered completely (STEP1) 2003-06-28 23:18:37 +00:00
stronk7
78e042f1c3 Now forums are restored too 2003-06-23 22:52:02 +00:00
stronk7
dafb597400 Journals are restored too 2003-06-21 19:10:41 +00:00
stronk7
5acc69451e Although a lot of changes have been done in the backup/restore process,
only minor changes in STATUS.
2003-06-20 19:47:46 +00:00
stronk7
025288e27e Goooo 2003-06-10 15:56:47 +00:00
stronk7
290a1b4a3e Backup quizzes COMPLETED. Two setps finished. 2003-06-10 09:25:27 +00:00
stronk7
a7a055fd0d Included some new workings.
Quizzes (step 2) completed.
2003-06-09 17:12:57 +00:00
stronk7
5c2365fbaa Backup journals COMPLETED 2003-06-06 20:07:10 +00:00
stronk7
df09d3f238 Backup forums COMPLETED !! 2003-06-03 18:18:45 +00:00
stronk7
a498fae1ee Missing phrase change :-) 2003-06-01 19:40:10 +00:00
stronk7
10ee538602 Restore surveys COMPLETED 2003-06-01 19:39:16 +00:00
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
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
04b353e4d6 Return info to know what modules process... 2003-05-30 22:55:40 +00:00
stronk7
b274cafd99 Everything is ready to begin restoring mods... 2003-05-30 21:32:45 +00:00
stronk7
381ae36075 User files and course files are now working !! 2003-05-28 19:48:10 +00:00
stronk7
d688c342ad Begin restoring user files. 2003-05-27 22:37:05 +00:00
stronk7
2f6c832d5c Included User restore. Hard work !!! 2003-05-25 23:02:09 +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
f698f3f394 Finished restore frontend. 2003-05-22 22:59:21 +00:00
stronk7
729035fdaa Advance a bit more... 2003-05-18 15:54:01 +00:00
stronk7
880fd2146c Updated. Some preliminary steps about restoring done. 2003-05-16 22:04:06 +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
f11d6df519 Survey backup included. 2003-05-11 22:44:40 +00:00