884 Commits

Author SHA1 Message Date
toyomoyo
3a35a34e9c merged fix for MDL-8681, course imports creates duplicate roles 2007-03-09 02:39:44 +00:00
toyomoyo
f15850f899 merged fixing a typo 2007-03-08 06:05:32 +00:00
stronk7
01bc98275a Skipping some thousands of require_once() calls because PHP5
is really slow (and heavy) with them. MDL-8700

Merged from MOODLE_18_STABLE
2007-03-02 09:42:52 +00:00
mjollnir_
b5037f726b Merged from MOODLE_16_STABLE: fixing bug MDL-8651: import course data should clean up after itself 2007-03-02 01:43:47 +00:00
toyomoyo
b3460b8e8a merged fixing xhtml and display issues in restore 2007-03-01 02:46:04 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
nfreear
2ab4e4b87b Followup fix for Bug MDL-8507 "Local language pack-name can appear in language code" 2007-02-21 10:42:50 +00:00
stronk7
82355e2f84 Bump to 1.9dev (keeping sync with 18_STABLE version). 2007-02-21 08:34:21 +00:00
skodak
16ce6c0dcc MDL-8590 auth cleanup - part 2 2007-02-20 17:09:20 +00:00
toyomoyo
b0cb12ac93 merged, apply nick's patch for MDL-8534, typo in restorelib.php 2007-02-20 01:07:18 +00:00
nfreear
05a399d793 Fixes bug MDL-8059 "... won't restore - error A required parameter (id) was missing", reapplied martinl's 16/1 Strict fix. 2007-02-16 15:46:51 +00:00
nfreear
88915b1d43 Fixes bug MDL-8059 "... won't restore - error A required parameter (id) was missing" 2007-02-16 15:45:35 +00:00
nfreear
d80a2fe031 Fixes Bug MDL-8545 "Restore bugs, groups-members and role assignments" 2007-02-16 14:45:57 +00:00
skodak
348d6827b3 MDL-7722 fixed wrong cleaning in backup paths 2007-02-15 09:43:14 +00:00
stronk7
63013fb804 PHP 4 assignment is by value so course_header (containing edited names)
wasn't being modified. MDL-8298

Merged from MOODLE_18_STABLE
2007-02-14 23:54:20 +00:00
skodak
8891e81c92 MDL-8469 - 192M is much nicer than 196M 2007-02-14 20:58:31 +00:00
skodak
4eefee9779 MDL-8469 increase memory limit everywhere due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate 2007-02-14 20:46:38 +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
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
thompson697
7f46a94162 Restore page Role Mappings Selector Enhanced 2007-01-29 09:14:53 +00:00
skodak
371a32e308 (MDL-8250) install/upgrade autopilot 2007-01-22 20:15:12 +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
c0543ba1f7 mnet: backup_general_info() now indicates whether it includes MNET_REMOTEUSERS 2007-01-16 02:52:51 +00:00
martinlanghoff
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
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
acdd790f74 print_footer('none') during install and upgrade to hide home link and xhtml strict fixes 2007-01-15 19:16:29 +00:00
stronk7
a5855a89bf Avoiding some itarations. MDL-7902. Thanks Samuli!
Merged from MOODLE_17_STABLE
2007-01-14 12:11:33 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
skodak
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
martinlanghoff
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
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
moodler
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
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
toyomoyo
4e3ea0e0d9 adding long time warning MDL-7890 2006-12-15 05:34:35 +00:00
toyomoyo
a880d5917b fixing broken xhtml 2006-12-15 05:30:56 +00:00
toyomoyo
027ce10e0e fixing broken html 2006-12-15 05:23:57 +00:00
moodler
91a9559092 Fixed some potential XHTML strict errors MDL-7861 2006-12-12 07:30:37 +00:00
sam_marshall
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
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