Git commits in Moodle 2.0.x by martinlanghoff

commit 9f75b5886f327c9f4a0f92ed30817fa9610f80d4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 12:01:56 +0900
Tag:    v2.0.0-rc1

MDL-90 PEAR/HTTP/WebDAV: fix file name encoding ... for real this time?

commit a489cf72cb0b24042fdbf2399da78f47176c7d8d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:57:33 +0900
Tag:    v2.0.0-rc1

MDL-90 moodlelib: Introducing get_cache_flag() - gets a row from cache_flags table

commit a668c808450df1e736865cd36afaeb95fb72cc64
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:56:48 +0900
Tag:    v2.0.0-rc1

MDL-90 authenticate_user_login() - don't accidentally return a bogus $user

commit a4c371ece6b50286bcf212eadac7928e8421389e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:55:36 +0900
Tag:    v2.0.0-rc1

MDL-90 lib/setup: extend include_path to cover the PEAR libs we distribute

commit 7cfb11db0b17ed99f5a3328ad56053b20016cdc6
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:52:28 +0900
Tag:    v2.0.0-rc1

MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()

commit 8f64ba04837a3993ea119402f3dedc77ae1d320e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:51:49 +0900
Tag:    v2.0.0-rc1

MDL-90 Introducing MOODLE_SANE_INPUT and MOODLE_SANE_OUTPUT to setup.php

commit c336b0b0237d6940fe6fd692acf7b7e39ae48127
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:50:59 +0900
Tag:    v2.0.0-rc1

MDL-90 lib/pear: Included System.php - used by WebDAV libs

commit 22fc3bc537d8be2259c6c0d9b8990a3fc5de2914
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:20 +0900
Tag:    v2.0.0-rc1

MDL-90 Imported PEAR's HTTP_WebDAV_Server from HEAD @ 28-01-2008

commit 656418b17923b3da40c7133921a2c4129859e8b2
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 06:48:08 +0900
Tag:    v2.0.0-rc1

MDL-11180 datalib: get_courses() - grab the course context as part of the select

commit c2d88da70873808949d88eaed42e80012452bd9d
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 25 Jan 2008 09:53:01 +0900
Tag:    v2.0.0-rc1

accesslib: Fix get_context_users_bycap() when no roles grant the cap

commit 7ce4ce0aa4d9741ec2ac18ccb8474ebf1992abb1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 09 Jan 2008 07:36:17 +0900
Tag:    v2.0.0-rc1

mod/chat:chat_cron() - IS NOT NULL is better - MDL-11674

commit 319038c39dfb81ffc41132bd42eaff3e534db215
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 09 Jan 2008 05:58:24 +0900
Tag:    v2.0.0-rc1

mod/chat:chat_cron() delete stale chat messages with a single query, fast, and portable too! MDL-11674

commit 2e7e89a90770c31ea448a35f5a34c5f2d3d673c6
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 08 Jan 2008 13:13:32 +0900
Tag:    v2.0.0-rc1

dmllib:rcache_set()/rcache_get() - use clone() function which we can support in PHP4 - MDL-12827

commit 19f2318a445c6d8c7caa8c90c66ddc18c5449f2d
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:26:19 +0900
Tag:    v2.0.0-rc1

accesslib: get_users_by_capability() now excludes doanything'ers properly

commit 92c879cef1314e100bf59544b22dfbe3e7e70512
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:26:08 +0900
Tag:    v2.0.0-rc1

accesslib: get_users_by_capability() fix subselect with ra.hidden

commit b1469317a1bbee6590ea507b500dc881f3690e66
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:25:51 +0900
Tag:    v2.0.0-rc1

lib/deprecatedlib: use sort_by_roleassignment_authority() to sort RAs

commit 635bfbad21eaeee3667eed70f4412cdadfdda06a
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:25:37 +0900
Tag:    v2.0.0-rc1

accesslib: Introducing sort_by_roleassignment_authority()

commit 1113f8002ac30693e862a59ea7cde310dd5189b1
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:25:26 +0900
Tag:    v2.0.0-rc1

lib/deprecatedlib: enrol/manual: Fix calls to get_users_by_capability() to avoid ra

commit 0d8466509dad1c9eac1f552b47792f8b1da28b5a
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:25:15 +0900
Tag:    v2.0.0-rc1

enrol/manual: Fix calls to get_users_by_capability() to avoid ra

commit f17a660a057d37fa0a38dabb45492689b36d0071
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:25:03 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Fix pagination

commit c26ecb1a29d9bd954070a0ce36d224df2d4e2970
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:24:50 +0900
Tag:    v2.0.0-rc1

datalib: get_admins() - Rewrite to avoid get_users_by_capability()

commit c92bce46148c25577226251002b040db44930284
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:24:37 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Fix last_access handling

commit 6c9d86b7a61b1553565417927f41b80cb2a4c189
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:24:25 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Move capcheck to has_capability_from_rarc()

commit d2c5b7a9fa599d2d4fd47044a1aea0d69000070f
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:24:14 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Move hidden RA checks to subselect

commit a4436c6db84a71ac468c925a27bd99b8d26f61a8
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:23:58 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Handle the complex case

commit 2d1669b0d559e09ea837b694ef5ccf7fcf1b29f1
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:23:46 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Simple cases now handle multiple RAs

commit 8b8bf40cc7b2ec3618b93ea1c5fdea9792e02c48
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:23:24 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - Handle complex rolecap resolution

commit 26843e106b3d6a7a0dedb4c661cfc1ea1e008008
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:22:26 +0900
Tag:    v2.0.0-rc1

accesslib: get_user_by_capability() - First, handle simple cases

commit 987e7454425a80919169f52e8ab405dc4a7b5c91
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:22:08 +0900
Tag:    v2.0.0-rc1

accesslib: revert changes to get_users_by_capability() - MDL-12452 MDL-12451

commit b1df0eb2cec4425c8ea8c4b6ca3c9a657cdcee63
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 07:56:07 +0900
Tag:    v2.0.0-rc1

lib/setup: restore sanity to rcache handling

commit 944a2c938f3b3cf7b38c47ad6764e46420a58cab
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 07:46:20 +0900
Tag:    v2.0.0-rc1

dmllib:rcache_get()/rcache_set() clone cached records - we do not want magic references here - MDL-12827\n And calling fullclone() with the huge cost in serialize()/unserialize() is not needed.

commit 70dd126e0b0ce0827aeed0c79ca54b1c9f2a8dda
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 11 Dec 2007 06:35:58 +0900
Tag:    v2.0.0-rc1

MDL-12523 accesslib:cleanup_contexts() - Fix invalid SQL syntax and reserved keywords

commit 1d854cec5a5f9e95d44cee746216ef00ff4a3cfc
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:26:10 +0900
Tag:    v2.0.0-rc1

datalib: get_logs_user*() - fix invalid SQL - MDL-12426

commit e88370a6a3774150a682fa66316aef8140d2cd2d
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:25:56 +0900
Tag:    v2.0.0-rc1

blocks/online_users: Remove SQL "id,id" which causes errors on Oracle - MDL-12425

commit 2c3d57558785a24e88ffd0038ec400e589a58163
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:25:42 +0900
Tag:    v2.0.0-rc1

mod/assignment: Remove SQL "id,id" which causes errors on Oracle - MDL-12425

commit 2ff0fb1205e3a6305edc49be1526eb626f4e8bbf
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:25:25 +0900
Tag:    v2.0.0-rc1

accesslib: build_context_path() remove $temptable for Oracle too

commit 073af1a64b28b1b30daff64cb52ad814554e0ffb
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 23 Nov 2007 09:23:39 +0900
Tag:    v2.0.0-rc1

user/index: Add "enrolment details" view to Participants page - MDL-12311

commit a32e05df9acc8ac651dfbe415dad463074f04ef7
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 23 Nov 2007 09:23:24 +0900
Tag:    v2.0.0-rc1

user/index: More consistent handling of groups column - MDL-12311

commit 1377ede75daade1481c1210a7c578369d0dae3ec
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 23 Nov 2007 09:23:10 +0900
Tag:    v2.0.0-rc1

user/index: Fix Participants page for sitecourse - MDL-12311

commit 664fe87f299e42242dde47755d54a39dfd000cea
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 23 Nov 2007 09:22:56 +0900
Tag:    v2.0.0-rc1

user/index: Show enrolment and group/grouping data in Participants page MDL-12311

commit 9b86470e530eefa34e8480e50443dad2714175fc
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 20 Nov 2007 09:31:40 +0900
Tag:    v2.0.0-rc1

MDL-12142 mailout-debugger: Now works on Windows too

commit 4f957b116dda1043500f5899c426a8b16d524308
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 20 Nov 2007 09:18:31 +0900
Tag:    v2.0.0-rc1

accesslib: has_capability_in_accessdata() respects rdef locality a bit more

commit 0cbcc8efc11782858aa2e88ee70213d7c9016d3f
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:43:48 +0900
Tag:    v2.0.0-rc1

user_login() was not converted to using get_cache_flags().

commit 58eada356d9fdeee54ed4f3517b6b09df1ab5b45
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:43:34 +0900
Tag:    v2.0.0-rc1

If the cache flag is not set, it doesn't make sense trying to test its value

commit a44240fa893efa54c982067faec9446c21ccf4d4
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:43:16 +0900
Tag:    v2.0.0-rc1

Fix typo in ntlmsso_finish()

commit 6f2556427355c22c6f46393fc77ebea57e70c83b
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:47:30 +0900
Tag:    v2.0.0-rc1

MDL-9399 - auth/ldap: Strings for NTLM SSO - forgot one

commit 9b9fcc21e4daceebe1895f5e9ba93ce89e6e5d19
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:43:56 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: Strings for NTLM SSO cvs: ----------------------------------------------------------------------

commit 6626b9ab48016f129924d730dafac98a1fc404d8
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:23:45 +0900
Tag:    v2.0.0-rc1

MDL-12178 auth/ldap: "creators" role assignment now also supports contexts

commit 4025cf8031cc97d78637b8886bb32404188829c3
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:17:58 +0900
Tag:    v2.0.0-rc1

MDL-9399 - auth/ldap NTLM SSO - fix missing global

commit 065e2cc0946c6beb9b333afb6e4242fced660f26
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:12:57 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM temp sessions now use cache_flags

commit 19987407ab611edd5619a7900f51be941ac0d5f5
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:12:25 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings

commit 6221a3212131667d9804d9a42bee951cab848ee4
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:12:07 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM SSO - move textlib conversion earlier

commit 83cd2dce5a44f9f6b80fea54a16ee49faea6f840
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:11:48 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM SSO - cleanup of sesskey handling

commit 355bd271ac8173345aab93ffab79cb7c6312a567
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:11:35 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM SSO - use sesskey and other tidyups

commit 6fd511eb1cc32b2b7ab54785e0cb5e5706f4d067
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:10:21 +0900
Tag:    v2.0.0-rc1

MDL-9399 moodlelib: set_config() deletes config entries if the value is NULL

commit f8bf0f4afcf3a51dc90ecd50963381e7caab723d
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:09:59 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: Tighten NTLM AD checks to the appropriate OU

commit ddf3de6720aac5bcd1a3f19c70241b67775d0d98
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:09:45 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: ntlmsso_finish() now completes the user session setup

commit 0a1c2f4a43daae89559f317962af103dbe6d5853
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:09:29 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM redirect only on initial GET

commit 02c7f3d98a94d478894942fda01686edc195b333
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:09:15 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM SSO - lots of fixes from Iñaki

commit 3357a506bd976ec9d1870b9b57cabd55813dd96f
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:08:55 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: NTLM SSO - Resolve Moodle cookies issue, tighten config.php require()s

commit 977f5b56e107cc8dd75d3a4236a18e8371ff9c4e
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:08:38 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: Add NTLM SSO pages

commit decd80163d5ca7a16c64dea972e8953fe41e7383
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:08:11 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: flesh out ntlmsso_* functions

commit 1e8713ea641d009d61c69674da0c896f1107b70c
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:07:53 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: Introducing loginpage_hook(), ntlmsso_attempt(), ntlmsso_finish()

commit b95b46a897f5c98dd31203221ed09c734b5460cc
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:07:16 +0900
Tag:    v2.0.0-rc1

MDL-9399 auth/ldap: Manage 2 new config settings for NTLM SSO

commit cfab8f39465d251291b547931411d3fa448f18f5
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:06:17 +0900
Tag:    v2.0.0-rc1

MDL-9399 - auth/shibboleth: ensure we load enrolments

commit bce3479cc1c28599100207844e0027f785b068c1
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:04:37 +0900
Tag:    v2.0.0-rc1

loginas: call check_enrolment_plugins()

commit be41678c5e391e39dd748ffcf5495b04dabda4d1
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:04:23 +0900
Tag:    v2.0.0-rc1

auth/mnet: when landing, user complete_user_login()

commit 8f9e1d2c4db98ebeffcebd156991e55ca32bc82f
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:04:05 +0900
Tag:    v2.0.0-rc1

accesslib: Move check_enrolment_plugins() to complete_user_login()

commit a238e822a2c2665755175092356c38d6579b9c66
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:03:46 +0900
Tag:    v2.0.0-rc1

login/index, moodlelib: move session setup logic to complete_user_login()

commit 8c80cc173809143c1ada0c0a5639d7c0c5417b7c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 14 Nov 2007 10:25:20 +0900
Tag:    v2.0.0-rc1

htmlarea: fix in FF - MDL-11242

commit 86a0b80d88e7feb8bfe2149271dca4bb5b99bab7
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 13 Nov 2007 09:34:47 +0900
Tag:    v2.0.0-rc1

admin: Introducing the mailout-debugger

commit 755a625d95b06c118d652395c62d974591d058af
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 12 Nov 2007 13:13:24 +0900
Tag:    v2.0.0-rc1

htmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242