mudrd8mz
4ec9d6b07d
MDL-14326 Remove all course_modules that remained empty (i.e. with instance==0) after the particular restore process. Backported from MOODLE_19_STABLE
2008-08-21 12:20:49 +00:00
tjhunt
139fa3dee6
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:16 +00:00
stronk7
02671df098
Backporting from HEAD some recent improvements in order to be able
...
to restore block instances properly. MDL-4934
2008-04-27 01:49:44 +00:00
stronk7
e9b129a6a4
MDL-14072 - Backported from HEAD. 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:59:47 +00:00
moodler
a40cd98d67
Merged MDL-13569 Mark N patch for notice
2008-02-26 09:06:39 +00:00
moodler
53f5364123
MDL-13554 Fix from Mark Nielsen for bad block backups
2008-02-21 05:33:15 +00:00
poltawski
244cb43dff
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.
backported from MOODLE_19_STABLE
2008-02-07 18:50:01 +00:00
stronk7
eda7a6b347
Backported from HEAD. Some old backups can contain empties in user->picture, fix them before insert.
2008-02-05 20:31:59 +00:00
stronk7
fdc6e017b5
Backported from HEAD. Add some browser output when restoring a lot of users.
2008-02-03 00:53:08 +00:00
scyrma
ab6bd700d8
Imported and replaced country list to fix MDL-13060. The new list is the exact ISO list. Note that an official list also exists in French, but we will need to
...
do translations to other languages. This commit also includes the restorelib upgrade path.
2008-01-30 07:49:47 +00:00
stronk7
d0a2161941
Prevent race condition in event creation. MDL-5956.
...
Credit goes to Penny, Luke and Martin @ Catalyst.
Merged from MOODLE_17_STABLE
2007-12-28 18:39:50 +00:00
toyomoyo
e1cd6c73e5
MDL-9290, restore performance improvements on reading xml
2007-12-14 06:14:21 +00:00
tjhunt
b2744afe61
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. Backported from MOODLE_19_STABLE.
2007-12-11 15:55:42 +00:00
toyomoyo
160684c811
fixing 2 restore problems 1) group sql is broken 2) sql could return multiple groups
2007-11-26 03:19:26 +00:00
skodak
909abddce3
MFC: MDL-8605 fixed user image restore code
2007-10-20 21:04:27 +00:00
skodak
5678d4e4fa
MFC: MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:29:41 +00:00
skodak
ee9568e574
MFC: MDL-11857 missing addslashes on idnumber field during backup restore
2007-10-20 19:29:02 +00:00
nicolasconnault
3751aaf098
MDL-8605 Backup and restore implemented, and using remove_dir instead of rmdir, which doesn't support deleting non-empty directories
2007-10-12 20:26:44 +00:00
stronk7
97bc9f4934
Now restoring groups is cross-db (the detection of existing groups)
...
Merged from MOODLE_17_STABLE
2007-09-05 18:40:25 +00:00
stronk7
07893c5239
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_17_STABLE
2007-09-05 15:27:53 +00:00
stronk7
e95c8bc282
Fixing two get_string() calls when restoring gradebook preferences. MDL-6017
...
Merged from MOODLE_17_STABLE
2007-07-25 21:34:11 +00:00
toyomoyo
02bfbf0518
fix for MDL-10461, timemodified not preserved during restore
2007-07-19 03:36:09 +00:00
stronk7
ca133f6ec3
Adding some course->xxxx missing fields to backup & restore. MDL-10444
2007-07-16 20:16:24 +00:00
toyomoyo
d799be5424
backporting changes in HEAD to fix MDL-10093, administrator or course-creator assigned at course cat level can not restore new courses
2007-06-14 08:51:55 +00:00
toyomoyo
bfd12c4dd5
fixing a bug related to setting the granular flag in restore
2007-06-13 06:33:18 +00:00
sam_marshall
36be12128c
MDL-9932 Fixed calendar restore of events on same day with same description (but different names)
2007-05-24 12:09:43 +00:00
skodak
f18e948bda
MDL-9483 Problem with question restore relinking when quiz not selected; merged from MOODLE_17_STABLE
2007-04-21 12:40:35 +00:00
tjhunt
8f290d7868
Fix error message to say the right thing.
2007-04-19 17:16:35 +00:00
tjhunt
0bb51a9c00
MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle.
2007-04-18 15:57:12 +00:00
stronk7
e3494d2af5
mnethosturl was never being restored. Detected while checking MDL-9309
2007-04-12 22:16:10 +00:00
toyomoyo
a26f30774b
fix for MDL-9065, use $CFG->creatornewroleid setting
2007-03-28 02:29:37 +00:00
tjhunt
4f510e2ec8
Eliminate bizarre use of function_exists.
2007-03-13 17:43:03 +00:00
toyomoyo
3fff3a34f7
fix for MDL-8681, importing a course creates duplicate roles
2007-03-09 02:36:56 +00:00
toyomoyo
b259fd9a25
fixing typo
2007-03-08 06:03:48 +00:00
toyomoyo
ef3df6f086
fixing xhtml strict issues and display issues in restore
2007-03-01 02:44:29 +00:00
nicolasconnault
7c08ef3653
Fixed MDL-8582
...
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.
Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
nfreear
cd735125df
Followup fix for Bug MDL-8507 "Local language pack-name can appear in language code" (Merged from HEAD).
2007-02-21 10:47:02 +00:00
skodak
4ac48edb9b
MDL-8590 auth cleanup - part 2; backported from HEAD
2007-02-20 17:13:35 +00:00
toyomoyo
7b8c690ecf
applying nick's patch to MDL-8534, typo in restorelib.php
2007-02-20 01:06:20 +00:00
nfreear
6a800f3825
Fixes bug MDL-8059 "... won't restore - error A required parameter (id) was missing", reapplied martinl's 16/1 Strict fix (merged from HEAD).
2007-02-16 15:55:59 +00:00
nfreear
3d5bd70fea
Fixes Bug MDL-8545 "Restore bugs, groups-members and role assignments" (merged from HEAD)
2007-02-16 14:47:58 +00:00
skodak
20c63dcf73
MDL-8487 if user language do not exist during restore use site default
2007-02-14 09:54:08 +00:00
nfreear
d8aa3550bb
Fixes bug MDL-8057, "Backup/restore code not considered in new groups code"
2007-01-20 09:28:26 +00:00
martinlanghoff
fdce65dd32
mnet: restore_create_users() fixed mnethost lookup
...
Credit goes to Eloy for catching my error.
2007-01-17 01:00:08 +00:00
martinlanghoff
43f853c908
mnet: restore support - XML parser knows about MNET_EXTERNALUSERS, restore_check.html warns
...
This may need to be reworked to move the warning to an earlier stage. In the
meantime, we have
- at INFO parsing time we read MNET_EXTERNALUSERS into the backup info obj
- at restore_check time, we warn the user that external users are in the
package. If the situation looks dodgy, we say so. But don't block the
user, as it may be a valid situation.
2007-01-16 03:28:57 +00:00
martinlanghoff
dd3638e47e
XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores.
2007-01-16 01:06:11 +00:00
martinlanghoff
da586c3778
mnet: restore_create_users() is now mnet-aware
...
It will now default to $CFG->mnet_localhost_id and can
handle backup files containing an mnethosturl user property
which will be mapped to mnethostid.
Additional checks are needed to avoid restoring files
with mnethosturls we cannot handle.
2007-01-16 00:56:15 +00:00
skodak
7150226896
MDL-7861 xhtml strict fixes - fixed all <br> in our code
2007-01-04 23:38:17 +00:00
vyshane
ac21137379
Making sure that restore views work in xhtml strict 1.0. MDL-7861.
2006-12-19 07:00:14 +00:00
vyshane
b721223856
Merged from 1.7. Also contains some xhtml fixes for MDL-7861.
2006-12-19 05:02:22 +00:00