Git commits in Moodle 1.7.x by Martin Langhoff

commit 773242671f35267547f8631b59ac47e056354c95
Author: Martin Langhoff <martin@catalyst.net.nz>
Date:   Mon, 14 Jan 2008 17:54:34 +0900
Tag:    v1.7.5

cvsimport fixups

commit 8885b483cb62cc8a12be7cf9f216a1df60544e8f
Author: Martin Langhoff <martin@catalyst.net.nz>
Date:   Mon, 14 Jan 2008 17:54:34 +0900
Tag:    v1.7.5

cvsimport fixups - binary

commit 8d7e790de7b1eb0eafbc2978dc1433749c4309bf
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 08 Jun 2007 05:22:36 +0800
Tag:    v1.7.3

moodlelib:moodle_request_shutdown() - only call apache_child_terminate if child_terminate is true - MDL-9350

commit a3b2f4cbebfc158addc593323a489b3f6e8912c4
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 16 Apr 2007 08:24:44 +0800
Tag:    v1.7.3

moodle_request_shutdown(): silence errors when apache_child_terminate() is disallowed - (MDL-9350)

commit 7b6c65a56076045493ca33b60f91d79c48d364ee
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 12 Apr 2007 11:30:20 +0800
Tag:    v1.7.3

moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 and newer

commit 28ca56c93daa7bd139ff69e3ddbc094f31a45aa9
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 12 Apr 2007 08:45:35 +0800
Tag:    v1.7.3

Fixed 'off by one' month bug in month select boxes generated by print_date_selector when users time zone set to GMT-13.

commit bf01ed821166a95b59263f61e3ffd291b1bc3e1e
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 05 Apr 2007 13:00:23 +0800
Tag:    v1.7.3

lib/setup moodelib: Introducing moodle_request_shutdown()

commit 3810ca294d0e5ef4d0093be0616934d7b4897938
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Mar 2007 15:13:13 +0900
Tag:    v1.7.2

Auto-linking filters: fix serious caching bug in forum mailouts

commit 3ce66e9f7b896d607114269e185e01536ada7c50
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 12:04:05 +0900
Tag:    v1.7.2

MDL-7385 - stats_cron_daily() - If a module is missing, continue processing

commit fb3501f9354f1806d8fa29b7c135e7c9cbf4b0ef
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 11:51:11 +0900
Tag:    v1.7.2

Fixing MDL-6795 - Stats never runs. stats_monthly table gets very full - avoid double tz calculations in stats_getmidnight()

commit 757d66b5047b38acc184db7425c753222822898f
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:32:16 +0900
Tag:    v1.7.2

Stopping warning and possible errors in graphlib.php caused by bugs in statsgraph.php

commit 9861a3997a20f029305f1fb60c717863e4555131
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:28:39 +0900
Tag:    v1.7.2

hotpot: Fixing db upgrade script

commit e05e5d132e1b387f33869b1d765def93802ba3b1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:25:46 +0900
Tag:    v1.7.2

(Fixing upgrade script) Only try to disable lams if it is installed

commit 6488b3be2e0c275f24e2ea5b0510bf7e98906979
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:10:12 +0900
Tag:    v1.7.2

blocks: Making UTF8 migration script work with blocks not on course page, etc.

commit 748e20f0069b4cd8536e2bf6da09068d071c18b8
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:07:22 +0900
Tag:    v1.7.2

Fixing 1.5->1.7 upgrade bug (get_courses was used unnecessarily in upgrade process, and relies on roles)

commit 1d94add47e4a313340f3bf57e5f78d8610c49faa
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 16 Jan 2007 05:00:01 +0900
Tag:    v1.7.1

enrol/database: fix fields not read from external database MDL-7712

commit dd1ac4af5cbbae944e8abae2016dd3eb08706b39
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 16 Jan 2007 04:58:58 +0900
Tag:    v1.7.1

auth/db: fix fields not read from external database MDL-7712

commit 6cb344928f6f95551cf227251c35d2c8890bcd88
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Dec 2006 10:48:22 +0900
Tag:    v1.7.1

redirect(): fix protocol name in redirection header()

commit 2c56bea00737e6c5f90c6eb533c4257ac1dec558
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Dec 2006 07:47:36 +0900
Tag:    v1.7.1

raise_memory_limit() earlier -- resolves OOM on 64-bit platforms

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