58 Commits

Author SHA1 Message Date
skodak
e9515eb3ec Bug #6181 - icelandic doesn't migrate; merged from MOODLE_16_STABLE 2006-07-29 09:44:33 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
toyomoyo
2256c10d36 merged changing of feedback for the function that handles user table 2006-07-11 03:36:13 +00:00
stronk7
83c020ba20 Sending Yu's change to support custom langs to HEAD.
Changed progress info to 1000 records (from 5000). This
makes the script a bit more responsive on browser stops.

If finally approved, this should go to 16_STABLE too. (+1 for it)
2006-06-22 23:39:42 +00:00
moodler
fb06b25570 Merged migration fixes from stable 2006-06-18 10:09:58 +00:00
stronk7
c766b9dfaa Avoid empty processing both for PLAIN_SQL_UPDATE and PHP_FUNCTION 2006-06-09 09:16:09 +00:00
toyomoyo
1c994d89f8 merged, changed recordsize to 50 2006-06-08 02:46:45 +00:00
toyomoyo
9073d2ddad merged, small changes to javascript progress bar 1) updates correctly when resuming 2) number of tables not hard coded anymore 2006-06-07 04:32:05 +00:00
toyomoyo
92cf4ecc12 merged, changes made to process user table on row basis. added migrate2utf8_user function. please help test and report bugs! 2006-06-07 04:11:10 +00:00
toyomoyo
fdcf2c4a07 merged fix for 5686 2006-06-02 02:54:28 +00:00
toyomoyo
f9631ddb0d merged, bug fix for 5352, setting ignore_user_abort to false 2006-06-01 02:32:07 +00:00
toyomoyo
e44f4173b7 fix for 5003, 5302 2006-05-01 06:56:38 +00:00
toyomoyo
116bd4ec0d changes made to accomodate adodb_logsql table. bug 5003 2006-05-01 02:42:36 +00:00
toyomoyo
008060c43e fix for 5305 2006-04-28 01:55:12 +00:00
toyomoyo
a2655f6527 make some variables global for 5305 2006-04-24 08:38:11 +00:00
toyomoyo
9a7f3cad99 fix for 5205 2006-04-24 02:20:06 +00:00
skodak
ad497eea7b fixed undefined pg encoding in warning and undefined main teacher lang when no teacher in course 2006-04-22 15:51:00 +00:00
toyomoyo
0459675f96 added a simple message to warn moodlers that if they are using contrib modules or blocks with no migration sript, the data will not be converted. 2006-04-20 07:35:36 +00:00
toyomoyo
8de65352a4 there's some changes, to accomodate 5194. More testing is needed on all versions of mysql 2006-04-20 06:57:26 +00:00
toyomoyo
dec0d49c7e typo 2006-04-18 09:08:53 +00:00
toyomoyo
4e93938edb fix for 5204 2006-04-18 09:05:07 +00:00
toyomoyo
98ae4e63da block unicode migration bugs 2006-04-18 06:17:30 +00:00
stronk7
ea07c59442 Add one space in the list of langs used to allow the text to flush. 2006-04-09 23:37:14 +00:00
patrickslee
faf2851fd9 Override doc link for postgresql migration 2006-04-05 23:41:59 +00:00
stronk7
03595aab1a Small change in MySQL. Seems to work better under any version
(tested over MySQL 4.1.12, 4.1.16, 5.0.18 and 5.0.19) Bug 5055.
(http://moodle.org/bugs/bug.php?op=show&bugid=5055)
2006-04-05 22:14:24 +00:00
mjollnir_
9c9aeef15c Fixing postgres unicode migration for mac os x and multiple postgres installations 2006-04-05 03:54:12 +00:00
stronk7
187db9ddfe Adding "ca" to the array of encodings... 2006-03-28 07:37:58 +00:00
moodler
98691349b1 Regenerate course caches after UTF upgrade (bug 5002) 2006-03-28 02:14:12 +00:00
patrickslee
8cf1d8949e Stripped out an unnecessary line in pg_dump output which causes error.
Also deletes the last temp file while duplicating database to save space
2006-03-26 21:47:49 +00:00
moodler
d799fa2d6c Checking in an old change 2006-03-21 09:03:30 +00:00
patrickslee
eca0392a2e Seperate postgres command line process for better error caching 2006-03-13 20:45:27 +00:00
patrickslee
ef03a260e5 PostgreSQL 7.x pg_dump command line options fix 2006-03-12 21:40:24 +00:00
toyomoyo
ac60dc4c80 fixing missing global 2006-03-10 04:28:21 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
toyomoyo
5790c8998a took out some debug code for koen 2006-03-08 06:57:53 +00:00
toyomoyo
ffa5b35f6d counting is not sensible is not sorting by id asc 2006-03-08 05:08:44 +00:00
skodak
7710da22bd parameter cleaup - round 7; corrected search in user.php, semicolon in case fixed in utfdbmigrate (I wonder if it caused any problems) 2006-03-07 16:42:30 +00:00
toyomoyo
5f9de695a4 this code is for koen to test, it will output a lot of debug info in debug mode, thanks 2006-03-07 08:24:32 +00:00
toyomoyo
653c0596de added some code to give some feedback once in a while (per 5000 records, for now) 2006-03-07 04:36:55 +00:00
toyomoyo
f07da5dde0 fixing 4883, sorry 2006-03-07 01:33:52 +00:00
toyomoyo
42295d1c67 added some new functionality
1. allows moodler to input a global language. If set, all convertion will be from that encoding to utf8. Thus saving time.
2. Allows user to specify the number of records to process. This will resume after x number of recoreds are processed.
3. DIsplay the approximate total number of records that needs process. Note some records might get processed multiple times
4. Takes the moodler right back to lang import after migration
2006-02-24 07:24:59 +00:00
toyomoyo
583dfd073d individual record error only gets reported when debug is on 2006-02-13 02:38:40 +00:00
toyomoyo
3b34520151 fixed a bug to stop changing dummy field 2006-02-13 01:55:42 +00:00
toyomoyo
1a395c082d added a missing prefix 2006-02-08 02:42:12 +00:00
toyomoyo
5698c19d7a prints all SQLs if debug is set to true 2006-02-08 02:20:43 +00:00
toyomoyo
f8cf297a7a bug fix for 4709 2006-02-08 02:02:28 +00:00
toyomoyo
d9e61eacfd setting time to 0 2006-02-07 07:05:01 +00:00
toyomoyo
0a43c46b3b hardcode all encodings, so we don't need to rely on old lang files 2006-02-07 02:57:35 +00:00
stronk7
96c9f7379c Now the utfdbmigrate process trusts about enviromental decission. 2006-02-04 19:03:51 +00:00
stronk7
696d30784b DOS linefeeds are dead now! 2006-02-04 18:51:25 +00:00