Git commits in Moodle 1.8.3 by stronk7

commit c194ca1c7041c9f57926de94c2c9fcdc88e89e7c
Author: stronk7 <stronk7>
Date:   Fri, 05 Oct 2007 06:18:27 +0800
Tag:    v1.8.3

MDL-11597. Backported from HEAD to 18_STABLE

commit d672ecf8e8fabb5d72c8207a0f19becd865c5bb5
Author: stronk7 <stronk7>
Date:   Mon, 24 Sep 2007 23:37:52 +0800
Tag:    v1.8.3

Backporting typo from HEAD

commit c54982c11b2a05ae6df7ad2a7a7ac3848ecd5455
Author: stronk7 <stronk7>
Date:   Tue, 18 Sep 2007 06:08:31 +0800
Tag:    v1.8.3

Interlinking from/to data module added. MDL-9576

commit 1714e789f498901df31a5d790b1b9933caaf9553
Author: stronk7 <stronk7>
Date:   Tue, 18 Sep 2007 00:58:54 +0800
Tag:    v1.8.3

Now, under quick grading, when new assignment_submissions records are created, we provide a default for data1 and data2 text not null columns. MDL-11268

commit eb2a551ce4b096af0ad163d26f3876d8397cd6ac
Author: stronk7 <stronk7>
Date:   Mon, 17 Sep 2007 07:01:28 +0800
Tag:    v1.8.3

Typo causing wiki files not being saved in backup. MDL-9335

commit 82cb40f8132d049cc8c8c9179e007c5ffcdd692d
Author: stronk7 <stronk7>
Date:   Mon, 17 Sep 2007 03:24:08 +0800
Tag:    v1.8.3

Hide the metacourse dropdown menu if the course isn't a metacourse and general XHTML compliance. MDL-9922

commit dbc63684622e4ad81d04a32a84612b2a0c951421
Author: stronk7 <stronk7>
Date:   Mon, 17 Sep 2007 02:32:50 +0800
Tag:    v1.8.3

Prevent some warning when restoring site courses... MDL-10054 MDL-10118

commit f4afcf7efa81be19393c2d13dc6cb6b96d7c8d12
Author: stronk7 <stronk7>
Date:   Mon, 17 Sep 2007 01:27:29 +0800
Tag:    v1.8.3

Show the roll dates option only if the backup course has a start date (some formats like main page, social..., haven't it and rolling dates from 0 produces crazy dates. MDL-10125

commit 05c7e459acbda5b7c15867fead3c1077f7b8b902
Author: stronk7 <stronk7>
Date:   Sun, 16 Sep 2007 16:28:55 +0800
Tag:    v1.8.3

Fixed wrong link to log report. Shouldn't these links be in php code instead of lang files? MDL-11281

commit b7f2b64f2f16f849115acca8b9a0bf7228363833
Author: stronk7 <stronk7>
Date:   Fri, 14 Sep 2007 01:58:55 +0800
Tag:    v1.8.3

Now using one cross-db solution to be able to simulate the status boolean ins assignment submissions. MDL-8164 & MDL-10846

commit 8d20f40cb969988128bb6f922e7ad91eb7a30567
Author: stronk7 <stronk7>
Date:   Sun, 09 Sep 2007 06:56:29 +0800
Tag:    v1.8.3

Fix excess of slashing in course names when restoring. MDL-11151

commit 347f90e704ee6cae77991277831587400a710dc5
Author: stronk7 <stronk7>
Date:   Sun, 09 Sep 2007 06:48:23 +0800
Tag:    v1.8.3

Fix link in email to new admin report. MDL-7850

commit b533156097c27a6d646999bfefeb129c68ebc68a
Author: stronk7 <stronk7>
Date:   Sun, 09 Sep 2007 06:44:42 +0800
Tag:    v1.8.3

Adding some strings for the new backups report. MDL-7850

commit 22bf0fd32cfa52a46da472b2a8995aade1e00d26
Author: stronk7 <stronk7>
Date:   Sun, 09 Sep 2007 06:39:23 +0800
Tag:    v1.8.3

Redirecting old backup log to the new one. MDL-7850

commit 2c4f2d400438c1b2d31368330e037d66f81931b0
Author: stronk7 <stronk7>
Date:   Sun, 09 Sep 2007 06:32:51 +0800
Tag:    v1.8.3

Adding new report to display scheduled backup logs. MDL-7850

commit 97bc9f4934454c1e7cd434a4f7967c807dc3bdf9
Author: stronk7 <stronk7>
Date:   Thu, 06 Sep 2007 02:40:25 +0800
Tag:    v1.8.3

Now restoring groups is cross-db (the detection of existing groups)

commit 07893c52391a960977a287a1468ca9bcdebf116f
Author: stronk7 <stronk7>
Date:   Wed, 05 Sep 2007 23:27:53 +0800
Tag:    v1.8.3

Repeated fields aren't necessary at all since Moodle 1.7 and, in fact, they throw error if using limits! MDL-9592

commit 93d8244508be5736f2e133b7bbefa61a987798d2
Author: stronk7 <stronk7>
Date:   Wed, 05 Sep 2007 07:16:14 +0800
Tag:    v1.8.3

Now the Oracle XMLDB generator detects changes of precision in NUMBERs without decimals (virtually INTs) and is able to perform the change of precision properly

commit 77b7083885ea7dc86dca39c4bf1336be3fa57926
Author: stronk7 <stronk7>
Date:   Wed, 05 Sep 2007 06:10:11 +0800
Tag:    v1.8.3

Added one new test to change precission of a numeric field to a smaller one. It breaks Oracle in its current status.

commit a0d692e9251944edd199f9ed84a014cec449e712
Author: stronk7 <stronk7>
Date:   Sun, 02 Sep 2007 18:50:22 +0800
Tag:    v1.8.3

Now, the repository is able to set the resource->name if it haven't been manuall defined. Part of MDL-10878.

commit a34487e2e5d74e7795942640401f048126072ea4
Author: stronk7 <stronk7>
Date:   Tue, 28 Aug 2007 23:33:37 +0800
Tag:    v1.8.3

Now Moodle >= 1.9 requires PostgreSQL >= 8.0. MDL-11033

commit ea6f1fd56973a8bca0a178e711837f2935f6466a
Author: stronk7 <stronk7>
Date:   Mon, 27 Aug 2007 22:42:19 +0800
Tag:    v1.8.3

New tables must have the id unsigned.

commit 31682b12762411a12655be213b37a1220b29b9c4
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 09:44:46 +0800
Tag:    v1.8.3

Fixing one SQL that could cause problems with coincidences in the associative array. MDL-10787

commit daf3c36c519e8d57fb64913cee420a77e6cf4316
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 08:55:44 +0800
Tag:    v1.8.3

MSSQL blobs doesn't like quoted binaries. MDL-9835

commit 0ab95f8bf63fb27781a03f202973c9df9fdca12e
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 08:45:02 +0800
Tag:    v1.8.3

Adding some comments about latest local changes. MDL-10788

commit 295ce0c81ec2f5c7f717077f7ffa436b20c3d207
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 08:40:32 +0800
Tag:    v1.8.3

Fixed bug when inserting strings beginning by single quotes. MDL-10788

commit dda4bbbf25167db58fbe599e91974073d9a24e83
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 02:16:47 +0800
Tag:    v1.8.3

Fixed insert/update of Oracle xLOBs. Credit goes to Rita Scholes. MDL-9835

commit eee45d7fe6cf382add2d8ee86f5bf463192425ce
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 02:10:52 +0800
Tag:    v1.8.3

Reverting deleted addslashes(). They are needed for proper testing after all.

commit 838e92f788ebb580f398322dcc1dfc21967d8154
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 01:59:08 +0800
Tag:    v1.8.3

And binary tests should use addslahes at all. Testing cross-db right now.

commit a9043496241e2073635fc5303362900bed9e3e97
Author: stronk7 <stronk7>
Date:   Fri, 10 Aug 2007 01:51:37 +0800
Tag:    v1.8.3

Adding some difficulties to the CLOB/BLOB tests... (escape chars)

commit 196684087f54a6c772202e9820eb04d5d3afb816
Author: stronk7 <stronk7>
Date:   Thu, 09 Aug 2007 06:16:23 +0800
Tag:    v1.8.3

Now sybase quotes are properly handled by the lang editor. Part of MDL-9835

commit 4bcf2c212276f6ba2b8422752fa4109a96e7d633
Author: stronk7 <stronk7>
Date:   Wed, 08 Aug 2007 19:10:41 +0800
Tag:    v1.8.3

Reverting last commit I performed by mistake when debugging a bit the plugin. Sorry! sad

commit ed4fd6c4920e399bf871ed4593d9e3974c783a88
Author: stronk7 <stronk7>
Date:   Wed, 08 Aug 2007 18:59:42 +0800
Tag:    v1.8.3

Detect the connection status before continue. Else no-one will be able to connect with local alternatives. And under SSO it's a problem!

commit 62ec0b2bd44a990d30f5a1d74f84e48f2a62dd5c
Author: stronk7 <stronk7>
Date:   Tue, 07 Aug 2007 07:20:21 +0800
Tag:    v1.8.3

Id tag added + whitespace cleaning

commit c6b2e4fce9aacf6cad05008cb9d102b7dcf301dd
Author: stronk7 <stronk7>
Date:   Tue, 07 Aug 2007 06:15:19 +0800
Tag:    v1.8.3

Added Id tag

commit 4adbf6cf727d6a89f027d7dfd127cb4a3298eedd
Author: stronk7 <stronk7>
Date:   Tue, 07 Aug 2007 02:28:30 +0800
Tag:    v1.8.3

Added Id tag

commit 91cee36fe6df3fbcf6f193e8a47853e57330fc57
Author: stronk7 <stronk7>
Date:   Tue, 07 Aug 2007 01:54:14 +0800
Tag:    v1.8.3

Adding Id tag + copyright notice.

commit 1f31378d11568e1eca5049d2a697f5ac57bd31f8
Author: stronk7 <stronk7>
Date:   Mon, 06 Aug 2007 06:49:49 +0800
Tag:    v1.8.3

fix insert_record() call using arrays instead of objects

commit 273c8bf204fac7e82d92989d3a2b5990b599f164
Author: stronk7 <stronk7>
Date:   Mon, 06 Aug 2007 06:35:31 +0800
Tag:    v1.8.3

$dataobject in insert_record() and update_record() must be objects. Added code to detect, fix and debug array situations. Related to MDL-9751.

commit 5ce8c064dd13f6acc1bf36be552af43839615f3d
Author: stronk7 <stronk7>
Date:   Sun, 05 Aug 2007 02:46:36 +0800
Tag:    v1.8.3

Prevent one warning

commit 37c023fb5cc796a23591d4cb23def8a7fd451746
Author: stronk7 <stronk7>
Date:   Sun, 05 Aug 2007 01:16:05 +0800
Tag:    v1.8.3

Support some strings from within the auth plugin lang files added. MDL-10694

commit 1002d7e22ac9671b654089a4abf44b026fd7a600
Author: stronk7 <stronk7>
Date:   Fri, 03 Aug 2007 07:37:13 +0800
Tag:    v1.8.3

Added space to perform correct N' queries under MSSQL. MDL-10423

commit 960192ec0e156e1bdb7e4af6eb0af6177d585182
Author: stronk7 <stronk7>
Date:   Tue, 31 Jul 2007 07:40:41 +0800
Tag:    v1.8.3

search cron was killing the rest of cron tasks!

commit da30f2babdb5f4109e398284d9ea0602b5dc1857
Author: stronk7 <stronk7>
Date:   Tue, 31 Jul 2007 00:41:54 +0800
Tag:    v1.8.3

Since now, Moodle 2.0 will require PHP 5.2. MDL-10390

commit a3daa6c40d771452e6371f0fa47ca32d58a9e616
Author: stronk7 <stronk7>
Date:   Sat, 28 Jul 2007 08:15:09 +0800
Tag:    v1.8.3

Adding one Moodle note about the local hack performed. MDL-9911

commit bb9950d1ccbaa1da57c25d3a6caddbce9a78a697
Author: stronk7 <stronk7>
Date:   Sat, 28 Jul 2007 08:00:45 +0800
Tag:    v1.8.3

Moodle hack to make the excel generation lib really better under UTF-8. Credit goes to Thomas Robb. MDL-9911

commit 59d1acce898a68cee3a7a5a775997823cdc3c1b2
Author: stronk7 <stronk7>
Date:   Thu, 26 Jul 2007 06:10:50 +0800
Tag:    v1.8.3

Adding two missing strings. MDL-6017

commit e95c8bc28216008683a78e695ff08601a0f06892
Author: stronk7 <stronk7>
Date:   Thu, 26 Jul 2007 05:34:11 +0800
Tag:    v1.8.3

Fixing two get_string() calls when restoring gradebook preferences. MDL-6017

commit cf5bb676dc9e57cde17c0f2cc30e6ecb81ad3289
Author: stronk7 <stronk7>
Date:   Tue, 24 Jul 2007 07:26:32 +0800
Tag:    v1.8.3

Anihilate the last TEXT column having a default clause. With thin, Moodle > 1.8 builds under strict (mysql) and those defaults won't be there anymore. As part of the upgrade to 1.9 one check is going to be performed to see if it's needed to drop such default. MDL-6218

commit 02e7dadc059bb2d8d06272a21b8173557e603642
Author: stronk7 <stronk7>
Date:   Tue, 24 Jul 2007 00:33:54 +0800
Tag:    v1.8.3

Let's use the default (cached) list of fields here. MDL-10571

commit 439d39348d050a7c317ed6448fb67a97fe1312ad
Author: stronk7 <stronk7>
Date:   Mon, 23 Jul 2007 23:50:59 +0800
Tag:    v1.8.3

Now the my page retrieves all the fields (modinfo included) from the course, so print_overview() calls are working again.  MDL-10232

commit 748d925acbbcfbdb2f3d2c3c9997020cf8f33604
Author: stronk7 <stronk7>
Date:   Mon, 23 Jul 2007 06:58:34 +0800
Tag:    v1.8.3

Small improvement. Reducing the list of fields returned by get_my_courses().

commit f352ff4b83a6ac8ffd3421dd314b1edb960ae7ad
Author: stronk7 <stronk7>
Date:   Sun, 22 Jul 2007 18:29:01 +0800
Tag:    v1.8.3

Small improvement. Reducing the list of fields returned by get_my_courses() in this block.

commit 3dc450db90b7e1dbef32cf2a1ca2f7f77c8921fd
Author: stronk7 <stronk7>
Date:   Sun, 22 Jul 2007 08:24:40 +0800
Tag:    v1.8.3

New cross-db version of the big union query used by get_my_courses() function. I've tested both the "IN" subquery and the "FROM" subquery and, under sites with more courses, the "FROM" one seems to perform slightly better. MDL-9381

commit d7fd82a2caf032066bf4d5626e2438137fc39a3e
Author: stronk7 <stronk7>
Date:   Wed, 18 Jul 2007 02:56:40 +0800
Tag:    v1.8.3

And key fields are lowercased too. End of MDL-10413

commit 6794ccb2b34656b3cdc4028841201cdf2067eec8
Author: stronk7 <stronk7>
Date:   Wed, 18 Jul 2007 02:53:19 +0800
Tag:    v1.8.3

And index fields are lowercased too. Part of MDL-10413

commit 392e59c88ef239f5f75c244fdfedb7d993688ced
Author: stronk7 <stronk7>
Date:   Wed, 18 Jul 2007 02:48:18 +0800
Tag:    v1.8.3

Ensuring we always retrofit lowercase tables. Part of MDL-10413.

commit ca133f6ec3c6d0349410836d0280cd4035f6b4d7
Author: stronk7 <stronk7>
Date:   Tue, 17 Jul 2007 04:16:24 +0800
Tag:    v1.8.3

Adding some course->xxxx missing fields to backup & restore. MDL-10444

commit 1aca4eeaf03deb4ab8e1ef36d478801038f5c7a9
Author: stronk7 <stronk7>
Date:   Mon, 16 Jul 2007 06:24:43 +0800
Tag:    v1.8.3

Now the glossary->allowcoments setting is respected. MDL-8056 Credit goes to Matt Clarkson. Thanks.

commit fcbae39803b49e35c3ca06f0e41c80beded48409
Author: stronk7 <stronk7>
Date:   Tue, 10 Jul 2007 02:03:15 +0800
Tag:    v1.8.3

Now SQL sentences are all together and with proper terminators. Tested against MySQL, PostgreSQL and MSSQL. MDL-7357

commit 25e5ce9a5f53957c0ed4e3d5b5fba8e3decdd875
Author: stronk7 <stronk7>
Date:   Tue, 10 Jul 2007 01:15:50 +0800
Tag:    v1.8.3

Reverting to previous version to respect cross-db. Final tested solution arriving in hours. MDL-7357

commit 1aee1e5a27acebed02fc4b554a6444dd2412239d
Author: stronk7 <stronk7>
Date:   Mon, 09 Jul 2007 07:56:15 +0800
Tag:    v1.8.3

Now tested against Oracle too. Adding option to XMLDB Editor interface. MDL-7357

commit 5e8255d65157f53d7b2e3043b20bf03aee32066b
Author: stronk7 <stronk7>
Date:   Mon, 09 Jul 2007 07:18:16 +0800
Tag:    v1.8.3

First cut of the utility embeded in the XMLDB Editor used to check any Moodle server looking for missing indexes. Tested under MySQL, PostgreSQL and MSSQL. No frontend available until tested for Oracle. MDL-7357

commit 6f8489e13d0d51a971f43e50b8d89af137577c47
Author: stronk7 <stronk7>
Date:   Mon, 09 Jul 2007 07:12:54 +0800
Tag:    v1.8.3

Adding some new strings to the XMLDB editor. MDL-7357