eff1ecb4f1
MDL-13554 Fix from Mark Nielsen for bad block backups
2008-02-21 05:35:16 +00:00
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
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
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
7b6e2a2bf9
Now custom profile fields and user tags are restored. MDL-6856 ; merged from 19_STABLE
2008-02-03 23:53:01 +00:00
3dd3ab8ac8
Only insert outcome_course if it doesn't exist. MDL-13308 ; merged from 19_STABLE
2008-02-03 18:44:14 +00:00
359e08ba88
Fix restore of outcomes, reusing them when possible. MDL-13309 ; merged from 19_STABLE
2008-02-03 18:26:58 +00:00
1f340c06da
Add some browser output when restoring a lot of users. Merged from 19_STABLE
2008-02-03 00:48:32 +00:00
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
27a903efd2
Merged from MOODLE_19_STABLE
2008-01-30 07:29:36 +00:00
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
fd3b240bd0
MDL-9290, restore performance improvements on reading xml
2007-12-14 06:16:08 +00:00
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
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
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
b1d9fa9b22
MDL-12373, restore should not try to restore pre 1.9 gradebook categories
2007-12-07 04:07:42 +00:00
cecac3b37c
MDL-8270, fixing a warning
2007-12-06 01:08:25 +00:00
90164c7098
expecting multiple groups from sql
2007-11-26 03:21:46 +00:00
b486ef1ae3
MDL-8270, full block backup/restore routine with code
2007-11-15 05:00:44 +00:00
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
b25d9087ec
backup/restore of grade histories should be off by default
2007-11-07 01:11:41 +00:00
1a27182bc6
MDL-11513, adding support for grade_letters
2007-10-24 07:41:45 +00:00
e3516b2da1
MDL-8605 fixed user image restore code
2007-10-20 20:57:06 +00:00
ffb2a56ff1
MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:31:51 +00:00
549bf9cd73
MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:25:10 +00:00
ddaadc7c78
MDL-8605 More changes to upgrade and restore, and some unit tests with db and rs mock objects
2007-10-12 19:13:18 +00:00
9031e46f94
MDL-11510, adding missing backup/restore gradebook fields
2007-10-10 08:28:43 +00:00
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
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
dae9e82d88
MDL-11128, creating grade items after restoring from a pre 1.9 backup
2007-09-06 05:04:55 +00:00
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
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
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
d374613bce
MDL-11037 restore status ignored and reset in several places in restore code
2007-08-28 16:30:39 +00:00
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
f9bb6a98d8
category grades and course grades should not be dependent on restore_userdata_selectee
2007-08-20 06:20:53 +00:00
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
7c1c94872e
Fix for notice on first page of restore.
2007-08-17 09:53:00 +00:00
fe3a91e7f1
MDL-10383 - fixed stupid bug from last commit, sorry
2007-08-15 12:21:45 +00:00
e0aac7f323
MDL-10383 - some more groupings related restore problems fixed - groupings are now restored before course sections+course_modules - groupingsids now restored properly in course_modules table; fixed object initialization; fixed typos when restoring course modules that were causing missing group mode
2007-08-15 10:43:25 +00:00
379eaebde1
MDL-10383 - backup/restore of new groups&groupings finished
2007-08-14 20:35:04 +00:00
2524b0f24c
MDL-10383 - major groups patch - see bug i ntracker for more details - authors: Nick, Matt, Enrique and me
2007-08-14 00:50:00 +00:00
dc35d3ac02
MDL-10365 removing userid - not used in grade_grades_text
2007-08-10 21:12:32 +00:00
e814e7d79c
MDL-10770, support null fields in backup/restore
2007-08-10 05:22:20 +00:00
3bee1ead40
merging MOODLE_19_QUESTIONS with HEAD
2007-08-09 21:50:59 +00:00
d8cfc15848
restore and fixes for grade history tables, not fully working because of MDL-10770
2007-08-09 08:58:15 +00:00
5ba3928959
Fixed two places where course->shortname was harcoded to 15. MDL-10026
2007-08-08 19:39:56 +00:00
e5aae9775f
some fixes and restore for grade histories, not finished
2007-08-08 08:42:28 +00:00
ea326cf190
adding some more tables to be stored in temp id backup table to help with grade history tables restore
2007-08-07 07:15:48 +00:00
29d509f59a
MDL-10109 optional aggregation of outcomes together with grades
2007-08-06 12:05:45 +00:00