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
skodak
3f2b0c8aba
MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
...
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
toyomoyo
e5d30fdcc9
added needsupdate flag into backup/restore, added a new switch for restore on/off for grade histories, fixed some NULL related warnings
2007-09-18 04:03:02 +00:00
toyomoyo
dae9e82d88
MDL-11128, creating grade items after restoring from a pre 1.9 backup
2007-09-06 05:04:55 +00:00
stronk7
ce1b964592
Fixed bug commented in my previous commit. Was caused by the
...
commit itselfl. My fault. (blush)
2007-09-05 23:08:52 +00:00
stronk7
a2cdd7645e
Now restoring groups is cross-db (the detection of existing groups)
...
(NOTE: There is one pending bug about restoring old groups to 1.9.
Commented to Petr. Added here because I've to go NOW!)
Merged from MOODLE_18_STABLE
2007-09-05 19:19:34 +00:00
stronk7
e9ecf33932
Repeated fields aren't necessary at all since Moodle 1.7
...
and, in fact, they throw error if using limits! MDL-9592
Merged from MOODLE_18_STABLE
2007-09-05 15:46:16 +00:00
skodak
d374613bce
MDL-11037 restore status ignored and reset in several places in restore code
2007-08-28 16:30:39 +00:00
toyomoyo
58a0097f39
do not backup/restore course grade item/category, instead, just fetch it. Pointing all orphan categories and grade items to the course grade item
2007-08-22 09:02:32 +00:00
toyomoyo
f9bb6a98d8
category grades and course grades should not be dependent on restore_userdata_selectee
2007-08-20 06:20:53 +00:00
toyomoyo
7e09821038
MDL-10884, import is copying all grade_items into course, creating duplicate course grade_item. Other backup/restore fixes 1) if user_data is not selected, grade_item will still be copied but the grades and grades_text are ignored. 2) Grade histories not imported during import.
2007-08-20 04:15:49 +00:00
jamiesensei
7c1c94872e
Fix for notice on first page of restore.
2007-08-17 09:53:00 +00:00