Git commits in Moodle 1.8.0 by stronk7

commit 377da1a0e2b032f4644c8f40a5bac17f0c25732c
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 23:35:15 +0800
Tag:    v1.8.0

Adding a missing parameter to the "add new course" button. MDL-9129

commit d90cb507f3c19cf9181532e4aa3bae06afc14a35
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 15:44:29 +0800
Tag:    v1.8.0

XHTML fix. Credit goes to Jeff Graham. MDL-9103

commit 8a57655b50ca0ae24854bf1f21d207f851b4acb8
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 08:29:46 +0800
Tag:    v1.8.0

Added one more style to center some tables in glossary.

commit fa3ce02ba1ad0ca2809ead15cd6b04b3b060c725
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 08:24:54 +0800
Tag:    v1.8.0

Fixing approval interface. Step4. MDL-8793

commit 344c50611d22f600cbe45cb4ea829642ea586036
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 07:23:37 +0800
Tag:    v1.8.0

Fixing export interface. Step3. MDL-8793

commit 7cf3b7fabd511136a3fe42562539048e8876f4f5
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 07:10:16 +0800
Tag:    v1.8.0

Fixing import interface. Step2. MDL-8793

commit 79eebc83aa496e80abe55a4f459f9c06b95ad116
Author: stronk7 <stronk7>
Date:   Fri, 30 Mar 2007 06:16:42 +0800
Tag:    v1.8.0

Moving options from 2nd tab to main area. Step1. MDL-8793

commit 81b65eaec6e4a148a394437a9c3334dae58c35d2
Author: stronk7 <stronk7>
Date:   Wed, 28 Mar 2007 04:30:22 +0800
Tag:    v1.8.0

Now XMLDBStatements support backslashed single quotes.

commit 68b8dfa13b34bc35d3da23c696a49ecc236f887f
Author: stronk7 <stronk7>
Date:   Tue, 27 Mar 2007 07:30:57 +0800
Tag:    v1.8.0

ignore this...

commit b0e97aec74e9760579a514e36cf48671f590df42
Author: stronk7 <stronk7>
Date:   Tue, 27 Mar 2007 07:01:11 +0800
Tag:    v1.8.0

Always print the entry when adding, updating/deleting comments. MDL-9047

commit 7e7b0ef002b7dfdc67a646e10a5ce600ed9e3f2a
Author: stronk7 <stronk7>
Date:   Tue, 27 Mar 2007 05:51:18 +0800
Tag:    v1.8.0

Avoid to end SQL commands with a trailing ';'. MDL-9058

commit b0aeae82887ca6f4e7670d6e3c4b8915b77d2202
Author: stronk7 <stronk7>
Date:   Sat, 24 Mar 2007 09:57:43 +0900
Tag:    v1.8.0

Deleted one debug line...

commit a655cd9a380cad81f690a19e980278ad28e38f89
Author: stronk7 <stronk7>
Date:   Sat, 24 Mar 2007 09:56:31 +0900
Tag:    v1.8.0

Fix a problem with glossary not being able to sort by firstname.

commit 401e26306eecbd2ef3379b71677ddbe706be7617
Author: stronk7 <stronk7>
Date:   Sat, 24 Mar 2007 09:37:16 +0900
Tag:    v1.8.0

One default was causing author view not being able to sort by firstname or lastname.

commit a5762bd5319bdc306492ad4bc173abd0b6626a3d
Author: stronk7 <stronk7>
Date:   Sat, 24 Mar 2007 09:00:40 +0900
Tag:    v1.8.0

Now the underscore lines in tabrow1 aren't blue anymore. Really complex to guess the modifiers to apply!

commit 6a1a2949425f4c272d45c90a92f2f78f1222aa81
Author: stronk7 <stronk7>
Date:   Sat, 24 Mar 2007 00:56:41 +0900
Tag:    v1.8.0

Fetch local guest user using DB index.

commit 5ce30e94edce13962cdc4fdb66ab472759e435c3
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 09:10:25 +0900
Tag:    v1.8.0

urlencode() hook for correct parameter handling & XHTML.

commit b1995508c1769be12aa24d8a52113c4849937078
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 08:56:57 +0900
Tag:    v1.8.0

Changing one generic class-name to a glossary specific one in themes.

commit 4b593df4819fd2dce3faf496b076d551054a6bdc
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 08:51:31 +0900
Tag:    v1.8.0

Changing one generic class-name to a glossary specific one.

commit de411962693b5fda68d8a233e38924a4e72a18c2
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 05:18:25 +0900
Tag:    v1.8.0

One more class to align all glossary inline explanations.

commit 99feca8c8e6fe53e664a070555d5f111ce30fa88
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 05:10:50 +0900
Tag:    v1.8.0

Deleting some inline styles and clearing some unused code. MDL-8746

commit 87290838c9142f1e9fe001fb57bd19230e9efe3d
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 03:42:01 +0900
Tag:    v1.8.0

Now the add/update entry page XHTML validates and doesn't show the tabs and intro anymore.

commit 20ad9953df29bdf2a0b6485da8cf31e48ad0ee73
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 03:21:30 +0900
Tag:    v1.8.0

Now glossary "add entry" is a button instead of a tab. Part of MDL-8746

commit d3e7c0e206a95a2b7503a4a9e9d3c39c2c920361
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 03:12:16 +0900
Tag:    v1.8.0

Preparing some glossary css changes...for "add entry" buttons. MDL-8746

commit 374e173f110f59f3329760b1f4e1dba8e683b6fa
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 02:17:54 +0900
Tag:    v1.8.0

$CFG->tabselectedtofront is now out. Part of MDL-8746

commit a20d27df81492c5cd87eaf47bf419119c7dd8afb
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 02:17:54 +0900
Tag:    v1.8.0

$CFG->tabselectedtofront is now out. Part of MDL-8746

commit 01cb839f5cdffe593e7fd0e2a25e1591e3e39939
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 02:17:53 +0900
Tag:    v1.8.0

$CFG->tabselectedtofront is now out. Part of MDL-8746

commit 0c2153fd8ad7e0c4014ff2414b6683fff34dedcf
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 01:37:55 +0900
Tag:    v1.8.0

XHTML compliance...

commit 633e1ee4937c13d54b17631680d3027d8c90fdd7
Author: stronk7 <stronk7>
Date:   Tue, 20 Mar 2007 01:11:36 +0900
Tag:    v1.8.0

small typo in var name

commit 7bae742ae7cb4a629d995c226d1270aa6988cfc8
Author: stronk7 <stronk7>
Date:   Mon, 19 Mar 2007 09:00:46 +0900
Tag:    v1.8.0

Minor fixes for XHTML compliance

commit 5930e65512cdbd3eee8ee36136cbb931f9d00f9b
Author: stronk7 <stronk7>
Date:   Mon, 19 Mar 2007 04:36:11 +0900
Tag:    v1.8.0

Fixing env table when displayed on upgrade.

commit 28894c72b21ebd1e07bcc36c74bb4a41a93bd022
Author: stronk7 <stronk7>
Date:   Mon, 19 Mar 2007 04:18:51 +0900
Tag:    v1.8.0

Adding the environmentbox class to the box.

commit d9c201e1a07e627c87facb104dd192e4a2f8c15a
Author: stronk7 <stronk7>
Date:   Mon, 19 Mar 2007 04:14:25 +0900
Tag:    v1.8.0

Add some space between the environment table and environment box.

commit cafd7f019aad1d2f9fc0afade0075588dd1b04ae
Author: stronk7 <stronk7>
Date:   Fri, 16 Mar 2007 05:01:28 +0900
Tag:    v1.8.0

Fix small bug only reproduced in tests about changing field names and xmldb_field object becoming modified. Novice OOP bug sad

commit 09ea9739f30c7d470b46604cc6ab2a03b889d727
Author: stronk7 <stronk7>
Date:   Fri, 16 Mar 2007 04:15:22 +0900
Tag:    v1.8.0

Testing comments and default clauses containing chars to be escaped.

commit 6a3d064a0072f20c57853477ac247828fe62ddf3
Author: stronk7 <stronk7>
Date:   Fri, 16 Mar 2007 04:01:53 +0900
Tag:    v1.8.0

DB escaping comments. MDL-8918

commit fc80a68f89b675102996d8eac877683694502d93
Author: stronk7 <stronk7>
Date:   Wed, 14 Mar 2007 07:39:07 +0900
Tag:    v1.8.0

Now documental search mimics real relational search behaviour. MDL-8884

commit 2a0a625e35edbbbe992e7024ad65f22c875b3585
Author: stronk7 <stronk7>
Date:   Wed, 14 Mar 2007 03:30:15 +0900
Tag:    v1.8.0

Fix one awful background showed in form-buttons (that are enclosed in a fieldset????)

commit 7044ea9423fb69000608575e0d449c01893ab577
Author: stronk7 <stronk7>
Date:   Sat, 10 Mar 2007 05:55:18 +0900
Tag:    v1.8.0

Prevent some languages without word whitespace separators to use documental searches over MySQL.

commit 585b98c78ce59d38d6a9b26b1bb3b98e3fb01ef3
Author: stronk7 <stronk7>
Date:   Sat, 10 Mar 2007 03:28:11 +0900
Tag:    v1.8.0

Adding support for forum documental searches. Disabled by default. Only MySQL supported. Experimental under 1.8! MDL-8830

commit b0c7638f9c8b917d53697f4dd8cf8e671eadcf93
Author: stronk7 <stronk7>
Date:   Sat, 10 Mar 2007 03:19:03 +0900
Tag:    v1.8.0

Added the search_generate_text_SQL() function that generates SQL clauses using documental indexes. Only MySQL for now. Under 1.8 this isn't used officially (experimental!) but we need it here right now (won't interfere at all). MDL-8830

commit 4d4e0c7d3d6e0d298551b24852922f1663724135
Author: stronk7 <stronk7>
Date:   Tue, 06 Mar 2007 03:26:11 +0900
Tag:    v1.8.0

Normalizing encoding by using textlib synonyms - parse_charset() Credit goes to Petr.

commit 6bfdf6cd1e039fe563723de7335b76dbec4dd471
Author: stronk7 <stronk7>
Date:   Mon, 05 Mar 2007 05:10:27 +0900
Tag:    v1.8.0

re-re-re-re-fixing tabs for wood. tongueout

commit e2dfe8bfcad3689e1f1d9ed983ba1ec0e6cef75e
Author: stronk7 <stronk7>
Date:   Fri, 02 Mar 2007 18:41:22 +0900
Tag:    v1.8.0

Skipping some thousands of require_once() calls because PHP5 is really slow (and heavy) with them. MDL-8700

commit 63513603e70d163ec358ff296e4b7cc1970836f1
Author: stronk7 <stronk7>
Date:   Wed, 28 Feb 2007 03:21:08 +0900
Tag:    v1.8.0

Fixing RSS link to source. http://moodle.org/mod/forum/discuss.php?d=65762

commit 71989c5d391fb2f6af41de34fe106fa65112b7e4
Author: stronk7 <stronk7>
Date:   Mon, 26 Feb 2007 05:37:33 +0900
Tag:    v1.8.0

Delete one condition used while debugging.

commit 5066b1258c3411a20c51caa359b66648a081b71f
Author: stronk7 <stronk7>
Date:   Mon, 26 Feb 2007 05:21:44 +0900
Tag:    v1.8.0

Comenting one debug sentence introduced by error in las commit. MDL-8264

commit 9c221df7433a81cb951e9188d2599b9a86aefae3
Author: stronk7 <stronk7>
Date:   Mon, 26 Feb 2007 05:17:36 +0900
Tag:    v1.8.0

Now the editor detects if the xml file has been locally modified since loading it. Second part of MDL-8264

commit 686bbac87919c6cc03effaf48267cd574117c674
Author: stronk7 <stronk7>
Date:   Sat, 24 Feb 2007 08:56:55 +0900
Tag:    v1.8.0

Only validate against schema if we have a schema. wink

commit 9ee705e74a3fb94f5dd24f276d12891ea9019238
Author: stronk7 <stronk7>
Date:   Sat, 24 Feb 2007 05:57:06 +0900
Tag:    v1.8.0

Now XMLDB Editor performs check/validation of XML files before loading them using the best parser available. MDL-7726 and first part of MDL-8264

commit 9988588aed51b04624fdfa1c73895f992b424ca7
Author: stronk7 <stronk7>
Date:   Sat, 24 Feb 2007 03:15:56 +0900
Tag:    v1.8.0

Some more notices are now out. Caused by current_language()

commit 60eaa2e72db2a5fac34a2c4b3d1cf7a28e251b23
Author: stronk7 <stronk7>
Date:   Sat, 24 Feb 2007 01:38:10 +0900
Tag:    v1.8.0

Fixing course & category boxes in main page.

commit 7f871f939b3ef95960b338d5bbd257e94f604201
Author: stronk7 <stronk7>
Date:   Fri, 23 Feb 2007 09:35:20 +0900
Tag:    v1.8.0

Fix one small config name.

commit 73da033354475c182a176a35d6a5ded73e345f8e
Author: stronk7 <stronk7>
Date:   Fri, 23 Feb 2007 09:25:55 +0900
Tag:    v1.8.0

Now the "common settings" form in admin/auth looks like one standard admin form.

commit b94129bc1cf9a5f6be2aff23c80e1a4804d56326
Author: stronk7 <stronk7>
Date:   Fri, 23 Feb 2007 07:59:47 +0900
Tag:    v1.8.0

Fixing the auth plugins visual. to use the flexible table properly.

commit 617ef2a33649b9595b73123807eb3eabf9f4014c
Author: stronk7 <stronk7>
Date:   Fri, 23 Feb 2007 03:47:18 +0900
Tag:    v1.8.0

"flexible" is now out from set_attribute() because flexible tables are adding it automatically. Point 3.3 of MDL-8419

commit a55eff0fabe1b2febf19c41d3063ff5b628cebed
Author: stronk7 <stronk7>
Date:   Fri, 23 Feb 2007 03:25:21 +0900
Tag:    v1.8.0

All flexible tables will have the "flexible" class. Point 3.1 of MDL-8419

commit a081748db421e2e65b79e14721d2d6ad2d972c44
Author: stronk7 <stronk7>
Date:   Fri, 23 Feb 2007 02:55:46 +0900
Tag:    v1.8.0

admin modules tables styling. Points 1 & 2. MDL-8419

commit c6ce18c221583b0c546654e46c8e78da1c317bec
Author: stronk7 <stronk7>
Date:   Wed, 21 Feb 2007 17:31:44 +0900
Tag:    v1.8.0

Bump to 1.8 Beta

commit f800bf46f62721f0d73f2b27a8e1d04a58c65d05
Author: stronk7 <stronk7>
Date:   Tue, 20 Feb 2007 08:23:50 +0900
Tag:    v1.8.0

Changing iso-8859-1 encoding of excel files to windows-1252. It adds support for some more (a few) characters. MDL-7993

commit 1ecce737ccadc24784e934560ec75e33863670f3
Author: stronk7 <stronk7>
Date:   Sat, 17 Feb 2007 10:24:16 +0900
Tag:    v1.8.0

sync_users() now working both under MSSQL and Oracle. Big credits to Jay Lee for his cool patch about MDL-7525 MDL-8023 MDL-8153

commit 4eec1cbcee2500342fe5441656ab53f7e6b41e12
Author: stronk7 <stronk7>
Date:   Thu, 15 Feb 2007 08:51:54 +0900
Tag:    v1.8.0

PHP 4 assignment is by value so course_header (containing edited names) wasn't being modified. MDL-8298

commit 10fce0a8589773ad87dd7160260d305cbba59c55
Author: stronk7 <stronk7>
Date:   Wed, 14 Feb 2007 08:42:27 +0900
Tag:    v1.8.0

Some minor js problems. MDL-7811 and MDL-6481

commit c327e15031cc2ceeb106fde2a02c3d0181290fc0
Author: stronk7 <stronk7>
Date:   Sat, 10 Feb 2007 05:51:56 +0900
Tag:    v1.8.0

This was throwing duplicate declaration errors in my PHP5 box since some hours ago. Not sure why it worked before, but...

commit bb33fb6dd7e022f8e4b231c8fa2c04131817be5a
Author: stronk7 <stronk7>
Date:   Fri, 09 Feb 2007 09:34:30 +0900
Tag:    v1.8.0

Limit table comments to 60cc for MySQL. MDL-7765

commit d148c0ed5c9e8df5c5d1e36783a27fe404d598a5
Author: stronk7 <stronk7>
Date:   Fri, 09 Feb 2007 09:13:18 +0900
Tag:    v1.8.0

Delete backup records on course delete. MDL-8314

commit 796903809eb411046bae88fcb51c283b01d7382b
Author: stronk7 <stronk7>
Date:   Wed, 07 Feb 2007 00:52:20 +0900
Tag:    v1.8.0

Fixed two schema-fk typos. MDL-8427

commit 8dadea8837bde4d3a3deb426fcb0651ce4ef02ac
Author: stronk7 <stronk7>
Date:   Mon, 05 Feb 2007 05:48:34 +0900
Tag:    v1.8.0

Fixing one little-little bug about user->ajax being nullable. MDL-8421

commit b7a0ea8781d9737f067445529e362135095045cc
Author: stronk7 <stronk7>
Date:   Mon, 05 Feb 2007 05:11:32 +0900
Tag:    v1.8.0

Fixing one little-little bug about user->ajax being nullable. MDL-8421

commit 64e396939cac76971a27ea643882b41e76d5efcd
Author: stronk7 <stronk7>
Date:   Sun, 04 Feb 2007 04:39:09 +0900
Tag:    v1.8.0

Adjusting Wood theme for 1.8

commit 9ad5c91fa9b1f1605fdf9057d5c180dbd16175b9
Author: stronk7 <stronk7>
Date:   Fri, 02 Feb 2007 08:55:05 +0900
Tag:    v1.8.0

Delete some non cros-db boolean uses from queries, delegating them to PHP. MDL-8164

commit b26f94ce15a5b2a21647aab32c36b08fba47afe0
Author: stronk7 <stronk7>
Date:   Fri, 02 Feb 2007 07:36:35 +0900
Tag:    v1.8.0

Adding missing tags in code. Credit goes to Greg Lyon. MDL-8383.

commit f58938b5a7e7da60f8220bac58f109a573922e04
Author: stronk7 <stronk7>
Date:   Thu, 01 Feb 2007 03:46:14 +0900
Tag:    v1.8.0

Restoring one deleted by error }. Grrr.

commit 8a88bce5acc40cb13af3d9e3817828a039c70445
Author: stronk7 <stronk7>
Date:   Thu, 01 Feb 2007 03:40:14 +0900
Tag:    v1.8.0

Changing nullability of field response on table lesson_answers to null. Versions in 17_STABLE are the same, so no problems. MDL-8351

commit d3fca5cba81c4e2a269e4916e19ff6cd60dfc3b7
Author: stronk7 <stronk7>
Date:   Tue, 30 Jan 2007 09:22:21 +0900
Tag:    v1.8.0

nothing interesting, just a comment.

commit 7cd5208507b75a5d9d4d9bcc3682f65ed0e57ba2
Author: stronk7 <stronk7>
Date:   Tue, 30 Jan 2007 08:56:55 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 931b508559e6c5ef8ee0e6918b357da2709534a2
Author: stronk7 <stronk7>
Date:   Tue, 30 Jan 2007 08:52:33 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit bcf88cbbe2fbf8156c3fe2715f206f3d3cb5769a
Author: stronk7 <stronk7>
Date:   Tue, 30 Jan 2007 07:23:58 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 4bf75b33b4b2164d60f597dd06a8864281ec039c
Author: stronk7 <stronk7>
Date:   Tue, 30 Jan 2007 04:16:33 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 2c08b2514ca58251bdcee375660e36b1ddb5dfc7
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 21:10:19 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 18bba1f789da1363294426f4dbe9bc21f6bdbc20
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 20:29:01 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 0f5dafffe965123955824a71072dc176dd9a3940
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 20:24:18 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 55e723af60d37e1b855330cdd2023f5609fc43ff
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 20:07:02 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit 2ac48f4811665c661485420d9005b8a3ea204f76
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 19:55:22 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit c024b94b026db8aca0b1d020e8217c61e2e72653
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 19:47:25 +0900
Tag:    v1.8.0

Applying new rs_xxx() functions everywhere. MDL-8134

commit b5eb752394f63abfd451f68b1653316d456b33c6
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 09:17:25 +0900
Tag:    v1.8.0

First real test of the new rs_fetchXXX() functions. Applying it to get_my_courses(). MDL-8134

commit 1e15c0fdad65462315daa7d3576dbb170f666479
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 08:15:16 +0900
Tag:    v1.8.0

Added Oracle DIRTY HACK to both rs_fetchXX functions. Detecting of EOF in rs_fetch_record() Big improvement of rs_fetch_next_record() by using FethRow() with speeds near native fields[]. MDL-8134

commit d9e10456bab448f772f35acb859c9901be2800ef
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 05:14:09 +0900
Tag:    v1.8.0

Initial commit of the new rs_XXX() functions to fetch, advance and close ADOdb recordsets in a standard way. Not finished yet but I need them in CVS. MDL-8134

commit 3b34bc7f39445728ae7abb81550ec7d18ba2a16c
Author: stronk7 <stronk7>
Date:   Mon, 29 Jan 2007 03:18:28 +0900
Tag:    v1.8.0

Now MSSQL naming of objects introspects to avoid duplicates. MDL-7376

commit c5e065f817c39d95130f8a60ff31ad3b8fbfdcee
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 20:46:17 +0900
Tag:    v1.8.0

Clarify a bit getNameForObject correct usage.

commit 5a08ca80ed3a8ac1b97e2ca78ee64e494a5509ed
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 20:42:10 +0900
Tag:    v1.8.0

Oracle now introspects DB to fetch names of sequences and triggers. MDL-6880

commit 3e7dab97e7514852f438613de4338cb4ec8f86dc
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 10:07:52 +0900
Tag:    v1.8.0

And finally I've found the annoying bug that was causing Oracle to execute strange SQL statements! Argh! Now I can go to sleep...

commit 2a82cacf0bab6fbc50957b826914d364170b5dcb
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 09:30:22 +0900
Tag:    v1.8.0

getting tired of restore my test Oracle DB. Typo!

commit fec5fe881ed8f59b02041b9305aa7099f841a05a
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 09:20:54 +0900
Tag:    v1.8.0

Quote field names in rename in order to allow renaming of reserved words.

commit a54d16ef2ebbbf00f66a7475dfa5174af87c104b
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 09:12:32 +0900
Tag:    v1.8.0

CHAR fields NOT NULL must not have any empty default specified! Oracle breaks with empty defaults because they are = NULL.

commit ad88038fdbc8b3881c6740f6ca8ff6983e94d2bb
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 08:39:57 +0900
Tag:    v1.8.0

Fixing silly (like me) typo.

commit 358b1e935905893fa5dc5367ab0b041a2536aa22
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 08:37:22 +0900
Tag:    v1.8.0

Oracle PL/SQL blocks can end by ";". Prevent that to be trimmed.

commit 6210ae1d43e28a064b2700bb1605cf0fe29bc874
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 07:11:04 +0900
Tag:    v1.8.0

Now Oracle naming of objects introspects to avoid duplicates. MDL-7376

commit 42b9540e017e74cd80e1651887683051c89b1e4b
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 05:13:23 +0900
Tag:    v1.8.0

When renaming tables, check that the new one doesn't exist.

commit d21a42d7cf077955c09c3c0415d40f185bf47e66
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 05:08:19 +0900
Tag:    v1.8.0

Small improvement. One less iteration pero object name requested.

commit d65980452a7adc957af7acef09052ab0247dfa1f
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 02:41:31 +0900
Tag:    v1.8.0

Updated comment.

commit a1b2780c8effc3aaaf206b1551efacef3e0e249d
Author: stronk7 <stronk7>
Date:   Sun, 28 Jan 2007 02:37:39 +0900
Tag:    v1.8.0

Now Postgres naming of objects introspects to avoid duplicates. MDL-7376

commit f2daac4e6275c1c14070466d70c9a6ea5c9dab9f
Author: stronk7 <stronk7>
Date:   Sat, 27 Jan 2007 10:12:18 +0900
Tag:    v1.8.0

Delegate to the isNameInUse() function the request to see if one object name is in use in the DB (to avoid duplicates 100%) MDL-7376 (the rest will come tomorrow)

commit 7039d93c319fa2e4a996030de8799e218a6c6f63
Author: stronk7 <stronk7>
Date:   Sat, 27 Jan 2007 06:28:48 +0900
Tag:    v1.8.0

Adding two helper functions and modify upgrade to work properly under MSSQL and Oracle. MDL-8303

commit db21b7a28caad3694cc28e6028417e8bed246ea4
Author: stronk7 <stronk7>
Date:   Sat, 27 Jan 2007 06:27:44 +0900
Tag:    v1.8.0

Adding two helper functions and modify upgrade to work properly under MSSQL and Oracle. MDL-8303

commit 4218c9b21ea1c038c42c1e7121ac73a34312696d
Author: stronk7 <stronk7>
Date:   Sat, 27 Jan 2007 06:19:07 +0900
Tag:    v1.8.0

Silly conditions produce silly results, please. tongueout (WHERE 1 is not cross-db at all)

commit 77b09448b3e77af8af6f99e3c51ffd02d37c2b8e
Author: stronk7 <stronk7>
Date:   Sat, 27 Jan 2007 04:28:40 +0900
Tag:    v1.8.0

Oracle doesn't like ; at the end of execute_sql()

commit 83c9a8a29a38b73803844fe075fae8efea7c0bc0
Author: stronk7 <stronk7>
Date:   Thu, 25 Jan 2007 04:39:59 +0900
Tag:    v1.8.0

Modified a bit the child iterator that wasn't working under Safari. Tested with FF and Safari. Needs test with IE.

commit bb3172c03814a7a2c8eefcf38c030333a7e62d73
Author: stronk7 <stronk7>
Date:   Thu, 25 Jan 2007 02:54:53 +0900
Tag:    v1.8.0

Prevent rename_field() to be executed if no full specs of the original field are provided. MDL-8296

commit 704b9031acdd9c4e42ed4514d409735a083dc147
Author: stronk7 <stronk7>
Date:   Thu, 25 Jan 2007 01:54:49 +0900
Tag:    v1.8.0

Add full specs for current field in rename_field() PHP generation from the editor. Part of MDL-8296

commit 150b5fb0e05875574e2766c4fac324e815909e02
Author: stronk7 <stronk7>
Date:   Wed, 24 Jan 2007 01:33:15 +0900
Tag:    v1.8.0

$form is an object (from data_submitted).

commit 2cf089c94f2ecd26df13862ed4d1ffeaa101fe6a
Author: stronk7 <stronk7>
Date:   Wed, 24 Jan 2007 01:21:21 +0900
Tag:    v1.8.0

Changing some more incorrect uses of get_records and count_records with '1'. MDL-8280

commit c4b654bc3c9bb57b5d64ea209ed1ae3ebd11ee5c
Author: stronk7 <stronk7>
Date:   Wed, 24 Jan 2007 01:09:00 +0900
Tag:    v1.8.0

WHERE '1' is not cross-db. MDL-8280

commit d46e14917976499901bfd0c38daa9320bf5c4373
Author: stronk7 <stronk7>
Date:   Tue, 23 Jan 2007 08:23:30 +0900
Tag:    v1.8.0

Changing some stripslashes() to stripslashes_safe() because it was causing some real backslashes to be lost in some qtypes. MDL-8217

commit 85bb13e7760f622e83963c3ad9ac6179f8f62a69
Author: stronk7 <stronk7>
Date:   Tue, 23 Jan 2007 02:50:42 +0900
Tag:    v1.8.0

Adding FK + Unique Indexes to the groups module. MDL-8240

commit e267037b86fe7859309acf084e33096638125b35
Author: stronk7 <stronk7>
Date:   Tue, 23 Jan 2007 02:27:04 +0900
Tag:    v1.8.0

Fix XMLDBEditor for groups. Wasn't being intanciated properly.

commit 79804e2805e901fc180e2d2abf192fc7866ea50e
Author: stronk7 <stronk7>
Date:   Mon, 22 Jan 2007 08:49:23 +0900
Tag:    v1.8.0

Convert DB lang fields to 30cc. Part of MDL-7157

commit deb12ef4cda3f84f07551c65bb958112e979b816
Author: stronk7 <stronk7>
Date:   Mon, 22 Jan 2007 08:37:54 +0900
Tag:    v1.8.0

Convert DB lang fields to 30cc. Part of MDL-7157

commit 9fc57f4c22f18e4c2cdf8de29ce0689cc6d25351
Author: stronk7 <stronk7>
Date:   Mon, 22 Jan 2007 04:56:05 +0900
Tag:    v1.8.0

Some old PG sites have user->firstname and user->lastname defined to be 30cc. Repair them. MDL-7110

commit 0cfdd50bdc6c496dabedec60c80d8daf3bfdaa68
Author: stronk7 <stronk7>
Date:   Sun, 21 Jan 2007 04:32:02 +0900
Tag:    v1.8.0

Changing resource->alltext to medium. MDL-6872

commit 26a1b2f35b0a53859069240b9a6b4ec966e65a29
Author: stronk7 <stronk7>
Date:   Sun, 21 Jan 2007 03:59:22 +0900
Tag:    v1.8.0

Now group->description and groups_groupings->description are NULLable Also, some incorrect default values are out (XMLDB handles them).

commit 8dc06480571d8a38d3bb7d5fa2e99afe3728d87b
Author: stronk7 <stronk7>
Date:   Sun, 21 Jan 2007 03:10:29 +0900
Tag:    v1.8.0

Now resource->summary is nullable. MDL-7355

commit b5346d51a7842e1cbf0fe8806a059b76c736b991
Author: stronk7 <stronk7>
Date:   Sun, 21 Jan 2007 03:08:55 +0900
Tag:    v1.8.0

Generators can use ddllib.php stuff

commit 97ad23eb262a22a03f17ece1f25b9badf5e02d06
Author: stronk7 <stronk7>
Date:   Sun, 21 Jan 2007 02:59:28 +0900
Tag:    v1.8.0

Bad news. "external" is one reserved word for mssql and we have one in the the SCORM module.

commit b6fd063054c8225af2954ed7013b28777063f5a6
Author: stronk7 <stronk7>
Date:   Wed, 17 Jan 2007 02:41:58 +0900
Tag:    v1.8.0

Fixed typo causing mysql fail on install without prefix. MDL-8203

commit a5855a89bfb79392f55148c3977626f9092b6840
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 21:11:33 +0900
Tag:    v1.8.0

Avoiding some itarations. MDL-7902. Thanks Samuli!

commit 5c8b250f3775e04243f045f503e40fe1230731ff
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:17:20 +0900
Tag:    v1.8.0

Now the list of downloadable langs (when no fopen is available) doesn't break XML. Related to MDL-7861

commit dbaa905e10e8e1e3880daadbafc81b16b92fcc8d
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:15:09 +0900
Tag:    v1.8.0

Now all the filters global config pages are valid XML. Related to MDL-7861

commit bf63e03ebe6f7427c985d48fad9a2df5bd7a4a0e
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:14:40 +0900
Tag:    v1.8.0

Now all the blocks global config pages are valid XML. Related to MDL-7861

commit 73be66c7a8ecc34272ffec6692fb5ee651b2ee05
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:13:58 +0900
Tag:    v1.8.0

Now all the modules global config pages are valid XML. Related to MDL-7861

commit 84e2c6c72463bd6caf0458fe9698679c785e1b0c
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:12:32 +0900
Tag:    v1.8.0

Added some styles to display phpinfo properly.

commit 629b635dc4c13df15a2a0378a98d0991a902f502
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:11:31 +0900
Tag:    v1.8.0

Now frame-less phpinfo page is valid XML. Part of MDL-7861

commit 3facbe66327e818073ee3f5b274dfbca5951f280
Author: stronk7 <stronk7>
Date:   Sun, 14 Jan 2007 05:06:17 +0900
Tag:    v1.8.0

Now help information is back again (typo in js) and, under MySQL, the script is able to change DB encoding if empty.

commit 1d5c40048a7a74c82c658e938f36ad482999ecd1
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 19:44:58 +0900
Tag:    v1.8.0

Moving set_dbfamily() from dmllib.php to setuplib.php as it's needed in early stages and we don't want the installer to depend of dmllib.

commit ed7656bf013d116a1b32ece1adb4e7ed87241dfb
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 10:20:10 +0900
Tag:    v1.8.0

Now environment stuff uses $CFG->dbfamily

commit 38b72419344aee53ac6c21c7511e6bc3aaf49cfa
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 09:52:59 +0900
Tag:    v1.8.0

Some more uses of $CFG->dbfamily. MDL-7061

commit a4bad45c2c67cc7fa7d76e17a05c0797ec6309ef
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 09:32:19 +0900
Tag:    v1.8.0

Some more uses of $CFG->dbfamily. MDL-7061

commit bb48a537359e1ba96c76511374500877358c6b7e
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 09:09:02 +0900
Tag:    v1.8.0

Some more uses of $CFG->dbfamily. MDL-7061

commit da340978d524473a9b7b9cf8c6fc17b755a84681
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 09:07:40 +0900
Tag:    v1.8.0

Need to return the value too, to use it sometimes.

commit d847d4027bf4fb1ac04a06d14f94781fb3633129
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 08:52:23 +0900
Tag:    v1.8.0

Now set_dbfamily() will work properly when invoked from install.

commit c672870f8e482d907c46561eb221dc16e9982cdc
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 08:44:00 +0900
Tag:    v1.8.0

Introducing CFG->dbfamily and create a setter function for it (to be able to use families at install). MDL-7061

commit 485056620e92849bd6a97f373d49060974c5dc3d
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 04:42:42 +0900
Tag:    v1.8.0

Introducing CFG->dbfamily and deleting check_db_compat(). MDL-7061

commit 6b65a11173e806d162d849fbc0d1236997e83215
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 03:53:09 +0900
Tag:    v1.8.0

empty array as default value for a multiselect config variable.

commit 0b0f7c00beed5144df1b3097e7dbce56146d2a74
Author: stronk7 <stronk7>
Date:   Sat, 13 Jan 2007 03:51:36 +0900
Tag:    v1.8.0

Looking for empty default values in output_html() for multiselect settings. Must be empty arrays.

commit 55526eee2d295e7159b94ba71c27f0275ac8060c
Author: stronk7 <stronk7>
Date:   Fri, 12 Jan 2007 21:57:50 +0900
Tag:    v1.8.0

Some changes to GROUP BY clause to be cross-db (all non aggregate fields in SELECT must be in GROUP BY). Review the logic! MDL-8160

commit 60b562c49e039b16032be361f6050c525b130203
Author: stronk7 <stronk7>
Date:   Fri, 12 Jan 2007 09:06:08 +0900
Tag:    v1.8.0

Adding some $CFG->dbfamily-s here and there. MDL-7061

commit 93901eb42feb1b56e9e8e8ec2cbd7c45b55bb096
Author: stronk7 <stronk7>
Date:   Fri, 12 Jan 2007 05:08:00 +0900
Tag:    v1.8.0

Change some connections to non-persistent and force new connections to avoid mysql (and oracle, I think) reuse of the main one. MDL-8152

commit 82372b2c641350be874901beecde8d07045bce95
Author: stronk7 <stronk7>
Date:   Thu, 11 Jan 2007 01:31:40 +0900
Tag:    v1.8.0

Introducing iPhone support for Moodle. cool

commit c90edfe168adbf8e2f3e407cf736f6582200de15
Author: stronk7 <stronk7>
Date:   Tue, 09 Jan 2007 04:54:44 +0900
Tag:    v1.8.0

Environment checks support mysqli. MDL-8113

commit c0fe837eeb888534957f1e83dfc52ef2d3d3cddc
Author: stronk7 <stronk7>
Date:   Tue, 09 Jan 2007 04:07:41 +0900
Tag:    v1.8.0

Adding support for mysqli. MDL-8113

commit cbcde5d8af7727fb7bfd19653da29a4fdc58e6fe
Author: stronk7 <stronk7>
Date:   Tue, 09 Jan 2007 03:33:03 +0900
Tag:    v1.8.0

Adding initial support for mysqli databases. MDL-7967

commit 2f078622af70036b0728b1391320da9c90f594e3
Author: stronk7 <stronk7>
Date:   Tue, 26 Dec 2006 04:51:17 +0900
Tag:    v1.8.0

Now excel can be generated under iso-8859-1 (safer) based on the $CFG->excelisofiles (true/false) value. It allows iso-8859-1 compatible sites to use better Excel generation. MDL-7993.

commit 72da35d536ee029521f1d72309ce39328ebeb11c
Author: stronk7 <stronk7>
Date:   Thu, 21 Dec 2006 01:41:11 +0900
Tag:    v1.8.0

Add support for multilang titles in forum->posts

commit 47c9c8f5dd6a03b32df135df4634adeb7a38e1ca
Author: stronk7 <stronk7>
Date:   Wed, 20 Dec 2006 19:00:02 +0900
Tag:    v1.8.0

Added one missing format_string() to post->subject

commit 2c41b2d72e3577ca0ddf656680892434ac6fd947
Author: stronk7 <stronk7>
Date:   Sat, 02 Dec 2006 01:40:47 +0800
Tag:    v1.8.0

Dictionary name wasn't being saved, so aspell didn't worked under 1.7 if the setting had been edited. MDL-7762

commit d0e35419c5457111ba3274913c45f055a1141cd9
Author: stronk7 <stronk7>
Date:   Sun, 26 Nov 2006 01:13:19 +0800
Tag:    v1.8.0

Typo causing continue button in closed quizzes to fail. MDL-7685

commit c54f0c106a9bf2ba5a25dfe78eb825debb17e9aa
Author: stronk7 <stronk7>
Date:   Sun, 19 Nov 2006 04:28:00 +0800
Tag:    v1.8.0

Prevent some false-positives detecting uses of old user_XXX tables. See http://moodle.org/mod/forum/discuss.php?d=58976

commit db9940b6054d8185d870b01238155379ee77f925
Author: stronk7 <stronk7>
Date:   Sun, 19 Nov 2006 03:08:10 +0800
Tag:    v1.8.0

PHP generated code  must use $result instead of $status. MDL-7533

commit 0b02aefb93e55fed4cdd4774afd70e0bc6b0b660
Author: stronk7 <stronk7>
Date:   Wed, 15 Nov 2006 00:31:33 +0800
Tag:    v1.8.0

while working, it's better to compare with original data (un-slashed)

commit b09cba5084accb1ec71abf0b1b45268dc4147198
Author: stronk7 <stronk7>
Date:   Tue, 14 Nov 2006 06:59:58 +0800
Tag:    v1.8.0

Set Assoc mode always after DB connection. Discovered by MDL-7443

commit db15d4375e3051ac0772bf41c711e7342d47fc6e
Author: stronk7 <stronk7>
Date:   Tue, 14 Nov 2006 06:49:30 +0800
Tag:    v1.8.0

Fetchmode needs to be explicity set to ASSOC. Plus 1 missing library added. MDL-7443

commit 0d83d91c884e237330f0a1ebab6567929f90895c
Author: stronk7 <stronk7>
Date:   Tue, 07 Nov 2006 01:44:00 +0800
Tag:    v1.8.0

simple bumb (Sync with 17_STABLE)

commit 19e62375522afa498824ddfef9082928b423cff4
Author: stronk7 <stronk7>
Date:   Tue, 07 Nov 2006 01:22:13 +0800
Tag:    v1.8.0

And, finally, IE is able to display IMS packages properly! cool One of the worst to solve bugs in my life! MDL-6417

commit 3eda2b3a7e933b7ba8c8670ae312edf844603753
Author: stronk7 <stronk7>
Date:   Sun, 05 Nov 2006 17:45:19 +0800
Tag:    v1.8.0

modify_database() will show the deprecated debugging after 2006101007 (Moodle 1.7 release version) MDL-5919

commit 981b3ae06f61cd898a53be0571a9f4650c452b67
Author: stronk7 <stronk7>
Date:   Sun, 05 Nov 2006 07:30:29 +0800
Tag:    v1.8.0

Now GD is checked before displaying course overview graphs. MDL-7204

commit 6c279afaef444a64183f25bdd99f97ec4c3be0f2
Author: stronk7 <stronk7>
Date:   Sun, 05 Nov 2006 01:01:34 +0800
Tag:    v1.8.0

Now all the get_records() functions support only one field to be specified in the SELECT clause. Not needed anymore to write double "SELECT id, id..." queries. Results returned follow exactly the same structure than normal recordsets (first field = key) MDL-5877

commit bb5b7329bb3aaaa6162825361d7b6588a7f28d87
Author: stronk7 <stronk7>
Date:   Sun, 05 Nov 2006 00:22:49 +0800
Tag:    v1.8.0

Deprecating modify_database(). It shows debugging info if release > 2006101004 (Beta2 +01) MDL-5919

commit 49173d25a76b5561c3f90e880b43d7dcecfd7da2
Author: stronk7 <stronk7>
Date:   Fri, 03 Nov 2006 07:09:39 +0800
Tag:    v1.8.0

Ending fied/key/index PHP generators

commit ef856b2d5246ad8a8d904f8398856e44b030dcf8
Author: stronk7 <stronk7>
Date:   Fri, 03 Nov 2006 06:44:29 +0800
Tag:    v1.8.0

Enablig rename_table() PHP generator

commit 720c5ef843080de33f8206603a144f87f0578711
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 19:52:13 +0800
Tag:    v1.8.0

in/on/at too many ways to say "en" in Spanish. tongueout

commit 6f4bdb9c9be789deacc36e76bfd2c18cef0a89b9
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 04:34:12 +0800
Tag:    v1.8.0

Prevent +/- operators (REGEXP) on glossary searches for MSSQL and Oracle. MDL-7312

commit 6bb4875f35b52031902077ae1aad9e7cdd49ca69
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 04:22:10 +0800
Tag:    v1.8.0

Prevent +/- operators (REGEXP) on messages search. MDL-7312

commit 7b3cf4595162efaddf8241a91ae07ae95f4833c2
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 04:17:03 +0800
Tag:    v1.8.0

Transform TOKEN searches into STRING searches and trim +- chars. MDL-7312

commit 6bb0f67f534f383933b74b57e16dffc368f1f967
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 03:54:46 +0800
Tag:    v1.8.0

Prevent +/- operators (REGEXP) on course searches for MSSQL and Oracle. MDL-7312

commit 96caf38df226190e6e8a10bf73bdeab1ab7bb032
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 03:17:19 +0800
Tag:    v1.8.0

Fixed searches, list of results and simplified SQL logic. All those while trying to fix one LCASE() use. MDL-7310

commit 42a2f7769301b0e033d9e11a70bae3cd1a27ab88
Author: stronk7 <stronk7>
Date:   Wed, 01 Nov 2006 01:51:12 +0800
Tag:    v1.8.0

Now wiki supports Unicode searches

commit 6df56bc473db19e478712cdc7dd3e75f9164ecc3
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 07:13:48 +0800
Tag:    v1.8.0

Oracle optimization. Texts under 4000cc can be handled directly as varchar2, so they don't need the 2-phase (insert/update) handling of LOBs

commit 18fcece954b785a6dc55cdce12bb864ddbd806ce
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 06:59:49 +0800
Tag:    v1.8.0

Fixed one bug on Oracle produced when we were inserting records with returnid disabled and containing LOBs

commit 8b497bbce31a0b786c36a3ecdb8347ed030729c9
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 03:53:40 +0800
Tag:    v1.8.0

Prevent Oracle to fail when inserting records with log->info empty (will be solved once we got all those NOT NULL fields fixed)

commit 8451166cfb23e4a820268d4fc5bf83b8d10dceb7
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 03:32:44 +0800
Tag:    v1.8.0

Fixing display of pivots when they are author names

commit e24d96baf6248069643399290e5ba48c5be5ef04
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 03:02:58 +0800
Tag:    v1.8.0

Fixing some queries with duplicate column names. MDL-7294

commit 2cb3ab13f754a57ff868bcff64a04ff0023c09e6
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 02:34:21 +0800
Tag:    v1.8.0

Now glossary is using the proper sql_substr() function

commit 06edab84e16de901a103e0852b462551dec9f74b
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 02:31:08 +0800
Tag:    v1.8.0

New function sql_substr() returns the proper substr() function for each DB

commit 0db568393d78dbdf81d92decddafb9661ce1dadf
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 02:01:10 +0800
Tag:    v1.8.0

Now lcase() and ucase() are out from glossary

commit a91960b30f69f4caf2f19449226961b565b0720c
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 01:46:37 +0800
Tag:    v1.8.0

sql_as() is deprecated. Column aliases ALWAYS must use the AS keyword.

commit db3df7266a5abaa5fb74c6901e3e0e3cf85456db
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 01:41:55 +0800
Tag:    v1.8.0

Deprecating sql_as (now the AS keyword is required in COLUMN aliases)

commit 83a4eaa55a1fb13e45dec3f36ef6cb9a2ab26c95
Author: stronk7 <stronk7>
Date:   Tue, 31 Oct 2006 00:55:17 +0800
Tag:    v1.8.0

Updating wood to show the nav-bar properly.

commit 4a575a657076f9e40748f38df2ef936967994eb4
Author: stronk7 <stronk7>
Date:   Mon, 30 Oct 2006 23:58:46 +0800
Tag:    v1.8.0

Added enablerecordcache setting to control the get_record() cache. Note that some parts of Moodle can enable/disable it selectively.

commit 7bcd11c1370b2e5d419dcc0417c795f21f2c9c38
Author: stronk7 <stronk7>
Date:   Mon, 30 Oct 2006 23:54:10 +0800
Tag:    v1.8.0

Added some strings for the enablerecordcache setting.

commit 8b755329faa34e2cd11ddfc56fa55391cb334770
Author: stronk7 <stronk7>
Date:   Sun, 29 Oct 2006 07:13:26 +0800
Tag:    v1.8.0

Adding PIVOT as MSSQL reserved word

commit b716e2e069bc74f7a46c48846f84ebed39be70b9
Author: stronk7 <stronk7>
Date:   Sun, 29 Oct 2006 03:56:34 +0800
Tag:    v1.8.0

Now record_cache is controlled by $CFG->enablerecordcache

commit 2fd40f8cbec46e8a2647f3870bf578f2b09018d2
Author: stronk7 <stronk7>
Date:   Sun, 29 Oct 2006 01:53:00 +0800
Tag:    v1.8.0

Moved cache cleaning code near the begin of functions. Sometimes it wasnt' executed due to function ending. MDL-7196

commit 0163b1d09817a1e27b0630797236d55072fcbe75
Author: stronk7 <stronk7>
Date:   Sun, 29 Oct 2006 00:50:28 +0800
Tag:    v1.8.0

Adding one unmerged change from 17_STABLE. Was breaking some things...

commit dddf32590f17fc866541ca12242753224432df87
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 23:24:04 +0800
Tag:    v1.8.0

Dropping xmldb_dbg($message). Now it has been replaced by a new cleaner debug system, with XMLDB hook for debug enabled by the creation of one function called: xmldb_debug($message, $object), currently present in lib/datalib.php MDL-7261

commit 62d4e774a3db541f2a9355856c57d2b661fd9210
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 23:20:14 +0800
Tag:    v1.8.0

New xmldb_debug($message, $object) added. It's the official hook provided by XMLDB's debug() function. MDL-7261

commit 5bbe483102e0b5b6c90c0c34d9d8706a26e6bcb3
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 23:18:40 +0800
Tag:    v1.8.0

Now, on error, the new XMLDB->debug($msg) function is called. It provides the facility to hook to one external function, if available: xmldb_debug($message, $xmldb_object) to perform custom debugging/logging. MDL-7261

commit 23357d060b13a834a8cd3d32279182dbbf80eebe
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 19:02:54 +0800
Tag:    v1.8.0

Update to 1.8dev

commit d5c9d49be37c7db1badab3a246df6c16f96ea6f7
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 18:47:19 +0800
Tag:    v1.8.0

Fix main install.xml file. It was preventing HEAD installation. MDL-7262

commit 93f98abdb95a83cbccd3fc1265487e5fe2e67472
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 18:37:54 +0800
Tag:    v1.8.0

Improve error output of install_from_xmldb_file(). Part of MDL-7262

commit 4bfb64aad25eb6662b89c8eaa3c79254d829cf9a
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 01:49:25 +0800
Tag:    v1.8.0

Counting extra updates performed by Oracle & MSSQL in PERF

commit 068744a7a5a7ad06b884386e39a3a4e813e5b634
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 01:14:58 +0800
Tag:    v1.8.0

I forgot to globalize $record_cache in delete_record_XXX() functions.

commit 9d98635b5ef74220b5a9f01035d4892adf60651a
Author: stronk7 <stronk7>
Date:   Sat, 28 Oct 2006 00:56:34 +0800
Tag:    v1.8.0

Minor improvements to the get_record() cache. Part of MDL-7196

commit 5d0fc5c33dd8086c5e848ad03a81738ba22078ea
Author: stronk7 <stronk7>
Date:   Fri, 27 Oct 2006 06:46:02 +0800
Tag:    v1.8.0

Deprecating old "upgrade" files. MDL-7214

commit 3aac1dc9a0e4767e71639624dfd5b1351d246374
Author: stronk7 <stronk7>
Date:   Fri, 27 Oct 2006 06:39:10 +0800
Tag:    v1.8.0

Deprecating old "upgrade" files. MDL-7214

commit dfdd533230c2a7c45082cdd851f10b62645a8373
Author: stronk7 <stronk7>
Date:   Fri, 27 Oct 2006 02:12:42 +0800
Tag:    v1.8.0

New upgrade.php file added for this module. MDL-7214

commit b8a342d7ac45ea04b99794c061a8797bd302067e
Author: stronk7 <stronk7>
Date:   Fri, 27 Oct 2006 01:33:40 +0800
Tag:    v1.8.0

New upgrade.php file added for this module. MDL-7214

commit 19606d8bd58ff6d1a60789ac22fe3054630d8e8f
Author: stronk7 <stronk7>
Date:   Fri, 27 Oct 2006 01:02:31 +0800
Tag:    v1.8.0

New upgrade.php file added for this module. MDL-7214

commit d7a7184730b1e5db2c959d2ca1cc37e5c8361a23
Author: stronk7 <stronk7>
Date:   Fri, 27 Oct 2006 00:33:49 +0800
Tag:    v1.8.0

New upgrade.php file added for this module. MDL-7214

commit cff74cb145ed417957563bf377eabc291e01e934
Author: stronk7 <stronk7>
Date:   Thu, 26 Oct 2006 23:38:18 +0800
Tag:    v1.8.0

New upgrade.php file added for this module. MDL-7214

commit ecfeb03a72617c78520ae0a2c81abca42a3c1611
Author: stronk7 <stronk7>
Date:   Thu, 26 Oct 2006 07:29:44 +0800
Tag:    v1.8.0

First model of new upgrade.php scripts and comments in old ones. Need validation before extending them everywhere across core. MDL-7214

commit 0217757b091940a83cfc6cc118ab29008aca9966
Author: stronk7 <stronk7>
Date:   Wed, 25 Oct 2006 06:00:29 +0800
Tag:    v1.8.0

DeLIMITing Moodle core. Now the new $limitfrom, $limitnum parameters are used instead. MDL-7168

commit 5fd4e46dbd3c98d72caa51ffd8a6ff9c287b7ae3
Author: stronk7 <stronk7>
Date:   Wed, 25 Oct 2006 02:29:34 +0800
Tag:    v1.8.0

Dropping some hardocded "mdl" prefixes. MDL-7202

commit 422770d8cba7227b6c9ce1ad46b2a8b85f43e9c0
Author: stronk7 <stronk7>
Date:   Tue, 24 Oct 2006 07:00:18 +0800
Tag:    v1.8.0

Moving deprecated uses of sql_paging_limit() to the new $limitfrom, $limitnum parameters in all the get_recordXXX() functions. MDL-7167

commit 92602651dcc380b4b96d13a2102838d631d78241
Author: stronk7 <stronk7>
Date:   Tue, 24 Oct 2006 01:46:08 +0800
Tag:    v1.8.0

Now insert_record() is using $db->GenID() to retrieve sequence numbers for Oracle. Just wondering if the same function should be used by PostgreSQL too. MDL-7183

commit 37c47abaca93252f4057e678bca2e7ae6f2ea177
Author: stronk7 <stronk7>
Date:   Tue, 24 Oct 2006 00:03:52 +0800
Tag:    v1.8.0

Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173

commit f96a5db1c431876d21d17bddca78e453713b7dc1
Author: stronk7 <stronk7>
Date:   Mon, 23 Oct 2006 15:46:10 +0800
Tag:    v1.8.0

strip "old" harcoded "limit" clauses from the sql passed and debug about them. MDL-7173

commit b9c3b8c73446c59a06a9b28bea90c8bae5928738
Author: stronk7 <stronk7>
Date:   Mon, 23 Oct 2006 08:01:57 +0800
Tag:    v1.8.0

Prevent MSSQL to return from insert_record() before trying to execute the updating of LOBs.

commit c1bf1b007359563a7ac5b9897d0aa23b6eb80da9
Author: stronk7 <stronk7>
Date:   Mon, 23 Oct 2006 07:21:59 +0800
Tag:    v1.8.0

Debugging sql_paging_limit() as deprecated and enforcing get_field_sql() to return 1 record max

commit 55d3af6f3a6724f50d6c2603fa825f71faf5cc29
Author: stronk7 <stronk7>
Date:   Mon, 23 Oct 2006 06:58:29 +0800
Tag:    v1.8.0

Killing all sql_paging_limit() uses

commit 789ab3ff246fb38bf12aa60ad37a81d7f68f611b
Author: stronk7 <stronk7>
Date:   Mon, 23 Oct 2006 06:49:54 +0800
Tag:    v1.8.0

Killing all sql_paging_limit() uses

commit cb4c2078321d469066a983e2097a0a900f6d8633
Author: stronk7 <stronk7>
Date:   Mon, 23 Oct 2006 06:37:30 +0800
Tag:    v1.8.0

Adding limitfrom and limitnum parameters to a bunch of rarely executed functions...

commit b4c7bb78fcfa1a07f60435f7c01e3b378f226218
Author: stronk7 <stronk7>
Date:   Sun, 22 Oct 2006 02:28:28 +0800
Tag:    v1.8.0

Deleting some old oci8po files from CVS.

commit 8914508a4b3af9891011b6891efedcb9159fad62
Author: stronk7 <stronk7>
Date:   Sun, 22 Oct 2006 02:19:47 +0800
Tag:    v1.8.0

Prevent add_field() to work if we are adding one not null field to one non-empty table without specifying its default value.

commit e0251aea347a856e056bcbdc277f1d1baa7bdfb6
Author: stronk7 <stronk7>
Date:   Sun, 22 Oct 2006 01:25:44 +0800
Tag:    v1.8.0

Added two more tests:

commit 1fe2eb59c8ce388f2d626eb24a9e2f6b6a9fb93f
Author: stronk7 <stronk7>
Date:   Sun, 22 Oct 2006 01:19:37 +0800
Tag:    v1.8.0

Minor typo fixed.

commit 04c9f8dcc2de447e94c43a1e1dbea863f6d73a64
Author: stronk7 <stronk7>
Date:   Sun, 22 Oct 2006 00:36:16 +0800
Tag:    v1.8.0

One typo (!==) was preventing defaults to be properly calculated for integers. Thanks to Nigel McNie for being on that!

commit 211836549f6213a7321f4d2002abb9bbfd166947
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 06:13:53 +0800
Tag:    v1.8.0

Adding support for the new mssql_n driver

commit b2ad03364bef8f70a67bd22478d869346b1b6d27
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 06:07:21 +0800
Tag:    v1.8.0

Adding support for the new mssql_n driver

commit ed4b4bf1d03416febe96f27251e2abe2368c4584
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 05:57:23 +0800
Tag:    v1.8.0

New ADOdb driver that extends the standard mssql one. All it does is to prepend the 'N' char before any SQL literal sent to DB, mainly because nobody (ODBTP, FreeTDS, ODBC, SQL*Server) seems to be doing this task, and it prevents, in an high degree true cross-db compatibility.

commit 6d55d8538bcbc7d0cc90a42cbec6ff06a4a33688
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 03:01:02 +0800
Tag:    v1.8.0

Adding support for the new mssql_n driver

commit b9bc4d74606d7061b480af9fa88d1692ec64734f
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 02:45:16 +0800
Tag:    v1.8.0

Adding support for the new mssql_n driver

commit f9ec4d372235236b9ae00b5bd3009d61e94acc1d
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 02:29:47 +0800
Tag:    v1.8.0

Adding support for the new mssql_n driver

commit bf42ceed7f8d543892652e5653bffb6f92bbced7
Author: stronk7 <stronk7>
Date:   Fri, 20 Oct 2006 01:29:37 +0800
Tag:    v1.8.0

Addding support for the new mssql_n ADOdb driver that, transparently, prepends the N char for all the string literals being set to MSSQL (until MS Unicode - standard- support will arrive).

commit 1afef7d9b3394290d7b47927701338111c272eee
Author: stronk7 <stronk7>
Date:   Wed, 18 Oct 2006 07:37:58 +0800
Tag:    v1.8.0

Now insert/update/set of BINATY fields is supported by MSSQL (and easier to add new DB in the furure) MDL-7062

commit b2b33a1fef2b06285d127362f90e6ce8a067b34e
Author: stronk7 <stronk7>
Date:   Wed, 18 Oct 2006 07:31:49 +0800
Tag:    v1.8.0

Added 4 more tests to check CLOB/BLOB handling across all DBs. MDL-7062

commit e45346f98ef84463febe11b2a122e38d1b227376
Author: stronk7 <stronk7>
Date:   Wed, 18 Oct 2006 02:31:56 +0800
Tag:    v1.8.0

Fixed typo that was preventing correct BLOB storage under Oracle.

commit ba4aa5ec729d9b63608678c43ffcc67d57c980c5
Author: stronk7 <stronk7>
Date:   Tue, 17 Oct 2006 01:58:01 +0800
Tag:    v1.8.0

Added one more XMLDB test for find_sequence_name()

commit d5eff6795e951bd9e691cfd25ea5458a0eaace3c
Author: stronk7 <stronk7>
Date:   Tue, 17 Oct 2006 01:36:13 +0800
Tag:    v1.8.0

Added support for getSequenceFromDB() to PG.

commit 32ac847351746dff78c6517ec316f97b48ba9d1e
Author: stronk7 <stronk7>
Date:   Mon, 16 Oct 2006 07:04:06 +0800
Tag:    v1.8.0

New block upgrade functions must be called:

commit 6b7be6d74fe82a2a5df55183b57b58efd17a266c
Author: stronk7 <stronk7>
Date:   Mon, 16 Oct 2006 04:21:27 +0800
Tag:    v1.8.0

Now set_field() supports Oracle LOBs. Better error handling of oracle_update_lobs()

commit 73ad2d0c29a690f45b38ee161ae65025d02982f1
Author: stronk7 <stronk7>
Date:   Mon, 16 Oct 2006 03:40:33 +0800
Tag:    v1.8.0

Now update_record() supports LOBs under Oracle. Plus prevent empty objects to be updated.

commit 1a8078073e7c39f9cfcf74c79a41cb5f7861f050
Author: stronk7 <stronk7>
Date:   Mon, 16 Oct 2006 02:37:01 +0800
Tag:    v1.8.0

Minor changes + debug info in UpdateXlob()

commit b825e563c07baa5f1d1c8cc8ec985b1b3d809b3a
Author: stronk7 <stronk7>
Date:   Mon, 16 Oct 2006 00:41:55 +0800
Tag:    v1.8.0

- Introducing the first version of the new mssql_n adodb driver (not finished, just for experimenting). - Now insert_record() is handling Oracle CLOBS and BLOBS properly (really annoying the number of hacks needed). - Creating one new global object to cache $db->MetaColumns() calls per request, because it's being used in a lot of places inside dmllib. TODO: hack update_record() and set_field() to allow Oracle LOBs       enclose all the Oracle function calls into one db transaction

commit 103798878752a45a337413ce0b8f42961583f34c
Author: stronk7 <stronk7>
Date:   Sat, 14 Oct 2006 07:49:48 +0800
Tag:    v1.8.0

Now admin/index.php checks for proper prefixes (MDL-6230)

commit 86453d8bd6e4fa7762677bcaf27ca733bfa7eb36
Author: stronk7 <stronk7>
Date:   Sat, 14 Oct 2006 02:20:52 +0800
Tag:    v1.8.0

Now installersadMDL-6823) - performs Oracle charset checks (both client and server) - prefix checks - shows differnt information foreach DB flavour - provide one link to Moodle Docs for MSSQL and Oracle - the ODBC connector has been marked as experimental due   to confirmed problems by MS

commit e0f5f277363a692c75d75709da98ecbf327ee680
Author: stronk7 <stronk7>
Date:   Sat, 14 Oct 2006 01:25:07 +0800
Tag:    v1.8.0

Some more strings added to the installer to make it more resposible.

commit b676fc871813797f1919e34a905756b0452e3b79
Author: stronk7 <stronk7>
Date:   Fri, 13 Oct 2006 19:34:43 +0800
Tag:    v1.8.0

Added new strings for DB select/configure

commit 906eebf6ad5dc6287bab77c84a484af10a84b453
Author: stronk7 <stronk7>
Date:   Thu, 12 Oct 2006 20:28:36 +0800
Tag:    v1.8.0

Small change in rename_field() so objects won't become modified at all in the process.