Git commits in Moodle 1.7.x by skodak

commit a973dea1bc238ba05f1189d817c95a22d30eb9d9
Author: skodak <skodak>
Date:   Thu, 08 Jan 2009 08:02:31 +0900
Tag:    v1.7.7

MDL-17799 proper log url sanitisation - big thanks to Full Name hacker wink backported from HEAD

commit 51dcac7ccc45f17459348edb2ce76929a065817d
Author: skodak <skodak>
Date:   Tue, 06 Jan 2009 22:11:11 +0900
Tag:    v1.7.7

MDL-17789 prevent potential XSS problems through PHP_SELF; backported from HEAD

commit 8406cf8ca864ea0545db5d4419de6c8c556ddce6
Author: skodak <skodak>
Date:   Mon, 08 Dec 2008 09:17:43 +0900
Tag:    v1.7.7

MDL-17368 removing unused html area spell checker - we have our own implementation; backported from MOODLE_19_STABLE

commit 6f147be325fbf88b128ec0a6ebc5a9aaf15046ee
Author: skodak <skodak>
Date:   Thu, 20 Nov 2008 01:47:58 +0900
Tag:    v1.7.7

MDL-17236 html block: proper cleanup of html; backported from HEAD

commit d4e98fcfbd3653086171648ac0ab6019b71d5837
Author: skodak <skodak>
Date:   Wed, 19 Nov 2008 18:49:22 +0900
Tag:    v1.7.7

MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too; backported from HEAD

commit 9e8f86699ee74933da9c46396a618ea0c7365c2f
Author: skodak <skodak>
Date:   Wed, 19 Nov 2008 06:09:57 +0900
Tag:    v1.7.7

MDL-17143 fixed undefined $userid, in any case moodle/user:editprofile is not usable - so this will not probably work anyway

commit 7c09e5d507ca7d8d0ca192b496611439d6ef9e37
Author: skodak <skodak>
Date:   Mon, 03 Nov 2008 16:59:06 +0900
Tag:    v1.7.7

MDL-17110 snoopy: imported new version 1.2.4; backported from HEAD

commit 00e1dce31e973d87fdd1d9516d4b9d1ee9ad3939
Author: skodak <skodak>
Date:   Fri, 01 Aug 2008 18:10:09 +0800
Tag:    v1.7.6

MDL-15410 Require PHP 5.2.4 instead of 5.2.0 in HEAD because PHP 5.2.0 has many known problems sad

commit 3e4fae4d8d5ac82b4dc75536b3604301da5e511b
Author: skodak <skodak>
Date:   Sat, 26 Jul 2008 06:45:46 +0800
Tag:    v1.7.6

MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE

commit 2d60f585aafd0051053a61baf942f8f2b53e639e
Author: skodak <skodak>
Date:   Tue, 08 Jul 2008 21:05:09 +0800
Tag:    v1.7.5

MDL-15450 CSRF prevention; merged from MOODLE_16_STABLE

commit 6649c902cdb7660fa1b33f13dfcf4e8a5f87234c
Author: skodak <skodak>
Date:   Sat, 05 Jul 2008 22:59:44 +0800
Tag:    v1.7.5

MDL-15516 prevent access to deleted profiles; backported from HEAD

commit 5a045ae32820b2a3efd23e161d422e64950c8902
Author: skodak <skodak>
Date:   Sat, 01 Mar 2008 22:12:40 +0900
Tag:    v1.7.5

MDL-13705

commit e5375362ace7f1d19abdc2b959676079081afc96
Author: skodak <skodak>
Date:   Fri, 29 Feb 2008 06:19:15 +0900
Tag:    v1.7.5

MDL-13705

commit 052547f2e704afad1f4362d70c79131c23b300f9
Author: skodak <skodak>
Date:   Fri, 29 Feb 2008 06:02:41 +0900
Tag:    v1.7.5

MDL-13705

commit 6253ee1ef2b743be99640699b050baf770226d77
Author: skodak <skodak>
Date:   Sat, 12 Jan 2008 08:25:41 +0900
Tag:    v1.7.5

MDL-12914 Register globals trouble; backported from MOODLE_19_STABLE

commit e8b2de8d182c7a23041f5c80e7801869a3775c58
Author: skodak <skodak>
Date:   Wed, 02 Jan 2008 02:27:14 +0900
Tag:    v1.7.4

MDL-12793 PARAM_HOST incorrect cleaning; backported from MOODLE_19_STABLE

commit 845df47c1120410104c0daea17ba13152dabc058
Author: skodak <skodak>
Date:   Sat, 10 Nov 2007 23:52:42 +0900
Tag:    v1.7.4

MFC: MDL-12079 fixed use of clean_param()

commit 8abba9e902c2d92c58af5583cacba1a5d03854f7
Author: skodak <skodak>
Date:   Tue, 09 Oct 2007 03:57:39 +0800
Tag:    v1.7.3

MDL-11663 sanitise submitted data when editing users; merged from MOODLE_16_STABLE

commit bf5cc256fd387b849c1f81004c46c97221c14fa0
Author: skodak <skodak>
Date:   Tue, 25 Sep 2007 22:06:59 +0800
Tag:    v1.7.3

MDL-11413 I hope now it is correct solution; backported from HEAD

commit 9bcbf6a743b941b5174a1a20bfa75d33442d5b38
Author: skodak <skodak>
Date:   Tue, 25 Sep 2007 00:35:40 +0800
Tag:    v1.7.3

MDL-11237 raising memory limit for preg_xxxx(), backported from HEAD

commit 7c84c844f9e5b40e834aac0a2a3ff3294f0f8d8d
Author: skodak <skodak>
Date:   Mon, 24 Sep 2007 23:26:58 +0800
Tag:    v1.7.3

MDL-11413 revisited; backported from HEAD

commit 81ac2c863097bab6e606618be5b030c25cf072c9
Author: skodak <skodak>
Date:   Sun, 23 Sep 2007 21:20:36 +0800
Tag:    v1.7.3

MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden); backported from HEAD; fixing previous commit sad

commit 55f9f1432f3dc1466c8f693180fcda80b949bf8e
Author: skodak <skodak>
Date:   Sun, 23 Sep 2007 21:15:26 +0800
Tag:    v1.7.3

MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden); backported from HEAD

commit 9f476e5fe203131b15ec9fc6c09aa4a0bbed58bb
Author: skodak <skodak>
Date:   Sun, 23 Sep 2007 20:29:58 +0800
Tag:    v1.7.3

MDL-11413 improved text cleaning (problem reported by Andreas Nolden); backported from HEAD

commit 4663bd9f094779fcdbdcadfe0227ee6021222f29
Author: skodak <skodak>
Date:   Sun, 23 Sep 2007 20:24:39 +0800
Tag:    v1.7.3

MDL-11413 improved text cleaning (problem reported by Andreas Nolden); backported from HEAD

commit 34443170115ea7bff2a24671e3722f36a60f469d
Author: skodak <skodak>
Date:   Wed, 29 Aug 2007 21:55:10 +0800
Tag:    v1.7.3

MDL-11053 Course object not escaped before insert - patch by Aaron C Spike; backported from HEAD

commit bca26abf4cb385c92025ab9d41a290d5755830a7
Author: skodak <skodak>
Date:   Wed, 04 Jul 2007 16:33:04 +0800
Tag:    v1.7.3

MDL-10341 fixed user search cleaning; backported from MOODLE_18_STABLE

commit 025451ff7dd021c419d167278e02bec642fb3375
Author: skodak <skodak>
Date:   Wed, 27 Jun 2007 20:05:05 +0800
Tag:    v1.7.3

MDL-10276 Text cleaning trouble; backported from HEAD

commit 8dbf6bb9e03a26fb27a9e8a938a1699c9a8e6e12
Author: skodak <skodak>
Date:   Thu, 17 May 2007 04:09:32 +0800
Tag:    v1.7.3

MDL-9418 use proper addslashes before each insert; backported from MOODLE_18_STABLE

commit 8c0a6839f21eb637f06b38f13aca5ccc5186e78c
Author: skodak <skodak>
Date:   Sat, 21 Apr 2007 20:36:57 +0800
Tag:    v1.7.3

MDL-9483 Problem with question restore relinking when quiz not selected

commit 1a5e85a22c294981be00f3f524f06760e0701514
Author: skodak <skodak>
Date:   Thu, 19 Apr 2007 20:10:38 +0800
Tag:    v1.7.3

fixed MDL-9411 : MDL-9012 has partially wrong fix; backporting of MDL-9207

commit 445a3c12338c06941484e13c56e41614098e43df
Author: skodak <skodak>
Date:   Fri, 06 Apr 2007 15:46:41 +0800
Tag:    v1.7.3

MDL-9227  Inconsistent HTTPS for profile edit page

commit e9a1bffc8f8ecce79eeaf608b626e1991134951a
Author: skodak <skodak>
Date:   Thu, 05 Apr 2007 03:46:14 +0800
Tag:    v1.7.3

MDL-8802 fixed byteserving broken by adobe anti xss patch; backported from MOODLE_18_STABLE

commit 62190225752c8261837e795ade2f224222cf9c6c
Author: skodak <skodak>
Date:   Fri, 30 Mar 2007 05:57:11 +0800
Tag:    v1.7.2

MDL-4313 LDAP doesn't properly escape extra quotes in course details; backported from MOODLE_18_STABLE

commit dfeb385672e27f5c3c60dc60d0ad1f5233d87b14
Author: skodak <skodak>
Date:   Fri, 23 Mar 2007 22:07:50 +0900
Tag:    v1.7.2

MDL-9017 add mime type for ico files; backported from MOODLE_18_STABLE

commit 1828849b1e659c719ac5d171e020976d12f0f9b3
Author: skodak <skodak>
Date:   Fri, 23 Mar 2007 07:45:51 +0900
Tag:    v1.7.2

MDL-8347 Cannot create new glossary category if category with same name exists in another course on site; patch by Ray Lawrence; backported from MOODLE_18_STABLE

commit e28cc09b242c8519203159da3c2214dea8fd0092
Author: skodak <skodak>
Date:   Thu, 22 Mar 2007 06:57:00 +0900
Tag:    v1.7.2

MDL-7647 Broken links on confirmation email (or others) - patch by Paulo Matos

commit d0e6183436620e91bfd6f6ca4bd0b21fe8b263b0
Author: skodak <skodak>
Date:   Wed, 21 Mar 2007 04:47:58 +0900
Tag:    v1.7.2

MDL-8975 fix parameter handling in repository plugin; backported from MOODLE_18_STABLE

commit ca3c1ddf407b78d3d1c79e7859ba808f4e57ad19
Author: skodak <skodak>
Date:   Wed, 21 Mar 2007 01:24:11 +0900
Tag:    v1.7.2

SC#374 removing obsoleted utf8migration code

commit 4419fe33a59f63f221b8eb02f78f101779af81f2
Author: skodak <skodak>
Date:   Mon, 19 Mar 2007 19:11:27 +0900
Tag:    v1.7.2

MDL-8759 reverted + backported fix for cron logs

commit 721a2de984deee78d2711effb28c1cf624a11273
Author: skodak <skodak>
Date:   Sat, 17 Mar 2007 07:19:07 +0900
Tag:    v1.7.2

MDL-8883 fixed double backslashes problem in filter settings; backported from MOODLE_18_STABLE

commit 94c9630d78e516a4611057868cf3c8b0b3541ff7
Author: skodak <skodak>
Date:   Wed, 14 Mar 2007 20:10:22 +0900
Tag:    v1.7.2

MDL-8897 fixed shell commands in tex and algebra filters

commit 8626d4bc242b685ca33cb56fc790d7ef793da29c
Author: skodak <skodak>
Date:   Mon, 12 Mar 2007 17:45:02 +0900
Tag:    v1.7.2

MDL-5229 and MDL-6196 adding gb18030 mime header encoding; partial backport from MOODLE_18_STABLE

commit fcb9e2370196ba9aa758044d4126784f072aa7fb
Author: skodak <skodak>
Date:   Mon, 12 Mar 2007 05:01:15 +0900
Tag:    v1.7.2

MDL-8849 use proper value quoting; backported from MOODLE_18_STABLE

commit c0ad0e5a9880b436928b488a0413015d7613d200
Author: skodak <skodak>
Date:   Fri, 09 Mar 2007 00:24:44 +0900
Tag:    v1.7.2

MDL-8814 fixed typo; backported from MOODLE_18_STABLE

commit b6057d4afa656ff6a2cb7cbef2681bd87fc9d018
Author: skodak <skodak>
Date:   Sat, 03 Mar 2007 21:25:40 +0900
Tag:    v1.7.2

MDL-8733 fixed approving logic when editing; merged from MOODLE_16_STABLE

commit db365a121d74ba52b2c77a156e77660fffc306be
Author: skodak <skodak>
Date:   Sat, 03 Mar 2007 02:05:25 +0900
Tag:    v1.7.2

sesskey added to logout.php MDL-8727 ; backported from HEAD

commit b8dececceb48ef4ce75e3673ffe6c78dcc8376e0
Author: skodak <skodak>
Date:   Mon, 19 Feb 2007 22:59:12 +0900
Tag:    v1.7.2

MDL-8570 outdate flv player; backported from HEAD

commit a9fd5db64242b27065bcdfe2019c73748c857d38
Author: skodak <skodak>
Date:   Thu, 15 Feb 2007 19:06:10 +0900
Tag:    v1.7.2

MDL-7722 fixed wrong cleaning in backup paths; backported from HEAD

commit 9e8bc0e590603de0cbcb9090e2fb100091d75d31
Author: skodak <skodak>
Date:   Thu, 15 Feb 2007 08:02:15 +0900
Tag:    v1.7.2

MDL-8268 fixed block get_string, patch by Mark Nielsen; backported from HEAD

commit b50965414e9a65688b045142db235e91209e094d
Author: skodak <skodak>
Date:   Thu, 15 Feb 2007 07:51:17 +0900
Tag:    v1.7.2

MDL-8268 fixed get_user_capability_course(), patch by Mark Nielsen; backported from HEAD

commit f2592eb65e94cffff38237fc467c163c4793adb6
Author: skodak <skodak>
Date:   Thu, 15 Feb 2007 06:00:58 +0900
Tag:    v1.7.2

MDL-8469 increase memory limit in cron due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate; backported from HEAD

commit f167056a1846024eff3a806af79865750b461c7c
Author: skodak <skodak>
Date:   Wed, 14 Feb 2007 04:29:51 +0900
Tag:    v1.7.2

MDL-8490 Glossary student not being able to edit entries; backported from HEAD

commit 463b6cbe643b52d70db57ec232cd0a0a19008b9c
Author: skodak <skodak>
Date:   Tue, 13 Feb 2007 17:41:26 +0900
Tag:    v1.7.2

MDL-8498 Assignment - Notification of feedback e-mails to students not being sent

commit 89719f70302b4fde9fe6b8011619a65e5ec30cca
Author: skodak <skodak>
Date:   Thu, 01 Feb 2007 08:17:51 +0900
Tag:    v1.7.2

MDL-8366 not possible to use old en with iso-8859-1 encoding in 1.7

commit 1d03d416805fc9bda1f4786fc04fb7c139d680b1
Author: skodak <skodak>
Date:   Thu, 01 Feb 2007 07:38:45 +0900
Tag:    v1.7.2

MDL-8376 Course list option missing in frontpageloggedin when there are more than 200 courses; backported from HEAD

commit 4a0d23143af2dccab0d398f0145d4c2a4a98c938
Author: skodak <skodak>
Date:   Mon, 29 Jan 2007 06:46:14 +0900
Tag:    v1.7.2

MDL-6128 special chars and messaging system; backported from HEAD

commit d221dc7482b8dd82e1804fc8fe35e35813292ca4
Author: skodak <skodak>
Date:   Sat, 27 Jan 2007 06:15:25 +0900
Tag:    v1.7.2

MDL-8308 placement of load_all_capabilities() in login page; backported from HEAD

commit b27229da41ea2aa56bb823a2611e182ad545b5ed
Author: skodak <skodak>
Date:   Thu, 18 Jan 2007 05:10:25 +0900
Tag:    v1.7.2

do not send passowrd hashes to other sites SC#353; merged from MOODLE_16_STABLE

commit 0801278026f39a09ad9e66dc44aa1b141d562f77
Author: skodak <skodak>
Date:   Thu, 18 Jan 2007 04:54:35 +0900
Tag:    v1.7.2

force login in course calendar SC#349; backported from HEAD

commit 33ca51fbdfe1c479afbd5ea200917bafdee24d49
Author: skodak <skodak>
Date:   Tue, 09 Jan 2007 07:24:16 +0900
Tag:    v1.7.1

backported fixes for warnings when exporting logs in excel format

commit 642a7105e5aa7ba89cde350b82573719d95c9315
Author: skodak <skodak>
Date:   Tue, 09 Jan 2007 06:55:14 +0900
Tag:    v1.7.1

fixed options array initialisation

commit 4233e8b7b6ce9c5dd76bafc78db987b4a8761994
Author: skodak <skodak>
Date:   Tue, 09 Jan 2007 06:42:17 +0900
Tag:    v1.7.1

MDL-8115 fixed $$submission typo

commit c966aa2c71c92c3bcf499fd415a52a1bdca622c5
Author: skodak <skodak>
Date:   Sun, 07 Jan 2007 00:24:14 +0900
Tag:    v1.7.1

revised adobe XSS protection SC#346 - backported from HEAD

commit 9fcb7001e6d32634b6c1082e628dd482d4f193ae
Author: skodak <skodak>
Date:   Thu, 04 Jan 2007 09:05:07 +0900
Tag:    v1.7.1

Adobe Acrobat JavaScript Execution Bug SC#346

commit bb52c312defcf328ed11881ea5747c78bff35ef5
Author: skodak <skodak>
Date:   Sat, 30 Dec 2006 07:53:35 +0900
Tag:    v1.7.1

MDL-7829 zipping with binary zip broken under windows when moodledata on different disk; backported from HEAD

commit 152fa94009bf4785356ff823b32a680e5a4e1b08
Author: skodak <skodak>
Date:   Sat, 30 Dec 2006 07:36:38 +0900
Tag:    v1.7.1

MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata on different disk - patch by Yves Roy; backported from HEAD

commit a59462f1a4e342ac6dfaae541be25948053cb3ac
Author: skodak <skodak>
Date:   Sat, 30 Dec 2006 06:18:37 +0900
Tag:    v1.7.1

MDL-7837 auth_ldap_bulk_insert() fails when user data contains single quotes - patch by Iñaki Arenaza; backported from HEAD

commit 8f08bf55d98fea5c5808d037252facb17b90cc95
Author: skodak <skodak>
Date:   Sat, 30 Dec 2006 05:59:36 +0900
Tag:    v1.7.1

MDL-8007 mimetype support for htc files, see http://support.microsoft.com/kb/306231; backported from HEAD

commit 85c23c24f65a6490904d5fbf0048d29a167f1519
Author: skodak <skodak>
Date:   Sat, 30 Dec 2006 05:17:14 +0900
Tag:    v1.7.1

MDL-8021 resource "Link to a file or web site", when created, doesn't open in a new window - fixed recourse typo; backported from HEAD

commit ce499284a0b00d2426eb700ab1aab5bd7b3a6a75
Author: skodak <skodak>
Date:   Tue, 19 Dec 2006 04:20:14 +0900
Tag:    v1.7.1

MDL-7903 Guests can not enter course that allows guests with key

commit 5359b975816e3de5e5d05366c9493bad6c9db149
Author: skodak <skodak>
Date:   Tue, 19 Dec 2006 03:08:53 +0900
Tag:    v1.7.1

MDL-7974 Weekend Days Settings Chooses Wrong Day after Saving; backported from HEAD

commit 17f32ca725fedd45436f08803de412afe7e76c06
Author: skodak <skodak>
Date:   Mon, 18 Dec 2006 07:26:36 +0900
Tag:    v1.7.1

MDL-7941Installation on Windows makes reference to libgd.dll in php.ini; backported from HEAD

commit 68875532e6d8515c7f5eac73cd582394fe6699e2
Author: skodak <skodak>
Date:   Thu, 14 Dec 2006 17:15:11 +0900
Tag:    v1.7.1

SC#341 fixed initilaization of navtail variable; backported from HEAD

commit 91b890f705db237accd0d925c34ae4160e191833
Author: skodak <skodak>
Date:   Mon, 11 Dec 2006 05:21:58 +0900
Tag:    v1.7.1

MDL-7857 uninitialized context in mod/data/index.php; backported from HEAD

commit 683b038d092f960dd7e3de0f69f708164f159f4b
Author: skodak <skodak>
Date:   Mon, 11 Dec 2006 04:28:17 +0900
Tag:    v1.7.1

MDL-6668 Database mod search error on Postgres; patch by Lorenzo Nicora; backported from HEAD

commit a04aa7c7dfd82f7a8b54234ebba0a956582c7d4f
Author: skodak <skodak>
Date:   Mon, 11 Dec 2006 02:41:12 +0900
Tag:    v1.7.1

MDL-6613 Apostrophe in locked field prevents user updating profile - patch by Iñaki Arenaza; backported from HEAD

commit 8e2958d1a1ce6904f1e233a5e16399e04c79e7f2
Author: skodak <skodak>
Date:   Mon, 11 Dec 2006 02:31:17 +0900
Tag:    v1.7.1

MDL-7855 Sanitize field type when importing presents into data mod; backported from HEAD

commit d21dbfd55d5476b4173c3b1e1a362b36ce3185b8
Author: skodak <skodak>
Date:   Sat, 09 Dec 2006 22:33:09 +0900
Tag:    v1.7.1

MDL-7734 fixed warning when $course not defined when printing help button

commit 1ace15420e08c37237699ad415fcc4a5e544699c
Author: skodak <skodak>
Date:   Sat, 09 Dec 2006 07:36:42 +0900
Tag:    v1.7.1

MDL-6519 Dollar ($) signs in data module text fields not preserved; backported from HEAD

commit 1df5e775ff989d66b2ad3d5902d33c16a993c603
Author: skodak <skodak>
Date:   Sat, 09 Dec 2006 07:25:22 +0900
Tag:    v1.7.1

MDL-7848 Database presets import breaks non-null restriction on description; backported from HEAD

commit a6abb7fda7b6668e351cb69d17710cfbf53103a4
Author: skodak <skodak>
Date:   Fri, 08 Dec 2006 05:12:14 +0900
Tag:    v1.7.1

MDL-7839 Fixed use of capabilities in database entry rating; backported from HEAD

commit 3bd8388689687dee59a1927a265fcc9fa6880263
Author: skodak <skodak>
Date:   Thu, 07 Dec 2006 05:24:19 +0900
Tag:    v1.7.1

MDL-7821 wrong use of cm in data mod and added proper require_login(); backported from HEAD

commit 5ceee287f3a85f917882f47e6ea41d5f5d70dc44
Author: skodak <skodak>
Date:   Wed, 06 Dec 2006 18:58:43 +0900
Tag:    v1.7.1

MDL-7812 warning in sorting form in data module when no fields defined; backported from HEAD

commit 319e0b4d9a4a11b91387e17234b320871479bda8
Author: skodak <skodak>
Date:   Wed, 06 Dec 2006 18:49:55 +0900
Tag:    v1.7.1

MDL-7806 Login results in fatal PHP error on enrol/database connect failure (patch by Clinton Graham); backported from HEAD

commit 4e1af8f1b3ad5360b464e2d2b588cba007e3bfdf
Author: skodak <skodak>
Date:   Tue, 05 Dec 2006 18:21:39 +0900
Tag:    v1.7.1

require_login not working properly MDL-7800; backported from HEAD

commit 15f93e462f4c8c07921cb85a3fd7d5d5bd53c556
Author: skodak <skodak>
Date:   Mon, 04 Dec 2006 17:53:21 +0900
Tag:    v1.7.1

MDL-7767 Guests should not be able to hide course sections - section hiding is not stored in db for guests, only session is used now

commit bd6cea2f9884c52ee90d0891ce096afb880bf5a4
Author: skodak <skodak>
Date:   Mon, 04 Dec 2006 05:08:03 +0900
Tag:    v1.7.1

MDL-7783 Non-internal authentication change password URL doesn't work - patch by Iñaki Arenaza; backported from HEAD

commit b13b2b54a6c3f6a193586014b57f14daba22beec
Author: skodak <skodak>
Date:   Sun, 03 Dec 2006 19:24:59 +0900
Tag:    v1.7.1

MDL-7757 URL check is too restrictive, allow port; backported from HEAD

commit c5c150c14639758883fb4230a1ef6b5f0391c229
Author: skodak <skodak>
Date:   Fri, 01 Dec 2006 17:50:44 +0800
Tag:    v1.7.1

MDL-7234 Smilies don't load in HTML editor for some languages; backported from HEAD

commit a555df3d696d0dcea38d89d8614be7e9a5b734a8
Author: skodak <skodak>
Date:   Fri, 01 Dec 2006 17:15:12 +0800
Tag:    v1.7.1

Forgotten password page does not check secret MDL-7755; backported from HEAD

commit 5bdb86e23b306641e36481529961d9807d3cc5ea
Author: skodak <skodak>
Date:   Fri, 01 Dec 2006 04:39:35 +0800
Tag:    v1.7.1

MDL-7749 fixed stripslashes when saving admin configuration values; backported from HEAD

commit 055d04ad68473eb592c13f02a7f5214fa40244b8
Author: skodak <skodak>
Date:   Thu, 30 Nov 2006 06:31:36 +0800
Tag:    v1.7.1

MDL-7741 missing ? in start php tag; backported from HEAD

commit 954e74f2dd3f76229cb5d396940f372128d66eb5
Author: skodak <skodak>
Date:   Mon, 27 Nov 2006 16:48:52 +0800
Tag:    v1.7.1

Broken handling of magic quotes in admin settings and set_config in general MDL-7668; backported from HEAD

commit c76465c42b2ffb4582b2e8601eacd4fc7478c3fd
Author: skodak <skodak>
Date:   Mon, 27 Nov 2006 07:02:06 +0800
Tag:    v1.7.1

MDL-7631 Incorrect grading when Each attempt builds on the last and questions on more than one page; backported from HEAD

commit e2a73d8a93cfe711b28332e84d819a42f9d116ea
Author: skodak <skodak>
Date:   Mon, 27 Nov 2006 05:58:31 +0800
Tag:    v1.7.1

Double quotes breaking short answers in a multianswer/cloze question MDL-6676; backported from HEAD

commit 7764cd6cc7be7f3824034369dfd1fabd6f690be5
Author: skodak <skodak>
Date:   Mon, 27 Nov 2006 05:38:03 +0800
Tag:    v1.7.1

incorrect table width in Exercise MDL-7690; backported from HEAD

commit 60afff14190f12603c68cff78dc777526e7b5b19
Author: skodak <skodak>
Date:   Sat, 25 Nov 2006 02:32:38 +0800
Tag:    v1.7.1

Fix course overview graph broken by notices MDL-7680; backported from HEAD

commit cea03e39c7269f42f35a7287111f59d107a9ff5a
Author: skodak <skodak>
Date:   Fri, 24 Nov 2006 05:01:23 +0800
Tag:    v1.7.1

Missing s() on current value in admin_setting_configtext class MDL-7666; backported from HEAD

commit e38e49335c41fb845a1f8754bfa74e5d386dbb5b
Author: skodak <skodak>
Date:   Fri, 24 Nov 2006 04:17:23 +0800
Tag:    v1.7.1

Students cannot enrol with PayPal plugin when using PHP4 MDL-7529; backported from HEAD

commit f829d4a446836913005c9af84721812263880d00
Author: skodak <skodak>
Date:   Wed, 22 Nov 2006 04:35:04 +0800
Tag:    v1.7.1

Social activities block always appears in edit mode to admin without turning editing on MDL-7639

commit c8c625a0be78a8803ab62398abdb8a74c91c49da
Author: skodak <skodak>
Date:   Tue, 21 Nov 2006 01:40:45 +0800
Tag:    v1.7.1

bellow spelling fixed; backported from HEAD

commit a71dd3f31572f6293883822ed6a0eb1b16fcbf79
Author: skodak <skodak>
Date:   Tue, 21 Nov 2006 01:36:26 +0800
Tag:    v1.7.1

Advanced uploading of file interface typo MDL-7628; backported from HEAD

commit b2a39ba822e4a4bde7921f52809d5ba749ced9d4
Author: skodak <skodak>
Date:   Mon, 20 Nov 2006 22:11:39 +0800
Tag:    v1.7.1

fixed problem with apostrophe in role names and description when creating roles during install and restore MDL-7611; backported from HEAD

commit ac12e36125e5b21268530ff99efd9000477d78e2
Author: skodak <skodak>
Date:   Mon, 20 Nov 2006 21:35:36 +0800
Tag:    v1.7.1

PARAM_PATH can be used only for relative paths, there is no parameter type for absolute paths that would be compatible with win32 - use PARAM_RAW for now, add file_exists validation later MDL-7617; backported from HEAD

commit 6153b68ff92516b4ea61f562ad0714a20b6cee14
Author: skodak <skodak>
Date:   Thu, 16 Nov 2006 04:56:23 +0800
Tag:    v1.7.1

Response file not uploading when grading student submission when using secureforms MDL-7566

commit 716f1ef9f14f5c21b0435c3c3956ead2d220b05a
Author: skodak <skodak>
Date:   Thu, 16 Nov 2006 03:38:07 +0800
Tag:    v1.7.1

Broken next button when grading assignments MDL-7569

commit 1f6823d18f5c25b94e24048c7a78a037dc85eb37
Author: skodak <skodak>
Date:   Wed, 15 Nov 2006 05:24:14 +0800
Tag:    v1.7.1

MDL-7536 add proper slashing to data from paypal callback; backported from HEAD

commit 558bfc50feea93344b43195be84ae8f313e63c7f
Author: skodak <skodak>
Date:   Tue, 14 Nov 2006 06:25:14 +0800
Tag:    v1.7.1

MDL-7389  paypal plugin reports error when student correctly enrolled

commit 76e41680896c01537092b7b7b194b6036d60b238
Author: skodak <skodak>
Date:   Fri, 10 Nov 2006 07:36:07 +0800
Tag:    v1.7.1

code improvement in count_courses_notin_metacourse() MDL-7424 - thanks Eloy! backported from HEAD

commit a58e869ce238ffb15c61988d6c7eaf948c43a098
Author: skodak <skodak>
Date:   Fri, 10 Nov 2006 05:14:20 +0800
Tag:    v1.7.1

Child courses import list empty MDL-7424; added new count_courses_notin_metacourse() function, the old one was kept for BC; backported from HEAD

commit e20fd196cef4fc8b25150ae75384efe28c22f52a
Author: skodak <skodak>
Date:   Tue, 07 Nov 2006 17:03:37 +0800
Tag:    v1.7.0

new unicode environment check for 1.8 and 1.7 MDL-6332

commit d4e286104674a0a44b6f1c9473dfe1ca075e6d82
Author: skodak <skodak>
Date:   Tue, 07 Nov 2006 05:48:04 +0800
Tag:    v1.7.0

prevent duplicate content in search engines MDL-7299

commit 89a750dbeb446e88ffaaf29b97ff30b43fad1ead
Author: skodak <skodak>
Date:   Tue, 07 Nov 2006 04:33:54 +0800
Tag:    v1.7.0

better param handling SC#331

commit 696d638772396051a851495ce7a429b8b8a34d46
Author: skodak <skodak>
Date:   Mon, 06 Nov 2006 02:27:03 +0800
Tag:    v1.7.0

MDL-7176 fixed comment

commit 8864d0f442f21e8465c827f25c121d9fd3067283
Author: skodak <skodak>
Date:   Thu, 02 Nov 2006 05:02:11 +0800
Tag:    v1.7.0

hack for problems with concurrent use of $nomoodlecookie and capabilities in RSS feeds, see MDL-7243 - it should be replaced once we get to codes in urls

commit a7d6e5b0f7c7769df8aeb073bdc325f2e05cb196
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 06:45:28 +0800
Tag:    v1.7.0

fixed notice during restore

commit e4edbb9e0b7766d7d345f5f22bded16b52966f45
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 06:17:50 +0800
Tag:    v1.7.0

Fix errors in quiz overview download MDL-7316

commit 80895066a206204bccff8198d4026572b1cce3bd
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 06:01:24 +0800
Tag:    v1.7.0

fixed incorrect use of require_capability() in lesson mod MDL-7314

commit 40385816cdd30195f35ec87de71788d251f7e0aa
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 05:51:20 +0800
Tag:    v1.7.0

fixed gradebookroles cfg default value MDL-7253

commit 1be6adbd3e2c010af8ff75ad5a1d19b5e2a24452
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 05:05:05 +0800
Tag:    v1.7.0

fixed capabilities in chat recent activity, removed broken optimization from message insert, fixed closing of box MDL-7313

commit bf3c381651bd6fe1828e4111e7eadc4c9ae059ab
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 04:22:52 +0800
Tag:    v1.7.0

fixed group related typo in has_capability()

commit ed55a25fd5de5d11e76696f3cc96591ff6a24816
Author: skodak <skodak>
Date:   Wed, 01 Nov 2006 03:31:26 +0800
Tag:    v1.7.0

Commented out session dump in user profile when in debug mode MDL-7311

commit f966e024ef2bcea8023a0aceb2a4983b14dc19e8
Author: skodak <skodak>
Date:   Tue, 31 Oct 2006 18:15:23 +0800
Tag:    v1.7.0

Change name when file name contains more of a point MDL-6897 - patch submitted by Toni Mas

commit 7e70535f0931baf095e81f109f7ac280249efebd
Author: skodak <skodak>
Date:   Tue, 31 Oct 2006 17:08:27 +0800
Tag:    v1.7.0

adding of user events into calendar and posting of blogs is now enabled by default - MDL-7297 and MDL-7245

commit 62385afcd376fa96ea32dd03aaac44bc03aea1b8
Author: skodak <skodak>
Date:   Tue, 31 Oct 2006 06:32:27 +0800
Tag:    v1.7.0

Adding of calendar events broken MDL-7297

commit b9f7637ea837211f483af2fbfdb6d97198a742ea
Author: skodak <skodak>
Date:   Tue, 31 Oct 2006 05:03:08 +0800
Tag:    v1.7.0

fixed double enableajax in previous commit MDL-7296

commit 5e435e4635e6c18577b1c66ebddbb2d4700a5aaa
Author: skodak <skodak>
Date:   Tue, 31 Oct 2006 04:57:08 +0800
Tag:    v1.7.0

Disabled global search by default and marked as experimental MDL-7296 and AJAX moved to experimental too

commit 1b88c2ef221fb5c41f70da0575dbc71c64b129a5
Author: skodak <skodak>
Date:   Mon, 30 Oct 2006 22:56:11 +0800
Tag:    v1.7.0

Wrong "settings" link in course Administration block on module pages MDL-7286

commit 0070770144a04bfef390ada6c89363cf862ff402
Author: skodak <skodak>
Date:   Mon, 30 Oct 2006 19:11:34 +0800
Tag:    v1.7.0

Journal Module fixes fro 1.7 MDL-7159

commit 67e43279bba28a63237ec3a69cb3d25fd8d1bcce
Author: skodak <skodak>
Date:   Sat, 28 Oct 2006 05:47:58 +0800
Tag:    v1.7.0

fix loginsteps string in moodle.php MDL-7249

commit 3f4bcbd03af4a10d399852571180526830e835f6
Author: skodak <skodak>
Date:   Sat, 28 Oct 2006 05:41:36 +0800
Tag:    v1.7.0

 Blog RSS is not being generated MDL-7256

commit 74acff441172e072024f491603f5456032bca3a7
Author: skodak <skodak>
Date:   Sat, 28 Oct 2006 05:04:44 +0800
Tag:    v1.7.0

Finish strings for graderoles MDL-7253

commit d6a54ada6ef13dbbae559f8787ec51e3dd556715
Author: skodak <skodak>
Date:   Sat, 28 Oct 2006 04:32:01 +0800
Tag:    v1.7.0

Turn AJAX off for now at site level MDL-7254

commit 22da58c57983a79c56b9649f6663a1071e53b8a3
Author: skodak <skodak>
Date:   Fri, 27 Oct 2006 15:49:25 +0800
Tag:    v1.7.0

Comments in data print the "by" and then the date but no username MDL-7235

commit abf7820411d916dfeee99ea2203512515118a4c0
Author: skodak <skodak>
Date:   Thu, 26 Oct 2006 18:32:54 +0800
Tag:    v1.7.0

fixed breadcrums link

commit 316e2012451ac314629558921794fc65ab02bb8e
Author: skodak <skodak>
Date:   Thu, 26 Oct 2006 16:53:59 +0800
Tag:    v1.7.0

Cron.php workaround for IE & RFC2616 - MDL-7221

commit 70f97a59958d2ba574988506d8101140e341a36c
Author: skodak <skodak>
Date:   Thu, 26 Oct 2006 07:16:44 +0800
Tag:    v1.7.0

MDL-7190 fixed wrong closing ) in cache md5 calculation, sorry!

commit a9530ec14714b4d77338846585b42ef8f007a402
Author: skodak <skodak>
Date:   Thu, 26 Oct 2006 05:17:33 +0800
Tag:    v1.7.0

MDL-7137 permission UI improvements merged into role overrides; s() used instead of htmlentities()

commit fe5cf88b1733077dafb0e46ef1c156ce03669c66
Author: skodak <skodak>
Date:   Thu, 26 Oct 2006 03:19:20 +0800
Tag:    v1.7.0

editting of permissions enabled when adding new role MDL-7137

commit 49cb76f312b8a7ba5b8fe8f0b61186d3f493d8db
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 16:16:36 +0800
Tag:    v1.7.0

fixed add new blog entry and tag edit in blog block

commit 5aab521e4d72f329c32d2adc8b6692441d0b5c2e
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 06:38:53 +0800
Tag:    v1.7.0

better cleaning of rss feeds SC#328

commit a1332df84559a039608ec65f1900db626531178d
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 06:18:19 +0800
Tag:    v1.7.0

Strip ##TRUSTTEXT## when not in developer debug mode MDL-7190; minor format_text speedup; changed in md5 text cache calculation

commit e2c0f78d63115da14cceb0e5dcabf93c73577354
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 05:37:36 +0800
Tag:    v1.7.0

select_color.php popup should specify charset MDL-7193

commit d7440e481e7e9c37cd2547d2b5ecb4fcc3036d0e
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 05:28:55 +0800
Tag:    v1.7.0

Lang file for auth specifies incorrect file path in lang/en_utf8/auth.php MDL-7205 revisited - new patch by Martin Langhoff

commit 5fd7a8cc89617741037be29277c402a6b447c0b9
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 04:48:32 +0800
Tag:    v1.7.0

Lang file for auth specifies incorrect file path in lang/en_utf8/auth.php MDL-7205 - found by Inaki Arenaza

commit 7429a293b73571b64315bf76e7d6eff82dc66eb0
Author: skodak <skodak>
Date:   Wed, 25 Oct 2006 04:20:50 +0800
Tag:    v1.7.0

fixed When unassigning a role, forum_role_unassign unsubscribes the user even if you have other roles there MDL-7120

commit ba7b72a53d777e408957616cba8192e8f50b81c0
Author: skodak <skodak>
Date:   Tue, 24 Oct 2006 16:04:53 +0800
Tag:    v1.7.0

fixed risks associated with capabilitites in modules MDL-7174

commit 077b7e99c1cc4553f87f65a4358fe70da1654f9a
Author: skodak <skodak>
Date:   Tue, 24 Oct 2006 16:00:32 +0800
Tag:    v1.7.0

fixed risks associated with main capabilitites MDL-7174

commit ed14ae81282a68f1badc7b1aa7496a3bd448b84d
Author: skodak <skodak>
Date:   Tue, 24 Oct 2006 06:27:17 +0800
Tag:    v1.7.0

fixed moodle/calendar:manageentries capability in calendar

commit 05888cfc840580799a96d03564e1343247f3588b
Author: skodak <skodak>
Date:   Tue, 24 Oct 2006 05:01:41 +0800
Tag:    v1.7.0

Assignment Reports incomplete MDL-6301

commit cca1df961b185208b74fbb1eb6778d650efefc49
Author: skodak <skodak>
Date:   Tue, 24 Oct 2006 03:25:13 +0800
Tag:    v1.7.0

Excel export returns a zero bytes file when system temp not writable MDL-7176

commit fb4f7687897245d8d6a7560cb23ef58f115b8032
Author: skodak <skodak>
Date:   Tue, 24 Oct 2006 02:30:13 +0800
Tag:    v1.7.0

 error message when adding a link in editor MDL-7180

commit 1a5d7ed12efb47a90defc847f474fb30375b8565
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 20:04:30 +0800
Tag:    v1.7.0

Checkbox value not saved when saving changes from admin search page MDL-7177 + other fixes to make it behave more like settings.php

commit e18bb176e19ddf59bd1008e5f842e20528b3b2a7
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 19:26:12 +0800
Tag:    v1.7.0

yet another context fix for Roles tab - I hope this one is final

commit 42fd053ddc6b66ee066b30a50763702bda526df5
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 19:16:26 +0800
Tag:    v1.7.0

glossary tabs (when updating a glossary) is not aligned properly MDL-7172

commit b52e9a106c2db52301e63abaac7e69b44f7cda9c
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 04:02:00 +0800
Tag:    v1.7.0

fixed incorrect context in user Outline report

commit 0d2fdd9cd9e7905dbab2853895ead9ccf6d2e91d
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 03:58:06 +0800
Tag:    v1.7.0

fixed $usercontext creation needed for Role tab when viewing user data

commit 591234f350628ea57e3f839b34a563384031225c
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 03:41:07 +0800
Tag:    v1.7.0

fixed sql error when searching only by one letter and two radio buttons selected at the same time (visible in Konqueror) fixed as part of MDL-7160

commit 1b2f2b82f0c73ae1a049f63f4b4bd816ff5edab1
Author: skodak <skodak>
Date:   Mon, 23 Oct 2006 03:17:48 +0800
Tag:    v1.7.0

fixed moodle/site:readallmessages MDL-7160 ; commented out unfinished buggy code

commit 2466ff5d775877051c63bcf99e2b8d49143b150c
Author: skodak <skodak>
Date:   Sun, 22 Oct 2006 05:14:30 +0800
Tag:    v1.7.0

Seeing ####TRUSTTEXT#### in RSS feeds MDL-7147 - fixed RSS feeds in glossary

commit fc0966ba1fd3ff68c025da132a77b4503247147f
Author: skodak <skodak>
Date:   Sun, 22 Oct 2006 05:04:29 +0800
Tag:    v1.7.0

Seeing ####TRUSTTEXT#### in RSS feeds MDL-7147 - fixed RSS discussion feed type too

commit 83e674cd7f03b103f0f6f51a7805e61ed0dc4541
Author: skodak <skodak>
Date:   Sun, 22 Oct 2006 04:41:41 +0800
Tag:    v1.7.0

fix has_capability() to work when $nomoodlecookie = true; MDL-7156 - needed for RSS file.php that is serving feeds

commit 9468a32a8efc23aab90635524a673a28600757cf
Author: skodak <skodak>
Date:   Sun, 22 Oct 2006 04:29:30 +0800
Tag:    v1.7.0

fixed undefined modcontext in forum

commit 4cbb77986674c0ab09a6afc628663fb95e5ba3a2
Author: skodak <skodak>
Date:   Fri, 20 Oct 2006 06:42:44 +0800
Tag:    v1.7.0

temporary patch for the forum trouble that is breaking installs MDL-7114

commit 7add89d356e506d2aaaff5b178ed9059c9efdada
Author: skodak <skodak>
Date:   Fri, 20 Oct 2006 06:17:12 +0800
Tag:    v1.7.0

fixed rolesactive notice during installation

commit a3faf996f500f87ccbdb65de3634026cce71aaed
Author: skodak <skodak>
Date:   Fri, 20 Oct 2006 06:14:42 +0800
Tag:    v1.7.0

Internal zipping broken on win32 MDL-7105 ; we are now using the new method to specify file names in zip archive because the old PCLZIP_OPT_REMOVE_PATH option is broken on win32 platforms ; backported from HEAD

commit c95fff4fa94e9499faf374d7444a57f2ba645de0
Author: skodak <skodak>
Date:   Thu, 19 Oct 2006 05:45:10 +0800
Tag:    v1.7.0

Delete user fails if apostrophe in email address MDL-4762 ; found and solution provided by Inaki Arenaza

commit 324480d4b2417eeb370de07f1b6c062f56c25253
Author: skodak <skodak>
Date:   Thu, 19 Oct 2006 05:32:50 +0800
Tag:    v1.7.0

fixed access check when editting notes in advanced upload assignment type

commit 4d4a11fd6816064bd5998d7595d2b2ded59e96e3
Author: skodak <skodak>
Date:   Thu, 19 Oct 2006 05:01:25 +0800
Tag:    v1.7.0

fixed Notices after assignment deletion in Recent Activity MDL-7089

commit 89a8bdc8cce30e6c2bd72e4642e5454560900c00
Author: skodak <skodak>
Date:   Thu, 19 Oct 2006 04:20:18 +0800
Tag:    v1.7.0

improved validation when deleting comments from glossary SC#325

commit 8a2bccf264861e492a1221f3d30348a9e0efdcee
Author: skodak <skodak>
Date:   Thu, 19 Oct 2006 03:58:13 +0800
Tag:    v1.7.0

Notice when creating one forum... MDL-7063

commit f697f01e356ebd9d8790d020e6fa81f13e4aa375
Author: skodak <skodak>
Date:   Thu, 19 Oct 2006 03:40:27 +0800
Tag:    v1.7.0

changed email obfuscation character to * MDL-6935

commit 37e6138a3c4daea2be19249f18dd69d61e2e740d
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 19:13:32 +0800
Tag:    v1.7.0

Deleting uploaded files when deleting an assignment instance + fixed quoting style + trailing whitespace MDL-6387

commit e7514ae3f12c434fea79c61fc1f101530e0419cc
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 19:12:49 +0800
Tag:    v1.7.0

Deleting uploaded files when deleting an assignment instance + fixed quoting style MDL-6387

commit 81f9b42660054964414704cc8199dabb73e3a827
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 19:11:53 +0800
Tag:    v1.7.0

Deleting uploaded files when deleting an assignment instance MDL-6387

commit d1a0531ca449ffe7736b0b89cad81f4317f3d05f
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 17:18:36 +0800
Tag:    v1.7.0

fix course reset unenrollment in to work with roles MDL-7069

commit f152f333d03c084e6b9055ccbbe10c76c960b818
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 05:39:59 +0800
Tag:    v1.7.0

fixed role_capabilities table name typo

commit 24ec651269f24ba4338a0ec6c0ff569bde7fd5a0
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 05:05:34 +0800
Tag:    v1.7.0

Fix forum reset - remove "DELETE .. USING ... " mysqlisms MDL-7053

commit 8abe956ca80ccaafa86ed4d43d3d66ac5d724bed
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 04:42:49 +0800
Tag:    v1.7.0

Automatic deletion of users when deleteunconfirmed is setted to 'never' MDL-6726

commit 8e1ae566f278ed664fe2976b171291a3710494e1
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 03:45:34 +0800
Tag:    v1.7.0

Activitynames filter case insensitive again for non-ascii languages MDL-6054 - I hope it will not be choking on invalid UTF-8 data

commit b0b359cd737210ad87428c4d188a62d529cfe8f2
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 03:15:38 +0800
Tag:    v1.7.0

Broken longtimenosee option - PHP notice errors during cron MDL-7058; found and solution submitted by Jenny Gray

commit 1ad395e02324174d497de3898a5dba5ecd211f76
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 02:52:19 +0800
Tag:    v1.7.0

moodle.php strings for log file restore needs some fix - xhtml compliance and removed \n - MDL-7056 again sad

commit b1e07b8879dfbe77010857d37f1939775f2396b5
Author: skodak <skodak>
Date:   Wed, 18 Oct 2006 02:50:20 +0800
Tag:    v1.7.0

moodle.php strings for log file restore needs some fix - xhtml compliance and removed \n - MDL-7056

commit a91a3c5c79b74f875ff63ee2361d47df2d3df8d6
Author: skodak <skodak>
Date:   Tue, 17 Oct 2006 15:07:37 +0800
Tag:    v1.7.0

RSS update and caching broken for some feeds MDL-7045

commit a30e48bc6a87b42bcfe2880e074c9104ef24be14
Author: skodak <skodak>
Date:   Tue, 17 Oct 2006 14:28:00 +0800
Tag:    v1.7.0

Typo improvement in assignment.php string MDL-7046

commit 74b0c7ac0127a9572d276e2ce13921c6c561f661
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 17:05:48 +0800
Tag:    v1.7.0

MDL-6444  Typo in Course/Report/Participation/index.php, patch by Stephen Bourget

commit e01a96ef1598e83503eb416f57f356f0eb40e57b
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 16:52:52 +0800
Tag:    v1.7.0

reverting moved $SITE reinitialisation into setting method, it was not a good idea after all

commit 00d69809d435ca17ce73cc2bdbc7cb75cf2f7f02
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 16:42:51 +0800
Tag:    v1.7.0

backported new adodb 4.93 from HEAD

commit 02d7853dab79b8ed2892a4745fc9f89e127c12e6
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 16:33:45 +0800
Tag:    v1.7.0

MDL-6985  Role Short name cannot be modified

commit 7f5f0ae62b68f913cf5bad2f4cae404a748fa79d
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 15:52:52 +0800
Tag:    v1.7.0

fixed error message when empty site full or short name - moved $SITE reinitialisation into setting method

commit b5a814308ac87d4f06f964a513568a260f62cd85
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 15:45:32 +0800
Tag:    v1.7.0

PARAM_MULTILANG is now alias of PARAM_TEXT

commit f22675fed91b72ecd4289eb1689770c07cd9231e
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 15:35:12 +0800
Tag:    v1.7.0

fixed error message when empty site full or short name

commit 1f45359727046bdd76cc653d267d1d63d1a1ee74
Author: skodak <skodak>
Date:   Mon, 16 Oct 2006 14:51:08 +0800
Tag:    v1.7.0

moved header after the redirects and require_logout

commit a44091bffe08230d545284db510728320fda1b2d
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 18:12:41 +0800
Tag:    v1.7.0

Fixing Theme Config Variables MDL-6784

commit 4dd5d7513d3785af6c09ef986743c74eb37f158b
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 18:07:15 +0800
Tag:    v1.7.0

fixed wrong capability name and function name typo

commit c544838d29c5784576604a6e3ec2cc7570d3ea8a
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 05:44:59 +0800
Tag:    v1.7.0

index.html of assignment help needs update. MDL-6888

commit 8b902ba4a030ff6e647793ed3c78091230fee579
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 04:29:13 +0800
Tag:    v1.7.0

change_password.php produces JS error fixed typo MDL-6750

commit 78d4711ebb5930d2942835029b2fff9de1fcca17
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 03:45:29 +0800
Tag:    v1.7.0

fixed data/index.php when no databases available, initialized array in get_all_instances_in_course() from datalib.php; merged from MOODLE_16_STABLE

commit d8247de55ee54e7af6f0e7d355c31a434f43271c
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 02:55:18 +0800
Tag:    v1.7.0

problem with incorrect redirect url - wwwroot without the trailning slash in not standard compliant MDL-6193

commit cefd17e991649dfcd7031d866ba426e2b2d50c07
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 02:16:18 +0800
Tag:    v1.7.0

docs for advanced uploading of files assignment type

commit 2597d7312894a11eb988e39c2ff8111a41e12b0a
Author: skodak <skodak>
Date:   Mon, 09 Oct 2006 01:35:27 +0800
Tag:    v1.7.0

a small typo 'helpupload' on /lang/en_utf8/assignment.php MDL-6883, found by Mitsuhiro Yoshida

commit 17e5635c36b4d32e50b9d3b7e2635963d60b8bae
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 19:00:49 +0800
Tag:    v1.7.0

fixed 'capabilitities' typos and removed forgotten debug_print_backtrace() commited with MDL-6728

commit ab61d01b06063ea9b3d29f75e758c637f9a88b42
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 18:52:54 +0800
Tag:    v1.7.0

Typo in lib/accesslib.php MDL-6728, found by Nicolas Martignoni.

commit a8f5a8a2e4bd8fac633756a7e8308411a4231889
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 18:07:03 +0800
Tag:    v1.7.0

Insert a Chinese charachter string to label resource result error MDL-6757

commit badc7070cd976301898df15c92536ed7c382a942
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 17:51:22 +0800
Tag:    v1.7.0

removed obsoleted backup configuration scripts

commit 1c55ce748def716b48364139b8a42d4e9611d7eb
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 17:20:46 +0800
Tag:    v1.7.0

add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866 , fixed quotes sad

commit 25bbaee71637ffd3a543d0e2f110be5c79c53851
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 17:16:38 +0800
Tag:    v1.7.0

add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866

commit 91b678f30621a2ee1fbb580e92c3b592925ad556
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 17:04:59 +0800
Tag:    v1.7.0

Grades computed incorrectly if assignment name appears more than twice in a course MDL-6876 , patch submitted by Gary Anderson

commit b3cbe3a333c2e5ffe667ffe464e0d2ea8fea9499
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:52:15 +0800
Tag:    v1.7.0

fixed wrong strip_slashes() when printing blog entry

commit b15d469ec26719e3f64b489a8b2590f3bd4f1a27
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:44:32 +0800
Tag:    v1.7.0

Error when adding Recent activity as a sticky block MDL-6801

commit 14df27ad3c85f5551aafa2c93d53d02e492085ba
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:36:45 +0800
Tag:    v1.7.0

fixed wrong redirect when editing blocks in stickyblocks page

commit cf0c601fb9334af25ce15cf7ba69c0c6e98a46a2
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:29:35 +0800
Tag:    v1.7.0

fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messaging system.

commit 0ca30166f3c54415f36c3273143ce5f7dacd4984
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:20:38 +0800
Tag:    v1.7.0

Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer.

commit 4db69ffb827e2590d9dd2d465c24023ccd7e9bfb
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:13:41 +0800
Tag:    v1.7.0

Scalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many Browsers MDL-6878, patch submitted by Geoffrey Rowland, thanks!

commit c664a0360939e860ddb427d4f383c42e257c0af8
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 16:06:04 +0800
Tag:    v1.7.0

added 'Reviewed' assignment status to My moodle page MDL-6834, patch submitted by Stephen Bourget - thanks!

commit 57f1b9149786baaa1ebe0a72a05b3c784b6190fc
Author: skodak <skodak>
Date:   Sun, 08 Oct 2006 04:47:54 +0800
Tag:    v1.7.0

fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135

commit e96f2a77db6a4d7e40742f09e70237e8f5a4cd38
Author: skodak <skodak>
Date:   Fri, 06 Oct 2006 18:11:52 +0800
Tag:    v1.7.0

Code cleanup in blog.

commit f47f4659de373f0d7c2516c4a167c3a1be5c0331
Author: skodak <skodak>
Date:   Thu, 05 Oct 2006 05:22:57 +0800
Tag:    v1.7.0

fixed nocache option in format_text()

commit 793a8c3af7a6dff818f1b4c5b41cda6fcabdb9a7
Author: skodak <skodak>
Date:   Wed, 04 Oct 2006 07:34:03 +0800
Tag:    v1.7.0

Assignment Module breaks MyMoodle Page MDL-6802, revisited - I hope it is correct now

commit 93caac3a721b8b0f593c6d2805df7f5b3322ef33
Author: skodak <skodak>
Date:   Wed, 04 Oct 2006 05:07:13 +0800
Tag:    v1.7.0

MDL-6805 Fix redirects in blog - edit button now properly redirects to self

commit db837673dfee2e5ea2ef57b455387ff59279b01f
Author: skodak <skodak>
Date:   Wed, 04 Oct 2006 04:41:15 +0800
Tag:    v1.7.0

MDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks

commit 290cf2f48457052835a7e84feaca3863f719c292
Author: skodak <skodak>
Date:   Wed, 04 Oct 2006 04:18:58 +0800
Tag:    v1.7.0

fixed broken table layout in blog  MDL-6806

commit ab2f17b05b760b9f5b40faaacc55a0653ccdefdb
Author: skodak <skodak>
Date:   Wed, 04 Oct 2006 03:21:35 +0800
Tag:    v1.7.0

Completely disable all blog scripts when blog system disabled from site preferences MDL-6803

commit 9731624c87bf4bd12acc117806980b177abc8f71
Author: skodak <skodak>
Date:   Wed, 04 Oct 2006 02:31:51 +0800
Tag:    v1.7.0

Assignment Module breaks MyMoodle Page MDL-6802, please test it

commit 5fe9a11d96451cc07b8270e2fe1bbde2069f587f
Author: skodak <skodak>
Date:   Tue, 03 Oct 2006 06:10:36 +0800
Tag:    v1.7.0

more diagnostics in has_capability() - number instead of context object detected and debug message displayed

commit 403ba37a359da6647963df238680bed20f9b9b94
Author: skodak <skodak>
Date:   Tue, 03 Oct 2006 06:06:18 +0800
Tag:    v1.7.0

fixed has_capability context parameter in blog

commit 26d038607aa850d48c0fa519dd70a1fede8d8af2
Author: skodak <skodak>
Date:   Tue, 03 Oct 2006 05:15:48 +0800
Tag:    v1.7.0

moodle/blog:view usage fixed in blog

commit 11c467d939ad5b988aefed6b3dc51093259ba7e5
Author: skodak <skodak>
Date:   Tue, 03 Oct 2006 04:50:49 +0800
Tag:    v1.7.0

some blog problems fixed - non existing capabilitites, pg incompatibilities; in anycase the blog is still broken sad working on some more fixes now...

commit a44de9c12f00f5c0ca97b48406e618ef7c1e5a8f
Author: skodak <skodak>
Date:   Tue, 03 Oct 2006 03:47:11 +0800
Tag:    v1.7.0

fixed print_texarea() capability requirement

commit 30550795186dbaf926fb81f1647428ebe0dd9809
Author: skodak <skodak>
Date:   Tue, 03 Oct 2006 03:21:26 +0800
Tag:    v1.7.0

fixed sql text quoting, other fixes in blog ahead

commit 8d9425149f2a390a1f9bddcd2fd7924e3a63b1dc
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 16:44:58 +0800
Tag:    v1.7.0

fixed directory creation issues in advanced upload assignment

commit 8704af63b7b7c9d4e67982465ade622800d70962
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 16:36:07 +0800
Tag:    v1.7.0

Student cannot see handed-in upload single assignment MDL-6770

commit 8c408f8e46af86ff8c033fc144fb17544b648db5
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 16:21:35 +0800
Tag:    v1.7.0

assignment intro hiding before available date is now optional in advanced upload type ( MDL-6131 ), the rest of types will not be changed

commit 01194b77ec9acb7c99610f443b185cb24e38e5ae
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 05:45:54 +0800
Tag:    v1.7.0

fixed error in assignments when no students enrolled in course

commit 29889a2a45e98851eddbd7a84d05a9ee2ced5788
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 05:35:16 +0800
Tag:    v1.7.0

partially fixed - assignment intro always avaible even setting available date MDL-6131

commit bee8703ea56c9980466fbb95d2c49521bd382cef
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 04:04:53 +0800
Tag:    v1.7.0

Advanced Upload assignment type - student can't read teacher's uploaded response file MDL-6771

commit 87a13824e13ebcfb97114289000ea336dbbdcf78
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 03:55:47 +0800
Tag:    v1.7.0

fixed  MDL-6625 - can't switch courses

commit 310471950e90275f7906aa4d416aa0e67456db45
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 03:35:27 +0800
Tag:    v1.7.0

Cannot add glossary category MDL-6713

commit 1d4d2cebe0e3c0105ebd7eae5325945888be3200
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 00:38:26 +0800
Tag:    v1.7.0

 left-hand pane on image upload screen is missing MDL-6759

commit a3627bb77d45d67ee99dd176fea395aef3e3728c
Author: skodak <skodak>
Date:   Mon, 02 Oct 2006 00:17:30 +0800
Tag:    v1.7.0

incorrect context used in rss_client block upgrade code MDL-6707 - part of the upgrade code is now rerun in existing installations - new upgrades should be ok, the cleanup of stale contexts and overrides will be done later as part on normal maintenance from cron

commit ef04568ad36ecb5b5889f80eafe633ff700a64b6
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 22:46:56 +0800
Tag:    v1.7.0

removing obsoleted calendar.* files from admin area

commit ea580cdfa642e6cb3c1e65cef9f183dff182d844
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 20:04:34 +0800
Tag:    v1.7.0

Recent wiki table changes have problems on PostgreSQL 7.4 MDL-6724

commit c58facdd96d6236cadba78f07ef47b31384b05f6
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 17:47:20 +0800
Tag:    v1.7.0

New installation with different prefix in one database fails MDL-6614

commit 8ad22079655e7f5400247c0b8bc1734a3664440d
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 05:02:09 +0800
Tag:    v1.7.0

fixed Fatal error: Call to undefined function: print_recent_activity() when adding Recent Activity as a sticky block MDL-6437 and  blocks block database MDL-5931

commit 7208c579fdea37ff2846255d39993df152629d6c
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 04:46:31 +0800
Tag:    v1.7.0

fixed missing required_login($courseid) that needs to be done to set up proper global $COURSE; MDL-6697   course/mod.php does not show the right navigation

commit ba8d8027208a11b6c6cf23f7fb82de5e7ef428e3
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 04:11:44 +0800
Tag:    v1.7.0

MDL-6673   duplicate capabilities in list

commit a1069b070a1b3b29e3ce53bbf5f93f361520c104
Author: skodak <skodak>
Date:   Sun, 01 Oct 2006 03:46:10 +0800
Tag:    v1.7.0

MDL-6696   Default country doesn't display on dropdown menu

commit 55b4d096372a8a748925d63cb8df21aae9ee0a90
Author: skodak <skodak>
Date:   Sat, 30 Sep 2006 23:41:20 +0800
Tag:    v1.7.0

new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible

commit 7d472616451abd70105708c9005a93b4b8a4a1b1
Author: skodak <skodak>
Date:   Sat, 30 Sep 2006 05:45:04 +0800
Tag:    v1.7.0

towards new upload assignment - expect brand-new version tomorrow smile

commit 03bfaba1fda39cb947a1dc79dcc4ecae76d7b451
Author: skodak <skodak>
Date:   Sat, 30 Sep 2006 04:54:15 +0800
Tag:    v1.7.0

fixed parameter cleanup SC#318; merged from MOODLE_16_STABLE

commit 30fce5000a29b829bcf30c48526f9f7880e7a970
Author: skodak <skodak>
Date:   Fri, 29 Sep 2006 02:29:54 +0800
Tag:    v1.7.0

removed one more unneeded file from adodb library

commit 8ba4cbd2a3bcb0c5512c48a72ab7f3e241762310
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 23:34:54 +0800
Tag:    v1.7.0

reverting last commit, expect new fixes soon

commit 250934b8e07a66182ed78e14177ee4c93904f98a
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 06:59:37 +0800
Tag:    v1.7.0

fixed logic of moodle_install_roles() - it now calls update_capabilities() after creation of default roles, but before first role_assign(). The problem was that role_assign calls code from forum lib which already uses capabilities, this might cause even bigger problems later.

commit 6727c1753f9b9574c6654f27563263bf717ba1fb
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 06:25:15 +0800
Tag:    v1.7.0

added default settings for admin_setting_special_backupdays()

commit 5d0df39db40c77a30bc59b9f5405123c10d9d6c4
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 06:16:23 +0800
Tag:    v1.7.0

fixed array_shift($roles) warning during upgrade from 1.6

commit 1cd3eba948664d88519341fe799984631b028eb7
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 04:43:04 +0800
Tag:    v1.7.0

fixed validation of course category for site course MDL-6715

commit 7bfa3101df6a278df289e2fab5851e3a60ce419d
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 02:11:36 +0800
Tag:    v1.7.0

add checks for stale contextid in role_assignments and overrides into load_user_capability() MDL-6708

commit a36a3a3f9847459742649de0c5ccb5a5ff10395c
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 01:58:17 +0800
Tag:    v1.7.0

added strict context level checks to get_context_instance() MDL-6709 , the reason is to find typos and buggy code that would be otherwise unnoticed

commit 3ca2dea51d935133caed4a3e50b1f99f6f107c0b
Author: skodak <skodak>
Date:   Thu, 28 Sep 2006 01:50:53 +0800
Tag:    v1.7.0

sanitise request in create_context() and show debug info when appropriate MDL-6715

commit 90eca94be817b53fbf6ea4d7fccdb12f19555840
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 18:44:25 +0800
Tag:    v1.7.0

fixed incorrectly quoted $LIKE in forum recent activity sql

commit 421f60f9c98e9a6851aba7cf0409442cc052e63a
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 18:30:54 +0800
Tag:    v1.7.0

fixed default proxyport value

commit 3c8ecb0cbbe208ccbe6784883479a07b0b27d9ca
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 17:50:48 +0800
Tag:    v1.7.0

fixed incorrect user id  when updating in uploaduser.php

commit 6859360cd4a9102bcdf315034e31c00cfed0b147
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 05:10:14 +0800
Tag:    v1.7.0

coverted /admin/ to proper /$CFG->admin/ in paths

commit eee90c06b8d88b8bdde830725f280a8f299e6301
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 04:54:05 +0800
Tag:    v1.7.0

upgradesettings.php now using the same CSS as settings.php , part II.

commit d8c5baee04d7d994ca2e6121e649ae089d7ae7af
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 04:51:28 +0800
Tag:    v1.7.0

upgradesettings.php now using the same CSS as settings.php

commit fbc88f388657bd091e30d1f176c2efe720415d67
Author: skodak <skodak>
Date:   Wed, 27 Sep 2006 03:18:21 +0800
Tag:    v1.7.0

fixed legacy comment upgrade code in assignment and journal

commit 62f62bf9841427dc36c9d1c460c4be9222dfe704
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 17:25:37 +0800
Tag:    v1.7.0

admin bookmark cleanup

commit 6de2a7b6c8ece737fe98f59ef9aacee517dad2f5
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 16:49:47 +0800
Tag:    v1.7.0

fixed another missing global $CFG

commit 9e24fbd14df69c7801c162d56984d958981aa174
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 16:16:17 +0800
Tag:    v1.7.0

basic validation fix for text admin settings

commit 8e00b731e18359657137cf3d14055ecbd83879a3
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 15:39:04 +0800
Tag:    v1.7.0

fixed defaults

commit 9a76d7b9ea321e394e2f7ffc78e71fab19fde7bc
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 14:34:29 +0800
Tag:    v1.7.0

fixed autologinguests warning

commit 05f8f7e76b96b80986f11567a3ee06fb75f89663
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 14:31:18 +0800
Tag:    v1.7.0

fixed missing global  $CFG

commit 2c1f712c16a80f6276e29c2631c06a2a76ab88c2
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 14:29:04 +0800
Tag:    v1.7.0

file delete and rename warnings polished

commit c9a49ceab41f9d7a53cdf160f80fa6665e5d9845
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 04:22:55 +0800
Tag:    v1.7.0

major cleanup of unsupported and legacy external pages in admin/; created new hidden unsupported category; some other minor fixes and changes

commit 7d1df3a49dffcfab936e34a3086e34587d439872
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 03:05:04 +0800
Tag:    v1.7.0

moodle specific developer debug messages disabled in admin/dbperformance.php page, because they might interfere with frames

commit fa323030facd0040bbb8598bfd7b1e14ba800ce2
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 02:29:50 +0800
Tag:    v1.7.0

XMLDB editor now has admin-tree block

commit c0a1aae3e2ae8814cf88c859fc549141252138ba
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 02:21:59 +0800
Tag:    v1.7.0

admin/upgradesettings.php is now proper hidden external page with correct breadcrums wink

commit d249e478d4973c9ef5e7992da00639309da6f853
Author: skodak <skodak>
Date:   Tue, 26 Sep 2006 01:44:43 +0800
Tag:    v1.7.0

fixed hidden misc sectionin admin tree block, sorry

commit 499c621417de54ab0ff3798a45425e4613ebe2f0
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 22:15:55 +0800
Tag:    v1.7.0

fixed quoting error

commit a69be0d8613d80a1b95076a388b5dadd7ec63f05
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 22:12:46 +0800
Tag:    v1.7.0

improved handling of resource file/directory references when renaming and deleting files in file manager. It is now fully configurable too. MDL-6132

commit 0cd482e54d875298a29939187ed270413e910c73
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 16:53:10 +0800
Tag:    v1.7.0

fix for MDL-6599 - problem with hiding of resource when $CFG->preventaccesstohiddenfiles enabled

commit a8a66c96ab2affac3bc1d64243fe60d010423278
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 04:23:40 +0800
Tag:    v1.7.0

it is now possible to hide parts of admin tree - not used yet, but it will be soon used for those hidden unsupported scripts in admin/ directory

commit 9fd9df205d2f69ffb01c58373f3479cbf2540e52
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 03:37:34 +0800
Tag:    v1.7.0

fixed scheduled backup time setting

commit aade3a4b6a0fc06408be4506b58cbadd724b4946
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 03:10:13 +0800
Tag:    v1.7.0

fix for MDL-6680 redirect function is broken when running php as CGI, me() now used instead of SCRIPT_NAME + minor coding style changes

commit 1cc309df9df7f2c1ae8915b9c27a126ce4a5748c
Author: skodak <skodak>
Date:   Mon, 25 Sep 2006 03:04:32 +0800
Tag:    v1.7.0

fixes for recent incorrect index updates

commit d4121c56054e557fa40533724b06e84b1e8dbc3c
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 21:34:52 +0800
Tag:    v1.7.0

one more sanity check for role overrides

commit 6df3c7df7a00ea6b2201d716f5ee984221326bcd
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 20:54:53 +0800
Tag:    v1.7.0

user upload cap renamed to moodle/site:uploadusers

commit cc891abe885ff2f094905c9385212d1d3bb7b0fb
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 20:31:49 +0800
Tag:    v1.7.0

uploading of users has new capability 'moodle/user:upload' now also with admin block integrated

commit 856f7cb7e6462c22ebb85d10a6496d857ef34672
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 19:58:28 +0800
Tag:    v1.7.0

do not display guest when browsing users

commit 38d2d43b0122331449f87d930637ab8fda526035
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 19:55:11 +0800
Tag:    v1.7.0

roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages

commit 189bb4a628cb4c784c5979f46174fb2bc02ac2b6
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 15:38:15 +0800
Tag:    v1.7.0

fixed warning in hotpot lib when running cron from commandline

commit 25d8040ec5986502d848b14420f7c1e3766e25b8
Author: skodak <skodak>
Date:   Sun, 24 Sep 2006 15:32:49 +0800
Tag:    v1.7.0

added trustbitmask column to user table

commit ece4945bd26f22da6c1c33719c7e536adc9dd443
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 20:51:00 +0800
Tag:    v1.7.0

role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort

commit 8420bee94eb73310a1dd9f54cb33350a3afab7eb
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 18:43:24 +0800
Tag:    v1.7.0

towards unique role sortorder - fixes for create_role() and new delete_role()

commit 7eb0b60a1ff4a763b07fcbb3dedf8a7d74d466c4
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 17:38:39 +0800
Tag:    v1.7.0

debugging and error reporting level fixes and improvements MDL-6671

commit 16e2e2f3940de1db5b8e3e9b13981333e3ddb4af
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 05:31:19 +0800
Tag:    v1.7.0

fixed error in fetch_context_capabilities() when no local capabilities defined in context

commit adbffcb9fe6c693fae854285c91bb2ec151963d2
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 05:17:43 +0800
Tag:    v1.7.0

role ui minor cleanup

commit 305ef971fca44e78d00f223528c4bbbf37cec508
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 04:09:47 +0800
Tag:    v1.7.0

role assign and override code fixes + other minor changes

commit a17c57b5e3b29d6add4690c1075747f218a3a1a8
Author: skodak <skodak>
Date:   Sat, 23 Sep 2006 02:08:53 +0800
Tag:    v1.7.0

Partially reversed patch for http://tracker.moodle.org/browse/MDL-5136, caching of filtered uploaded html files is disabled now MDL-5136 , Eloy is changing the column type in cache_text back to TEXT.

commit 0c88b9acf7c87036c02b192bbfd6b6d4923cb914
Author: skodak <skodak>
Date:   Fri, 22 Sep 2006 07:15:45 +0800
Tag:    v1.7.0

improved coding style

commit f3245d0952b814c4874423ff701d033a424e33bf
Author: skodak <skodak>
Date:   Fri, 22 Sep 2006 07:08:58 +0800
Tag:    v1.7.0

improved coding style

commit fa1fbbdc40a64bb8964de74ff60d14e72de2c1d1
Author: skodak <skodak>
Date:   Fri, 22 Sep 2006 07:00:48 +0800
Tag:    v1.7.0

minor allignment change in role list

commit b5959f3071a07543d7c32f80a833c5d2c183e4a5
Author: skodak <skodak>
Date:   Fri, 22 Sep 2006 06:34:45 +0800
Tag:    v1.7.0

partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow wink

commit f59208a745e7029841cc34dc5e11cb2cf055bffb
Author: skodak <skodak>
Date:   Fri, 22 Sep 2006 00:27:37 +0800
Tag:    v1.7.0

fixed typos in capabiltiy names

commit fd98800ea2cb3874566ecb0606a908f3ba9cc8ee
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 16:28:25 +0800
Tag:    v1.7.0

another admin ui cleanup

commit 2ce38b70d8a6120e94062738e1e6a58ce5dcae2d
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 16:18:14 +0800
Tag:    v1.7.0

capability related changes in new admin tree

commit db51ddc52e5cc22a170c12e078a9c2eca690cb96
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 16:05:50 +0800
Tag:    v1.7.0

old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447

commit 2464c592e3bc0f19ff13b7410cedbe320a5aeaee
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 14:38:27 +0800
Tag:    v1.7.0

removed moodle specific debug messages from file.php

commit f50c2b4ee02a058abc5d07fe091647cf081cb634
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 05:48:33 +0800
Tag:    v1.7.0

fix for old email confirmation - spotted by Dirk Grunwald; merged from MOODLE_16_STABLE

commit d43d749a1b52a1712e2910d700f522e9cd3675fe
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 05:25:51 +0800
Tag:    v1.7.0

forum throttling capability meaning reversed

commit eef868d17d53ca8b6c34882074a2ff4d5dc0e99d
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 05:00:45 +0800
Tag:    v1.7.0

major whitespace cleanup - fixed trailng whitespace in new files and admin area

commit 6124048972a690b293ec27ca743a3c0f869217d2
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 04:31:09 +0800
Tag:    v1.7.0

major whitespace cleanup - fixed tabs

commit c78f13f8dc374e46fc2d50526e31ab2833ea5fec
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 04:16:10 +0800
Tag:    v1.7.0

major whitespace cleanup - fixed \r line-ending

commit 03f5a0f87cb64e701afda419b787e6a0cf2a8d6e
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 03:46:52 +0800
Tag:    v1.7.0

major whitespace cleanup - fixed \r\n line-ending

commit 6c450d9f7e88efe604e67e18af985a45b95a13fd
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 03:20:34 +0800
Tag:    v1.7.0

test commit for lineending cleanup

commit daa588aa5263723a46018a2f3da410d8ca2e5920
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 02:40:22 +0800
Tag:    v1.7.0

merged changes in moodlelib.php from MOODLE_16_STABLE

commit ba4e0b059d4f5f3d3f61985c7314eca2e27d668f
Author: skodak <skodak>
Date:   Thu, 21 Sep 2006 01:51:59 +0800
Tag:    v1.7.0

fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox.

commit 43a8ceeaf1ff468dad86cf333bdeb13a580b0392
Author: skodak <skodak>
Date:   Wed, 20 Sep 2006 23:04:01 +0800
Tag:    v1.7.0

fixed missing ;

commit 1d126f4fe4541ed5ef023efb6bebaa64cc4e764b
Author: skodak <skodak>
Date:   Wed, 20 Sep 2006 14:59:32 +0800
Tag:    v1.7.0

mostly removed old isadmin() calls

commit 8521d83affb1158cf4658b9f8a4b608df7b02808
Author: skodak <skodak>
Date:   Wed, 20 Sep 2006 14:24:55 +0800
Tag:    v1.7.0

role_context_capabilities should handle current context too and role override simply use parent context

commit a14049f1079512e4e225a572419fdabfcb1ea61e
Author: skodak <skodak>
Date:   Wed, 20 Sep 2006 04:39:55 +0800
Tag:    v1.7.0

metacourse role assignment fixes

commit 681729b16e32f0b1d742bc61c3b975ae3047155b
Author: skodak <skodak>
Date:   Wed, 20 Sep 2006 01:34:29 +0800
Tag:    v1.7.0

various minor Role UI fixes

commit b22c03ce991c659e66fe51adf2fddc8674534a64
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 18:26:35 +0800
Tag:    v1.7.0

RISK_ADMIN replaced with RISK_CONFIG, part 2.

commit 45b9781ed4cf3cbbed73a708c8e9d124ccb8d2e2
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 15:35:48 +0800
Tag:    v1.7.0

fixed missing shortname pg upgrade code, sorry

commit a6b02b652b3674a22e0954cce4defbb67e7a55e8
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 15:33:22 +0800
Tag:    v1.7.0

RISK_ADMIN replaced with RISK_CONFIG

commit 92ab23875a6a1eb7b642db1bb52109bc8aef8aef
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 14:38:17 +0800
Tag:    v1.7.0

fixed missing dot

commit b79da3ac68dd11d1512f50d91061560c0e9c86ca
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 14:35:52 +0800
Tag:    v1.7.0

moodle/course:managemetacourse is now singular

commit 21b6db6eff25dfa0708b95b70539227cb1a0e945
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 05:32:49 +0800
Tag:    v1.7.0

added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum

commit 31f267963a74582c87f1119c7b412dbbce2c2460
Author: skodak <skodak>
Date:   Tue, 19 Sep 2006 01:40:22 +0800
Tag:    v1.7.0

MDL-6568 shortname added to roles

commit dca1937c02ca96216d82ebe49b814c4ac9eff929
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 19:21:24 +0800
Tag:    v1.7.0

removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility

commit a7a54c3ba170c6b98c8044e2edf889bc9b1e69a3
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 17:58:22 +0800
Tag:    v1.7.0

new metacourse fixes for admin block

commit 339dc4e28f5fd0e96a0ec1fcbbe3acb7260acceb
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 17:37:51 +0800
Tag:    v1.7.0

metacourse fixes for course editting

commit f5002f10bf2fbbe6eead6f0a22604589b8307e90
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 16:20:01 +0800
Tag:    v1.7.0

metacourses gui fixes, part I.

commit 1aad431080549d1cb7667e00ac4d227ff2763889
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 06:21:37 +0800
Tag:    v1.7.0

metacourse sync now uses roles, I will continue with fixing of GUIs tomorrow

commit 4b7aaf4025ef1f7a0d4bbffd8265fd9f210da092
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 05:03:35 +0800
Tag:    v1.7.0

added new capability 'moodle/course:managemetacourses'

commit 6e283151b05236a84de64bea3e41035d28efb3f2
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 05:02:31 +0800
Tag:    v1.7.0

fixed some more warnings in uploaduser.php script

commit a25200709b320386ab5124535b1170a620f9a68b
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 04:51:54 +0800
Tag:    v1.7.0

fixed warning

commit 09575480bbe53e0b714b3d5da435700cb83281a9
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 02:07:35 +0800
Tag:    v1.7.0

fixed several warnings in get_course()

commit 8743f4f3ecb6ff8b95d065b3a6d1aacf18d265c9
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 01:53:20 +0800
Tag:    v1.7.0

removed foter login link during initial phase of installation

commit d847bb32fddfa2af9d34b74d1fb05001cba48286
Author: skodak <skodak>
Date:   Mon, 18 Sep 2006 01:32:45 +0800
Tag:    v1.7.0

fixed non-working edit button on course page for teachers, added explanation comments

commit c8218a42fa066d01b773ccd05020270275571baa
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 20:11:23 +0800
Tag:    v1.7.0

Partial fix for missing deafult values in upgradesettings.php script -  MDL-6577

commit 86e2c51da8ebf728483c213bf00cdae06a4e7512
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 16:53:57 +0800
Tag:    v1.7.0

infinite loop prevention when unassigning recursively

commit 4e5f3064bfb725511c803cec0934baf26756c2c3
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 16:42:42 +0800
Tag:    v1.7.0

role assignment and unassignment now propagates to metacourses

commit 7f5bc80b78ca03f9d31be9d0ec5497c1df01e8e6
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 14:49:26 +0800
Tag:    v1.7.0

backupdata folder is no longer displayed in list of directories when setting up Directory Resource - partially related to  MDL-6280 ; and some other typo fixes; get_directory_list() no accepts also array of exluded files

commit 0d5a9a94c157288cce43b005f9df2e979391ac79
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 02:15:40 +0800
Tag:    v1.7.0

fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 ; merged from MOODLE_16_STABLE

commit de9a33f3c9e02f6d2ffb6020a3edda23b14a01b7
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 01:15:18 +0800
Tag:    v1.7.0

backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE

commit 5434bacabe9fec9a069f1dd8662eceba6beddbf4
Author: skodak <skodak>
Date:   Sun, 17 Sep 2006 01:15:18 +0800
Tag:    v1.7.0

backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE

commit 8f8ead90c7944431afbee002adf65d11a1355adf
Author: skodak <skodak>
Date:   Sat, 16 Sep 2006 20:05:31 +0800
Tag:    v1.7.0

fixed unenrol_student() - now uses roles instead of user_students table

commit 80f435af43c58688e65d3d8a41f182ebc3c3255b
Author: skodak <skodak>
Date:   Sat, 16 Sep 2006 20:02:02 +0800
Tag:    v1.7.0

fixed error message

commit 14e78692687cac0efc5d2eeb82c0f57152ad494a
Author: skodak <skodak>
Date:   Sat, 16 Sep 2006 20:01:08 +0800
Tag:    v1.7.0

fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file

commit 7b6a42f5b80114143831152ed7164d8924e94e4a
Author: skodak <skodak>
Date:   Sat, 16 Sep 2006 14:22:32 +0800
Tag:    v1.7.0

coverted deprecated get_group_students() to use legacy capability instead of user_students table

commit a05708ad612168a3f2edd5c13a45206ff036c1ff
Author: skodak <skodak>
Date:   Sat, 16 Sep 2006 13:56:51 +0800
Tag:    v1.7.0

fixed $groupidsql in get_users_by_capability()

commit c15f680424962613a7b832321504ece6ea1825b0
Author: skodak <skodak>
Date:   Wed, 13 Sep 2006 05:09:43 +0800
Tag:    v1.7.0

partially fixed group management in workshop

commit 33e7885ee06f32a492a99b7d122a995ea8d8a293
Author: skodak <skodak>
Date:   Wed, 13 Sep 2006 05:07:54 +0800
Tag:    v1.7.0

fixed group management in wiki

commit 3fde1a3d2ff1713387c2258f339002c2f8fc6641
Author: skodak <skodak>
Date:   Wed, 13 Sep 2006 04:55:58 +0800
Tag:    v1.7.0

groups assignment now works with assigned roles instead of user_students and user_teachers

commit bc202f4390c5587fcffb93aa2d2ae5bd2e6be2d6
Author: skodak <skodak>
Date:   Wed, 13 Sep 2006 04:54:21 +0800
Tag:    v1.7.0

fixed harcoded string "Select a Role"

commit be382aafb32002dba7669e8f4badd4396a54e498
Author: skodak <skodak>
Date:   Wed, 13 Sep 2006 04:03:08 +0800
Tag:    v1.7.0

get_component_string() now works for all enrollment plugins MDL-6522

commit 69eb59f28a8ad3ae43850a6930e2842035553c2e
Author: skodak <skodak>
Date:   Wed, 13 Sep 2006 03:54:33 +0800
Tag:    v1.7.0

Changed sort order in Role definition page MDL-6522

commit 244368e6433e49ec5f6c2609e0289d4090ffdbe0
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 05:24:57 +0800
Tag:    v1.7.0

fixed default values and types of requested teacher and student strings

commit 8dcc4476891132d21b26707fe3327147d8c14b36
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 05:20:47 +0800
Tag:    v1.7.0

fixed funny continue button during installation

commit 6ec7ca0f07a866af5bf7af9ef0faaa8da4f127ad
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 04:41:49 +0800
Tag:    v1.7.0

fixed handling of selected language in installer; fixed selection of session language

commit 2b156ffbf33538ddf726f0aa48f070fb4ea2ab4c
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 04:05:31 +0800
Tag:    v1.7.0

old admin block not added into frontpage during installation anymore, it is not removed  during upgrade.

commit 4da8ff666bd455e73007f16337919185dd54f49e
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 04:01:17 +0800
Tag:    v1.7.0

wiki now using new groups parameter in get_users_by_capability()

commit 5f02cb4b4462b946f62023bb57f72251405c2d95
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 03:54:11 +0800
Tag:    v1.7.0

lams conversion to new roles framework

commit 55f3a4db69315ef3900b7e32cccd86ad4f75adc1
Author: skodak <skodak>
Date:   Tue, 12 Sep 2006 02:56:41 +0800
Tag:    v1.7.0

removed useless "changes saved" messages from redirects in administration and user management

commit 3435f39bab7731e1600a0e3d422c2baa5040d2e9
Author: skodak <skodak>
Date:   Mon, 11 Sep 2006 14:47:38 +0800
Tag:    v1.7.0

validate local redirection actions in jumpto.php SC#310

commit 451d82c84067eb0648c7978a6b7c4016cd94c063
Author: skodak <skodak>
Date:   Mon, 11 Sep 2006 06:11:46 +0800
Tag:    v1.7.0

move newly created admin_tree block to the left column during upgrade from 1.6

commit d541baa141414070cfe5b8732f1adf6c44fa136e
Author: skodak <skodak>
Date:   Mon, 11 Sep 2006 06:01:39 +0800
Tag:    v1.7.0

fixed courseid typo

commit aa893d6b767bb7d674db0f70f010c2b66b1df46c
Author: skodak <skodak>
Date:   Mon, 11 Sep 2006 05:10:48 +0800
Tag:    v1.7.0

fixed several bogus errors and warnings during installation and upgrades, forced logout when upgrading from 1.6

commit e46c09873a6f7c7d0abb67e4ca57fcbddfac71e8
Author: skodak <skodak>
Date:   Mon, 11 Sep 2006 04:29:44 +0800
Tag:    v1.7.0

fixed warning during initial install when creating admin roles

commit ee3cc9951ce1cb40e1dc9a2e7f39e88ea22c596e
Author: skodak <skodak>
Date:   Mon, 11 Sep 2006 03:44:28 +0800
Tag:    v1.7.0

basic conversion of old wiki to new roles framework

commit fefea008bc7be257b3beef1070829d06c42cd2a1
Author: skodak <skodak>
Date:   Sun, 10 Sep 2006 19:15:31 +0800
Tag:    v1.7.0

fixed errors when switching dbsessions from amin gui

commit b6508d63447c12850ef34a048c8f643fce8845f8
Author: skodak <skodak>
Date:   Sun, 10 Sep 2006 19:04:17 +0800
Tag:    v1.7.0

fixed proper redirection url in login - missing trailing slash for directory

commit a13d2157f4861bf277f79c7b7601482b0b14454c
Author: skodak <skodak>
Date:   Fri, 08 Sep 2006 23:53:24 +0800
Tag:    v1.7.0

fixed wrong placement of comma

commit cbba1191edaf57cb496298297675f2568a675946
Author: skodak <skodak>
Date:   Fri, 08 Sep 2006 23:51:11 +0800
Tag:    v1.7.0

fixed typo - trailing backslash

commit 42d6be31d1e8c8902f865488020dacddefa8ab44
Author: skodak <skodak>
Date:   Fri, 08 Sep 2006 03:40:57 +0800
Tag:    v1.7.0

double redirect prevention - if both 'meta http-equiv' and javascript redirects are  used, javascript delay is 3 seconds longer to prevent accidental double redirects. The target page can still be loaded twice in case user clicks the link before the target page gets fully loaded.

commit 5d3e0e837ab46da94f2628ec8a259610458700b1
Author: skodak <skodak>
Date:   Fri, 08 Sep 2006 03:18:48 +0800
Tag:    v1.7.0

removed redirect message, because it was sometimes breaking upgrades due to double redirects

commit 43149d3a9fe4b7d19cef2190d334f0a9b1db12ff
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 19:36:00 +0800
Tag:    v1.7.0

fixed description of configprotectusernames

commit e91f3c2d6bd107c9cfce49511a59301dacd2e9ab
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 18:15:05 +0800
Tag:    v1.7.0

fixed missing if (!

commit 6a5a62b09632c45af2f4fb5a2f61a668b7842241
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 18:11:24 +0800
Tag:    v1.7.0

allow less verbose operation of forget_password.php  SC#282

commit 6b9a1fec8f488914a597091b741c4f786504fb0b
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 16:41:47 +0800
Tag:    v1.7.0

initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?)

commit c3768dfc701c39ce5dd402ba1fcbaf0b7dc268b1
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 07:59:25 +0800
Tag:    v1.7.0

testing forced conversion to proper numeric type in _adodb_column_sql() SC#259

commit c5836b7814629c2b9ed37cfbcea9dae1ede9838d
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 06:34:25 +0800
Tag:    v1.7.0

fixed typo

commit dbe7e582747ae5514cdbb84bab04b72e819db0fd
Author: skodak <skodak>
Date:   Wed, 06 Sep 2006 04:45:57 +0800
Tag:    v1.7.0

I spent 2 hours looking for this typo big grin

commit e778a40617e8461bdd218b403cb4eb953a137d49
Author: skodak <skodak>
Date:   Tue, 05 Sep 2006 16:27:14 +0800
Tag:    v1.7.0

minor include cleanup

commit 4b83ec33fee7b28ddc163576a4ef57c63e78de45
Author: skodak <skodak>
Date:   Tue, 05 Sep 2006 04:32:59 +0800
Tag:    v1.7.0

merging collisions cleanup

commit 6d574c33b4342197829d3efc63b9d2bed24a1f85
Author: skodak <skodak>
Date:   Mon, 04 Sep 2006 16:01:57 +0800
Tag:    v1.7.0

fixed missing global $USER

commit 15ad37459ad5947a5503c3e4cbda8f405f00a7ec
Author: skodak <skodak>
Date:   Mon, 04 Sep 2006 03:13:53 +0800
Tag:    v1.7.0

fixed language string

commit 64c4f9c44379b62498378988eb4f76beff761699
Author: skodak <skodak>
Date:   Mon, 04 Sep 2006 02:53:07 +0800
Tag:    v1.7.0

minor fix

commit 08c15b68d79bf9e761efcb5166214fda18b06d77
Author: skodak <skodak>
Date:   Mon, 04 Sep 2006 02:49:13 +0800
Tag:    v1.7.0

removed useless includes

commit b1631fef28a8ee83cce4391b121890b11ca599b1
Author: skodak <skodak>
Date:   Mon, 04 Sep 2006 02:37:41 +0800
Tag:    v1.7.0

add admin_tree to front page during install and upgrade

commit e9a207595cc6b951ee71b18cc2d4dd3f3d1bd6b5
Author: skodak <skodak>
Date:   Mon, 04 Sep 2006 01:46:27 +0800
Tag:    v1.7.0

allow deleting of block when original code not present

commit f21def1f11c01df1c141699f498e75ceb0a08c0c
Author: skodak <skodak>
Date:   Sun, 03 Sep 2006 23:21:46 +0800
Tag:    v1.7.0

fixed collisions in merges, sorry

commit 50999a0b942b49a64e9f828d0e6b1567477fb7a8
Author: skodak <skodak>
Date:   Sun, 03 Sep 2006 21:10:56 +0800
Tag:    v1.7.0

new admin block fixes and reorganisation - I guess we need something more traditional for now

commit 6eb4f8235750f95f863a58b79aaceb77030c91c7
Author: skodak <skodak>
Date:   Sun, 03 Sep 2006 15:29:06 +0800
Tag:    v1.7.0

fixed missing return in assign_role()

commit 7fbd539a18bafb1f62139bc8f188e564e9eca955
Author: skodak <skodak>
Date:   Sun, 03 Sep 2006 08:00:17 +0800
Tag:    v1.7.0

version bump for db upgrades

commit 02cc05a708ce229dfa5772049254ec1ea0976f1d
Author: skodak <skodak>
Date:   Sun, 03 Sep 2006 07:55:56 +0800
Tag:    v1.7.0

fixes for new admin blocks

commit 4672d9557d4c5f96c2911b0cac00ec7016cace26
Author: skodak <skodak>
Date:   Sun, 03 Sep 2006 03:30:54 +0800
Tag:    v1.7.0

added prune() to admin tree class to prevent errors in applying of backup defaults

commit e0f6e9952871e32a97cf0a30efec7e3eda572e5e
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 23:29:52 +0800
Tag:    v1.7.0

fixed frontpagesettings, install is not useing admin/site.php anymore

commit a4b473f452f9849be2fbe55eb236236a67898f58
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 23:05:27 +0800
Tag:    v1.7.0

fixed site defaults, reorganized administartion tree - new category legacy for obsoleted settings

commit e95b2c1c6dedbc2cafa885990f83b5b1ed369b01
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 21:39:27 +0800
Tag:    v1.7.0

fixed missing }

commit 6e4dc10f545a4e23705e3882f562c35a77232790
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 21:14:57 +0800
Tag:    v1.7.0

deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes

commit 86a1ba04fd1191b6494d5578aaec968d398eb93a
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 19:44:04 +0800
Tag:    v1.7.0

replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack

commit 741fee9bb024361fee6eda11cb2f6b3ba4e2fb58
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 19:26:33 +0800
Tag:    v1.7.0

more install time fixes for new admin code

commit 99c8a1004d980ba06f7241c6210db081a79a2e8f
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 19:10:10 +0800
Tag:    v1.7.0

fixed defaults for backups during installation

commit 35a518c5de4d759ca43975ed6fce41e94f61f27e
Author: skodak <skodak>
Date:   Sat, 02 Sep 2006 18:03:30 +0800
Tag:    v1.7.0

fixed admin defaults, some warnings during install and added trmporary hack to make $CFG->notloggedinroleid work

commit 441470ff034614ebfbe3d1c5ae9133f1aa399fa6
Author: skodak <skodak>
Date:   Fri, 01 Sep 2006 06:17:47 +0800
Tag:    v1.7.0

fixed problem with applying of default settings during install - choices can not be constructed yet

commit dd04ab499e1b531edd01b5def6ea542e50602864
Author: skodak <skodak>
Date:   Fri, 01 Sep 2006 05:50:22 +0800
Tag:    v1.7.0

fixed default values in apply_default_exception_settings(); several values in lib/default.php are wrong, but I guess we do not need to fix them because it as replaced by the new administration framowork wink

commit 3a25fa7286600ead8227b093e4cc3da12f3c1d75
Author: skodak <skodak>
Date:   Fri, 01 Sep 2006 05:15:12 +0800
Tag:    v1.7.0

'prefix' can only be defined in config.php, it can not be changed or stored in database wink

commit 2b531945737f40e34f10e3ff8b6f29019eb5e157
Author: skodak <skodak>
Date:   Fri, 01 Sep 2006 00:01:41 +0800
Tag:    v1.7.0

fixed riskbitmask problems, sorry sad

commit 6086e1aab2ef2c08f70ef4386934298f7ca8ea68
Author: skodak <skodak>
Date:   Thu, 31 Aug 2006 17:20:24 +0800
Tag:    v1.7.0

removing trustbitmask for now and comment from riskbitmask

commit be4486da8320c69b1b2ad54c87383efe89bd25d2
Author: skodak <skodak>
Date:   Thu, 31 Aug 2006 16:36:36 +0800
Tag:    v1.7.0

capability riskbitmasks and user trustbitmask patch #1 see MDL-6412

commit eb744c5ef76485f6451fe6f0524af333b571b0c0
Author: skodak <skodak>
Date:   Thu, 31 Aug 2006 15:45:58 +0800
Tag:    v1.7.0

redirect() now always respects delay 0 if specified + some minor changes

commit e9d5166a3e570acb996ed32f376191c84ca12337
Author: skodak <skodak>
Date:   Thu, 31 Aug 2006 00:37:52 +0800
Tag:    v1.7.0

fixed wrong type for session data field in mysql, enabled feedback when dropping old session table during upgrade

commit d78f25b8c0452ae0399c42079c1d9c09d05d0565
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 17:17:40 +0800
Tag:    v1.7.0

fixed missing semicolon typo

commit e1ecc9fbbe599e7ff7a20255425473f31af34905
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 16:51:57 +0800
Tag:    v1.7.0

imported newer PCLZIP library; added directory restriction to our own security checks

commit 849bbccfbb799e2d17f944e26fc86423a741a80d
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 16:12:11 +0800
Tag:    v1.7.0

ADODB v4.92a import

commit 61212e3f96a171ebdc0a051c10917d70a6d96367
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 16:03:12 +0800
Tag:    v1.7.0

better input validation in files/index.php SC#307

commit 02b22073b8189bc971a759cd53f2b0f9559aab41
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 15:42:42 +0800
Tag:    v1.7.0

more appropriate type for locale setting

commit 647a25661626666d1f1f9c54ca47726e1763ad34
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 06:45:54 +0800
Tag:    v1.7.0

db sessions are now using the newer session handler adodb-session2.php

commit a68f983779b6a7e5189f66512d899ece8e2beb32
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 06:06:31 +0800
Tag:    v1.7.0

fixed $zthis typo in postgres7 driver, Eloy is reporting it upstream

commit 5e0ff187c7ae6adaafcc3f59fb6018647d523d6c
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 04:38:23 +0800
Tag:    v1.7.0

better handling of anchor name in docs index SC#306

commit c0e3c8d2b2c4ef64dd43d199229cde20b5520cbd
Author: skodak <skodak>
Date:   Wed, 30 Aug 2006 04:23:17 +0800
Tag:    v1.7.0

import of new ADODB v4.92 library

commit b735d140efab4ad3363297b59e342bdaff7739ef
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 06:09:44 +0800
Tag:    v1.7.0

fixed regex typo in installer

commit 790fda7b0ede8648a48fb41e44b87dd79dc6f404
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 05:33:21 +0800
Tag:    v1.7.0

show detailed log messages only when debug is not off SC#303

commit d389b128297df72b4868d377851a7d3ac54a25a4
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 05:07:43 +0800
Tag:    v1.7.0

create safer .htaccess SC#302

commit add47d44d087d42efe90abef0fb5b29d9f12d189
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 04:54:16 +0800
Tag:    v1.7.0

check suggested dataroot in install.php SC#295

commit 57e35f328adaeae3777347f2fece059dc49853ab
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 04:11:24 +0800
Tag:    v1.7.0

basic detection of sites with misconfigured dataroot SC#295

commit bad211a3b9ca7851fcadafed9680f17112675664
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 02:46:37 +0800
Tag:    v1.7.0

enabletrusttext can not be 1 by default - it is new, not much tested and maybe even insecure feature wink

commit 635c0e0b4a186f24186e4a5c92554ec1abf2d60a
Author: skodak <skodak>
Date:   Tue, 29 Aug 2006 02:07:15 +0800
Tag:    v1.7.0

turning on the upgrade in progress check again, added skip warning link

commit f2b5d7e3b799ffa5f30fbaf55f8e6cc67ccbb61f
Author: skodak <skodak>
Date:   Mon, 28 Aug 2006 04:45:04 +0800
Tag:    v1.7.0

trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes

commit 7af25328c274584029804a4d53b8dc6c933723bb
Author: skodak <skodak>
Date:   Mon, 28 Aug 2006 02:38:16 +0800
Tag:    v1.7.0

fixed cosmetic typo - missing semicolon before closing tag

commit 9d4cb9e33b9dcbd26ace2e3d4e4729181e463388
Author: skodak <skodak>
Date:   Mon, 28 Aug 2006 02:33:37 +0800
Tag:    v1.7.0

New handwritten XMS schema for install.xml files, generator is fixed to link it too. It is not doing all the checks as XMLDB editor from contrib, but it helps to detect basic problems in general XML editors - such as the one in Eclipse wink It can serve also as basic documentation of the install.xml format.

commit 168fa2c1d198717af83f40ace599890a0ae1045f
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 16:10:03 +0800
Tag:    v1.7.0

reverting isguest() changes

commit cf8eaebb06f62ff797699a09c776b3c79c3dd359
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 03:38:32 +0800
Tag:    v1.7.0

fixed warning in glossary recent activity from deteted entries

commit b3e570450fc1cc2c08e927caa144191b0fd61b7d
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 03:19:36 +0800
Tag:    v1.7.0

removing some isteacher()s from glossary

commit 18d8a6a741c1cec7fc81a43caf0dc92cd1a7cfb3
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 02:42:56 +0800
Tag:    v1.7.0

isguest() compatible with roles

commit 907cf318210537b244b310348383329bb970346e
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 02:08:18 +0800
Tag:    v1.7.0

trusttext cleaning in glossary upgrade - definitions and comments

commit daed1a2f37582d80602502feeb6e2b5e33b78c94
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 01:39:31 +0800
Tag:    v1.7.0

minor trusttext fix

commit b8dc934baaab2a604d456cf65f127364d9ca013a
Author: skodak <skodak>
Date:   Sun, 27 Aug 2006 01:20:52 +0800
Tag:    v1.7.0

fixed table already exists problem during install and upgrade in Opera

commit 7d8a3cb06ae45ccb4d39e60c563ff712cc1dd536
Author: skodak <skodak>
Date:   Sat, 26 Aug 2006 21:00:07 +0800
Tag:    v1.7.0

trusttext:  * proposed by Martin Dougiamas  * implemented by skodak

commit 426a369bfaebadc112e353213958af595afbddd0
Author: skodak <skodak>
Date:   Sat, 26 Aug 2006 04:50:44 +0800
Tag:    v1.7.0

fixed missing continue button during upgrade when using dbsessions

commit 9425b25f46c6d789b14aa63cb16399b4ea07bf84
Author: skodak <skodak>
Date:   Sat, 26 Aug 2006 04:12:12 +0800
Tag:    v1.7.0

Many bugs and typos fixed in capabilitties and legacy isteacher()  and similar functions - not many lines changed but it was a looong coding day.

commit 51195e6f9f55256a19321bb6c24a1e42dd5685c6
Author: skodak <skodak>
Date:   Fri, 25 Aug 2006 22:15:52 +0800
Tag:    v1.7.0

fixed missing global $CONTEXT in get_context_instance()

commit a2b0c57b0a59018c309c39df4edaec38fe1015c2
Author: skodak <skodak>
Date:   Wed, 23 Aug 2006 06:25:30 +0800
Tag:    v1.7.0

debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294; merged from MOODLE_16_STABLE

commit bb5a61a1d4b3c1df2e3ed1a6861bf0997e42dcf9
Author: skodak <skodak>
Date:   Wed, 23 Aug 2006 06:22:34 +0800
Tag:    v1.7.0

reverting wrong commit, sorry sad

commit 2881101ca16363a80096e87526ad5fe627d06e40
Author: skodak <skodak>
Date:   Wed, 23 Aug 2006 06:19:58 +0800
Tag:    v1.7.0

debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294

commit 868ca14f1f1bce4a6d60a2893445c7c270145331
Author: skodak <skodak>
Date:   Wed, 23 Aug 2006 06:12:17 +0800
Tag:    v1.7.0

fixed trailing whitespace in last commit sad; merged from MOODLE_16_STABLE

commit 6be7abc72683e8efab3c71ca8c72f4f8cb20ebd8
Author: skodak <skodak>
Date:   Wed, 23 Aug 2006 06:04:06 +0800
Tag:    v1.7.0

Rewritten help.php by Tim Hunt with minor fixes - SC#292; merged from MOODLE_16_STABLE

commit a2392230a16d223cdcb611618c87f0b74a5b331c
Author: skodak <skodak>
Date:   Tue, 22 Aug 2006 04:40:07 +0800
Tag:    v1.7.0

fixed some notices in scheduled backup; merged from MOODLE_16_STABLE

commit efc7316caa886b1b93862d95329e5d14524e72cd
Author: skodak <skodak>
Date:   Mon, 21 Aug 2006 14:54:00 +0800
Tag:    v1.7.0

import of ADODB v4.91 and general cleanup, removed some unused files - see readme_moodle.txt; new session2 code needs a new table, I am going to use the new database functions for that later, for now we are using the old table and old database session code.

commit 7f5495053f214c55293d29cad5ef391b0cbb69f7
Author: skodak <skodak>
Date:   Sat, 19 Aug 2006 19:15:59 +0800
Tag:    v1.7.0

fixed short php tag and end tag in comment

commit 408965376d1606130c3b06edf1a3308c39f2b738
Author: skodak <skodak>
Date:   Fri, 18 Aug 2006 08:01:37 +0800
Tag:    v1.7.0

still more upgrade logging fixes

commit 26c91c7394a89a3a4fd61e6e56255b5a94ecdf19
Author: skodak <skodak>
Date:   Fri, 18 Aug 2006 07:50:18 +0800
Tag:    v1.7.0

major upgrade logging speed improvement - write buffer implemented

commit 7949356d64f71f7f51a38bb45a69dcfc7d48fa9d
Author: skodak <skodak>
Date:   Fri, 18 Aug 2006 06:49:21 +0800
Tag:    v1.7.0

fixed missing '}'

commit dedb2304cda8154cf0cc4e06087557613923bbf8
Author: skodak <skodak>
Date:   Fri, 18 Aug 2006 06:37:34 +0800
Tag:    v1.7.0

upgrade logging cleanup, fixes  - more improvements ahead

commit 031c8ae5a058d6f3cee72e7192ad2b4cc1fe3547
Author: skodak <skodak>
Date:   Fri, 18 Aug 2006 05:34:39 +0800
Tag:    v1.7.0

Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE

commit 284ac702109a080275f10a44e8381e7ce7f474f7
Author: skodak <skodak>
Date:   Tue, 15 Aug 2006 04:57:18 +0800
Tag:    v1.7.0

$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged from MOODLE_16_STABLE

commit 508d4a0d14a87c2dda7ccaeba90b56c8d5d0552b
Author: skodak <skodak>
Date:   Tue, 15 Aug 2006 04:08:52 +0800
Tag:    v1.7.0

adding proper checks that the requested help file exists SC#292; merged from MOODLE_16_STABLE

commit 795821c497e2ba06ee820b4277ab519b6f4ffce9
Author: skodak <skodak>
Date:   Mon, 14 Aug 2006 16:54:45 +0800
Tag:    v1.7.0

fixed warning in participants block

commit 4c460d98218a174bb3101f48fc87e69750aa9b4c
Author: skodak <skodak>
Date:   Mon, 14 Aug 2006 16:52:15 +0800
Tag:    v1.7.0

fixed admin page layout

commit b367b152ad108313dc066a43e6e42a83989acc8d
Author: skodak <skodak>
Date:   Mon, 14 Aug 2006 16:44:30 +0800
Tag:    v1.7.0

fixed warning during installation when creating admin account

commit 8549af11d1d8cdb86ead5093fe8423022a981b9c
Author: skodak <skodak>
Date:   Mon, 14 Aug 2006 16:37:19 +0800
Tag:    v1.7.0

fixed upgrade success notification, backup and blocks success messages are not red anymore...

commit 9fecfdfb832c7a936f6f0841fd4e53e14e376e13
Author: skodak <skodak>
Date:   Mon, 14 Aug 2006 15:46:03 +0800
Tag:    v1.7.0

Bug #6245 - rewritten multilang filter

commit 33851b5c16c8c89a33cf9411f8dc62afb962ec9c
Author: skodak <skodak>
Date:   Mon, 14 Aug 2006 14:24:34 +0800
Tag:    v1.7.0

prevent access to filters when disabled in filter settings SC#291; merged from MOODLE_16_STABLE

commit b8a607d691bd0425881f154e834a6f69dd0e61b2
Author: skodak <skodak>
Date:   Sat, 12 Aug 2006 20:44:19 +0800
Tag:    v1.7.0

fixed format_text caching - now respects text format, current language and course id (lang fix is needed for my multilang filter rewrite wink; merged from MOODLE_16_STABLE

commit 805f61dd6c1b21ce9d6c45612a916656e74aa9d8
Author: skodak <skodak>
Date:   Thu, 10 Aug 2006 04:40:31 +0800
Tag:    v1.7.0

obfuscation of the email addresses; merged from MOODLE_16_STABLE SC#282

commit 8fd62c6401a957ad98d25f009ffcd26de7886ee4
Author: skodak <skodak>
Date:   Thu, 10 Aug 2006 03:46:32 +0800
Tag:    v1.7.0

Bug #6199 - A typo in edit.php; merged from MOODLE_16_STABLE

commit 016ffbd752afcfbf5265d3f1334b35d548a17f62
Author: skodak <skodak>
Date:   Thu, 10 Aug 2006 03:31:09 +0800
Tag:    v1.7.0

Bug #4936 - Highlighting a question text fragment with different color; merged from MOODLE_16_STABLE

commit c853b39f502a6c77a69d122ca9c787b56d275fff
Author: skodak <skodak>
Date:   Thu, 10 Aug 2006 02:36:54 +0800
Tag:    v1.7.0

Bug #6225 - Moodle bug #4658 Breaks assignment type: Upload Single; merged from MOODLE_16_STABLE

commit 563e64e3dec65f41a2c323431d4dd6d0a7f431f0
Author: skodak <skodak>
Date:   Wed, 09 Aug 2006 17:37:01 +0800
Tag:    v1.7.0

Bug #6106 - HTML editor inserting unwanted hard return between images; merged from MOODLE_16_STABLE

commit f9d5371b2835b84d988b05d9e02c1963af4eb81f
Author: skodak <skodak>
Date:   Wed, 09 Aug 2006 06:09:55 +0800
Tag:    v1.7.0

new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283

commit 3e46c6ec5a6776991976f11d66ac07e4d6dd7009
Author: skodak <skodak>
Date:   Mon, 07 Aug 2006 22:53:53 +0800
Tag:    v1.7.0

Swf now disabled by default in Mediaplugin and added explanation SC#284; merged from MOODLE_16_STABLE

commit 2c93e66a4c14e4b41d5b6999ac472279dbe47dde
Author: skodak <skodak>
Date:   Fri, 04 Aug 2006 03:19:23 +0800
Tag:    v1.7.0

merging forgotten changes from MOODLE_16_STABLE; sorry for the breakage wink

commit df77b427d58ff43d947a41471e8e1c2ed5a599b7
Author: skodak <skodak>
Date:   Thu, 03 Aug 2006 03:40:58 +0800
Tag:    v1.7.0

check_dir_exists() has new recursive parameter - it should help clean up the restore code a bit and could be handy elsewhere too; tested in both linux and windoze

commit 9e72ebd6782398505a7c51695ecf8166cb703279
Author: skodak <skodak>
Date:   Wed, 02 Aug 2006 02:02:42 +0800
Tag:    v1.7.0

improved redirect() - faster and more standards compliant

commit 583fad994c59e8e58eb096ad7e89f7f3544a89a7
Author: skodak <skodak>
Date:   Tue, 01 Aug 2006 15:46:19 +0800
Tag:    v1.7.0

Bug #5352 - upgrade might be interrupted by user - upgrades are now logged into moddata/upgradelogs/, user abor is ignored and concurrent running of upgrades is prevented from one browser

commit bfc38bb2eb1a41808007656b7c05dbddc4549e8b
Author: skodak <skodak>
Date:   Tue, 01 Aug 2006 02:21:42 +0800
Tag:    v1.7.0

merging changes from MOODLE_16_STABLE

commit a8ff58dd2c85ecf140f1cf3374215800e9c2b070
Author: skodak <skodak>
Date:   Tue, 01 Aug 2006 02:10:02 +0800
Tag:    v1.7.0

merging changes from MOODLE_16_STABLE

commit 889e6b46f48e0d63bf016befdc08cedf6bd97b20
Author: skodak <skodak>
Date:   Tue, 01 Aug 2006 02:04:10 +0800
Tag:    v1.7.0

Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x

commit 365525fc51146c722d12392f674304d4001e366a
Author: skodak <skodak>
Date:   Tue, 01 Aug 2006 01:54:32 +0800
Tag:    v1.7.0

Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x

commit 3ea3763a18e74b19237c36a3d270d73aba86ce47
Author: skodak <skodak>
Date:   Mon, 31 Jul 2006 18:28:12 +0800
Tag:    v1.7.0

Bug #6146 - Smiley popup can not be translated; merged from MOODLE_16_STABLE

commit 1322b7199a25e392d9ead383028b9b9a3735680a
Author: skodak <skodak>
Date:   Mon, 31 Jul 2006 18:05:23 +0800
Tag:    v1.7.0

fixed warning when no referer available; merged from MOODLE_16_STABLE

commit d1a66080d541ae071e13059aff808049636c0e6b
Author: skodak <skodak>
Date:   Mon, 31 Jul 2006 17:18:52 +0800
Tag:    v1.7.0

Bug #6168 - missing link for course request - fixed; merged from MOODLE_16_STABLE

commit 3d05094553d259bf1058c2b0166233675c5f4e9a
Author: skodak <skodak>
Date:   Mon, 31 Jul 2006 06:44:50 +0800
Tag:    v1.7.0

SC #280 force downloading of database files; merged from MOODLE_16_STABLE

commit 95d5682927d2ab2a90ffd9be6b8e24c14cd0e0dc
Author: skodak <skodak>
Date:   Mon, 31 Jul 2006 06:22:22 +0800
Tag:    v1.7.0

Bug #6170 - Glossary bug: it displays nothing when autolinking to non-ascii text and other minor cleanup; merged from MOODLE_16_STABLE

commit 36259d1bd37c7e3a8acb5cc25804924f8792aaf7
Author: skodak <skodak>
Date:   Mon, 31 Jul 2006 05:47:43 +0800
Tag:    v1.7.0

Bug #6135 - Reduce unnecessary use of strtolower to make non-English languages look better; merged from MOODLE_16_STABLE

commit be933850a76df2f8a253511aebbda1633555226e
Author: skodak <skodak>
Date:   Sun, 30 Jul 2006 18:39:21 +0800
Tag:    v1.7.0

Bug #6176 - locale setting on config variables page not functioning correctly; merged from MOODLE_16_STABLE

commit e9515eb3eceefbd2b162954cde2816321f2e4e29
Author: skodak <skodak>
Date:   Sat, 29 Jul 2006 17:44:33 +0800
Tag:    v1.7.0

Bug #6181 - icelandic doesn't migrate; merged from MOODLE_16_STABLE

commit 592c30370c7a9812a91afa8b91cbc6b3156b1e1b
Author: skodak <skodak>
Date:   Sat, 29 Jul 2006 17:08:56 +0800
Tag:    v1.7.0

Bug #6184 - unexpected T_OBJECT_OPERATOR on Admin/blocks; PHP 4.x compatibility

commit f4f6599085b4be40664d0ce91b2bbc7d1a7525c3
Author: skodak <skodak>
Date:   Sat, 29 Jul 2006 04:57:19 +0800
Tag:    v1.7.0

Bug #6183 - typo in clean_param() description; merged from MOODLE_16_STABLE

commit 0e29ee3af7ef349578cdfd26349d2a2d337a46ca
Author: skodak <skodak>
Date:   Thu, 27 Jul 2006 19:49:52 +0800
Tag:    v1.7.0

Fixed Call to undefined function: print_progress() in /usr/share/moodle/admin/upgradeforumread.php; merged from MOODLE_16_STABLE

commit b245d2e70787aeb105bc7f45e5ea3b555a919005
Author: skodak <skodak>
Date:   Mon, 24 Jul 2006 18:33:34 +0800
Tag:    v1.7.0

Bug #6159 Site settings interface typo - Combo list - my first commit form UK MoodleMoot smile; merged from MOODLE_16_STABLE

commit 57ea9c8fff9a938f3d0894f69595881a2210efc1
Author: skodak <skodak>
Date:   Thu, 20 Jul 2006 14:54:44 +0800
Tag:    v1.7.0

fixed minor PHP5 compatibility problem with clone(); merged from MOODLE_16_STABLE

commit 249ab7457391ac3a555b31745593cbb754e22a52
Author: skodak <skodak>
Date:   Thu, 20 Jul 2006 14:39:48 +0800
Tag:    v1.7.0

Bug #6075 - file admin/index.php is ISO encoded - headers broken by ob_end_flush(), fixed version check; merged from MOODLE_16_STABLE

commit 5e60122254be7ff1a58b39da9c78352e02ed9a43
Author: skodak <skodak>
Date:   Thu, 20 Jul 2006 14:36:33 +0800
Tag:    v1.7.0

Bug #6141 - Cron output is not plain text - <pre> and missing encoding, minor lang issues; merged from MOODLE_16_STABLE

commit 250f78be945efa997f8d315bed1edd82b2d2a2a1
Author: skodak <skodak>
Date:   Thu, 20 Jul 2006 14:32:38 +0800
Tag:    v1.7.0

Bug #6097 - HTML editor and brackets - fixes lesson problems; merged from MOODLE_16_STABLE

commit 5337b2b727738315380695b0524febe103adca7b
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 21:59:06 +0800
Tag:    v1.7.0

yet another fix for course list for guests; merged from MOODLE_16_STABLE

commit d35d50bf94ad2c72ce8a00ef8de994625b092f0c
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 21:45:13 +0800
Tag:    v1.7.0

fixed course list for guests; merged from MOODLE_16_STABLE

commit fe2920ad54f91eac6885f326fbe4b9acfebff5ec
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 21:37:09 +0800
Tag:    v1.7.0

admin should not see list of courses on the frontpage when there are too many of them; merged from MOODLE_16_STABLE

commit d157bd5b28572e58a6434d715102fc87cce8ede6
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 21:16:57 +0800
Tag:    v1.7.0

fixed course/index.php category display affected by previous commit - improved category and course list display on front page; merged from MOODLE_16_STABLE

commit 1bc6fc82b64af3ed84710806532ac9c37fd7f73a
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 20:52:06 +0800
Tag:    v1.7.0

section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE

commit a987106d9ed2cd7bbf20b2253b35faaa6c3ba29a
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 20:30:39 +0800
Tag:    v1.7.0

Bug #6093 - Removed course sections re-appear after moving existing sections; merged from MOODLE_16_STABLE

commit 6f24e48e1f330591795810dceb959de5c365f05b
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 20:10:07 +0800
Tag:    v1.7.0

Improved category and course list display on front page- see bug Bug #5965 - Frontpage Category List also showing courses; new Combo List(categories + courses), fixed categories list and separate settings for not logged in / logged in users; merged from MOODLE_16_STABLE

commit ad0f9c828e613e360f9ef2ba3e3dd80000e7d383
Author: skodak <skodak>
Date:   Wed, 19 Jul 2006 16:13:25 +0800
Tag:    v1.7.0

Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE

commit f90238b303eefd6c6b39e3f6a4889f6cff92fc7c
Author: skodak <skodak>
Date:   Tue, 18 Jul 2006 15:17:13 +0800
Tag:    v1.7.0

Bug #2149 - admin/creators.html javascript error; merged from MOODLE_16_STABLE

commit 8332de167d6f7d9bd3ab427d49b043781a35a6e2
Author: skodak <skodak>
Date:   Tue, 18 Jul 2006 14:43:29 +0800
Tag:    v1.7.0

Bug #6134 - error of coding, in function grade_download_form(); merged from MOODLE_16_STABLE

commit 2d4fb02fa2fe7e0d9e8695f1741bde55f9bbd740
Author: skodak <skodak>
Date:   Tue, 18 Jul 2006 05:08:01 +0800
Tag:    v1.7.0

Bug #1395 - Calandar view.php should respect forcelogin; merged from MOODLE_16_STABLE

commit 1b4035b074f72b371e50c92e4990d86b95aa84b1
Author: skodak <skodak>
Date:   Mon, 17 Jul 2006 21:35:05 +0800
Tag:    v1.7.0

Bug #6129 - Incorrect glossary import file size limit; merged from MOODLE_16_STABLE

commit 43d774a94fe4e20665bad1299165b9ed9a50b96d
Author: skodak <skodak>
Date:   Mon, 17 Jul 2006 16:39:36 +0800
Tag:    v1.7.0

Bug #6120 - Course creation - loginproblem; merged from MOODLE_16_STABLE

commit 639835274cb9fc412e639eb4f2ec398b6f88be6c
Author: skodak <skodak>
Date:   Mon, 17 Jul 2006 15:31:22 +0800
Tag:    v1.7.0

workaround by Dan for bug #6130, fixed some warnings; merged from MOODLE_16_STABLE

commit 3984a1858935a723fcbddf8e44ae149d4a142e49
Author: skodak <skodak>
Date:   Sat, 15 Jul 2006 05:05:14 +0800
Tag:    v1.7.0

Bug #6080 - Loancalc block doesn't define a footer string; merged from MOODLE_16_STABLE

commit e25f766dee6740286425b2af804c66e8606abb12
Author: skodak <skodak>
Date:   Sat, 15 Jul 2006 04:57:08 +0800
Tag:    v1.7.0

todo: add detection of incorrect chars in wwwroot; merged from MOODLE_16_STABLE

commit 15a6cf334fd3268f40dea55c8138ade33d13717f
Author: skodak <skodak>
Date:   Thu, 13 Jul 2006 23:38:03 +0800
Tag:    v1.7.0

Bug #6099 - Restore alternatively failing on data module - fixed status codes of module restore process; merged from MOODLE_16_STABLE

commit afda6b56813a3503dda94606ca559ceef1237bf6
Author: skodak <skodak>
Date:   Thu, 13 Jul 2006 04:29:18 +0800
Tag:    v1.7.0

Bug #6087 - alphabetic problem in glossary; merged from MOODLE_16_STABLE

commit 18478666caa1b2d418ca04d9e18cc7c31e834d6a
Author: skodak <skodak>
Date:   Wed, 12 Jul 2006 13:57:28 +0800
Tag:    v1.7.0

fixed printing of filenames from zip archives - SC#273; merged from MOODLE_16_STABLE

commit 496d06443a9c639ca40ce7524638fd31ce01ba78
Author: skodak <skodak>
Date:   Tue, 11 Jul 2006 21:19:52 +0800
Tag:    v1.7.0

better cleaning of $file parameter SC#276; merged from MOODLE_16_STABLE

commit b2ec10959a0f039990b71d3382c379a8f0c58a9e
Author: skodak <skodak>
Date:   Tue, 11 Jul 2006 21:02:42 +0800
Tag:    v1.7.0

workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE

commit 4e060ab972673300a4082fd359e8626721afdfda
Author: skodak <skodak>
Date:   Tue, 11 Jul 2006 18:01:33 +0800
Tag:    v1.7.0

Bug #6067 - The restore process behaves differently depending on which module contains the absolute links; merged from MOODLE_16_STABLE

commit 5109569b6973f71607332a22bfee8294998750c7
Author: skodak <skodak>
Date:   Tue, 11 Jul 2006 06:39:58 +0800
Tag:    v1.7.0

Bug #5988 - Branch Tables in 1.6+ (Lesson Module); merged from MOODLE_16_STABLE

commit 46341ab7101d75e2ac75df53f9edf0ace3d0c69e
Author: skodak <skodak>
Date:   Tue, 11 Jul 2006 05:52:12 +0800
Tag:    v1.7.0

Bug #5732 - Lesson Scores &quot;out of XX&quot; marks report incorrect mark; merged from MOODLE_16_STABLE

commit 81b0eec8941dee61fedabd47fd750a0906168448
Author: skodak <skodak>
Date:   Sat, 08 Jul 2006 03:54:22 +0800
Tag:    v1.7.0

Bug #6050 - import glossary entries to new glossary not creating new glossary; merged from MOODLE_16_STABLE

commit 2af7f6e266ebe23ee4e87312626cf13014ab6651
Author: skodak <skodak>
Date:   Fri, 07 Jul 2006 05:27:00 +0800
Tag:    v1.7.0

fixed warning in glossary export, merged from MOODLE_16_STABLE

commit 10ab3efc35592ee7cde0af207ea944d5bf8d438e
Author: skodak <skodak>
Date:   Thu, 06 Jul 2006 23:53:46 +0800
Tag:    v1.7.0

Bug #5820 - IE returns unsecure items with SSL on login; merged from MOODLE_16_STABLE

commit 2cc14e87d33debe44b07cf285c45d0faee6e257b
Author: skodak <skodak>
Date:   Thu, 06 Jul 2006 18:11:06 +0800
Tag:    v1.7.0

Bug #4698 - Login block is broken!, improved cookie test; merged from MOODLE_16_STABLE

commit 84a9db331f8642a22468b6a03afe140c9962fd7e
Author: skodak <skodak>
Date:   Thu, 06 Jul 2006 18:01:12 +0800
Tag:    v1.7.0

Bug #5921 - editing forum post bug; merged from MOODLE_16_STABLE

commit 246444b97516e222cf271327e27e08dbf206e7a7
Author: skodak <skodak>
Date:   Thu, 06 Jul 2006 17:47:48 +0800
Tag:    v1.7.0

Bug #5615 - Assigment listing shows duplicate names with paged display; merged from MOODLE_16_STABLE

commit 8a91d7fcf3a5cacfbf7e37ffc9e8fe8fe6620c35
Author: skodak <skodak>
Date:   Wed, 05 Jul 2006 16:38:34 +0800
Tag:    v1.7.0

changed memory limit test in healthcenter; merged from MOODLE_16_STABLE

commit 9bbb40d631530ae6a8a1633e234b7d42deb63779
Author: skodak <skodak>
Date:   Wed, 05 Jul 2006 15:44:20 +0800
Tag:    v1.7.0

healthcenter fixes - new extra whitespace detection, fixed automatic slasharguments detection; merged from MOODLE_16_STABLE

commit aedbbbcf9c5d4810ba899039fee4c03652c33a4a
Author: skodak <skodak>
Date:   Tue, 04 Jul 2006 17:41:47 +0800
Tag:    v1.7.0

fix for mysqladmin links; merged from MOODLE_16_STABLE

commit bc1544bfc73d22b39ba52d80062b25d5f89ccce0
Author: skodak <skodak>
Date:   Tue, 04 Jul 2006 16:32:05 +0800
Tag:    v1.7.0

Bug #5909 - Fix use of user_group() because it returns arrays now - part 2 forum search fixed too; merged from MOODLE_16_STABLE

commit 06622f92fcbf7a799c24c3451d5ef2f10e0b7f6c
Author: skodak <skodak>
Date:   Tue, 04 Jul 2006 14:05:25 +0800
Tag:    v1.7.0

fixed $site->id warning; merged from MOODLE_16_STABLE

commit 81e10e950d66d18346161b38bcf27b60159dfa96
Author: skodak <skodak>
Date:   Tue, 04 Jul 2006 13:27:18 +0800
Tag:    v1.7.0

Bug #6007 - &quot;The requested URL /course/report/log/view.php was not found on this server&quot; merged from MOODLE_16_STABLE

commit f262874bbece8f970f5077bbbb5bf6754b15304d
Author: skodak <skodak>
Date:   Tue, 04 Jul 2006 05:11:17 +0800
Tag:    v1.7.0

Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE

commit 13d32e22979f6fab7d6f6e825cee09cd0b808019
Author: skodak <skodak>
Date:   Mon, 03 Jul 2006 23:43:41 +0800
Tag:    v1.7.0

Bug #5974 - Course overview report should not error when stats are not up to date; fixed by changing the return value from stats_check_uptodate(), NULL is now OK, string value describes error and adding notify() where needed; merged from MOODLE_16_STABLE

commit d61989033ff1c3fafa8e23faf43a56c02c1cfb91
Author: skodak <skodak>
Date:   Mon, 03 Jul 2006 17:10:12 +0800
Tag:    v1.7.0

Bug #5991 - The calendar does not show the month's first day's event; merged from MOODLE_16_STABLE

commit 7eb60c262a2aa4100cb6a3fe0b407204e94aa703
Author: skodak <skodak>
Date:   Mon, 03 Jul 2006 15:21:20 +0800
Tag:    v1.7.0

Bug #5995 - poor English in expiry notice; merged from MOODLE_16_STABLE

commit dbfa9ccd8d461cf02f3891b229faf8a79437c0ff
Author: skodak <skodak>
Date:   Mon, 03 Jul 2006 14:26:38 +0800
Tag:    v1.7.0

Bug #5996 - block+resource=problem; merged from MOODLE_16_STABLE

commit 6544f8d896e92561ff7c917ed045e8b79050235e
Author: skodak <skodak>
Date:   Fri, 30 Jun 2006 21:46:25 +0800
Tag:    v1.7.0

slashargument fix for healthcenter, better diagnostic messages; renamed file.php/pic.jpg option to file.php/1/pic.jpg because the course number is mandatory; merged from MOODLE_16_STABLE

commit 629c25da67770b0bc09f15eccc2b3139102561a0
Author: skodak <skodak>
Date:   Fri, 30 Jun 2006 21:06:31 +0800
Tag:    v1.7.0

cleanup in admin/index.php; preparation for health center, loginas gui, password salts; merged from MOODLE_16_STABLE

commit 79b37009fccccab910aa26759f0e3a38d838e478
Author: skodak <skodak>
Date:   Fri, 30 Jun 2006 19:56:37 +0800
Tag:    v1.7.0

fixed // in course root when browsing files; merged from MOODLE_16_STABLE

commit 06cfc6db5887e8ef4b664cfc138730ed9689cfba
Author: skodak <skodak>
Date:   Fri, 30 Jun 2006 15:36:06 +0800
Tag:    v1.7.0

Bug #5961 - small grammar error; merged from MOODLE_16_STABLE

commit aba588a72635d8da9f6789052daed62e60ca6702
Author: skodak <skodak>
Date:   Fri, 30 Jun 2006 15:23:08 +0800
Tag:    v1.7.0

Bug #5802 - Incorrect length in http partial content (206) packets.; merged from MOODLE_16_STABLE

commit 9c1cd39de57d1316d52d07a1892c374332165419
Author: skodak <skodak>
Date:   Fri, 30 Jun 2006 05:22:16 +0800
Tag:    v1.7.0

Bug #5937 - Fix nonascii chars in graphs:  * text is converted to unicode - no html entities anymore  * then all nonascii chars are converted to decimal number entites  * default.ttf is searched in dataroot/lang and local language packs too  * removed lang_decode() - obsoleded by proper entity converison above  * updated documentation in lang/en_utf8/fonts/README.txt

commit 895a45e2318352fb0a346355f4e1660a615cdd4a
Author: skodak <skodak>
Date:   Thu, 29 Jun 2006 16:01:48 +0800
Tag:    v1.7.0

Bug #5944 - error message when moving thread; merged from MOODLE_16_STABLE

commit 8b23c04a129e198160e95805c6c2a99e4171899c
Author: skodak <skodak>
Date:   Thu, 29 Jun 2006 15:20:37 +0800
Tag:    v1.7.0

Bug #5952 - bad links in &quot;about wysiwyg editor&quot; merged from MOODLE_16_STABLE

commit 4630e4e483c15c3777917f29afb46ac519822716
Author: skodak <skodak>
Date:   Thu, 29 Jun 2006 15:05:00 +0800
Tag:    v1.7.0

Bug #5953 - problem in /auth/ldap/lib.php; merged from MOODLE_16_STABLE

commit eb073d70ad3d6455dcef309d6efeeeee7cc34c57
Author: skodak <skodak>
Date:   Thu, 29 Jun 2006 15:00:27 +0800
Tag:    v1.7.0

Bug #5955 - link to help item for html editor looks funny; merged from MOODLE_16_STABLE

commit 62ce993db3757751c1c3ac2607441aa969a2b794
Author: skodak <skodak>
Date:   Thu, 29 Jun 2006 14:53:53 +0800
Tag:    v1.7.0

Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE

commit 036c0fcb1a97a0087c9e3df1046fdb7aa2369f8a
Author: skodak <skodak>
Date:   Thu, 29 Jun 2006 14:48:31 +0800
Tag:    v1.7.0

Bug #5960 - can't delete or edit comments; merged from MOODLE_16_STABLE

commit d6e1bd80921511bd9e9c86b4d5273eb781b6a9e5
Author: skodak <skodak>
Date:   Wed, 28 Jun 2006 23:38:04 +0800
Tag:    v1.7.0

Bug #5941 - Myriad of problems with Paypal enrollmemts, part 3 - fixed 'login as student' button, now plain guest login action; merged from MOODLE_16_STABLE

commit e87fe61524e2ab9cb7d12283bc5a0908149ee7a1
Author: skodak <skodak>
Date:   Wed, 28 Jun 2006 23:26:31 +0800
Tag:    v1.7.0

Bug #5941 - Myriad of problems with Paypal enrollmemts, part 2 - Login as guest not shown to guests and there is login link instead of paypal button for guests; merged from MOODLE_16_STABLE

commit 7c24284126aaf20120ae8d81e7562bb7fa521494
Author: skodak <skodak>
Date:   Wed, 28 Jun 2006 22:58:30 +0800
Tag:    v1.7.0

minor loginas cleanup; merged from MOODLE_16_STABLE

commit 44adc9032b97f0636423f085c11572db2c7ea248
Author: skodak <skodak>
Date:   Wed, 28 Jun 2006 20:45:28 +0800
Tag:    v1.7.0

Bug #5941 - Myriad of problems with Paypal enrollmemts, part 1; merged from MOODLE_16_STABLE

commit 43f06aa027ef486f475ed16ea5c43243ac4bd142
Author: skodak <skodak>
Date:   Tue, 27 Jun 2006 05:58:35 +0800
Tag:    v1.7.0

Bug #5927 - extending enrollments doesn't; merged from MOODLE_16_STABLE

commit a251b765476eca2811f9016ace9c0411eefa6632
Author: skodak <skodak>
Date:   Tue, 27 Jun 2006 05:35:05 +0800
Tag:    v1.7.0

Bug #5931 - blocks block database; merged from MOODLE_16_STABLE

commit b3d4840d396c68d399e2a22a320ba5ebe1ffe1d2
Author: skodak <skodak>
Date:   Tue, 27 Jun 2006 00:16:43 +0800
Tag:    v1.7.0

assignments on mymoodle page, Bug #5839 - Found more than one record in get_record_sql !; merged from MOODLE_16_STABLE

commit 6865c1ff896c6d5dd7bc6067e0c0bf0663b35f96
Author: skodak <skodak>
Date:   Mon, 26 Jun 2006 21:49:03 +0800
Tag:    v1.7.0

fixed broken stats image link, Bug #5924 - User profile statistics tab; merged from MOODLE_16_STABLE

commit 77cf4951b7d245fac9991f3c38f673920c1d0110
Author: skodak <skodak>
Date:   Mon, 26 Jun 2006 15:23:10 +0800
Tag:    v1.7.0

fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks; merged from MOODLE_16_STABLE

commit 9ef80fa4aaef98cf87de283c3759be75cfe7a05e
Author: skodak <skodak>
Date:   Thu, 08 Jun 2006 14:39:14 +0800
Tag:    v1.7.0

Bug #5663 - errors after changing grade weight; merged from MOODLE_16_STABLE

commit f2fe353f2ba64e4fdefb953a078d2a0ae5dcaf8b
Author: skodak <skodak>
Date:   Thu, 08 Jun 2006 14:25:05 +0800
Tag:    v1.7.0

Fixed course searching; merged from MOODLE_16_STABLE

commit e7251cdd218e69ef2d8e6a8014aa10717db733f5
Author: skodak <skodak>
Date:   Wed, 07 Jun 2006 22:57:26 +0800
Tag:    v1.7.0

Bug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE

commit c2f3feed173a467d6fceee07185a0e319c7c7b2d
Author: skodak <skodak>
Date:   Wed, 07 Jun 2006 22:05:44 +0800
Tag:    v1.7.0

incorrect course number in categories after course delete; merged from MOODLE_16_STABLE

commit d12cb320b3e1de60cac3e5ad4955a688540e1158
Author: skodak <skodak>
Date:   Wed, 07 Jun 2006 04:55:25 +0800
Tag:    v1.7.0

Bug #5659 - Problem with build-in buttons when creating templates; merged from MOODLE_16_STABLE

commit 332fbc302793d959c177d59fc2e067c76d1b2e97
Author: skodak <skodak>
Date:   Wed, 07 Jun 2006 03:01:46 +0800
Tag:    v1.7.0

Bug #5734 - Enrolled students can't access metacourse after unhiding while logged in; merged from MODOLE_16_STABLE

commit 3cdd4eeba039bbee8f29a1178a6e9310f6940d77
Author: skodak <skodak>
Date:   Tue, 06 Jun 2006 23:12:51 +0800
Tag:    v1.7.0

Bug #5535 - Database module backup error in 1.5.4, patch submitted by Patrick Pollet ; merged from MOODLE_16_STABLE

commit 002ccfc7a044484cbe39726df6bc12183b1fb7d0
Author: skodak <skodak>
Date:   Tue, 06 Jun 2006 18:17:18 +0800
Tag:    v1.7.0

Bug #5678 - Question marks, single quotes in field name cause trouble - cleaning hack ported from clean_filename(); merged from MOODLE_16_STABLE

commit f9e5457f16f9c89a3bf7252cab30e48ef4be16f2
Author: skodak <skodak>
Date:   Tue, 06 Jun 2006 17:35:15 +0800
Tag:    v1.7.0

Bug #5680 - Fixed duplicate field names; merged from MOODLE_16_STABLE

commit f0e52f67df4b688f37d1862be73ebb3bafadc4ed
Author: skodak <skodak>
Date:   Tue, 06 Jun 2006 16:53:54 +0800
Tag:    v1.7.0

Bug #5444 - Import PowerPoint - PHP5 clone bug; merged from MOODLE_16_STABLE

commit 989a0a5203fa2875f3a071cbb5eae14f76ff765b
Author: skodak <skodak>
Date:   Mon, 05 Jun 2006 20:18:13 +0800
Tag:    v1.7.0

Bug #5725 - Assignment grading pop up windows do not close, broken by 4976; merged from MOODLE_16_STABLE

commit e369e0c4b43272c0ee5450fe375024539bc342c3
Author: skodak <skodak>
Date:   Mon, 05 Jun 2006 07:11:18 +0800
Tag:    v1.7.0

Bug #5715 - error message in messaging - notice lastaccess; merged from MOODLE_16_STABLE

commit fce786b146f026c08f7f17510738f671b06e3541
Author: skodak <skodak>
Date:   Mon, 05 Jun 2006 07:01:13 +0800
Tag:    v1.7.0

Bug #5721 - students cannot take quiz when course language set to French; merged from MOODLE_16_STABLE

commit d971525f285d5cffb7cdaaa158da18eb2b47fb7a
Author: skodak <skodak>
Date:   Mon, 05 Jun 2006 05:35:26 +0800
Tag:    v1.7.0

fixed warning when no students graded yet (caused by useless assignment); merged from MOODLE_16_STABLE

commit 7e4fe1760009ad3ba9a3ee99a8f85fae82f77bb9
Author: skodak <skodak>
Date:   Mon, 05 Jun 2006 05:11:04 +0800
Tag:    v1.7.0

merged last two commints into MOODLE_16_STABLE

commit 32625a72f43f7a754e56fc259ac06900315a63e2
Author: skodak <skodak>
Date:   Mon, 05 Jun 2006 04:57:35 +0800
Tag:    v1.7.0

merged fixes from MOODLE_16_STABLE

commit f4f0bc84cb1c1a54181f3e6a42091d9aa6ec2bad
Author: skodak <skodak>
Date:   Sun, 04 Jun 2006 07:49:15 +0800
Tag:    v1.7.0

Bug #5716 - Impossible to turn off highlighted current topic; merged from MOODLE_16_STABLE

commit eddb24ed207a8493e2aab6189e2bcceed4645984
Author: skodak <skodak>
Date:   Sun, 04 Jun 2006 03:58:29 +0800
Tag:    v1.7.0

clarification for restrict modules option - bug #5688; merged from MOODLE_16_STABLE

commit 75d9b88f3d33e7270f02bada57ba64b903b9f201
Author: skodak <skodak>
Date:   Sat, 03 Jun 2006 01:00:22 +0800
Tag:    v1.7.0

merged another try to fix IR from MOODEL_16_STABLE

commit 08cbf449fe2faa210232f63835e76b710fd0bbe5
Author: skodak <skodak>
Date:   Sat, 03 Jun 2006 00:55:27 +0800
Tag:    v1.7.0

merged typo fix from MOODLE_16_STABLE

commit 6d7ef1f2c3fceba5cc087702baf5ec115527ed3e
Author: skodak <skodak>
Date:   Sat, 03 Jun 2006 00:53:17 +0800
Tag:    v1.7.0

merged Martins warning patch from MOODLE_16_STABLE

commit 115938af04a3c1818a02a664c7eb7eb02ffa40e0
Author: skodak <skodak>
Date:   Sat, 03 Jun 2006 00:46:39 +0800
Tag:    v1.7.0

fixed whitespace and merged whitespace fixes from MOODLE_16_STABLE

commit 14dfa05958b6310326f56a6cdbfbbcbbc82995ff
Author: skodak <skodak>
Date:   Sat, 03 Jun 2006 00:42:40 +0800
Tag:    v1.7.0

merged whitespace fix from MOODLE_16_STABLE

commit a5e7cb78fa3cd3f99e77841e9eca3fa68d152b40
Author: skodak <skodak>
Date:   Sat, 03 Jun 2006 00:02:10 +0800
Tag:    v1.7.0

Making sure timelimit is converted to integer before being written to database, otherwise postgreSQL complains. Closing bug 5401; merged from MOODLE_15_STABLE

commit ee1e1a3b990b154aed86746e8d0ca467c2480f17
Author: skodak <skodak>
Date:   Fri, 02 Jun 2006 14:49:08 +0800
Tag:    v1.7.0

fixed warning and removed ugly hack in attachment path; merged from MOODLE_16_STABLE

commit cb77cf12621ab7d3eddb4ccbe60f23716b5cc47c
Author: skodak <skodak>
Date:   Fri, 02 Jun 2006 03:52:38 +0800
Tag:    v1.7.0

fixed problem in restricted modules - mods were accessed using strtolower(translated module name) instead of directory name as usual, it partially worked for English; merged from MOODLE_16_STABLE

commit 7f9ba24ef260e2009ffdd84673d4eec34c5215e6
Author: skodak <skodak>
Date:   Fri, 02 Jun 2006 03:13:52 +0800
Tag:    v1.7.0

fixed - unable to disable blocks; merged from MOODLE_16_STABLE

commit 165a7502f8c8429c770e469f91c1889c7f5bda71
Author: skodak <skodak>
Date:   Thu, 01 Jun 2006 23:19:06 +0800
Tag:    v1.7.0

Bug #5643 - add Yahoo online status to user profile; merged from MOODLE_16_STABLE

commit 82e6ea72a9074a92662210a17611a02a9af97f42
Author: skodak <skodak>
Date:   Thu, 01 Jun 2006 22:50:41 +0800
Tag:    v1.7.0

Bug #5684 - frameset page in UTF8 doesn't appear on IE; merged from MOODLE_16_STABLE

commit 1f48cd2892a6b0c0d9f95fdd5b512a36842b267a
Author: skodak <skodak>
Date:   Thu, 01 Jun 2006 13:40:45 +0800
Tag:    v1.7.0

Bug #5661 - mymoodle redirect problem; merged from MOODLE_16_STABLE

commit 2a0824b4a3dd9c1a3fb99ab983d0db4c63a3c6b2
Author: skodak <skodak>
Date:   Tue, 30 May 2006 17:50:23 +0800
Tag:    v1.7.0

blacklist PHP 5.0.x in installation precheck; merged from MOODLE_16_STABLE

commit d976b5fecb94f26d1eee65b04e88e61ed342425d
Author: skodak <skodak>
Date:   Tue, 30 May 2006 17:42:29 +0800
Tag:    v1.7.0

blacklist PHP 5.0.x in installation precheck; merged from MOODLE_16_STABLE

commit 8af190b38857cc3ecf517b6fb18435f63fdde7ce
Author: skodak <skodak>
Date:   Tue, 30 May 2006 14:29:07 +0800
Tag:    v1.7.0

fixed typo - randomsmatch notice bug 5652; merged from MOODLE_16_STABLE

commit 508b76d94f20b5e7488251dd22915dd0ad7845c4
Author: skodak <skodak>
Date:   Tue, 30 May 2006 04:33:12 +0800
Tag:    v1.7.0

fixed warning from clone($SITE) during site setup; merged from MOODLE_16_STABLE

commit 8f643c818b23668f225d4df80a823248e97cc4e7
Author: skodak <skodak>
Date:   Mon, 29 May 2006 16:37:51 +0800
Tag:    v1.7.0

Bug #5620 - MyMoodle shows bogus Assignment due date; merged from MOODLE_16_STABLE

commit e7056effbcfb46ff724f3fb23d20aa74ca9c7c34
Author: skodak <skodak>
Date:   Mon, 29 May 2006 14:04:13 +0800
Tag:    v1.7.0

fixed array warning when editting blocks; merged from MOODLE_16_STABLE

commit 9b02b5342aee7e17174d507249c34e910b3111ff
Author: skodak <skodak>
Date:   Mon, 29 May 2006 13:56:28 +0800
Tag:    v1.7.0

global $course fix; merged from MOODLE_16_STABLE

commit 9054ba924af37661e5878afad4e9f97fb411d987
Author: skodak <skodak>
Date:   Fri, 26 May 2006 19:54:11 +0800
Tag:    v1.7.0

sanitize submitted numerical values; merged from MOODLE_16_STABLE

commit 2042e021bed3cdb958d694f906f22a6818428087
Author: skodak <skodak>
Date:   Fri, 26 May 2006 19:47:22 +0800
Tag:    v1.7.0

sanitize submitted numerical values; merged from MOODLE_16_STABLE

commit 24c1be88806d56ae5e9af3471dc360f3c76a517d
Author: skodak <skodak>
Date:   Fri, 26 May 2006 19:39:12 +0800
Tag:    v1.7.0

sanitize submitted numerical values; merged from MOODLE_16_STABLE

commit 27e51dfc89cfdbe9ce8861478373ac57a56fba4c
Author: skodak <skodak>
Date:   Fri, 26 May 2006 19:32:26 +0800
Tag:    v1.7.0

sanitize submitted numerical values

commit 3f19bff3cd666cb9d5e81d79350c2369a20cc546
Author: skodak <skodak>
Date:   Fri, 26 May 2006 17:07:13 +0800
Tag:    v1.7.0

Bug #5619 - Assignment Feedback mail lacks linefeed; merged from MOODLE_16_STABLE

commit b56e8cfdfc5d2e438d69b308a52912e2ded831b5
Author: skodak <skodak>
Date:   Fri, 26 May 2006 17:01:37 +0800
Tag:    v1.7.0

Bug #4647 - Undefined property in lib/statslib.php; merged from MOODLE_16_STABLE

commit 97bf7d627169f31cef8e7d8d6564fc8ca92e6868
Author: skodak <skodak>
Date:   Fri, 26 May 2006 14:55:25 +0800
Tag:    v1.7.0

Bug #5456 - Item Analysis fails to calculate results for random question type; merged from MOODLE_16_STABLE

commit cebf9a83e959ad0fe58b76c91f7c6e8357260211
Author: skodak <skodak>
Date:   Fri, 26 May 2006 14:48:25 +0800
Tag:    v1.7.0

Bug #5472 - Download quiz grades in Excel format does not show correct foelds; merged from MOODLE_16_STABLE

commit 4f162918f5c348c90590c8359a6918632618e957
Author: skodak <skodak>
Date:   Fri, 26 May 2006 03:24:53 +0800
Tag:    v1.7.0

Bug #5612 - language string missing in blog; merged from MOODLE_16_STABLE

commit 4df627dfbfbd18c4c0121d71c5c47de5d5ebb1f1
Author: skodak <skodak>
Date:   Thu, 25 May 2006 23:57:20 +0800
Tag:    v1.7.0

Bug #5582 - sort by numerical field doesn't work properly with decimals; merged from MOODLE_16_STABLE

commit be41c836913cba7f7505db37697d22ccd759ec05
Author: skodak <skodak>
Date:   Thu, 25 May 2006 18:00:06 +0800
Tag:    v1.7.0

Bug #5416 - sorting by question column in overview report plugin broken - please test; merged from MOODLE_16_STABLE

commit de5f96195cd11adff5757f460933904054ba4ba8
Author: skodak <skodak>
Date:   Thu, 25 May 2006 16:13:41 +0800
Tag:    v1.7.0

Bug #5566 - wrong display of student's answers in MATCHING question type; merged from MOODLE_16_STABLE

commit 043f52747133c01a13d32a0e507d19eaf0f60b30
Author: skodak <skodak>
Date:   Thu, 25 May 2006 14:34:33 +0800
Tag:    v1.7.0

Bug #4779 - lib/moodlelib.php: typo; merged from MOODLE_16_STABLE

commit 81f9948586a12124ae4396920a7e4613b4d4288e
Author: skodak <skodak>
Date:   Thu, 25 May 2006 05:54:51 +0800
Tag:    v1.7.0

fixed my yet another bug; merged from MOODLE_16_STABLE

commit 607a6aa83d0cba493a24e56651c5927d0e823a8b
Author: skodak <skodak>
Date:   Thu, 25 May 2006 05:50:44 +0800
Tag:    v1.7.0

fixed broken operations in subfolders - result of my recent patching sad sad bug #5603; merged from MOODLE_16_STABLE

commit f2b5a58a0f03c5d07a5d9b85e12bfa049f74656c
Author: skodak <skodak>
Date:   Thu, 25 May 2006 05:12:46 +0800
Tag:    v1.7.0

Bug #5604 - LDAP error notice when users update profile; merged from MOODEL_16_STABLE

commit 343296bf6a56c9330b027739108a8a8bc879d1be
Author: skodak <skodak>
Date:   Thu, 25 May 2006 05:05:23 +0800
Tag:    v1.7.0

fixed warnings on save profile; merged from MOODLE_16_STABLE

commit 3e5c847420ee679587f487f4e7c6ba6cade64dcb
Author: skodak <skodak>
Date:   Thu, 25 May 2006 04:56:16 +0800
Tag:    v1.7.0

Bug #5587 - Redirect fails after a failed login and proper variable initialisation; merged from MOODLE_16_STABLE

commit 5e205b74dd191388b61e1caef083a2d0f3ad7c7a
Author: skodak <skodak>
Date:   Thu, 25 May 2006 02:56:33 +0800
Tag:    v1.7.0

fixed bug #5562 I hope; merged from MOODLE_16_STABLE

commit fdcd0f0566943af2a582a7f406effd62bf9a7f75
Author: skodak <skodak>
Date:   Wed, 24 May 2006 03:18:25 +0800
Tag:    v1.7.0

fix for printing of multiple group pictures bug #5548; merged from MOODLE_16_STABLE

commit e0ce2e1ca4f76a779b92ca8b95b5e5abfb09e7bd
Author: skodak <skodak>
Date:   Wed, 24 May 2006 02:59:29 +0800
Tag:    v1.7.0

fixed bug #5593 - logged in nested in <p> and <div>; merged from MOODLE_16_STABLE

commit c65d1af55779a2187a1b872555ec53d81d86ebc0
Author: skodak <skodak>
Date:   Wed, 24 May 2006 02:38:24 +0800
Tag:    v1.7.0

fixed file backup and converted other forgotten "assignments"; merged from MOODLE_16_STABLE

commit 4bb6c2563baa3eda86784a9db4564550e621b0b9
Author: skodak <skodak>
Date:   Wed, 24 May 2006 02:15:52 +0800
Tag:    v1.7.0

fixed broken SQL that was throwing errors in backup; merged from MOODLE_16_STABLE

commit a632e5dab1354291646e35c95af53bd4db02fad8
Author: skodak <skodak>
Date:   Wed, 24 May 2006 02:00:20 +0800
Tag:    v1.7.0

fixed bug 5594 - can not save group details; merged from MOODLE_16_STABLE

commit 394832e100b752485a7e75c748824777a502d41b
Author: skodak <skodak>
Date:   Tue, 23 May 2006 21:33:44 +0800
Tag:    v1.7.0

fixed warning; merged from MOODLE_16_STABLE

commit 4b9842d27dd69f385e92c22a4d686642a3de301b
Author: skodak <skodak>
Date:   Tue, 23 May 2006 18:55:32 +0800
Tag:    v1.7.0

fixed incorrect output buffer use - bug #5590; merged from MOODLE_16_STABLE

commit f6f789936ddd1c5a9e5aec48c8747bd709a99cd6
Author: skodak <skodak>
Date:   Tue, 23 May 2006 18:25:39 +0800
Tag:    v1.7.0

fixed RSS feeds warning bug #5591; merged from MOODLE_16_STABLE

commit d33f282a5ba0168b41936b616e207a9f38f61d5a
Author: skodak <skodak>
Date:   Tue, 23 May 2006 17:47:48 +0800
Tag:    v1.7.0

make sure variables are properly cleaned; merged from MOODLE_16_STABLE

commit b01a2fcd0f4c328c818059e3b157640667374fcc
Author: skodak <skodak>
Date:   Tue, 23 May 2006 17:32:26 +0800
Tag:    v1.7.0

proper initialisation of $oldquestionid; merged from MOODLE_16_STABLE

commit 0629da47d2d6065cf2a1ea055390ffc772975bae
Author: skodak <skodak>
Date:   Tue, 23 May 2006 17:16:17 +0800
Tag:    v1.7.0

removed reliance on register globals; merged from MOODLE_16_STABLE

commit 57f2e16c8d8dae8ed7bfce37fdc8e4014abad315
Author: skodak <skodak>
Date:   Tue, 23 May 2006 17:02:13 +0800
Tag:    v1.7.0

extra cleaning of variables; merged from MOODLE_16_STABLE

commit ebb63815f889436bb235b62e6498c183521b8005
Author: skodak <skodak>
Date:   Tue, 23 May 2006 00:54:11 +0800
Tag:    v1.7.0

fixed register globals issues for $sort SC #256; merged from MOODLE_16_STABLE

commit 1c871c231f15a4a3725c83b59ad8c2f340ba7e30
Author: skodak <skodak>
Date:   Mon, 22 May 2006 21:15:06 +0800
Tag:    v1.7.0

fixed bug #5578 - remove login as button for other teachers in course; merged from MOODLE_16_STABLE

commit 631264347b55fa8475ff69615b3cc21054cd54ce
Author: skodak <skodak>
Date:   Mon, 22 May 2006 14:00:51 +0800
Tag:    v1.7.0

fixed bug #5572 missing PARAM_CLEAN; merged from MOODLE_16_MOODLE

commit 2ee2481ef957800459457f6406104de4092879d6
Author: skodak <skodak>
Date:   Mon, 22 May 2006 04:51:52 +0800
Tag:    v1.7.0

fixed register globals issue with $loginasguest; merged from MOODLE_16_STABLE

commit 70efd5689ac1c3cc4203e03553c0156ba8c65cbd
Author: skodak <skodak>
Date:   Mon, 22 May 2006 04:35:22 +0800
Tag:    v1.7.0

fixed redirection to https:// for edit profile and change password when loginhttps on; merged from MOODLE_16_STABLE

commit d1c8eb14d10b955e9878e96e7cf16eda510f5fb9
Author: skodak <skodak>
Date:   Mon, 22 May 2006 04:21:35 +0800
Tag:    v1.7.0

temporary workaround for bug #5534, html editor now disabled for IE when loginhttps on and wwwroot starts with http://; merged from MOODLE_16_STABLE

commit 108d928b8b5e87413c0ded772ce4296b2b9757f7
Author: skodak <skodak>
Date:   Sun, 21 May 2006 18:14:17 +0800
Tag:    v1.7.0

removed isset and merged from MOODLE_16_STABLE

commit 4eff058d5a80da3b2b15349f1f16064cb8189eba
Author: skodak <skodak>
Date:   Sun, 21 May 2006 16:09:43 +0800
Tag:    v1.7.0

fixed register globals issue with $text; merged from MOODLE_16_STABLE

commit 17037270bc5e5d6d52a219e0d56fcc3372b65973
Author: skodak <skodak>
Date:   Sun, 21 May 2006 15:51:27 +0800
Tag:    v1.7.0

proper initialisation of passwordchangeurl; merged from MOODLE_16_STABLE

commit 54eca8f2a47683703a26f8959c5cd37752bb7ecd
Author: skodak <skodak>
Date:   Sun, 21 May 2006 15:42:58 +0800
Tag:    v1.7.0

proper initialisation of sqlsortkey SC#258; merged from MOODLE_16_STABLE

commit cd7d03fa4873d3356288e15b1e4ac8fee21d64a2
Author: skodak <skodak>
Date:   Sun, 21 May 2006 02:41:59 +0800
Tag:    v1.7.0

fixed register globals issues in course/search.php; merged from MOODLE_16_STABLE

commit 9cb14dbd9ed8ac1c3f13832907194c76ad9270c6
Author: skodak <skodak>
Date:   Sun, 21 May 2006 02:19:27 +0800
Tag:    v1.7.0

proper initialisation of $focus SC#257; merged from MOODLE_16_STABLE

commit 82f0028119c5f25b0db64eea8a78dd269ac02ee5
Author: skodak <skodak>
Date:   Sun, 21 May 2006 02:08:25 +0800
Tag:    v1.7.0

do not show pending courses button for nonadmins bug #5564; merged from MOODLE_16_STABLE

commit a38a768b297a0a465ca91d8649ad136de7ba9d44
Author: skodak <skodak>
Date:   Sun, 21 May 2006 01:23:14 +0800
Tag:    v1.7.0

fixed cleaning of path in custom scripts SC#221; merged from MOODLE_16_STABLE

commit 940e39369aa9c9f4a38ab5ecdfb9336040057da4
Author: skodak <skodak>
Date:   Sat, 20 May 2006 05:01:26 +0800
Tag:    v1.7.0

fixed block width calculation; merged from MOODLE_16_STABLE

commit 9b7bff2699cbab048e403bbea367a9486696867a
Author: skodak <skodak>
Date:   Sat, 20 May 2006 04:18:05 +0800
Tag:    v1.7.0

submission in post.php cleanup, fixes for bugs #5530, #5484 and SC#252; merged from MOODLE_16_STABLE

commit 4a10c3875bf4db16a583b93cebf39815a2cef76f
Author: skodak <skodak>
Date:   Sat, 20 May 2006 03:11:30 +0800
Tag:    v1.7.0

fixed - disabled autologinguest not always respected in require_login() SC#255; merged from MOODLE_16_STABLE

commit c23ff4d6544ba4e00aa9164de5adf3a506e842bf
Author: skodak <skodak>
Date:   Fri, 19 May 2006 06:12:06 +0800
Tag:    v1.7.0

deprecated nvl() function similar to optional_variable(); merged from MOODLE_16_STABLE

commit b2fcca276120fcf35c5c3ab3d5a0ac81d83ab7f6
Author: skodak <skodak>
Date:   Thu, 18 May 2006 13:48:14 +0800
Tag:    v1.7.0

fixed bug #5533, could not choose from file root; merged from MOODLE_16_STABLE

commit c0e2f1f7dd262236bb18d94bcdd042988a474231
Author: skodak <skodak>
Date:   Thu, 18 May 2006 02:59:43 +0800
Tag:    v1.7.0

admins can now edit user images even when $CFG->disableuserimages = true; see bug #5494 and SC#253; merged from MOODLE_16_STABLE

commit e0e1cd26fab0db5f78638d09488f6e7fc0270748
Author: skodak <skodak>
Date:   Thu, 18 May 2006 02:16:42 +0800
Tag:    v1.7.0

fixed version number; merged from MOODLE_16_STABLE

commit 4fb072d9422c6d341e19395e779e27d79e98a57a
Author: skodak <skodak>
Date:   Thu, 18 May 2006 02:06:33 +0800
Tag:    v1.7.0

fixed some warnings and removed ugly hack error_reporting(E_ALL ^ E_NOTICE); that was only hiding warnings in this and other code; merged from MOODLE_16_STABLE

commit f231e867f0b22ba7e35764d2f0c6f8ad014e111c
Author: skodak <skodak>
Date:   Wed, 17 May 2006 04:31:22 +0800
Tag:    v1.7.0

I hope this is the last patch for header already printed trouble in error() and redirect(); merged from MOODLE_16_STABLE

commit 2c3432e6842aae32783092def6f6b68512feb9b7
Author: skodak <skodak>
Date:   Tue, 16 May 2006 05:36:46 +0800
Tag:    v1.7.0

fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE

commit 4ca5b473224275e6c03f135d8a4ea85b8d56e170
Author: skodak <skodak>
Date:   Mon, 15 May 2006 23:45:27 +0800
Tag:    v1.7.0

fix my previous incorrect short tag fix, fixed register globals, IP address used as mail user when not logged in; merged from MOODLE_16_STABLE

commit e7a8d28f572f0efbf275f878067c904ecab739c1
Author: skodak <skodak>
Date:   Mon, 15 May 2006 23:12:56 +0800
Tag:    v1.7.0

fixed short php tags; merged from MOODLE_16_STABLE

commit a536138d02617c515fa8c012c002178ff8910717
Author: skodak <skodak>
Date:   Mon, 15 May 2006 23:05:28 +0800
Tag:    v1.7.0

changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE

commit 3b25960385eabb3b96af36b32d3df5612cd142de
Author: skodak <skodak>
Date:   Mon, 15 May 2006 22:48:11 +0800
Tag:    v1.7.0

better cleaning of post title SC#251 revisited; merged from MOODLE_16_STABLE

commit 62b504d20b8ff9ba98faa66cd0f0eeda66bb3284
Author: skodak <skodak>
Date:   Mon, 15 May 2006 22:32:14 +0800
Tag:    v1.7.0

better cleaning of post title SC#251; merged from MOODLE_16_STABLE

commit 70ed990ed29e49f6dc52512c32ad50efd28e57bc
Author: skodak <skodak>
Date:   Mon, 15 May 2006 05:21:35 +0800
Tag:    v1.7.0

fixed secure forms handling when POST url contained GET parameters (cookieless mode and some other forms); merged from MOODLE_16_STABLE

commit 70cedbfd5dc7b3a8bae17b2ff802e7b0f0433253
Author: skodak <skodak>
Date:   Mon, 15 May 2006 03:10:49 +0800
Tag:    v1.7.0

fixed bug #5489 - can not edit file, minor bugfixes and whitespace cleanup; merged from MOODLE_16_STABLE

commit cc50d6664f771fd155ae1a1012cde21b2bb13e2c
Author: skodak <skodak>
Date:   Mon, 15 May 2006 01:23:29 +0800
Tag:    v1.7.0

I hope final fix for warnings when using error() after print_header() with buffering on, solution  was to flush all buffers and reenable SID rewrite when needed; merged from MOODLE_16_STABLE