stronk7
447ed99612
Bump!
2006-03-29 17:27:29 +00:00
nfreear
72a877f8c9
Bugtracker 5023, fixes 'Database upgrade issue: 'relation "backup_files_u" already exists in...' Added, {$CFG->prefix}
2006-03-29 11:33:59 +00:00
stronk7
2070370cfa
Typo.
2006-03-28 23:31:12 +00:00
gustav_delius
9b908126b9
Bumped the backup version because I need this version in the question restore code.
2006-03-22 10:28:42 +00:00
gustav_delius
fe1106f0d1
Now the question backup code has been separated from the quiz backup code.
2006-03-21 16:50:42 +00:00
anthonyforth
88629fc419
Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database.
2006-03-21 10:31:28 +00:00
sam_marshall
f95310d224
Corrected line that would cause restore_create_modules to return True if the first module fails to restore, but the second succeeds. (Whereas it would already be False if the first succeeds, but second fails.)
2006-03-13 16:32:22 +00:00
gustav_delius
12fcd27da6
Some work on question restore code, not complete
2006-03-13 00:18:38 +00:00
gustav_delius
32a189d636
More renamings to separate questions from quiz. Some other small fixes.
2006-03-12 21:17:42 +00:00
patrickslee
cb8229d0a8
UTF8 migration - now supporting PostgreSQL
2006-03-10 03:43:33 +00:00
skodak
bbba475967
fixed includes in included files - see bug #4891
2006-03-07 23:41:22 +00:00
skodak
38b7336ed1
short php tags
2006-03-07 21:35:13 +00:00
skodak
25580a01bc
finally now the restore should work and with correct unicode related coding style, sorry
2006-03-07 19:53:56 +00:00
skodak
c07549b6e2
fixed coding style of unicode db detection
2006-03-06 20:30:00 +00:00
skodak
0beabf4898
fixed NULL in foreach warning
2006-03-03 22:26:22 +00:00
skodak
fd5ca378e6
fixed UTF-8 restore problems caused by utf8_restore
2006-03-03 22:22:07 +00:00
toyomoyo
4c64486f0c
NO_CONV for backup_log_info
2006-03-02 01:33:00 +00:00
toyomoyo
f841494c62
see changes for admin/utfdbmigrate.php
2006-02-24 08:20:13 +00:00
mjollnir_
510b75ae64
Merged from MOODLE_15_STABLE: Moved check_dir_exists function from backup/lib.php to moodlelib
2006-02-02 20:30:34 +00:00
moodler
136b6ab33f
changed to use utfconvert function
2006-01-31 02:15:21 +00:00
moodler
b250d8b32b
bug fixing indexing problem
2006-01-25 06:07:52 +00:00
stronk7
0df0a87214
Now course shortname is searched too, to avoid duplicates over it.
...
Bug 4607
(http://moodle.org/bugs/bug.php?op=show&bugid=4607 )
Merged from MOODLE_15_STABLE
2006-01-19 00:23:01 +00:00
stronk7
b1a88d0413
Part of Bug 4583. Now backup tables are moodle-style compliant.
...
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583 )
2006-01-16 10:23:48 +00:00
mjollnir_
b22008bae0
after discussion with Eloy: Always strip controlchars in xml_tag_safe_content
2006-01-16 09:07:30 +00:00
mjollnir_
a9e1e4c850
Backup xml tags now support attributes and a new function for xml content to be safe utf-8. Eloy can you please review this patch?
2006-01-16 02:37:19 +00:00
toyomoyo
85ef664d10
bug fixes
2006-01-16 02:26:54 +00:00
mjollnir_
a94baeaf20
Abstracted all the stuff that gets backup prefs from request, and put
...
it into session. This makes it easier to add a new stages
and not have to write hidden fields and such like
2006-01-16 00:39:01 +00:00
mjollnir_
9f23133b04
Add instances to info/mods in scheduled backup so they can be granularly restore from
2006-01-15 22:46:51 +00:00
mjollnir_
f90666aa5c
Abstracted a bit of the restore procedure to allow for silent restoring.
...
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
mjollnir_
1ecea97679
Granular backup & restore:
...
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
toyomoyo
7c5406967d
some bug fixes
2006-01-12 02:39:13 +00:00
toyomoyo
fb7b685530
adding utf8 support scripts
2006-01-09 06:12:18 +00:00
moodler
32b2ada2de
Fixed some parameters - Christian
2006-01-04 08:21:07 +00:00
stronk7
c8837a48a4
Solved bug found when trying to backup all users!
...
(http://moodle.org/mod/forum/discuss.php?d=27105 )
2005-11-19 00:27:57 +00:00
stronk7
9704c86631
Split line into two separated commands to allow people with
...
chmod disabled to run backup/restore code. Credits go to
Grigory Rubtsov. Bug 4299.
(http://moodle.org/bugs/bug.php?op=show&bugid=4299 )
Merged from MOODLE_15_STABLE
2005-11-08 19:33:21 +00:00
moodler
91b74d3ef4
This got missed before, it's part of the new course/import changes
2005-11-08 07:01:12 +00:00
skodak
ad822b36d9
fixed access rights of creators during restore SC#177; merged from MOODLE_15_STABLE
2005-11-01 17:25:02 +00:00
skodak
8fd23ca2e2
fixed sql quoting SC#145; merged from MOODLE_15_STABLE
2005-10-29 21:53:33 +00:00
stronk7
d0fad6f1ae
Fixed one important bug in restore of gradebook that was
...
preventing it to finish in a lot of situations.
(http://moodle.org/mod/forum/discuss.php?d=31461 )
Merged from MOODLE_15_STABLE
2005-10-16 11:32:57 +00:00
stronk7
5db72c050f
Now hidden courses are showed dimmed in the restore process. Bug 4152.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4152 )
Merged from MOODLE_15_STABLE
2005-10-06 17:22:52 +00:00
mjollnir_
212f79a5e9
Fix to bug 4026 and 3913. Credit: jjg7 at humboldt dot edu
2005-09-08 21:30:42 +00:00
stronk7
359484a063
Wrong syntax fixed. Bug 4014.
...
Curiosly, the bug is in 1.4 and HEAD, but no in 1.5... Uhmmm,
be careful with those merges... ;-)
(http://moodle.org/bugs/bug.php?op=show&bugid=4014 )
Merged from MOODLE_14_STABLE
2005-09-05 16:21:18 +00:00
stronk7
f64376bfc8
Strip control chars from being sent to the XML file.
...
Only tab, newline and return are allowed in XML 1.0.
This feature is controlled by $CFG->backup_strip_controlchars.
Please, test it!
Merged from MOODLE_15_STABLE
2005-09-02 00:03:04 +00:00
mjollnir_
d23d0398fe
Merged from MOODLE_15_STABLE: Escape strings for database. SC # 145
2005-08-26 05:29:34 +00:00
stronk7
f718493562
Now course-guest, user-login and user-logout
...
log actions are restored properly.
Plus some problem with double & entities solved.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852 )
Merged from MOODLE_15_STABLE
2005-08-03 19:04:05 +00:00
moodler
f2e34253c3
Removing and re-adding currency support in courses
2005-07-22 17:19:52 +00:00
moodler
f5e1319ec3
Merged SC139 from stable
2005-07-12 08:00:51 +00:00
stronk7
bcba85618f
Bump. New and improved relinking system available.
...
No changes at DB layer so I'm free to update the version
and maintain it syncronished with 15_STABLE, isn't it?
Merged from MOODLE_15_STABLE
2005-07-04 22:33:02 +00:00
stronk7
92f9357579
Improved automatic relinking in backup and restore. Credits go to skodak.
...
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678 )
(http://moodle.org/mod/forum/discuss.php?d=26530 )
Merged from MOODLE_15_STABLE
2005-07-04 17:48:59 +00:00
stronk7
1517803dd6
Now the restore form page is a bit more easy to use. Bug 1430.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=1430 )
Merged from MOODLE_15_STABLE
2005-06-29 18:25:50 +00:00