729 Commits

Author SHA1 Message Date
stronk7
9464f66f82 Solved bug when triyng to backup mod without any module files.
Thanks to Daniel Miksik.
2003-07-02 22:33:25 +00:00
stronk7
cb0d53106e Little bug in randomsamatch questions. 2003-06-30 21:44:36 +00:00
stronk7
4f93ac2254 Update version to 0.7 alpha
Changes is backup to avoid duplicate tag names !!
Broken backup/restore compatibility with previous versions
2003-06-29 23:03:49 +00:00
stronk7
f82f87d630 Begin restoring quizzes (STEP 2)
Incomplete yet
2003-06-29 22:53:39 +00:00
stronk7
4db6f3f46a Now, restoring quizzes too (STEP 2).
But incomplete, yet !!
2003-06-29 22:51:48 +00:00
stronk7
242c6fe274 Changed some tags.
Old backups are now incompatible !!
2003-06-29 22:31:59 +00:00
stronk7
546431e9b8 Now categories and questions are recovered completely (STEP1)
Go up a bit!!    :-)
2003-06-28 23:24:51 +00:00
stronk7
56f56ca0b2 Now categories and questions are recovered completely (STEP1) 2003-06-28 23:18:37 +00:00
stronk7
477da948a8 I forget to update the firstpost field in discussions.
Solved.
2003-06-23 23:33:26 +00:00
stronk7
9f61d8aab5 Bug when reassigning firstposts in discussions.
Solved !! Uff !!
2003-06-23 23:20:48 +00:00
stronk7
6dbedc7fb2 Update version. It goes up a bit :-)
(journals and forums included)
2003-06-23 22:56:18 +00:00
stronk7
78e042f1c3 Now forums are restored too 2003-06-23 22:52:02 +00:00
stronk7
4995323f75 Now FORUMs are restored too !! 2003-06-23 22:50:47 +00:00
stronk7
7c7031dd16 Added some <br>... 2003-06-23 22:49:58 +00:00
stronk7
783ab2b07c Bug in backup_getid cause return record when no record
must be returned. Solved.
2003-06-23 22:36:42 +00:00
stronk7
6e0470a646 Changed to avoid backup_name contains whitespaces !! 2003-06-23 17:50:38 +00:00
stronk7
4912fae11b Minor change to avoid timeouts copying user files
and course files.
2003-06-21 22:37:57 +00:00
stronk7
dafb597400 Journals are restored too 2003-06-21 19:10:41 +00:00
stronk7
475a7b8804 Journal are restored now !! 2003-06-21 19:08:20 +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
8328766280 Changes to work with data from fs instead of db.
Show progress info
Output data to the browser to avoid timeouts.
2003-06-20 19:46:01 +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
af9cd9552e Changes in:
- Saving temp data to fs, instead of db
     (mysql limit bug OUT)
   - Modified clean directories (moodle standard delete dir
     function seems to work wrong with large dirs
   - Send info to browser continuosly to avoid timeouts.
   - Increase php execution time limit
   - More checks.
   - Restore into existing course now works fine
   - Create course_dir if it doesn't exist in the final step
     of backup.
2003-06-20 19:42:20 +00:00
stronk7
28a1cb407a Updated to 0.6.1 alpha (tons of changes) 2003-06-20 19:38:07 +00:00
stronk7
c05d9c3ee8 Bug solved restoring in existing course. 2003-06-12 22:30:20 +00:00
stronk7
59728e8d4a Modified to flush data to browser... 2003-06-12 17:41:52 +00:00
stronk7
10453b424e Updated version to 2003061100 and modify backup tables (mediumtext) 2003-06-12 17:40:55 +00:00
stronk7
13e1a20fe1 Some improvements and tons of flushes !! 2003-06-12 17:38:36 +00:00
stronk7
5c191b96ee Clear temp data working now (uncommented) 2003-06-12 17:32:22 +00:00
stronk7
60b420af99 Added the backup_flush function use to send some data to the browser
flushing output inmediately
2003-06-12 17:29:16 +00:00
stronk7
d2c94f4b5b Typoooo :-) 2003-06-12 15:37:25 +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
fe3c84ab46 Added backup_required_functions to pre-check required functions in
backup/restore process.
2003-06-12 15:33:25 +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
d223ada029 Need to addslashes before put summary section data to db !!!
Now restoring sections is working.
User restoring failed !! -> Too much records !!
2003-06-10 17:27:08 +00:00
stronk7
4f39d4fb3a Changed the log_check_backup function to execute a count_records
instead of selecting everyting (crash when there is a lot of log entries).
2003-06-10 16:40:36 +00:00
stronk7
025288e27e Goooo 2003-06-10 15:56:47 +00:00
stronk7
02fa0aa3b0 Up a bit 2003-06-10 15:43:58 +00:00
stronk7
54b7cd7c60 Changed get_records (every field) in user_check_backup to
get_records (only id). Possible memory shortage when a lot
of users (3999) are retrieved.
2003-06-10 15:42:51 +00:00
stronk7
0aefd39fd4 More debug... 2003-06-10 15:18:48 +00:00
stronk7
e60e65ab5f Some debug 2003-06-10 15:07:12 +00:00
stronk7
fb14b23be5 Little change to avoid iterate when no users are retrieved in
user_check_backup function
2003-06-10 15:02:53 +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
a94891a727 Now quizzes are in backup.
Only STEP 2. Read comments in source !!!
2003-06-09 16:52:09 +00:00
stronk7
5c2365fbaa Backup journals COMPLETED 2003-06-06 20:07:10 +00:00
stronk7
cd7ad30f4b Backup journals COMPLETED. 2003-06-06 20:05:09 +00:00
stronk7
88b20de862 Small typoooooo ;-) 2003-06-06 19:43:10 +00:00
stronk7
df09d3f238 Backup forums COMPLETED !! 2003-06-03 18:18:45 +00:00
stronk7
d559e7825a Now backups include forums COMPLETED 2003-06-03 18:17:33 +00:00