Git commits in Moodle 1.9.0 by martinlanghoff

commit 551f60bd3bcd17e63fdaab8b0436699c416d37a4
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 28 Feb 2008 12:16:18 +0900
Tag:    v1.9.0

MDL-90: Remove System.php until we have sorted licensing issues.

commit 351b7cd179e76d856700b96236160889145cddff
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 12:02:05 +0900
Tag:    v1.9.0

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

commit ed997a6b9ca3c9a2d386bd5a7553e3fc38222c92
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:57:44 +0900
Tag:    v1.9.0

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

commit 94ff81261d7eb74d31984a9817da798c9942fb94
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:56:59 +0900
Tag:    v1.9.0

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

commit 58bf9beea3da9f945fde24dcc5d85b9b55aac3b3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:56:06 +0900
Tag:    v1.9.0

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

commit 0844c5d93bbbd9da9164ceee079bd5d3f61e7bcd
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:52:39 +0900
Tag:    v1.9.0

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

commit 26e8984b51077ff0d54e702ed78291d3ed1b3128
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:51:59 +0900
Tag:    v1.9.0

MDL-90 Introducing MOODLE_SANE_INPUT and MOODLE_SANE_OUTPUT to setup.php

commit 2f599e173262ef07b1995c83bc116eec93c2141c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:51:18 +0900
Tag:    v1.9.0

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

commit c67c987c800d2c2570cda074b0d1872d03002028
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:50:59 +0900
Tag:    v1.9.0

file System.php was added on branch MOODLE_19_STABLE on 2008-02-27 02:51:18 +0000

commit b1f3971cafa53f545b6be6032d8390a41c87e53a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:50:20 +0900
Tag:    v1.9.0

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

commit 5874bee4d10f0b25c0df4d0bc55e98981f7a1978
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:21 +0900
Tag:    v1.9.0

file README_MOODLE.txt was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:21 +0000

commit d47d910b13d4f7baaac506dc860e1fc07c0c18cb
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:21 +0900
Tag:    v1.9.0

file Server.php was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:21 +0000

commit 670fd620d8f76443afacf9f3bcb82e2e6afada1d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:21 +0900
Tag:    v1.9.0

file _parse_lockinfo.php was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:21 +0000

commit 3e02d264abfc618ec28e0717457f41725479c287
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:21 +0900
Tag:    v1.9.0

file _parse_propfind.php was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:21 +0000

commit dfaa49316194f886744d144f71b684a1202b34ac
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:21 +0900
Tag:    v1.9.0

file _parse_proppatch.php was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:21 +0000

commit ef201b4775e9ab794d4db4f4a11d51fcff79dd63
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:20 +0900
Tag:    v1.9.0

file AUTHORS was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:20 +0000

commit 9913f77ed19694521674177a96025d02ebf65ed8
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:20 +0900
Tag:    v1.9.0

file COPYING was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:20 +0000

commit e74d5d31af6ba017021de8dea800a025d0e7737d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 11:49:20 +0900
Tag:    v1.9.0

file LICENSE was added on branch MOODLE_19_STABLE on 2008-02-27 02:50:21 +0000

commit 5ab05fb15fb39dc5a6b14e01270efa46993ede27
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 27 Feb 2008 06:51:16 +0900
Tag:    v1.9.0

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

commit b227269e56c2898a7edb17a09d5c90fdd93ff47c
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 25 Jan 2008 09:54:35 +0900
Tag:    v1.9.0

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

commit 9b672f584f6def88a3f44a0a95b0d9a6f08a1e73
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 09 Jan 2008 07:37:18 +0900
Tag:    v1.9.0

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

commit bf2de3499f57dddf3f312aaf6b6eab9671ffea13
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 09 Jan 2008 05:58:32 +0900
Tag:    v1.9.0

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

commit 9276c875ddc1c4ff0354bafbef879c7168fd9fd1
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 14:03:45 +0900
Tag:    v1.9.0

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

commit 9dc8c1b014e7386729c860e76bf152eec3a14b99
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:20:00 +0900
Tag:    v1.9.0

MDL-12452 accesslib: get_users_by_capability() now excludes doanything'ers properly

commit 264d665380ce3f05f2c017b10d11370288b2f179
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:19:04 +0900
Tag:    v1.9.0

MDL-12523 accesslib: get_users_by_capability() fix subselect with ra.hidden

commit 4658b598b473794ec301a13a414e10bf17a1e658
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:18:51 +0900
Tag:    v1.9.0

MDL-12523 lib/deprecatedlib: use sort_by_roleassignment_authority() to sort RAs

commit 4ebe85b6a5b8334c9c074130c60f06e181549d15
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:18:37 +0900
Tag:    v1.9.0

MDL-12523 accesslib: Introducing sort_by_roleassignment_authority()

commit 3e117fb6af15287aad2e7adb318e3e8e66c625c0
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:18:19 +0900
Tag:    v1.9.0

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

commit f5687e385b6a7620d5eeb4418f8cce75f513a3cf
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:18:08 +0900
Tag:    v1.9.0

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

commit b5ea0a4a52cc8811b1142487334b933c2851e375
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:17:53 +0900
Tag:    v1.9.0

MDL-12523 accesslib: get_user_by_capability() - Fix pagination

commit 8658d5c5b0c80b96138d33b6b3b2dd5aed6789a0
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:17:42 +0900
Tag:    v1.9.0

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

commit 22edc02cf983597d04ce0cc341072af75cfbfd18
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:17:24 +0900
Tag:    v1.9.0

MDL-12523 accesslib: get_user_by_capability() - Fix last_access handling

commit 3f1e6d3c73b918ad493274aa77d5ee80ad602784
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:17:11 +0900
Tag:    v1.9.0

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

commit 53d3f7fd895d3f30795c2a1b4cca6e9fa4089644
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:16:54 +0900
Tag:    v1.9.0

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

commit ba702c67314690b402ea62112a78825e3f353db2
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:16:33 +0900
Tag:    v1.9.0

MDL-12523 accesslib: get_user_by_capability() - Handle the complex case

commit b8dc2b75a4afe97006a2c1b8a2b4e29f56906f82
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:16:20 +0900
Tag:    v1.9.0

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

commit 6d5d43bab34df1d28cd70b1426820fcb64e79bec
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:16:07 +0900
Tag:    v1.9.0

MDL-12523 accesslib: get_user_by_capability() - Handle complex rolecap resolution

commit 285b024ebf69ecb29ccb19f7210cfe2c4b2fa3f2
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:15:33 +0900
Tag:    v1.9.0

MDL-12523 accesslib: get_user_by_capability() - First, handle simple cases

commit 26de0996d99c58b6e4b109e2e9add9d6e9f113af
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 08:14:25 +0900
Tag:    v1.9.0

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

commit 18ef2fc61e01c7c06ddcacac1e0f5fa47fab29aa
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 07:56:11 +0900
Tag:    v1.9.0

lib/setup: restore sanity to rcache handling

commit 73733d1b4b6252847ba862401a5ebe6c70d462ec
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 07 Jan 2008 07:46:49 +0900
Tag:    v1.9.0

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. Merged from HEAD.

commit 25977a0eafac9305b181b79a948464b7d336be92
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 11 Dec 2007 06:34:05 +0900
Tag:    v1.9.0

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

commit 7e17fa336e3b5d31cbb20522d491105550616280
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:24:23 +0900
Tag:    v1.9.0

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

commit fc3a00b2dc22a0559089a733332b3802e3f29855
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:23:44 +0900
Tag:    v1.9.0

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

commit a3fd4aeea7423974dd6da450ac5ecf850862f8cd
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:23:23 +0900
Tag:    v1.9.0

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

commit eaad116912bd7d310512a60d94930e5edc47aae3
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 04 Dec 2007 15:23:06 +0900
Tag:    v1.9.0

accesslib: build_context_path() remove $temptable for Oracle too

commit 244f6188924c4d82fb5ec5886753327e5305c0df
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 20 Nov 2007 09:32:15 +0900
Tag:    v1.9.0

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

commit 27bb711fe944b4574aabba54e927656f31998899
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 20 Nov 2007 09:19:07 +0900
Tag:    v1.9.0

accesslib: has_capability_in_accessdata() respects rdef locality a bit more

commit 27278d2346b6e72ec8b5e0a28792a239415f296a
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:51:36 +0900
Tag:    v1.9.0

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

commit bb4bfe13df19e1e1c8f6daa8a347fbb7fc5f0bf7
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:51:25 +0900
Tag:    v1.9.0

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

commit c124578f933d13aeecf8b0f67c411e378f81a006
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:51:14 +0900
Tag:    v1.9.0

Fix typo in ntlmsso_finish()

commit 2e2892ce8986dcae2f6c483d6cc588de36f85a73
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Nov 2007 11:50:55 +0900
Tag:    v1.9.0

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

commit 77db6890649d637e736cef119c6d897b3d4fa180
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:45:21 +0900
Tag:    v1.9.0

MDL-9399 - auth/ldap NTLM SSO - strings

commit 4e5813e6f212c4b90c60b4753db77025886fa8a3
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:43:05 +0900
Tag:    v1.9.0

admin/mnet: undo accidental commit

commit 53cda2de3121baaf047c58c6cf984c6142300343
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:40:50 +0900
Tag:    v1.9.0

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

commit c1ef755c30f60d8129bf0cc5004eac57ce41bdd7
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:39:41 +0900
Tag:    v1.9.0

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

commit 8b435d0993f03f7a91a970b54cbabaf86d9be4f3
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:39:24 +0900
Tag:    v1.9.0

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

commit 4912df1582c2a24dd4fb000d00227a1c65fb9641
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:39:11 +0900
Tag:    v1.9.0

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

commit 6e4501941749e4d5bcd3709ebe833f3aef8569d9
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:38:44 +0900
Tag:    v1.9.0

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

commit d8ee4dfa6e0d4c04bb9adeb0be4dbba825aba4c8
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:38:31 +0900
Tag:    v1.9.0

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

commit 8f09118ae0ee8423a7d4570f28ca5f9bfea36d5b
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:38:07 +0900
Tag:    v1.9.0

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

commit 176307a26a13eeeeaed02144bee2a95a895f5297
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:37:53 +0900
Tag:    v1.9.0

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

commit 58af55c35e2dd63d5a79221f95ba5b2281374505
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:37:40 +0900
Tag:    v1.9.0

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

commit afac1a07816cf71427049a5c5d0283348bd4cac2
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:37:26 +0900
Tag:    v1.9.0

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

commit a1353477c49e1f2ba89b3fddfcfb80cae5fd4f16
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:37:10 +0900
Tag:    v1.9.0

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

commit 3ae767d8ba0e43a79da5e3e5d30d31f3b2a06b2d
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:36:56 +0900
Tag:    v1.9.0

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

commit bdadff33ff4a0e413a8f6525e168cf53bdd4aa88
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:36:41 +0900
Tag:    v1.9.0

MDL-9399 auth/ldap: Add NTLM SSO pages

commit 94beeb79c7a73586752740485e3f2eccf4da7f58
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:36:14 +0900
Tag:    v1.9.0

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

commit 056a54babee38b91cc3b7d51d9bff836a3315408
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:36:00 +0900
Tag:    v1.9.0

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

commit 04038968befbad4fb28f6ff3d845777bcc649cfd
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:35:46 +0900
Tag:    v1.9.0

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

commit 6d3da6bf92a35f9307b8f8e85e1e28cd06d4f0e6
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:35:31 +0900
Tag:    v1.9.0

MDL-9399 auth/shibboleth: ensure we load enrolments

commit b3ebb9802e475eb73f0ab1450cc598bf480d1ccc
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:35:15 +0900
Tag:    v1.9.0

MDL-9399 loginas: call check_enrolment_plugins()

commit 12a113f24e072c08dbc98aef5b79d02f0e4fbf5d
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:35:00 +0900
Tag:    v1.9.0

MDL-9399 auth/mnet: when landing, user complete_user_login()

commit 8f5c5184aa051d6c026b3275a1a6fd586d6c0719
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:34:46 +0900
Tag:    v1.9.0

MDL-9399 accesslib: Move check_enrolment_plugins() to complete_user_login()

commit 9d6a3d151348d2d47a37219bb5ae57bb6e28dc33
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 08:34:29 +0900
Tag:    v1.9.0

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

commit 5f084a4ecbc3a87487e63eaf568ed6afc6eb0f07
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:12:25 +0900
Tag:    v1.9.0

file ntlmsso_attempt.php was added on branch MOODLE_19_STABLE on 2007-11-14 23:36:41 +0000

commit 5f3315e78e48a599e69c0e7895fc5abf20cf171b
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:12:25 +0900
Tag:    v1.9.0

file ntlmsso_finish.php was added on branch MOODLE_19_STABLE on 2007-11-14 23:36:41 +0000

commit 2115a3066759ae3dc8ca67d2c4aa9c8ab76a10ae
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 15 Nov 2007 07:08:55 +0900
Tag:    v1.9.0

file ntlmsso_magic.php was added on branch MOODLE_19_STABLE on 2007-11-14 23:36:41 +0000

commit b21ca22e1f17f87a71dc30bf48c7d06a7658b204
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 14 Nov 2007 10:24:40 +0900
Tag:    v1.9.0

htmlarea: fix in FF - MDL-11242

commit 69a4aef1e170d22e0fbf7072fc5e9871e0299af5
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 13 Nov 2007 09:33:42 +0900
Tag:    v1.9.0

admin: Introducing the mailout-debugger

commit ce97dd9102e0baa7195dad15528e860e02030c26
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 12 Nov 2007 13:09:37 +0900
Tag:    v1.9.0

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

commit d54a1b671267a20a3bd4e05112178232d3b50344
Author: Martin Langhoff <martin@catalyst.net.nz>
Date:   Fri, 12 Oct 2007 11:14:42 +0800
Tag:    v1.9.0

cvsimport fixups

commit 5903fbf5e7f0cc4782db3ac3f78919b936d33c1c
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 02 Oct 2007 16:46:27 +0800
Tag:    v1.9.0

accesslib: dirty context handling now uses cache_flags

commit bafd7e78e9548626458512a1073f2ac1e1a725dd
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 02 Oct 2007 16:39:44 +0800
Tag:    v1.9.0

moodlelib: Introducing the cache_flags functions

commit e4a5c864b5b3bb6359e3308edc98e068400a93da
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 02 Oct 2007 16:38:19 +0800
Tag:    v1.9.0

version bump: introducing cache_flags table to store volatile time-bound flags

commit ba2984bf2be92a51fe053301c75b94ae9f5450f2
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 02 Oct 2007 16:34:10 +0800
Tag:    v1.9.0

dmllib: more consistent err handling for execute_sql() and others

commit 85cab9d8cd4ebe06d24f1d907ea507c88e636697
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 14:51:13 +0800
Tag:    v1.9.0

eaccelerator: never set the mode if we failed to init

commit 78c3ec2fe8c7cf8c918bdf4533e9c03b152e14b4
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 14:45:29 +0800
Tag:    v1.9.0

Revert - dmllib: check $MCACHE->status() before using it

commit 369a572502edac26fc2fa1971fd5eef39bdd69d3
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 14:42:57 +0800
Tag:    v1.9.0

dmllib: check $MCACHE->status() before using it

commit 21f10eb03ee983dffcf5b80e01c8d888de7968e5
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 11:23:12 +0800
Tag:    v1.9.0

accesslib: load_all_capabilities() - remember to check_enrolment_plugins()!

commit 55a814399f8cd7d2d5bd4de713b89bf1f403ef43
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 10:45:57 +0800
Tag:    v1.9.0

accesslib:build_context_path() refer to dbfamily instead of dbtype

commit d20559f3e48418694d050de6c4b0f4929f32448d
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 09:03:35 +0800
Tag:    v1.9.0

accesslib: build_context_path() - better UPDATE SQL

commit 92b34bdd6cf742deaafb20eb82fc8e8a147a87c8
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 08:16:22 +0800
Tag:    v1.9.0

accesslib:build_Context_path() fix $emptyclause

commit 413a19dd4cf610e73fc98d1b69d8c18aada43d1e
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 20 Sep 2007 07:46:37 +0800
Tag:    v1.9.0

accesslib:build_context_path() - fix $emptyclause to avoid Oracle's dirty hack

commit dcd6a7755fb53d4f9f566133faa586ca47b10c87
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:57:10 +0800
Tag:    v1.9.0

accesslib: update PHPDoc with intro to code

commit 4c4fc4ffb125216040cf03d7f5625150d54e189c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:56:56 +0800
Tag:    v1.9.0

accesslib: janitorial - use $ad for accessdata everywhere

commit f2a7ad77ecc785ce329cc5a30769e1f1be205367
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:56:43 +0800
Tag:    v1.9.0

accesslib: cleanup_dirty_contexts() - also forget about CAST()s

commit 70981363bfd82165896bd345a2e2d8e853ec1a1e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:56:30 +0800
Tag:    v1.9.0

accesslib: get_dirty_contexts() - fix race condition, forget about CAST()s

commit 99be2a7fad15ac09b095a3773ce8e0297f689a5c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:56:14 +0800
Tag:    v1.9.0

accesslib: build_context_path() now sets path/depth for other blocks

commit 348648a2a597d9383bfa989e1b8dc16bd830f34c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:55:59 +0800
Tag:    v1.9.0

Revert "accesslib: mark_context_dirty() - fix race condition"

commit ac0b19ffe9b11e36c9793b297e63dac1a8188034
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:55:46 +0800
Tag:    v1.9.0

lib/setup: Cleanup warnings in apacheloguser handling

commit c6f01310adb38e78470a00e2fe6e5e96c744d155
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:55:29 +0800
Tag:    v1.9.0

weblib: print_user_picture() fix typoed classname when faking user object

commit 91d39e7392302d677fe02092ecca4efc903edf42
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:55:15 +0800
Tag:    v1.9.0

user/index: switch to recordsets to use less memory

commit b6ac3623cef25fc8e0cca1ee1be034da7beeda79
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:55:00 +0800
Tag:    v1.9.0

user/index: Fetch participants' contexts with the search

commit 45ea1afb16e99153d836f27c232a0159d1cdd148
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:54:37 +0800
Tag:    v1.9.0

accesslib: make_context_subobj() now expects ctxlevel, and fix all callers

commit b1cff118c7626d44156bad7f8435346086b1b79e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:54:23 +0800
Tag:    v1.9.0

datalib:get_courses_wmanagers() handle empty $CFG->coursemanager more gracefully

commit aba5f469f6611ebea3f8a2c1403c05f395379e83
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:54:06 +0800
Tag:    v1.9.0

accesslib: get_user_access_sitewide() was skipping rdefs

commit 53fb75dc1f1fcf59899b2f295368ede0fc808764
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:53:49 +0800
Tag:    v1.9.0

accesslib: get_user_access_bycontext() fetches all relevant rdefs

commit 37875ac5b748b5ddfd208860f2d9aed45de6c68a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:53:33 +0800
Tag:    v1.9.0

calendar/lib: calendar_set_filters() use pre-fetched context and course recs

commit 853a093ec5cf2fd9c215c4064fd80ae0bbe2af73
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:53:17 +0800
Tag:    v1.9.0

course/index: remove call to rebuild_context_rel()

commit dd14fecfa4c2e086f437ac7609883549605ba856
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:53:00 +0800
Tag:    v1.9.0

accesslib upgrade: remove stray build_context_rel(), force path rebuild

commit 8f9a180282dc6ffcb48d479ac551d64fbb166430
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:52:42 +0800
Tag:    v1.9.0

weblib: build_navigation() try to avoid pointless capchecks

commit 6b4d8c4d587c8d7f65970c9df19150da5b6fe1f8
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:52:27 +0800
Tag:    v1.9.0

course/lib: print_course() fix bug when $course->managers was not set

commit c7a8ec8cf0ba78ad8e1d63a7b1db5cc06cd6c83a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:52:06 +0800
Tag:    v1.9.0

accesslib: has_cap_fad() respect local-context-wins permissions rule

commit 5b9e50caf022ee91a1c2fd657ea344d471040843
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:51:50 +0800
Tag:    v1.9.0

course/lib: print_my_moodle() - ask get_my_courses() for the summary

commit bbfed0ec61dd3421d89c30616c508495b12fc49b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:51:36 +0800
Tag:    v1.9.0

datalib: get_my_courses() honour $fields array

commit b9e9491a89610d7308ee227a0e9ebab56311a1b3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:51:19 +0800
Tag:    v1.9.0

accesslib: get_my_courses() fix when called when empty sort

commit 5f6b9c09b7057bb612ebcf74433f7ea10c641e47
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:51:02 +0800
Tag:    v1.9.0

index.php: drop unused $hidesitecourse parameter when calling print_courses()

commit 6c54240a61ce55038ff4b392879e261061ecb9cd
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:50:41 +0800
Tag:    v1.9.0

course/lib: print_courses() drop $hidesitecourse parameter

commit 49cd4d79349a193433d4fe73c7e6e522bdfe3c5a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:50:28 +0800
Tag:    v1.9.0

Revert "course/lib: print_courses() - no need to worry about sitecourse"

commit 1d28d87b3569aafd1417bab3e8171bfc06d53fbf
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:50:05 +0800
Tag:    v1.9.0

accesslib - Ensure newly-created categories have a context

commit 015e19287ba8386f5e5ebdd010bf83e5656eba82
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:49:49 +0800
Tag:    v1.9.0

Revert "textlib: Don't require_once() class.t3lib_div.php which we never use"

commit 1dcf76342847d59783afcfa438dac40d02e5666b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:49:35 +0800
Tag:    v1.9.0

accesslib: get_user_access_bycontext() remove 2 unused var declarations (trivial)

commit 55c47e48a9f580aa02328d4713b42d8872a49674
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:49:23 +0800
Tag:    v1.9.0

course/lib: print_courses() - no need to worry about sitecourse

commit e89f157b0ac7e15193e6a2897faf435737baf597
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:49:10 +0800
Tag:    v1.9.0

datalib: get_courses_wmanagers() exclude the sitecourse

commit c9e42aaa990ec96d998a4ffc59b5204a9cb30370
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:48:56 +0800
Tag:    v1.9.0

course/index: Bring back Petr's MDL-9647 simplify dealing with headers/footers in admin sections

commit 987e7eb19a7279526537d4038e239b9e9f3279f6
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:48:43 +0800
Tag:    v1.9.0

accesslib: is_siteadmin() bugfixes

commit 9f560a0ccb4913c8f6931bd18cb7aadf746084ef
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:48:31 +0800
Tag:    v1.9.0

accesslib: fix SQL CAST()s to work on MySQL and PostgreSQL

commit 926462034110bae3da21f2fec72fb807abee9797
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:48:19 +0800
Tag:    v1.9.0

accesslib: remove has_capability_including_child_contexts()

commit 0df35335ba822fa0c2e697734de4ebf6bd5d52f7
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:48:03 +0800
Tag:    v1.9.0

moodlelib: isediting() uses $PAGE->user_allowed_editing(), drop editcourseallowed()

commit f7016edcb9964c225f0beac4b9f019acee9d1bd5
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:47:49 +0800
Tag:    v1.9.0

index: use $PAGE->edit_course_allowed() instead of editcourseallowed()

commit 9a55125ef62afd1e3137200530ca0809b5af2dd2
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:47:38 +0800
Tag:    v1.9.0

blocks/admin_tree: applicable_formats() is called as a class method

commit 2e159efb1c57c2d3adfaaeff140c2dfd8a0e85cb
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:47:26 +0800
Tag:    v1.9.0

Revert "datalib: Introducing sql_intarray_to_in()"

commit 41709a387f527db3afe696c4e39e787308fd42b9
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:47:11 +0800
Tag:    v1.9.0

accesslib: replace join() and sql_intarray_to_in() with implode()

commit 0c13a90844e3715b708b334ee5c0d263abd5ab02
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:46:54 +0800
Tag:    v1.9.0

textlib: Don't require_once() class.t3lib_div.php which we never use

commit 2a2057736ee07a0f1cf4f7f1092d9a4bb8fb9ecd
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:46:39 +0800
Tag:    v1.9.0

moodlelib: moodle_request_shutdown() prints included files

commit 0146bd4190932cd255c607c2ca5421e368b9201c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:46:24 +0800
Tag:    v1.9.0

blocks/admin_tree: Show the block if some admin privs present...

commit 18b1d848202a00dae86c1e6882d0241b0d836564
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:46:12 +0800
Tag:    v1.9.0

accesslib upgrade: admin/upgradesettings may need to load_all_capabilities()

commit f667ecfe3d239a503415a2dcfe7dce2d95fd2ab3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:45:45 +0800
Tag:    v1.9.0

accesslib 1.9 upgrade: homepage check to see if we need to upgrade

commit c24f4599c331523bbaa7d684c15d6e4fa678434a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:42:42 +0800
Tag:    v1.9.0

accesslib rework: Upgrade block to populate context.path and friends

commit 394074424a5aec2709c1d0c3afce70727dde0adb
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:30:09 +0800
Tag:    v1.9.0

accesslib: Introducing is_siteadmin() to reliably check for siteadmins

commit 67ab1aecfb6e1babee249f3c41c98532c740f047
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:29:55 +0800
Tag:    v1.9.0

admin/index: Populate the context path JIT for the new admin user

commit d4bec858293fd0643f4b7e85c2a57f8d4a847114
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:29:43 +0800
Tag:    v1.9.0

accesslib: get_user_courses_bycap() fix to deal with empty $order

commit 1e460fdfc2973ffe301388647de8e0f8afe7a36f
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:29:31 +0800
Tag:    v1.9.0

accesslib: remove references to deprecated context_rel table and insert_context_rel()

commit ad72d0d7024ab56b2603eaf14e0ab912c16a22d3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:29:20 +0800
Tag:    v1.9.0

admin/cron: move accesslib stuff to occasional cleanups, add build_context_path()

commit ad4c7473a9135392cd9c4cfab983758c6c124b67
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:29:07 +0800
Tag:    v1.9.0

accesslib: build_context_path() is now much much cheaper

commit 2960a5525a9d4e4c53ad98aec0780e568a4cb3bc
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:28:54 +0800
Tag:    v1.9.0

backup/restore_form.html: tiny XHTML compliance fix

commit 44f1636ee248bd4b417855c30c6c8885f6889d55
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:28:43 +0800
Tag:    v1.9.0

datalib: get_categories() - remove PostgreSQL-ism

commit a72921ae68e2c8331cc2762657b02bfae76fb621
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:28:31 +0800
Tag:    v1.9.0

accesslib: Use sql_compat() to remove unportable PostgreSQL-isms

commit 2dff3a06810757967bb519f5d36c4ea555add43a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:27:46 +0800
Tag:    v1.9.0

accesslib: get_assignable_roles() reworked to be constant-queries

commit dfbf98cdb35ceec3a9de60b37bb62fcab1ca19df
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:27:31 +0800
Tag:    v1.9.0

course/index: minor context-related fixes

commit 40fb8aa69ab25afd018300467db3c8c3f216c90c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:27:20 +0800
Tag:    v1.9.0

datalib: get_categories() returns context, supports !shallow

commit c5d13b689f39ccd32b184b551da6835fb33f5b21
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:27:08 +0800
Tag:    v1.9.0

datalib: fix_course_sortorder() - minor optimisation

commit 4dde1463ee439c493bc811662eac329b5deab049
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:26:54 +0800
Tag:    v1.9.0

course/lib: print_courses() and print_course() rework

commit 70f158789ef5c0c636c8d3902ab7c0639c95a38b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:26:42 +0800
Tag:    v1.9.0

datalib: Introducing get_courses_wmanagers() for print_courses() usage

commit 431cad0d62c3429a294a4588d9b0c79b3ed90521
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:26:27 +0800
Tag:    v1.9.0

course/lib: print_course() bugfix when $rusers is empty

commit 3cdf0dd2534103c16525219ae63c190bb3851ff4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:26:15 +0800
Tag:    v1.9.0

accesslib: get_parent_contexts() bugfix

commit 420bfab1564672cbe0158472a58b995b49d087ba
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:26:02 +0800
Tag:    v1.9.0

accesslib: has_capability() now loads sub-course accessdata for $ACCESS

commit 21e2dcd946f9e89a2c410ca1c0bdd91d567efa40
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:25:49 +0800
Tag:    v1.9.0

moodlelib: require_login() rework

commit 3c2dbf376eb7b4c88ef7e739a0ac475ce75ad939
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:25:37 +0800
Tag:    v1.9.0

accesslib: Fix dirty paths checks on PHPv4

commit 41017705c3979d54d60335cb092a7485374e6591
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:25:25 +0800
Tag:    v1.9.0

accesslib: phpdoc update get_child_contexts()

commit ad833c42830267aca3d8f0e168358f3f4353c503
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:25:10 +0800
Tag:    v1.9.0

accesslib: rm get_role_context_capability() and update phpdoc

commit 7ac2bd55eb9282f2d6ccbc81a100eb4831992a7b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:24:57 +0800
Tag:    v1.9.0

accesslib: remove role_add_lastaccess_entries(),role_remove_lastaccess_entries()

commit efd6fce58587dd9056bfcaba8e9b5b900912c8b9
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:24:43 +0800
Tag:    v1.9.0

accesslib: require_capability() phpdoc notes

commit 0315aeb02fdf578b7174ecf020461e394c6f0bb1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:24:26 +0800
Tag:    v1.9.0

accesslib: get_parent_cats() goes away too...

commit 8612e194e8c4aa8398e84db90f64ebdf9c1a7fa9
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:24:14 +0800
Tag:    v1.9.0

accesslib: remove get_role_caps() merge_role_caps()

commit 03160d776cc4a911e1d3d0abef67daf5c2e5d0ee
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:24:02 +0800
Tag:    v1.9.0

accesslib: remove validate_context()

commit 56743fabc93d4a3c5c3dfb488cf69a64e07091ba
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:23:41 +0800
Tag:    v1.9.0

accesslib: get_context_instance() - ignore clearcache

commit 564870b7b84b7e08511573a7d5c74b572860d11e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:23:30 +0800
Tag:    v1.9.0

accesslib: get_parent_contexts() reworked to use context.path

commit 5f3822240571c453c02376bf0aa1f1618afa43d1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:23:15 +0800
Tag:    v1.9.0

accesslib: remove insert_context_rel(), build_context_rel() and others

commit 8e9fa6b1a282f22cc0972640168ccd2e694f5062
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:23:01 +0800
Tag:    v1.9.0

accesslib: mark_context_dirty() - fix race condition

commit 16cb1ef759f6800453e10570d14098054caec7ce
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:22:49 +0800
Tag:    v1.9.0

accesslib: mark_context_dirty() don't mark it there is no path

commit 2ee469b3b82653661b2e6c2f9593f4cca9cc48f7
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:22:37 +0800
Tag:    v1.9.0

datalib: add_to_log() fix a bug and better error handling

commit 84a34f6ed33c58e9e348114d75a30eb365d7933e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:22:24 +0800
Tag:    v1.9.0

blocks/admin_tree: exit early for non-admins

commit d4c4ecb808614bda71c56b351ff56f4e87092fe2
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:22:12 +0800
Tag:    v1.9.0

accesslib: get_user_access_sitewide() fix invalid SQL for users without RAs

commit 2965f8fdb88b176ff4d7e1380a3df12e43e87415
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:22:01 +0800
Tag:    v1.9.0

datalib: get_admin() - cache in a static var

commit 472b647aa5f94a092042052d3fc365b561abe368
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:21:47 +0800
Tag:    v1.9.0

user/view: show user courses that are hidden, with dimmed class

commit b00cb46b2752349d9c2660e89c0fa1ae5bedc90d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:21:35 +0800
Tag:    v1.9.0

datalib: get_my_courses() now returns invisible courses if visible to $USER

commit 62a7a32d796b6a8caa552abe34575adc1589b48d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:21:23 +0800
Tag:    v1.9.0

accesslib: has_capability() - fix warnings about FULLME constant

commit f0d3bb9e9c11948d5c719fa47f2aeb267615840b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:21:09 +0800
Tag:    v1.9.0

mod/chat: chat_update_chat_times() smarter

commit b78f4cbd31b5cfea3cddfea0b39891b785a34156
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:20:52 +0800
Tag:    v1.9.0

mod/chat: reduce number of queries in cron.

commit 1a9b67874fe7300f7820eb664a25d48f3f5f6f7d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:20:24 +0800
Tag:    v1.9.0

accesslib: has_capability() now supports fake $USER for forum cron

commit a5d81e5e5e7a1736b730c2e7ae51ed9e30618a7b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:20:01 +0800
Tag:    v1.9.0

user/index: make use of the smarter print_user_picture() -

commit f312c5925fc33db9624fb0293eccb7fdf7861386
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:19:46 +0800
Tag:    v1.9.0

course/participants: fix sort order when last access is null

commit aebfa1546edfb5ddeceb8014d6123349c14c98cd
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:19:35 +0800
Tag:    v1.9.0

weblib: print_user()/print_user_picture() optimisations

commit 1cf2e21b6e0816ddba2b59fa96d7ba178cf63117
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:19:20 +0800
Tag:    v1.9.0

moodlelib: require_login() - rework course/category visibility checks

commit 3511647c443294e0c5b54d813e563d64c4ff29b0
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:19:05 +0800
Tag:    v1.9.0

datalib:course_parent_visible() rework, remove category_parent_visible()

commit 82c62d1b17a01303cae55c9ecd9ac252af95573f
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:18:54 +0800
Tag:    v1.9.0

datalib: get_my_courses() - add course visibility checks

commit 956b2f102e21f1cd061a37d94c97ec7efe657921
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:18:37 +0800
Tag:    v1.9.0

accesslib: get_user_courses_bycap() also returns categorypath

commit 3d034f77a8e90df70cc1ae7739c1276c8a317aca
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:18:23 +0800
Tag:    v1.9.0

accesslib: has_cap_fad() - merge switchrole with defaultuserrole

commit ceaf84755452e5491a5d77366bbf88c576a8a714
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:18:10 +0800
Tag:    v1.9.0

accesslib: remove unused static var

commit 56d219eaef7975270112aa307109a76d888680dc
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:17:57 +0800
Tag:    v1.9.0

accesslib: remove deprecated load_defaultuser_role()

commit 20aecba887a7fe8354c41e0c80b7777ba2fb5982
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:17:45 +0800
Tag:    v1.9.0

moodlelib:remove_course_contents() does not need to 'clearcache'

commit e7c8160b6f909e53f692772db817f32565f00dd1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:17:34 +0800
Tag:    v1.9.0

accesslib: delete_context() now appropriately marks the context dirty.

commit 57770b87d09a50aa6050ebaed1faa87b8ca8f3be
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:17:23 +0800
Tag:    v1.9.0

Interactive enrolment/unenrolments: make sure we unset mycourses

commit 55e68c29c830e728a46a262600aaaa39cf0748ec
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:17:08 +0800
Tag:    v1.9.0

accesslib: load_all_capabilities() must clear USER->mycourses

commit 7293b3c6bdf52b5c6170f9dd643090bba9c54fe4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:16:56 +0800
Tag:    v1.9.0

accesslib: drop rdef mangling part two

commit 955679bcf38b639edb96c048cde0bd9acedb23ef
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:16:43 +0800
Tag:    v1.9.0

moodlelib: require_login() - assign tempguest role using load_temp_role()

commit 343effbedea4cc6591ccc21157791fdd20ac7254
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:16:29 +0800
Tag:    v1.9.0

accesslib: intro load_temp_role() for temporary guest access

commit 3ac81bd159c48c400b6bb4a9b4f2847d8b1b3482
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:16:18 +0800
Tag:    v1.9.0

accesslib: drop rdef mangling for default role - check in has_cap_fad()

commit 33b6014f72cb4884c7729e5dfba2164664dbf723
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:16:04 +0800
Tag:    v1.9.0

accesslib:load_all_capabilities() - fix guest user setup for multi-enrol

commit 51be70d2e2ca5eae255f4d58d7fcb6c6d46eaf66
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:15:50 +0800
Tag:    v1.9.0

accesslib/moodlelib: check $USER->access[rsw] for roleswitches

commit 0e801c6c9d3f32e7cd035397d181a43c4092e6ad
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:15:38 +0800
Tag:    v1.9.0

course/unenrol: check $USER->access[rsw] for role switches

commit 92e531681da4a40577b6d8c7d791436d3ce09ab5
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:15:27 +0800
Tag:    v1.9.0

accesslib: Document accessdata, public api, stale accessdata

commit 31c2de823464c8d81acd20fa642fce7a829c832a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:15:12 +0800
Tag:    v1.9.0

accesslib: rename "sess" and "accessinfo" to accessdata

commit 0c24aa192995f4cb4f9656c22498fa427e2df5c1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:14:59 +0800
Tag:    v1.9.0

accesslib:require_capability() revamp to check for USER->access

commit 0d8a77c9788d109e46c74027b0fb5d78120b1ceb
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:14:48 +0800
Tag:    v1.9.0

accesslib:context_moved() remove debugging msgs

commit 88903eeab951f3bc693f28b3a66367f1b67f7527
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:14:34 +0800
Tag:    v1.9.0

course/index: Move categories around using move_category()

commit 19f601d1785bd162754bc9ee035faae10fcf5578
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:14:23 +0800
Tag:    v1.9.0

course/lib: move_courses() calls content_moved(), intro move_category()

commit b4ab7f2ec939441598f5959b39ba7c928ef29585
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:14:11 +0800
Tag:    v1.9.0

accesslib:content_moved() fix bug in depth handling

commit a372aab50744c0563a12ff081346cc57a6e49db3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:13:57 +0800
Tag:    v1.9.0

course: Changing a course cat from course/edit calls context_moved()

commit ca92b391584f6faa05524dc4460c584df8eb8ba0
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:13:45 +0800
Tag:    v1.9.0

accesslib: create_context() fix to also populate the depth

commit e4fec273408390ef0744407d6f7d11203caa5004
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:13:33 +0800
Tag:    v1.9.0

accesslib: Introducing context_moved() - call after moving courses/coursecats

commit c633af7a5a09998a597905cec263056858a63d1c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:13:20 +0800
Tag:    v1.9.0

course/edit: mark the course contextpath as dirty to force a reload

commit e40413befa08e2b2b5669bff2e11bd25dfa4b2c0
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:13:08 +0800
Tag:    v1.9.0

accesslib: create_context() now populates the path of new contexts

commit 4881f2d329a78576aad6cbf5c2b54a862c3cda54
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:12:56 +0800
Tag:    v1.9.0

accesslib: simplify and speedup create_context()

commit 3d3def3a4e6290c45849243ae72ab1e6aee999ba
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:12:43 +0800
Tag:    v1.9.0

course/unenrol codepaths mark the context dirty - bugfix

commit 54f9d9aee78023f03be0971d28ae8d624837768c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:12:33 +0800
Tag:    v1.9.0

accesslib:reload_all_capabilities() - force a reload of mycourses

commit d32dd611545e8e1274ec99bb541393c145d7eab4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:12:22 +0800
Tag:    v1.9.0

enrol/paypal: mark the contextpath as dirty on unenrolment

commit f0556188371d6b2596a48af5643576aaacb8da71
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:12:10 +0800
Tag:    v1.9.0

enrol/mnet: mark context as dirty after unenrol

commit 2d0de2d88b30d8ed522632e67f405aca3eca164a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:11:56 +0800
Tag:    v1.9.0

deprecatedlib: Legacy interactive enrol/unenrol codepaths mark the context dirty

commit a9d4ea78493c6a8be2380ff9042592c41a2cde30
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:11:42 +0800
Tag:    v1.9.0

All interactive enrol/unenrol codepaths mark the context dirty

commit df75ca2289728ca2a4d8c079b13c12efd917bc56
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:11:31 +0800
Tag:    v1.9.0

cron: call cleanup_dirty_contexts()

commit ef989bd95e503a445b49f58b89662b6f70b50e19
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:11:18 +0800
Tag:    v1.9.0

accesslib: Introduce (and use) reload_all_capabilities()

commit 2123166d62d2cc9e85c316d3cd804a79a55758c1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:11:04 +0800
Tag:    v1.9.0

accesslib: get_user_courses_bycap() fix bug introduced by refactor

commit e6560e39d712d7e7882284ff280f7b9a80cfe49d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:10:52 +0800
Tag:    v1.9.0

admin/roles: context-specific role changes mark the context as dirty

commit b3dc845cab9f0de01befc0f595aeda272253c31a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:10:37 +0800
Tag:    v1.9.0

admin/roles: sitewide role changes mark site context as dirty

commit 148eb2a7497a30b2569d02cdb9b2dbc10cea54e1
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:10:24 +0800
Tag:    v1.9.0

accesslib: Introduce $DIRTYCONTEXTS, $USER->access[time],is_contextpath_clean()

commit 0d25cd3a813765278c369f71a224888b4b82f1db
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:10:09 +0800
Tag:    v1.9.0

accesslib: Introduce functions to deal with dirty contexts

commit 690c946c150d8c73f84e2ade4681e4d4d535d9a3
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:09:50 +0800
Tag:    v1.9.0

get_role_users() callers rework to use the new $gethidden

commit 47b18c1c12ef4e43980fbd512f38f3e090cf9c4e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:09:36 +0800
Tag:    v1.9.0

group/assign: fixed performance of assigning users to groups

commit 3bf13d05f58465927dc587571cd42c9905ada0f4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:09:24 +0800
Tag:    v1.9.0

course/lib:print_course() smarter calling of get_role_users()

commit 867f957fc5a2e3b53c827d2f06b9a4ce4b546f18
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:09:13 +0800
Tag:    v1.9.0

accesslib:get_role_users() revamp

commit 8fe9c4de5153ae7b706f18bdf3135c65d84524c2
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:09:01 +0800
Tag:    v1.9.0

datalib: get_courses_search() remove dead code

commit 026579bbc3adc0f9abc066e2327468704fc62561
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:08:50 +0800
Tag:    v1.9.0

course/search.php: smarter about contexts, bugfix in pagination

commit 2c64f65cd328c8b3a6aa7d216ac9efa39b00339a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:08:37 +0800
Tag:    v1.9.0

datalib: get_courses_search() learns to be smart about contexts...

commit 679b61796766cb85012cd5b71747c4ea5f2c6dc4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:08:24 +0800
Tag:    v1.9.0

categories: Categories page and get_courses_page() - smarter about context

commit c1b7a5e537c3adf72d1f502e4f1f43a969b6c5ec
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:08:12 +0800
Tag:    v1.9.0

accesslib: introducing make_context_subobj() - and refactor callers

commit d0009dff7d852d37d74f43a0ac0c11d0344550ce
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:07:59 +0800
Tag:    v1.9.0

accesslib: Fix dup enrolment entries in get_user_access_bycontext() and get_user_access_sitewide()

commit 4d8ab2749e3e99a6d7ddc1a69532329983c3023a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:07:45 +0800
Tag:    v1.9.0

accesslib: get_context_users_bycap() draft for course participants...

commit fe3141e00b06376dbe6f34c9d6d11c7849f9699c
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:07:34 +0800
Tag:    v1.9.0

get_my_courses() - bugfix in sitewide-login-as support.

commit ae1555ae2e266d3f5add559ad7039cd3ed9fd36a
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:07:21 +0800
Tag:    v1.9.0

get_my_courses(): Support course-level login as

commit 221937486513ce88538750fda7a856635fbfbdba
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:07:08 +0800
Tag:    v1.9.0

accesslib: remove some functions we do not need anymore

commit 204a369c1e20f1830e7ceb86baf2e6503c36c200
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:06:55 +0800
Tag:    v1.9.0

accesslib: Intro global $ACCESS and load_user_accessdata()

commit d7d4b0e572e3fb0cd99a6987093b392bdd133fd9
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:06:44 +0800
Tag:    v1.9.0

course/view: roleswitch checks moved to the course page

commit 6cc59cb21be678cb9baf011316f33304f67441fd
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:06:30 +0800
Tag:    v1.9.0

accesslib: add support for multi-enrolments

commit b1178725a8e9a24013c23e3073ff1261e535b7af
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:06:17 +0800
Tag:    v1.9.0

weblib: switchroles_form() user_login_string() handle the new switchroles

commit 1c886b238dee157d612d6155dc15ab3058f1e860
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:06:03 +0800
Tag:    v1.9.0

accesslib: role_switch() supports unswitching by passing $roleid=0

commit 6a8d9a387d60b18693aaa3c647426aef24b63747
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:05:48 +0800
Tag:    v1.9.0

accesslib: has_cap_from_sess() now supports role switching

commit 6f1bce30b1dd478a5638044ca9714df2a5a464a4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:05:32 +0800
Tag:    v1.9.0

accesslib - role_switch() revamp, introduce get_role_access_bycontext()

commit b5a645b4ebd89bf1c305cf01b7eabe4ff556b042
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:05:21 +0800
Tag:    v1.9.0

accesslib: Draft get_context_users_byrole()

commit 352f6f74fc62d4ec5099d71c2bd6580171559c88
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:04:59 +0800
Tag:    v1.9.0

get_my_courses() and get_user_courses_bycap() field handling and caching

commit 2e059c7709c5b847154462252c62499b8e35a067
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:04:37 +0800
Tag:    v1.9.0

accesslib: get_user_courses_bycap() - make $doanything work in the optimised path

commit 573674bf471d453f8dca96458635af6454914d18
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:04:23 +0800
Tag:    v1.9.0

accesslib: get_user_courses_bycap() is less of a piggy now...

commit aeb3916b7a0e0470d9492e5a9bbeecb9bc82cfc4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:04:10 +0800
Tag:    v1.9.0

datalib: get_my_courses() - some fixes to the data we return

commit e1d5e5c1810480a9eeb8ba33e28bc5124791951f
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:03:49 +0800
Tag:    v1.9.0

accesslib: get_my_courses() rework, new get_courses_bycap_fromsess()

commit 13a794757e0824acafd0f686efbd268c61b2a5ce
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:03:34 +0800
Tag:    v1.9.0

accesslib: has_capability() - useful debugging bit...

commit 018d4b52b778bbfa3807e6bc1ec164f2886419f4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:03:19 +0800
Tag:    v1.9.0

accesslib: get_user_access_bycontext() fetches overrides in subcontexts, intro aggr_roles_fromsess()

commit e0376a6241256db39e04a2941200fe2119500466
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:02:57 +0800
Tag:    v1.9.0

accesslib: default, guest and notloggedin roles work properly now

commit 74ac5b66cbfb458524fa9b7db2454f00091cde23
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:02:44 +0800
Tag:    v1.9.0

accesslib: has_capability() now works for the logged in user

commit 7f97ea29bf7b6ef1f1ebc36907bb0e4ddb5f951b
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:02:31 +0800
Tag:    v1.9.0

accesslib: initial has_capability() rewrite

commit 6dd34e935d9df3e6766caf6b9ca83a47f1660064
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:02:18 +0800
Tag:    v1.9.0

lib/setup: declare SYSCONTEXTID to have the system context handy

commit a9bee37ea15ff8a0b98fd3e9b56d7e1a71c21b56
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:02:04 +0800
Tag:    v1.9.0

accesslib: Introducing get_user_sitewide_access($userid)

commit 41883f79ca5ac0fed49b919b087d110642f5c13e
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:01:53 +0800
Tag:    v1.9.0

datalib: Introducing sql_intarray_to_in()

commit a1244706bed33b37372b3bc2bde963ed379edc79
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:01:41 +0800
Tag:    v1.9.0

user_set_preference(): minor optimisation

commit 1f3c9d097fefa3153f6ed8936a758b27d2b65d87
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:01:27 +0800
Tag:    v1.9.0

accesslib: Introducing build_context_path()

commit a9fcd13a771206dd36fef12a3e0a79a5bac12bb2
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 15:01:04 +0800
Tag:    v1.9.0

datalib:add_to_log() - avoid schema lookups, pace updates to user and user_lastaccess

commit e1e1f498201f8852755cbbbfc5eeb7f476bca1cd
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 14:53:09 +0800
Tag:    v1.9.0

pagelib: Course page - preload child contexts and smarter user_allowed_editing()

commit 0532aec946fbd2e4757bd7cea04fe4842fc19a37
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 14:52:52 +0800
Tag:    v1.9.0

weblib:update_course_icon() - remove access control from here

commit 19bb8a0517b2317970d69dcbacf707961559a8d4
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 14:52:34 +0800
Tag:    v1.9.0

accesslib:get_child_contexts() reworked to use context.path

commit 17b0efae11390b6aabc387e2c8a618ac81d28bfa
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 19 Sep 2007 14:50:53 +0800
Tag:    v1.9.0

accesslib: Introducing cleanup_contexts() and use it in cron

commit ff991c055ae0367ed0864f367bd8a2036b093b76
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Sep 2007 10:57:58 +0800
Tag:    v1.9.0

admin/cron: if $PERF->dbqueries is set, profile modules...

commit cf1348caae11ac43c62d124a3ce208d01daf6351
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Sep 2007 10:57:26 +0800
Tag:    v1.9.0

PERF logging - move handling to moodle_request_shutdown()

commit 3446daa3daa9ea4e93db824bb9b5fe5d911be0fe
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Sep 2007 10:57:08 +0800
Tag:    v1.9.0

redirect() - log performance profiling info

commit 6b6eea5575bf1bc8b4a4eef2097ec0c63bb2e0a6
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Sep 2007 10:56:50 +0800
Tag:    v1.9.0

admin/modules: Avoid calling rebuild_course_cache()

commit d86341924569cccac106c4d269af017757cb6a2d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Sep 2007 10:56:36 +0800
Tag:    v1.9.0

course/index: move orphan fixups to an optimised fix_coursecategory_orphans()

commit f8ea60777cbee3ef2b44b6bc46f45e525c567130
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 12 Sep 2007 10:56:16 +0800
Tag:    v1.9.0

fix_course_sortorder(): fix breakage with large categories, saner error

commit c7c57cfbf25cceb34aa27e30df3cd6bc8a54c84a
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 09 Aug 2007 14:14:21 +0800
Tag:    v1.9.0

Add context.path and context.depth fields for accesslib optimisation

commit a9b24e489b5799499913688a789f27dca218e64c
Author: Martin Langhoff <martin@catalyst.net.nz>
Date:   Sat, 07 Jul 2007 10:30:55 +0800
Tag:    v1.9.0

cvsimport fixups - new files

commit 08103c9364b58ec9ca43eafad29d9f81e1a22b60
Author: Martin Langhoff <martin@catalyst.net.nz>
Date:   Sat, 07 Jul 2007 10:18:30 +0800
Tag:    v1.9.0

cvsimport fixups

commit 97e9803b48fa9e529131f4fa98b77901d0e1b423
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 08 Jun 2007 05:22:20 +0800
Tag:    v1.9.0

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

commit 6c146b7d7f6fcd6bb9c30e8f31da768a98bfc0c7
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 17 May 2007 07:19:15 +0800
Tag:    v1.9.0

get_my_courses() if the parameters passed are identical to the defaults... MDL-7416

commit 0f7caaf84fb39b7ecdbb15869494ae1bda418327
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:37:28 +0800
Tag:    v1.9.0

get_my_courses() - ensure we have groupmode, groupmodeforce in $d_fields - calendar/lib.php counts on it

commit 0a66585b3d087beda8bd30ad4106b0699bef6b79
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:32:40 +0800
Tag:    v1.9.0

get_my_courses() callers update - check of the $fields param - pass null instead

commit 4dbca99edfd5177fcecfaba777766177bd130e22
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:28:39 +0800
Tag:    v1.9.0

get_my_courses() - added optimisation for guest login

commit e4271d740c47d091629d76c4e3b473cbcea0c129
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:27:31 +0800
Tag:    v1.9.0

get_my_courses() - tighten default fields - faster, risky

commit 601edb900e9b8c93acdcd2138fea92df934ea7f6
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:26:59 +0800
Tag:    v1.9.0

get_my_courses() - skip checks if we know the user has moodle/site:doanything and we are observing $doanything

commit 5970ccfbaff3aec8f9f747041ee25cfca4502e8f
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:26:04 +0800
Tag:    v1.9.0

get_my_courses(): tighten cache scheme - part 2

commit c6325ef155aef155cab6fe3888f6ac2d741a6db7
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 13:22:03 +0800
Tag:    v1.9.0

get_my_courses(): tighten cache scheme

commit b8227b8827bdacfb15dfb907c839761e2ea4d5e9
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 12:38:24 +0800
Tag:    v1.9.0

calendar: fixed group event display when only one course being viewed

commit 6b4aeb314b6e2df0f58f27ce8fac3ec79f44a095
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 12:37:38 +0800
Tag:    v1.9.0

calendar: bug fixed to previous commit (MDL-7416 MDL-9617)

commit 37d87d11f963dfcd3ffcd5f56e5af4fca08eab0e
Author: martinlanghoff <martinlanghoff>
Date:   Sun, 06 May 2007 12:28:11 +0800
Tag:    v1.9.0

calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)

commit a4b6d764dd26c897d3588502791d9a749f0d0de0
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 30 Apr 2007 04:31:47 +0800
Tag:    v1.9.0

ddllib: Introducing create_temp_table()

commit a1e080f7c6b820192dd83b7f47f0d0f521a5cfee
Author: martinlanghoff <martinlanghoff>
Date:   Tue, 17 Apr 2007 10:54:13 +0800
Tag:    v1.9.0

(iCalendar export) calendar: Removing filter controls from export page, as no purpose and buggy

commit 08c58ff103be61241d7614588f08f91107f5ff39
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 16 Apr 2007 08:24:27 +0800
Tag:    v1.9.0

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

commit 76ab1c33d9e56726f6ff641460d4a452123d3495
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 13 Apr 2007 13:04:57 +0800
Tag:    v1.9.0

Bug fix: 'off by one'month bug in mupltiple locations.

commit 7f36ba112b3f575357ead287a2d96a25ae85b961
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 12 Apr 2007 11:25:57 +0800
Tag:    v1.9.0

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

commit 9d411c734b551c5c6040a6a454e468245902bc0c
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 12 Apr 2007 08:41:31 +0800
Tag:    v1.9.0

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

commit cf8133c4576130f3f4a788a737492db3d02fb1f6
Author: martinlanghoff <martinlanghoff>
Date:   Thu, 05 Apr 2007 13:04:06 +0800
Tag:    v1.9.0

lib/setup moodelib: Introducing moodle_request_shutdown()

commit 9aa9080756186f8a8a62936d5b0aaf0440b62d2e
Author: martinlanghoff <martinlanghoff>
Date:   Mon, 19 Mar 2007 15:33:45 +0900
Tag:    v1.9.0

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

commit e5edab1b7212026f798e2f283509b818951f8be7
Author: martinlanghoff <martinlanghoff>
Date:   Fri, 16 Mar 2007 12:37:52 +0900
Tag:    v1.9.0

get_complete_user_data(): speedup SQL selecting local users by their mnethostid

commit 0f467340a64acd1beeb6cc18e3c1f723194e7412
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 12:03:42 +0900
Tag:    v1.9.0

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

commit b0ae3878a498e5994d79c980a82dbe7e3ced3cce
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 11:50:51 +0900
Tag:    v1.9.0

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

commit 595fa6468b8ad89b505182a18cfcef3380749454
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:32:39 +0900
Tag:    v1.9.0

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

commit 5e227395d4df6ae1042b7c9602c74aa2f88449fe
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:29:24 +0900
Tag:    v1.9.0

hotpot: Fixing db upgrade script

commit 171d8232498ac29e5c026971ce919870d9703193
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:26:37 +0900
Tag:    v1.9.0

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

commit abb6fc0ddaa2c816453dbd78abc6335c4d54217d
Author: martinlanghoff <martinlanghoff>
Date:   Wed, 28 Feb 2007 09:06:59 +0900
Tag:    v1.9.0

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