skodak
f67cab32ec
MDL-15094 some forgotten conversions
2008-06-05 18:01:22 +00:00
skodak
4be1663d39
MDL-15095 fixed role names restore warning
2008-06-05 00:07:29 +00:00
skodak
cd655b33f9
MDL-15095 towards restore lib dml conversion
2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca
MDL-15095 towards restore lib dml conversion
2008-06-03 22:36:54 +00:00
skodak
fd0e6640cc
MDL-14679 fixed some more $db's
2008-05-31 22:18:41 +00:00
stronk7
77022d9e5d
Role custom names (aliases) are now preserved during backup/restore. MDL-14783 ; merged from 19_STABLE
2008-05-12 23:07:42 +00:00
skodak
98d80d851b
MDL-14692 groupings restore logic switched - credit goes to Vitor Rocio
2008-05-12 19:55:22 +00:00
stronk7
b90d006cd4
user preferences are not restored if user exists. MDL-12594 ; merged from 19_STABLE
2008-05-12 18:01:59 +00:00
dongsheng
957f6fc9d2
"MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE"
2008-05-02 04:37:02 +00:00
dongsheng
5832a6f34b
MDL-14129, fix print_error call
2008-04-24 02:48:36 +00:00
stronk7
8b6ccde7b0
Restore of blogs in SITE page added. MDL-9089 ; merged from 19_STABLE
2008-04-20 02:03:00 +00:00
stronk7
feb351cfae
MDL-14072 - Merged from 19_STABLE. 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:58:06 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
skodak
4a80e5cb05
MDL-8270 ignore blocks that can not be instantiated; merged from MOODLE_19_STABLE
2008-03-30 14:36:27 +00:00
stronk7
cfa239ab7f
Restore escaped from latest tag-lib refactoring. MDL-14038 ; merged from 19_STABLE
2008-03-24 16:39:48 +00:00
skodak
5cfefc9b02
MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt; merged from MOODLE_19_STABLE
2008-03-23 15:54:42 +00:00
skodak
e43281ae78
MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt; merged from MOODLE_19_STABLE
2008-03-23 15:54:41 +00:00
skodak
32bd1c0ffc
MDL-13619 legacy restore revisited -fixed sortorder; merged from MOODLE_19_STABLE
2008-03-20 20:08:44 +00:00
skodak
09069c0df0
MDL-13619 legacy restore revisited; merged from MOODLE_19_STABLE
2008-03-20 19:16:55 +00:00
skodak
44b7235eef
MDL-2674 removed hardcoded renaming of groupings depending on changed course shortname
2008-03-17 22:09:25 +00:00
skodak
7f9b934c54
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; merged from MOODLE_19_STABLE
2008-03-17 21:57:02 +00:00
skodak
e807e47354
MDL-2674 backup always backsup/restores groups regardless of user settings; remerged from MOODLE_19_STABLE
2008-03-17 21:33:12 +00:00
skodak
7f9bd1499b
MDL-13847 gradebook backup/restore fixes, xhtml strict fixes, other minor fixes; merged from MOODLE_19_STABLE
2008-03-17 19:56:41 +00:00
moodler
714d08d1d7
Merged MDL-13475 from 1.9: treat shortname fields as 100 chars
2008-03-02 15:03:33 +00:00
stronk7
e28de1f5cc
rebuild_course_cache() to calculate modinfo before role assignments. MDL-13740 ; merged from 19_STABLE
2008-02-29 19:55:06 +00:00
moodler
d5b8dc1d61
Merged MDL-13569 Mark N patch for notice
2008-02-26 09:05:51 +00:00
moodler
eff1ecb4f1
MDL-13554 Fix from Mark Nielsen for bad block backups
2008-02-21 05:35:16 +00:00
poltawski
175767ede7
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.
merged from MOODLE_19_STABLE
2008-02-07 18:52:51 +00:00
stronk7
b3238b3519
Some old backups can contain empties in user->picture, fix them before insert. Merged from 19_STABLE
2008-02-05 20:31:06 +00:00
stronk7
70e2417668
Save one extra query per user being restored. $newid contains the user id along all the iteration.
...
Merged from MOODLE_19_STABLE
2008-02-04 00:05:20 +00:00
stronk7
7b6e2a2bf9
Now custom profile fields and user tags are restored. MDL-6856 ; merged from 19_STABLE
2008-02-03 23:53:01 +00:00
stronk7
3dd3ab8ac8
Only insert outcome_course if it doesn't exist. MDL-13308 ; merged from 19_STABLE
2008-02-03 18:44:14 +00:00
stronk7
359e08ba88
Fix restore of outcomes, reusing them when possible. MDL-13309 ; merged from 19_STABLE
2008-02-03 18:26:58 +00:00
stronk7
1f340c06da
Add some browser output when restoring a lot of users. Merged from 19_STABLE
2008-02-03 00:48:32 +00:00
stronk7
e464445596
Now we are reading user_profile_fields and user_tags + some small fixes on roles. MDL-6856 ; merged from 19_STABLE
2008-02-02 23:59:48 +00:00
scyrma
27a903efd2
Merged from MOODLE_19_STABLE
2008-01-30 07:29:36 +00:00
stronk7
79e8411dc2
Prevent race condition in event creation. MDL-5956.
...
Credit goes to Penny, Luke and Martin @ Catalyst.
Merged from MOODLE_19_STABLE
2007-12-28 19:14:01 +00:00
toyomoyo
fd3b240bd0
MDL-9290, restore performance improvements on reading xml
2007-12-14 06:16:08 +00:00
tjhunt
27cabbe626
MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE.
2007-12-13 18:48:30 +00:00
tjhunt
7b51c4e134
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. Merged from MOODLE_19_STABLE.
2007-12-11 15:55:25 +00:00
nfreear
b0dc3e563d
Fixes bug MDL-2674, "backup always backsup/restores groups regardless of user settings" - restore group/grouping option.
2007-12-10 10:26:47 +00:00
toyomoyo
b1d9fa9b22
MDL-12373, restore should not try to restore pre 1.9 gradebook categories
2007-12-07 04:07:42 +00:00
toyomoyo
cecac3b37c
MDL-8270, fixing a warning
2007-12-06 01:08:25 +00:00
toyomoyo
90164c7098
expecting multiple groups from sql
2007-11-26 03:21:46 +00:00
toyomoyo
b486ef1ae3
MDL-8270, full block backup/restore routine with code
2007-11-15 05:00:44 +00:00
tjhunt
43457dc87c
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.
Merged from MOODLE_19_STABLE.
2007-11-14 17:03:32 +00:00
toyomoyo
b25d9087ec
backup/restore of grade histories should be off by default
2007-11-07 01:11:41 +00:00
toyomoyo
1a27182bc6
MDL-11513, adding support for grade_letters
2007-10-24 07:41:45 +00:00
skodak
e3516b2da1
MDL-8605 fixed user image restore code
2007-10-20 20:57:06 +00:00
skodak
ffb2a56ff1
MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:31:51 +00:00