Git commits in Moodle 1.7.0 by martinlanghoff

commit 90f08155c52abc452837d4d40197b5c65c68872c
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 31 Oct 2006 13:00:32 +0800
Tag:    v1.7.0

lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# 595)

commit 3e82837cc04b3d0fd3c7690991582996818ae716
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 26 Oct 2006 12:12:49 +0800
Tag:    v1.7.0

lib/locallib: changed local db upgrades now xmldb friendly (like lib/db)

commit 20dbeadfb3defc11e7ddfd3e5347a4f2432c5c8a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 25 Oct 2006 14:13:51 +0800
Tag:    v1.7.0

auth/fc/config.html: cleanup double newlines (leftover from whitespace cleanup)

commit f5896f0fb6770fee52a27b78e9d1ff6ed809eef6
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 28 Sep 2006 09:20:42 +0800
Tag:    v1.7.0

enrol/db/enrol.php  ignore delt'd usrs when enroling

commit 13e8d6e46faa40c6eb2e54d0b6c211bcc3a52c46
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 28 Sep 2006 09:05:10 +0800
Tag:    v1.7.0

auth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set Previous operation was update all moodle fields from the external database during each login & sync ignoring this setting. Now if this setting is 'oncreation' then the field is only copied once (on creation of user).

commit 897e0712e8b3a1ac6564a1b0be988e77e8d50be9
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 28 Sep 2006 08:13:07 +0800
Tag:    v1.7.0

Comments.

commit c0adb54de44c290e604fbc8a9c3c865648e60748
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 28 Sep 2006 08:10:23 +0800
Tag:    v1.7.0

Allow Chinese/Japanese UTF-8 strings to be truncated at character

commit 6402cd46797f66d4fe9d3a642517018aeb5835c7
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 28 Sep 2006 08:08:50 +0800
Tag:    v1.7.0

Fix for breadcrumb problem (MDL-6271).

commit c4121640be373cc0fa77821d49b84ee5889f321d
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:11:50 +0800
Tag:    v1.7.0

user: remove deprecated sql_paging_limit(), use offset, limit parameters

commit ea9a729f80f614f8cfd964168bf6e8edbdd57522
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:11:29 +0800
Tag:    v1.7.0

mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters

commit 1ad5c6380f2e5e1045fd7e7ddf8eec8400e5d935
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:11:05 +0800
Tag:    v1.7.0

mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters

commit 1e7368e782a74bc757cf05096b2176c096d85505
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:10:39 +0800
Tag:    v1.7.0

dmlib: set_field() now has the Oracle DIRTY HACK too!

commit 5a55af6097e242ba4d9a5dbb5e53b655a170fc45
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:10:18 +0800
Tag:    v1.7.0

dmlib: Add Oracle dirty hack cleanup to recordset_to_menu() get_field_sql() and get_fieldset_sql()

commit 44f98850449e57c67832540f4516a8999488a0cb
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:09:48 +0800
Tag:    v1.7.0

sql_concat(): fixed param order thinko -- and now it works too!

commit b4dd303a9794dbd3baa67a7f7756d62cbd40ae0a
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:09:26 +0800
Tag:    v1.7.0

search: removed dbtype-specific select - MySQL can now handle grownup syntax

commit 47dc28e53c17efa0462290bd5d174038f667a5b8
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:09:01 +0800
Tag:    v1.7.0

search: fixed mysql-isms - tablenames without prefix and with backticks

commit 7e034f29a096b2bba357e4da15414c5aaf9428e1
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:08:39 +0800
Tag:    v1.7.0

searchlib can use sql_ilike too!

commit a8f4522dfacd4a2cdf9a61b3731783dcd4258adc
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:08:18 +0800
Tag:    v1.7.0

data, forum, glossary: use sql_ilike() for a portable LIKE operator

commit 95008f81c62031558d94eaf71141cc49cf2489b1
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:07:28 +0800
Tag:    v1.7.0

sql_ilike() -- added notes on Oracle support or lack thereof

commit 6eb7722f93f9e575c6334f67ed83127621bf0e4f
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:07:05 +0800
Tag:    v1.7.0

message/lib.php: use sql_ilike()

commit d2715c70b614ebc8dae2d4b183659f1656184703
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:06:44 +0800
Tag:    v1.7.0

mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()

commit 38e02f4c321cbf8f62dfb6cd6448bf550b822b46
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:05:54 +0800
Tag:    v1.7.0

Introducing sql_concat_join($sep, $array) helper

commit 92a2d92a82e47638a604656c332d2c957560e891
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:05:32 +0800
Tag:    v1.7.0

message_history_link() - replace use sql_concat() and sql_like()

commit 27176468fead277af442142440cd2d3d209e206f
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:05:10 +0800
Tag:    v1.7.0

mod/quiz: replace $db->Concat() with sql_concat()

commit ea59864f45c7a0b0d086b678c95b07809ffcfe71
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:04:40 +0800
Tag:    v1.7.0

course/lib.php: remove unused global

commit 4068bedb838fd392c000fe802118cb2ee3532515
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:03:46 +0800
Tag:    v1.7.0

Use sql_concat() in course/lib.php

commit 0ce96669c97beef23c6875953bfc15c79f42e1ce
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 26 Sep 2006 13:02:59 +0800
Tag:    v1.7.0

Introducing sql_concat() - and use it in sql_fullname()

commit d7e901c66989c19421c8431f920ccda7edd9d5b0
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 20 Sep 2006 19:26:47 +0800
Tag:    v1.7.0

dmlib: changed array access to keyed instead of ordinal.

commit 5a39def902ddd24db19a9bc0bc8d468af6211e2d
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 17 Sep 2006 10:27:13 +0800
Tag:    v1.7.0

re-merge of "Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions."

commit cbfad05c86a059c51c6a82d6dbd2d0280ec35e86
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 04 Aug 2006 14:11:48 +0800
Tag:    v1.7.0

login: forgot password now works for guest again (bug #6214)

commit bed24ce7f58cac009a7225d0720e60494684d6a1
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 04 Aug 2006 13:51:31 +0800
Tag:    v1.7.0

mod/assignment if we are not using a numeric scale and a custom scale return that as the max grade

commit 0ff463ae95199265dc5a2fd692f47af17ae3a0b7
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 31 Jul 2006 12:56:58 +0800
Tag:    v1.7.0

assignment: count_user_files() no longer creates extraneous dirs (bug#4658)

commit 51886e2fb40888e79ddf681e5893084d338ceba1
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 31 Jul 2006 12:56:12 +0800
Tag:    v1.7.0

wiki: Added a link to force reloading of the page (WR#515)

commit c1cda9df459a92e869454dd99f251a2077641f34
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 31 Jul 2006 12:54:44 +0800
Tag:    v1.7.0

forum: notification of a moved dicussion (bug#4874)

commit 2338ad323963ef3bbe3c6213df87c6db210a399f
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 18 Jul 2006 12:39:01 +0800
Tag:    v1.7.0

Close Bug #5670 - get_courses_page() - remove costly and redundant DISTINCT

commit cb6f407365ed82bbfa26afe6644071da7647da7f
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 18 Jul 2006 11:35:02 +0800
Tag:    v1.7.0

Course restore - Restrict shortname to <= 15 characters, like the database table.

commit 3279a3554070ccd063d04c1e0d5d390e7c2c374d
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 18 Jul 2006 09:36:47 +0800
Tag:    v1.7.0

auth/db: When using internal passwords we must register auth_update_user_password()

commit bd18fe9ceda632819d5cadd436766db309bdda59
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 18 Jul 2006 09:36:24 +0800
Tag:    v1.7.0

auth/db: use auth_validate_form() to set auth_db_stdchangepassword when passtype is 'internal'

commit 1590773b1c6c2edfa9935ee992271569874f98e1
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 18 Jul 2006 09:36:06 +0800
Tag:    v1.7.0

auth: extend API to support auth_validate_form()

commit 63aea8815dffe13c77ec4e75a17ec480221e14f8
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 17 Jul 2006 14:02:10 +0800
Tag:    v1.7.0

enrol API: Updated documentation

commit 7199fcd466804abd3878776c2129978daaa5f34c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Jul 2006 14:38:09 +0800
Tag:    v1.7.0

Fixed installer langpacks for sm and to.

commit 07b76bad6af1b31bfaf40728fce791f611e0d497
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Jul 2006 10:29:12 +0800
Tag:    v1.7.0

chat: Prevent user from submitting a 2nd message before his 1st is received.

commit 330b0bb2ad7d135e915371a5f543c96b4f4181a9
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 06 Jul 2006 13:38:53 +0800
Tag:    v1.7.0

wiki: fix for IE6 bug with HTMLArea, where the text area is not drawn

commit 95900e17f2c837c15d8615dafc1cc685b2b6b5c0
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 06 Jul 2006 13:08:11 +0800
Tag:    v1.7.0

wiki: Fix for broken view on new (empty) wiki pages.

commit 9aad45429955775ede727f7f038847f2704681ee
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 30 May 2006 08:44:21 +0800
Tag:    v1.7.0

auth/ldap: better handling of empty values from ldap

commit 42101fae2c9cb00a1e220044728ac5589e831d8a
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 18 May 2006 08:53:57 +0800
Tag:    v1.7.0

login: Changing passwords now works when logged in as guest

commit ba838c8d1faa040601c3272e99b41e701f49eb0b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:57:03 +0800
Tag:    v1.7.0

moodle16cleanup: mod/quiz correctly sync the constraints and indexes which was not changed when it was moved from quiz module to question lib

commit f470a1c6d567f6fe40acf7679a592fd3271de426
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:56:14 +0800
Tag:    v1.7.0

moodle16cleanup: mod/quiz uniqueid does not exists, taking upgrade script from mysql.php ver 2005070202. dropping some unused tables during the transition from quiz to question lib

commit 05acf8e974b07605be9605fb2d2d8c60376477bb
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:43:21 +0800
Tag:    v1.7.0

moodle16cleanup: lib/db correct prefix, patch by Tim Hunt for bug 5515

commit 2a0f40e98c2a3721f38d5e734d5c79a317e93287
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:42:57 +0800
Tag:    v1.7.0

mod/choice mod/lesson mod/scorm moodle16cleanup: Added notification for cleanup that may fail if one is starting fresh from moodle 1.5.3+, previous cleanup before 1.5.3 is not needed

commit dbfc642a87b859d8a65ee193890c7d7fb0d3461e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:42:28 +0800
Tag:    v1.7.0

moodle16cleanup: mod/forum correctly dropping the constraint, so it does not report an error during upgrade

commit ccd218ee4bdd37dc8b5456282a711e014489e662
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:36:31 +0800
Tag:    v1.7.0

moodle16cleanup: lib/db correctly put the default values, change the length of log_display.module which is just 20 chars on postgres7.sql

commit aec6df38ac9646a38c3d5c73b45aa37659954f1a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:36:14 +0800
Tag:    v1.7.0

moodle16cleanup: backup/ set the correct column datatype and default value

commit 7f8199c25394c12b8f177b8a3a8e6f92cc7be9f4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:35:50 +0800
Tag:    v1.7.0

moodle16cleanup: blocks/rss_client set the correct column default value

commit d7d37bcb60993380cd7ebde78a48191693393a2c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:35:35 +0800
Tag:    v1.7.0

moodle16cleanup: enrol/authorize not null set which is similar to mysql and that was upgraded on postgres7.php

commit 9a2eb087aa8f19169ab0b4f1bb9da437f7e614f2
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:35:14 +0800
Tag:    v1.7.0

moodle16cleanup: mod/hotpot set the correct column datatype and default value

commit 7a3a4cff546e0dba91ec2dcc20a99032caa71af9
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:34:50 +0800
Tag:    v1.7.0

moodle16cleanup: mod/lesson drop unused table lesson_essay, set the correct column datatype and default value

commit f172091567bbec23aeeccab423edbb2f52c2af5a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:34:19 +0800
Tag:    v1.7.0

moodle16cleanup: mod/dialog we need to drop some more dialog module tables

commit c89dfcfcf5f7027992a4f2b711577b21129a9905
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:30:13 +0800
Tag:    v1.7.0

moodle16cleanup: mod/scorm version column should not be dropped, it must exist. it was not upgraded as with mysql.php 2005041600

commit 1b58a2f3a0e11b0f0faf75945362c81238525c03
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:29:45 +0800
Tag:    v1.7.0

moodle16cleanup: mod/wiki synch upgrade script and .sql with mysql counterpart, drop the not null constraint to sync with postgres7.sql

commit c4ca8d4596e66537f6e8e880d316d4a2440875f9
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 14:29:15 +0800
Tag:    v1.7.0

moodle16cleanup: mod/forum added notification message

commit 66c7e47b273a9ef69dec04471411e647f30a59c3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 17 May 2006 12:39:43 +0800
Tag:    v1.7.0

blocklib: cache (and used cached) block instances properly in $pageblocks