Git commits in Moodle 1.5.3 by martinlanghoff

commit 61da36a863879a378b794fc449e575655e5b0927
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 15 Nov 2005 15:21:24 +0800
Tag:    v1.5.3

153 release notes done -- bonus commit with hidden roll-of-honour

commit ebb8f1b45cca452656838ec76ecaf12a45af153d
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 15 Nov 2005 15:19:05 +0800
Tag:    v1.5.3

work-in-progress 153 release notes -- added notes about the commits from the last 2~3 days

commit 580427eb7263242a9e77b7657f52394dae7cc695
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 15 Nov 2005 15:03:38 +0800
Tag:    v1.5.3

work-in-progress 153 release notes -- part 3

commit 952b4986c4972f95859fa620395ab2b1560fbef5
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 15 Nov 2005 14:22:04 +0800
Tag:    v1.5.3

work-in-progress 153 release notes -- part 2

commit 220dfe69ad29b264fae0787b57b27661d6ec3517
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 15 Nov 2005 13:47:46 +0800
Tag:    v1.5.3

work-in-progress 153 release notes

commit aa910f60b0dec21bda430119c5847ca4fe6c4e93
Author: martinlanghoff <martinlanghoff>
Date:   Sat, 12 Nov 2005 13:30:23 +0800
Tag:    v1.5.3

Display warning when magic_quotes_gpc=off _and_ register_globals=on -- tidyup wordwrap and center it proper.

commit 2193242b487906872681499ca846cba76e8eaa74
Author: martinlanghoff <martinlanghoff>
Date:   Sat, 12 Nov 2005 13:25:39 +0800
Tag:    v1.5.3

Display warning when magic_quotes_gpc=off _and_ register_globals=on

commit 186288dea5add014a71d11e5a69d2a1d73864aca
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Nov 2005 08:44:21 +0800
Tag:    v1.5.3

user/edit: Better error handling when loading auth libs.

commit e7cfc5325f363d8b1405f954c18c75edc6146c20
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Nov 2005 08:38:23 +0800
Tag:    v1.5.3

auth/ldap: Better warnings and handling of updaging multi-source LDAP fields

commit 985cd79efa8382012479e215518056b45083275c
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 01 Nov 2005 06:43:44 +0800
Tag:    v1.5.3

Updated the definition of 'member' for AD - thanks to Iaki for the tip!

commit 1ff64b7f604635a7423f255574afab52ead3e005
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 18 Oct 2005 11:28:20 +0800
Tag:    v1.5.3

If wwwroot is unset, log something before dying

commit 2cf2079188866c818d3c91d33aea175afd254502
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 06 Oct 2005 10:23:40 +0800
Tag:    v1.5.3

Fix for bug 3141 - Can't update external data with LDAP authentication

commit 67149b4d2c5746fd530ba19405cbf21c2170f798
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 06 Oct 2005 10:18:16 +0800
Tag:    v1.5.3

Fix for bug 3992 - LDAP password including a quote does not work - credits go to Kita

commit a6349a6d1f2876285c4db41864bf87177d268dd4
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 22 Sep 2005 11:12:14 +0800
Tag:    v1.5.3

courses/sortorder: syntax fix to cope with bad sortorder values

commit 085366cfa06170be508ed15daeb1069fca0ab11d
Author: martinlanghoff <martinlanghoff>
Date:   Sat, 17 Sep 2005 07:29:26 +0800
Tag:    v1.5.3

auth/ldap fix typo - thanks to Skodak for spotting it!

commit 59b5352b51561c4560c4aa229f06c1ba8c5195ab
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 09 Sep 2005 08:25:50 +0800
Tag:    v1.5.3

auth/ldap: fixed typo in auth_user_activate() - bug #3594 - thanks to ze @ nbox.org

commit 68dfdae36eb11f2fa14b2dbbee3f97f1ad905bb4
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 08 Sep 2005 07:23:08 +0800
Tag:    v1.5.3

Fix for bug 4031 -- fix typo

commit fce45181d7136a4fcdd2c3927990323f92d6f0f9
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 08 Sep 2005 06:48:48 +0800
Tag:    v1.5.3

Fix for bug 4031 -- stupid mistake of using get_record_select() when I mean get_record() - see the bug entry for more details

commit dc2a68b4d73f2c7778291227d692ef0f7f86eced
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 07 Sep 2005 14:36:32 +0800
Tag:    v1.5.3

enrol/db - bug 3912 - Re-add the enrolment to $user->student[] - should fix things for good.

commit 0aff0bf622484ab1fb341fa4d2f50c78a0079eaf
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 07 Sep 2005 14:03:53 +0800
Tag:    v1.5.3

Fix for bug 4011 -- a MySQL specific workaround did not work with database names with hyphens, and broke the whole plugin for other databases. This patch fixes both issues.

commit 6cd6568f84367673c54a67269424aa77dcc7e213
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 07 Sep 2005 06:24:31 +0800
Tag:    v1.5.3

make_categories_list(): initialize variables correctly to cover up for broken call convention. Passing unset variables by ref to be populated is a BAD idea. Do The Right Thing and Return your function output or there'll be no dessert for you.

commit a705afc7da59b73158179bb88d1da9b69f373281
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 02 Sep 2005 14:55:28 +0800
Tag:    v1.5.3

auth/ldap - sync_users script bugfix x2: it was deleting fields that were not supposed to be synched to ldap and it was failing to set auth_forcepasswordchange

commit f159f93bc753cebdf217514c5d0a46324ad36a0d
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 02 Sep 2005 14:50:11 +0800
Tag:    v1.5.3

enrol/ldap - fix course auto-creation to work with the new blocks infrastructure. doh! (thanks penny!)

commit 8ade954b604a4c2ddeb2e873cfc27dff500c24e2
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 02 Sep 2005 14:42:33 +0800
Tag:    v1.5.3

auth - bugfixes: update_userinfo() did not truncate values, and did not have proper errorhandling; user creatiwas passing an id to set_user_preference when we wanted an object

commit e1a3a68059737b19552af9ba04768a362e27ff0d
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 02 Sep 2005 14:36:39 +0800
Tag:    v1.5.3

forums/trackreads: Small optimizations to forum_tp_can_track_forums()

commit 63b8c597f69936dcc7d6576b108e0f5bc9b395e5
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 02 Sep 2005 14:30:24 +0800
Tag:    v1.5.3

forums/trackreads: Postgres-optimized query - from many minutes to a few milliseconds

commit d5e554444885c91b064b67aead84d4ceeff1d5ca
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 31 Aug 2005 13:59:31 +0800
Tag:    v1.5.3

auth/db: Better support for utf-8 user data.

commit 8e0b42fb88512c471eb5df4b5b1abc868de6574d
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 26 Aug 2005 14:07:42 +0800
Tag:    v1.5.3

enrolment fixes: We now have better handling of the enrol field when dealing with student enrolments. This fixes bugs 3912 and 3974. NOTE that enrol_student() now defaults to manual - this is to support the different pages that call enrol_student() to still work correctly when external enrolments are in use, by recording the enrolments as manual. Enrolment plugins are expected to know better and pass the correct parameter.

commit 9595bf588aa01bb5287fc3f5140bc1482d912480
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 26 Aug 2005 12:09:41 +0800
Tag:    v1.5.3

enrol/ldap - fixed default objectclass, and we can now bind non-anonymously

commit 8a9e5ac3274b01881e765b479c453b0448639d7c
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 26 Aug 2005 11:57:30 +0800
Tag:    v1.5.3

Long-pending rollback_sql()

commit 2a069aa1f2d11bb5d4a9dc899ac8f48f5bf93bc6
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 25 Aug 2005 12:56:13 +0800
Tag:    v1.5.3

auth/ldap: Fixed handling of multi-source field mapping. Now fields with non-empty values have precedence over empty fields, regardless of order. Fields will be set to empty only if all ldap source fields are empty.

commit e2d7747f101062dd54fc651c7564062e79eb34a8
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 18 Aug 2005 08:01:39 +0800
Tag:    v1.5.3

Blocks upgrade - reduce memory consumption by a few GB and (postgres only) halve database traffic.

commit c53889ff42fd8237838260099bb1b798e033db3a
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 18 Aug 2005 06:35:45 +0800
Tag:    v1.5.3

LDAP servers being down or unavailable should not prevent login - we now fail with a notice() rather than with an error()

commit 42fd23bc3a69c31017ed81cd00d25b2d44a320cc
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 16 Aug 2005 11:19:38 +0800
Tag:    v1.5.3

Unset the changepassword flag for the _right_ user, even if we are masquerading an account

commit 29ad8bfe68572f9751ea362c1b31303fdc8687d3
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 16 Aug 2005 08:42:42 +0800
Tag:    v1.5.3

Tell insert record we don't care about inserted id

commit 8b7291eff56e1684e91295d297e59eb8fa5f422f
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 16 Aug 2005 07:21:40 +0800
Tag:    v1.5.3

Fixed DOS newlines.

commit 0b7c88413267303711d66362a922d3ef41657381
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 16 Aug 2005 06:27:47 +0800
Tag:    v1.5.3

Enable reset password functinoality for LDAP and other external auth mechanisms as promised in the auth config page

commit 812fe4c5fc6aa74627980eea710aadf49d76a536
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 12 Aug 2005 10:30:30 +0800
Tag:    v1.5.3

Temp table now matches idnumber length with username - thanks to Yves Roy for pointing this out.

commit fe1acc35e7a693ccc761e9ed4764f283076d0fb5
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 12 Aug 2005 09:47:56 +0800
Tag:    v1.5.3

Fix calls to enrol_student() and add_teacher() where nulls were being passed erroneously - credits to jeff graham

commit 4fd1373c7e04d254b477052ed67e98a189fb6763
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 12 Aug 2005 07:01:12 +0800
Tag:    v1.5.3

Fix for small syntax error that was hiding debug info from an error msg. #3527 - Credits to cangussu@gmail.com

commit 44944d84664fd14c7653522bed02d42a2ca461f3
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 12 Aug 2005 06:42:46 +0800
Tag:    v1.5.3

Fix for using dn as idnumber - thanks fo Jeff Graham - http://moodle.org/mod/forum/discuss.php?d=28840

commit d3af23581db103bc21057c04dac4c1a6d90cb0fc
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 10 Aug 2005 13:34:08 +0800
Tag:    v1.5.3

Added the missing $userold, now detecting updates (and pushing them out to LDAP) should work.