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
skodak
6e4dc10f54
deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes
2006-09-02 13:14:57 +00:00
skodak
99c8a1004d
fixed defaults for backups during installation
2006-09-02 11:10:10 +00:00
stronk7
94ab72f8b0
Now backup tables can use the XMLDB install & upgrade
2006-08-30 20:41:37 +00:00
skodak
790fda7b0e
show detailed log messages only when debug is not off SC#303
2006-08-28 21:33:21 +00:00
moodler
67a3fac51f
Added new field 'ajax' to user table, to store AJAX preference
2006-08-28 06:41:05 +00:00
vyshane
7f6301c464
We need the newly created course_module id to be passed to the restore
...
functions of the modules. We need this now for the forum module to convert
forums backed up in 1.6 to use roles upon restore in 1.7. However, this might
be needed for other modules as well if they need conversion to the roles
system.
2006-08-25 02:37:54 +00:00
stronk7
454adccfa9
Adding one PHP close tag that has been missing (but working) since years!
2006-08-23 15:23:53 +00:00
vyshane
9a7538a35b
Fixed notice
2006-08-23 06:56:23 +00:00
skodak
a2392230a1
fixed some notices in scheduled backup; merged from MOODLE_16_STABLE
2006-08-21 20:40:07 +00:00
stronk7
5cf36b39b1
Solved hh (horrible-hidden) bug in backup_scheduled code.
...
Credits go to Thirot Jean-Luc. http://moodle.org/mod/forum/discuss.php?d=52156
Merged from MOODLE_16_STABLE
2006-08-21 19:10:21 +00:00
skodak
dedb2304cd
upgrade logging cleanup, fixes - more improvements ahead
2006-08-17 22:37:34 +00:00
skodak
8549af11d1
fixed upgrade success notification, backup and blocks success messages are not red anymore...
2006-08-14 08:37:19 +00:00
tjhunt
a7c3953d1c
SC 289, small, but non-exploitable hole in backup permissions checking. Merged from MOODLE_16_STABLE.
2006-08-13 20:39:21 +00:00
moodler
bade10e350
Removed all of the "Restricted users" hack because Roles can do it all better.
2006-08-13 07:01:57 +00:00
stronk7
615b4a1391
An example of how one unitialized variable can generate really
...
dificult-to-trace bugs. Thanks to Jens Gammelgaard and support B-)
(http://moodle.org/bugs/bug.php?op=show&bugid=6233 )
Merged from MOODLE_16_STABLE
2006-08-12 09:14:40 +00:00