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
toyomoyo
a4a877d890
trying to add some role support, not sure things are at the right place yet.
2006-09-21 01:56:59 +00:00
stronk7
db8bd7a66f
Now XMLDB installation is enabled! Old mysql.php and postgres7.php can
...
continue being used as previously until we finish all the required
DDL functions.
Also, this implies that *.sql files aren't needed anymore. Now all we have to do
is to maintain the install.xml files from the editor.
2006-09-20 22:36:21 +00:00
skodak
6124048972
major whitespace cleanup - fixed tabs
2006-09-20 20:31:09 +00:00
vyshane
0fd332a811
More typos...
2006-09-19 07:16:04 +00:00
vyshane
5ddc81b973
Fixed typo
2006-09-19 07:13:57 +00:00
moodler
0e1cc9070b
Fixed a some debugging statements
2006-09-18 13:24:45 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
thompson697
c3b307b777
Initial work on Roll Forwards - Restore from previous semester (ongoing MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
2006-09-13 09:40:55 +00:00
toyomoyo
17d6a25e5c
adding capabilitiies
2006-09-13 09:08:14 +00:00
toyomoyo
ae9e4c064e
replacing iscreator() calls with capabilty
2006-09-12 08:56:10 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
moodler
51df210337
Upgrade_log stuff needed adminlib.php included
2006-09-03 09:00:13 +00:00