Commit graph

72 commits

Author SHA1 Message Date
toyomoyo
ae8402fe38 fixing a redundant order by clause 2006-09-29 05:46:02 +00:00
toyomoyo
39ecfc7453 added a new temp config variable to help track maint mode before and after migration MDL-6182, not fixing in stable yet due to the lack of support of unset_config function. 2006-09-29 03:10:38 +00:00
moodler
a229726a11 Fixing debugging 2006-09-18 13:36:17 +00:00
stronk7
8bb7147620 If one course, hasn't teaches, both under roles and no-roles
installations, default to admin language.
2006-09-07 17:25:06 +00:00
stronk7
270643ca72 Modified get_users_by_capability() call to use the new limit
parameters and cleanup a bit of code.
2006-09-05 18:57:37 +00:00
stronk7
71db9136fb Now the temp backup directory is properly created/cleaned
and indexes info are properly stored there.
2006-09-04 19:27:53 +00:00
stronk7
763989c0d6 Now, the UTF8 migration doesn't rely one indexes specified in the .xml files. Instead,
for each table, it fetches all the existing indexes from db, drop them all and, after
utf-8 conversion, rebuilds them.

With this, all the indexes will be exactly the same than the original present in DB, no matter
of their names nor anything else.

So, starting now, to provide a sucessful UTF8 migration we only have to keep updated the
fields .xml info. Bye, bye indexes info.
2006-09-03 19:18:00 +00:00
stronk7
ec87d0474f Don't asume that table and column exist in the migration process.
Just to avoid some warnings.
2006-09-02 23:38:16 +00:00
skodak
e95b2c1c6d fixed missing } 2006-09-02 13:39:27 +00:00
stronk7
803b4eeffe Now, not null fields are respected by the UTF-8 migration process. Also,
for those NULLable fields, if the default was '', convert it to null (i.e.
disable de default).
2006-09-02 10:04:22 +00:00
toyomoyo
20aeb4b8e3 utf8 migrate support for site with roles active, resolved isstudent legacy problem, implemented $CFG->notloggedinroleid 2006-09-01 09:25:34 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
moodler
5ec8a4f009 Removed tabs 2006-08-09 13:18:33 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
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