742 Commits

Author SHA1 Message Date
tjhunt
2e0ed03e5e Fix error when restoring into a newly created course. The course files folder may not exist yet, so need to do a recursive directory create. 2006-12-05 18:42:39 +00:00
tjhunt
89475b805d Fixed notice when restoring a backup file that was created with Users: none. 2006-12-05 18:38:56 +00:00
toyomoyo
a08d5db719 merged fix for MDL-7773, restore_to not set for creators 2006-12-04 01:14:43 +00:00
skodak
69aaada0f5 fixed problem with apostrophe in role names and description when creating roles during install and restore MDL-7611 2006-11-20 14:08:40 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
stronk7
0d83d91c88 simple bumb (Sync with 17_STABLE) 2006-11-06 17:44:00 +00:00
toyomoyo
ccda44599a merged fix for restore support of user data from backups pre granular backup 2006-11-01 03:32:04 +00:00
skodak
a3fd474190 fixed notice during restore; merged from MOODLE_17_STABLE 2006-10-31 22:46:41 +00:00
toyomoyo
95f7634d4d merged removing evil semicolon 2006-10-31 07:34:03 +00:00
stronk7
23357d060b Update to 1.8dev 2006-10-28 11:02:54 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
cff74cb145 New upgrade.php file added for this module. MDL-7214 2006-10-26 15:38:18 +00:00
stronk7
b4c7bb78fc Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
tjhunt
f6bde593c7 Missing addslashes. Merged from MOODLE_17_STABLE. 2006-10-19 10:24:04 +00:00
thompson697
cf0b1faded Apply modularity to the creation of the log file during restore to a new course.
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
toyomoyo
ffd0ab657b merged fix for warnings 2006-10-13 02:54:51 +00:00
toyomoyo
10b7946ff3 merged fix for warnigns 2006-10-12 08:33:52 +00:00
toyomoyo
121d921b4c merged fixing notices 2006-10-12 06:58:14 +00:00
toyomoyo
75a8c12838 merged, getting rid of warnings 2006-10-12 02:13:58 +00:00
toyomoyo
a8510c5a2a merged fix for 6900 2006-10-11 07:39:11 +00:00
toyomoyo
25a0f2d8dc merged fix added "new role" in the drop down 2006-10-11 06:35:33 +00:00
toyomoyo
beba128f6d fix for MDL-6831 2006-10-10 03:17:49 +00:00
skodak
d8247de55e problem with incorrect redirect url - wwwroot without the trailning slash in not standard compliant MDL-6193 2006-10-08 18:55:18 +00:00
skodak
badc7070cd removed obsoleted backup configuration scripts 2006-10-08 09:51:22 +00:00
skodak
57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
stronk7
10f36d68e8 Avoid some notices. Part of MDL-6854 2006-10-05 19:29:39 +00:00
toyomoyo
013b90ed92 a few fixes, for MDL-6836, MDL-6835, and MDL-6765 2006-10-05 04:05:07 +00:00
thompson697
eb87ac71c5 Change creation of restorelog file location to protected backupdata folder.
Reassign style and language links
2006-10-04 14:50:50 +00:00
tjhunt
834e58a9d2 Fix indent. 2006-10-04 10:39:42 +00:00
toyomoyo
c0c98c7c78 fixing roles support for backup/restore 2006-10-04 09:01:50 +00:00
vyshane
e0539647aa Added $restore->mods[$mod->type]->granular to restore_create_sections() and to restore_create_modules(). This defines whether we are doing a granular restore where we care about the individual module instances to be restored, or whether we are not doing a granular restore, in which case we just restore all course module instances. 2006-10-04 08:35:00 +00:00
toyomoyo
5e67946d6c adding support for 1.6->1.7 backups 2006-10-03 08:54:46 +00:00
toyomoyo
8020a0162f roles and capability support for backups. role mapping is in, please help test, thanks 2006-10-02 08:49:07 +00:00
toyomoyo
89a66e5405 changes in backup/restore for roles. fixed bug related to wrong context in backuplib.php added code to handle addition of new roles in restorelib.php, added code to do role overrides in restore.php new functionalities requires proper handling 2006-09-28 09:15:14 +00:00
toyomoyo
a2a020ea6b adding support for roles in backups 2006-09-27 08:59:27 +00:00
toyomoyo
1ad590e153 more changes, restoring of role assignments now work in course, mods and blocks instances (less user instance), restoring local overrides do not work 2006-09-26 09:05:44 +00:00
toyomoyo
912c1fd5a2 correct xml parsing for mod level assignment and override 2006-09-26 06:02:10 +00:00
toyomoyo
637644fbd1 fixing a get_record bug (multiple instances) 2006-09-26 04:10:33 +00:00
toyomoyo
71dd89ff09 fixing missing $ 2006-09-26 01:50:17 +00:00
toyomoyo
4c81f5511e adding roles support for restore 2006-09-26 01:43:07 +00:00
moodler
cfd6b5053f Fix for typo MDL-6537 2006-09-26 01:11:53 +00:00
toyomoyo
3f1c7233c7 restore is NOT WORKING!!! role assignment and capability overrides are not in 2006-09-25 09:10:19 +00:00
toyomoyo
65c6fd8b2d backup changes for roles 2006-09-22 08:56:25 +00:00
toyomoyo
c58adde069 fixing bogus function calls 2006-09-22 01:49:23 +00:00
toyomoyo
ab1e2556ba code to support roles (roleassignments and roleoverrides) for backup in all 4 roles course, mod, block, userid contexts. not working yet 2006-09-22 01:35:35 +00:00
sam_marshall
a82e9bc3bb Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do. 2006-09-21 12:07:15 +00:00
toyomoyo
01e52ac70a changes to backups (where the roles info are stored) 2006-09-21 09:09:16 +00:00
toyomoyo
4929302769 adding roles support for backups 2006-09-21 06:57:14 +00:00
toyomoyo
e959a34b48 fixing syntex errors 2006-09-21 02:03:39 +00:00