Commit Graph

766 Commits

Author SHA1 Message Date
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
7f46a94162 Restore page Role Mappings Selector Enhanced 2007-01-29 09:14:53 +00:00
371a32e308 (MDL-8250) install/upgrade autopilot 2007-01-22 20:15:12 +00:00
d8aa3550bb Fixes bug MDL-8057, "Backup/restore code not considered in new groups code" 2007-01-20 09:28:26 +00:00
fdce65dd32 mnet: restore_create_users() fixed mnethost lookup
Credit goes to Eloy for catching my error.
2007-01-17 01:00:08 +00:00
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
c0543ba1f7 mnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS 2007-01-16 02:52:51 +00:00
54359be4c9 mnet: backup_user_info() is faster, and it store mnethosturl for foreign users
Several changes to backup_user_info() rolled up here

 - The main JOIN happens in SQL instead of PHP
 - We now also join with mnet_host to get the wwwroot
 - As part of the join, all the variables appear in $user -- $user_data is gone
 - If the mnethostid is non-local we include MNETHOSTURL for that user

With this, backup_user_info() should be significantly faster for large
sets of users, though I haven't benchmarked it.
2007-01-16 02:27:36 +00:00
dd3638e47e XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores. 2007-01-16 01:06:11 +00:00
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
acdd790f74 print_footer('none') during install and upgrade to hide home link and xhtml strict fixes 2007-01-15 19:16:29 +00:00
a5855a89bf Avoiding some itarations. MDL-7902. Thanks Samuli!
Merged from MOODLE_17_STABLE
2007-01-14 12:11:33 +00:00
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
b776b27738 db upgrades are now XHTML-correct -- at least when they succeed! With this patch, 1.8 installation completes correctly 2007-01-04 01:07:35 +00:00
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
ac21137379 Making sure that restore views work in xhtml strict 1.0. MDL-7861. 2006-12-19 07:00:14 +00:00
b721223856 Merged from 1.7. Also contains some xhtml fixes for MDL-7861. 2006-12-19 05:02:22 +00:00
4e3ea0e0d9 adding long time warning MDL-7890 2006-12-15 05:34:35 +00:00
a880d5917b fixing broken xhtml 2006-12-15 05:30:56 +00:00
027ce10e0e fixing broken html 2006-12-15 05:23:57 +00:00
91a9559092 Fixed some potential XHTML strict errors MDL-7861 2006-12-12 07:30:37 +00:00
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
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
89475b805d Fixed notice when restoring a backup file that was created with Users: none. 2006-12-05 18:38:56 +00:00
a08d5db719 merged fix for MDL-7773, restore_to not set for creators 2006-12-04 01:14:43 +00:00
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
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
0d83d91c88 simple bumb (Sync with 17_STABLE) 2006-11-06 17:44:00 +00:00
ccda44599a merged fix for restore support of user data from backups pre granular backup 2006-11-01 03:32:04 +00:00
a3fd474190 fixed notice during restore; merged from MOODLE_17_STABLE 2006-10-31 22:46:41 +00:00
95f7634d4d merged removing evil semicolon 2006-10-31 07:34:03 +00:00
23357d060b Update to 1.8dev 2006-10-28 11:02:54 +00:00
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
cff74cb145 New upgrade.php file added for this module. MDL-7214 2006-10-26 15:38:18 +00:00
b4c7bb78fc Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
f6bde593c7 Missing addslashes. Merged from MOODLE_17_STABLE. 2006-10-19 10:24:04 +00:00
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
ffd0ab657b merged fix for warnings 2006-10-13 02:54:51 +00:00
10b7946ff3 merged fix for warnigns 2006-10-12 08:33:52 +00:00
121d921b4c merged fixing notices 2006-10-12 06:58:14 +00:00
75a8c12838 merged, getting rid of warnings 2006-10-12 02:13:58 +00:00
a8510c5a2a merged fix for 6900 2006-10-11 07:39:11 +00:00
25a0f2d8dc merged fix added "new role" in the drop down 2006-10-11 06:35:33 +00:00
beba128f6d fix for MDL-6831 2006-10-10 03:17:49 +00:00
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
badc7070cd removed obsoleted backup configuration scripts 2006-10-08 09:51:22 +00:00
57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00