2618 Commits

Author SHA1 Message Date
moodler
10dcde409b Further integration of backup into main Moodle.
The database checks/upgrades are now done on the main
admin page like the other modules.

The database files are now standard format .sql and .php files

PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
2003-08-01 13:59:17 +00:00
stronk7
101735cc89 Included fix_category_courses() to
adjust the new category structure
2003-07-31 18:01:45 +00:00
stronk7
f5786441aa Changed to version.php
(to be more consistent with the rest of the modules)
2003-07-31 16:56:40 +00:00
stronk7
2c54aa080b Copied from old backup_version.php
(to be more consistent with the rest of the modules)
2003-07-31 16:55:11 +00:00
stronk7
d538d4008f Changed calls to backup_version.php to version.php
(to be more consistent with the rest of the modules)
2003-07-31 16:54:05 +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
388052cd9c Solved two importat bugs.
Numerical Questions now working.
Included support to Moodle's language system.
2003-07-29 19:48:06 +00:00
stronk7
a42de97187 Included language support. 2003-07-29 15:38:55 +00:00
stronk7
2aa7d92472 Added and commented some debug lines. 2003-07-29 15:37:38 +00:00
stronk7
67805f89ec Prepared to insert string in langs. Tomorrow. 2003-07-28 19:37:37 +00:00
stronk7
1b42805d61 Added chat status 2003-07-28 19:35:36 +00:00
moodler
49caea35c9 Small changes to the restore "continue" button and some missing strings 2003-07-28 01:38:35 +00:00
stronk7
4498d1a402 Prepared to insert string in langs. Tomorrow. 2003-07-27 21:30:24 +00:00
stronk7
92ffd629b2 Typo in course STARTDATE 2003-07-27 21:29:22 +00:00
stronk7
9bd651e876 Small typo in course STARTDATE. 2003-07-27 21:27:48 +00:00
stronk7
c11c6fed95 //Added some debug (commented in production) 2003-07-27 21:26:51 +00:00
moodler
d4f2e3fb55 Backup the new course->visible field 2003-07-21 07:35:58 +00:00
stronk7
309fbe5681 Numerical questions included in backup/restore. Up a bit. 2003-07-19 18:02:03 +00:00
stronk7
9380866797 Little modification to use $CFG->directorypermissions in mkdir 2003-07-16 07:57:10 +00:00
stronk7
042c19f5a5 Changed backup logs default to NO. 2003-07-15 18:12:41 +00:00
stronk7
e487376a8c Added some flushes to avoid some browsers timeouts
when calculating what to backup (check phase).
2003-07-15 18:10:15 +00:00
stronk7
bc66e327c6 Small typo when creating structures in a fresh installation
(no previous backup installed)
2003-07-10 18:21:32 +00:00
moodler
5351f569c6 Updated paths for new location (that was easy!) 2003-07-09 04:43:10 +00:00
moodler
87828a3a99 Demolishing the old house for these guys 2003-07-09 04:42:26 +00:00
stronk7
e1b3457139 Some minor cleanings 2003-07-07 19:22:52 +00:00
stronk7
04ab6cabc6 Some debug info commented 2003-07-07 19:20:52 +00:00
stronk7
11c1d52551 Added some flush 2003-07-07 18:46:36 +00:00
stronk7
040c7b7099 Changed end 2003-07-07 18:42:19 +00:00
stronk7
d48370a60b Added some flush() to the backup process (in users, questions and logs) 2003-07-07 18:26:11 +00:00
stronk7
96e1bd4a55 Included support to DESCRIPTION qtype.
Mainly, do nothing, but it's supported now :-)
2003-07-06 09:21:56 +00:00
stronk7
fcf74f5a80 Changed the backup output to convert every "\r\n\" and "\r"
(Windows and Mac line-break sequences) to "\n" (Unix line-break
sequence) to be treated apropiately by nl2br function.
Updated to 0.8.1 alpha
2003-07-05 23:14:16 +00:00
stronk7
ca5c2e1d3c Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to
avoid \n skipping.
2003-07-05 22:44:29 +00:00
stronk7
b1a09588e4 Now quizzes are restored too !! 2003-07-03 23:22:58 +00:00
stronk7
9079f6448c Updated to 0.8.0 alpha. Quizzes included !!
Broken compatibility with previous backups.
2003-07-03 23:21:27 +00:00
stronk7
ad80e394a0 Some comments and debug 2003-07-03 23:18:13 +00:00
stronk7
87cdd48c5a Remove thanks to Daniel in progress :-) 2003-07-03 23:17:07 +00:00
stronk7
39851da158 Now quizzes are restored completely.
Bronken backup compatibility again !!
2003-07-03 23:15:18 +00:00
stronk7
90c2f403e2 Changed to allow correct responses (match_sub) to be restored 2003-07-03 23:04:26 +00:00
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