arborrow
e403b1fd34
fix trivial typo
2008-07-24 12:32:26 +00:00
stronk7
47ec4f9c6f
Course page blocks are lost when restoring 1.3 and 1.4 backups. MDL-15803
2008-07-23 22:46:10 +00:00
scyrma
4770b4b6b3
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually
2008-07-10 09:48:43 +00:00
stronk7
d889ca7bbc
Only create role_name aliases if the original course (backup file) contains them. MDL-15284
2008-07-03 12:58:18 +00:00
tjhunt
5cbc380ed5
MDL-15372 - Links in course summary and section summaries not recoded on restore. Petr thinks it is a bad idea to recode links in course summaries, becuase he thinks there should not be links there at all, but I disagree, and as long as links are there, and we have the code to stop them breaking on backup and restore, we should fix the bug.
2008-06-23 17:02:11 +00:00
thepurpleblob
86f9dc29ac
MDL-15257
...
Fix notice caused by (possibly) uninitialised variable.
2008-06-16 10:04:59 +00:00
stronk7
9eff824be8
Role custom names (aliases) are now preserved during backup/restore. MDL-14783
2008-05-12 23:05:33 +00:00
skodak
536c4f8875
MDL-14692 groupings restore logic switched - credit goes to Vitor Rocio
2008-05-12 19:56:13 +00:00
skodak
abe8f35a49
MDL-14692 groupings restore logic switched - credit goes to Vitor Rocio
2008-05-12 19:53:27 +00:00
stronk7
354176b5fe
user preferences are not restored if user exists. MDL-12594
2008-05-12 18:00:40 +00:00
dongsheng
443a1fee8e
"MDL-14460, fix all the other get_context_instance,(use sed replace them), see tracker"
2008-05-02 04:07:27 +00:00
stronk7
18fe8f7b9c
Restore of blogs in SITE page added. MDL-9089
2008-04-20 01:58:40 +00:00
stronk7
5d64f72c23
MDL-14072 - Prevent NULLs, empties and numbers to be processed by:
...
- backup_encode_absolute_links() at backup
- restore_decode_absolute_links() at restore
2008-04-18 16:55:29 +00:00
skodak
40b3f45dec
MDL-8270 ignore blocks that can not be instantiated
2008-03-30 14:35:12 +00:00
stronk7
1ebff51139
Restore escaped from latest tag-lib refactoring. MDL-14038
2008-03-24 16:37:46 +00:00
skodak
2dc6c4abe2
MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt
2008-03-23 15:56:03 +00:00
skodak
a18258a969
MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt
2008-03-23 15:50:08 +00:00
skodak
fe3987a324
MDL-13619 legacy restore revisited -fixed sortorder
2008-03-20 20:07:35 +00:00
skodak
d3d7ba8f7a
MDL-13619 legacy restore revisited
2008-03-20 19:15:38 +00:00
skodak
45d3c87b30
MDL-2674 adding $cm->grouping reset if groupings not restored; removed info about groups included in backup - they are always included, and there will not be any global groups/groupings
2008-03-17 21:54:47 +00:00
skodak
c153af6351
MDL-2674 backup always backsup/restores groups regardless of user settings; backported from HEAD
2008-03-17 21:27:53 +00:00
skodak
8527371af3
MDL-13847 gradebook backup/restore fixes, xhtml strict fixes, other minor fixes
2008-03-17 19:36:35 +00:00
moodler
58331043d0
MDL-13475 Fixed some character lengths for course->shortname and role->shortname (100char)
2008-03-02 15:02:25 +00:00
stronk7
60a18dc226
rebuild_course_cache() to calculate modinfo before role assignments. MDL-13740
2008-02-29 19:53:40 +00:00
moodler
4dc9acd3db
MDL-13569 Mark N patch for notice
2008-02-26 09:05:04 +00:00
moodler
c98be5a96f
MDL-13554 Fix from Mark Nielsen for bad block backups
2008-02-21 05:34:10 +00:00
poltawski
f8cfb1230f
MDL-13339 - ensure we don't continue the restore process if there is
...
no course header in the backup file. This bug was causing blank course
records to be created when users tried to restore a non-moodle backup file
such as a scorm file.
2008-02-07 18:48:53 +00:00
stronk7
d916897125
Some old backups can contain empties in user->picture, fix them before insert.
2008-02-05 20:28:29 +00:00
stronk7
cebf5d77a3
Save one extra query per user being restored. $newid contains the user id along all the iteration.
2008-02-04 00:04:02 +00:00
stronk7
1b053c41a4
Now custom profile fields and user tags are restored. MDL-6856
...
.CVS: ----------------------------------------------------------------------
2008-02-03 23:51:20 +00:00
stronk7
4512e31e51
Only insert outcome_course if it doesn't exist. MDL-13308
2008-02-03 18:42:48 +00:00
stronk7
0088748449
Oops, commenting some debug lines I left in my previous commit.
2008-02-03 18:24:56 +00:00
stronk7
71b750ed86
Fix restore of outcomes, resusing them when possible. MDL-13309
2008-02-03 18:20:36 +00:00
stronk7
9ddb243f13
Add some browser output when restoring a lot of users
2008-02-03 00:46:32 +00:00
stronk7
8f92c1f78b
Now we are reading user_profile_fields and user_tags + some small fixes on roles. MDL-6856
2008-02-02 23:58:09 +00:00
scyrma
bcdb377366
MDL-13060 - upgrade path for users (re)created from backup files
2008-01-30 05:23:39 +00:00
stronk7
e7282f1fe6
Prevent race condition in event creation. MDL-5956.
...
Credit goes to Penny, Luke and Martin @ Catalyst.
Merged from MOODLE_18_STABLE
2007-12-28 18:57:45 +00:00
toyomoyo
fc9aacd2d7
MDL-9290, restore performance improvements on reading xml
2007-12-14 06:15:11 +00:00
tjhunt
c9cde2149e
MDL-12575 - Backup and restore problems with the new question bank.
2007-12-13 18:48:16 +00:00
tjhunt
6233a11b29
MDL-12542 - backup_todb not called on restore on date before it is inserted into mdl_user. This would cause a backup from a pre 1.7 site (or a pre 1.7 that has been upgraded to 1.9) to a 1.9 fresh install, to fail sometimes.
2007-12-11 15:21:28 +00:00
toyomoyo
b1b887fd84
MDL-12373, restore should not try to restore pre 1.9 gradebook categories
2007-12-07 04:06:33 +00:00
toyomoyo
98ee46df71
expect multiple groups from sql
2007-11-26 03:21:20 +00:00
tjhunt
582e15dfd2
MDL-12066 - Links in the HTML block are not recoded on backup and restore.
...
This is messy because the links are hidden in the configdata column, which is serialized and base64encoded. So we have to untangle that, then ask the block whether there are any bits of $config that need to be fixed, then re-encode it before backup up. And reverse that on restore. It needs to remain base64 encoded in the backup file, so that the file format is backwards compatible.
I disucssed this with Eloy before doing it.
2007-11-14 17:03:16 +00:00
toyomoyo
69eedfa2fe
backup/restore of grade histories should be off by default
2007-11-07 01:10:18 +00:00
toyomoyo
4ad8ec74e7
MDL-11513, adding support for grade letters
2007-10-24 07:38:23 +00:00
skodak
f39432cafe
MFC: MDL-8605 fixed user image restore code
2007-10-20 20:59:20 +00:00
skodak
8809b99a1f
MFC: MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:34:26 +00:00
skodak
aaf277889b
MFC: MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:26:53 +00:00
nicolasconnault
01d786178d
MDL-8605 Backup and restore implementation
2007-10-12 20:24:00 +00:00
toyomoyo
9031e46f94
MDL-11510, adding missing backup/restore gradebook fields
2007-10-10 08:28:43 +00:00