Git commits in Moodle 1.7.0 by sam_marshall

commit ed2bc331548e01981f95d2ff96489363c65406bb
Author: sam_marshall <sam_marshall>
Date:   Fri, 03 Nov 2006 22:37:41 +0800
Tag:    v1.7.0

MDL-7344 Change 'import child course' timeout to 180 seconds per course because role creation takes a while for thousands of users.

commit 03240ae37bdb9bcf1ca8ac4f9bbfbff85e444f7d
Author: sam_marshall <sam_marshall>
Date:   Mon, 30 Oct 2006 19:00:39 +0800
Tag:    v1.7.0

[MDL-7287] Lesson - tweaked continue.php to include a file via filesystem not HTTP because I couldn't see any reason to do it the latter way and it breaks under our loadbalancing system

commit 6266a81cf733df8b1d0b48a3750e95c1e0d7495e
Author: sam_marshall <sam_marshall>
Date:   Sat, 28 Oct 2006 00:26:02 +0800
Tag:    v1.7.0

MDL-7250 typo ARGH sorry.

commit d0f6aa914ad683047a138b33b23f4a63e379a056
Author: sam_marshall <sam_marshall>
Date:   Sat, 28 Oct 2006 00:24:26 +0800
Tag:    v1.7.0

MDL-7250 update to previous change to do in SQL as suggested

commit b1d476b800ee53adca742f47ce869733a264e52c
Author: sam_marshall <sam_marshall>
Date:   Sat, 28 Oct 2006 00:16:35 +0800
Tag:    v1.7.0

MDL-7250 Slight change to load_defaultuser_role so that it doesn't load 0s into $USER->capabilities.

commit c03b88f6071b2d90dad1088750b62823039df294
Author: sam_marshall <sam_marshall>
Date:   Thu, 26 Oct 2006 22:12:40 +0800
Tag:    v1.7.0

The 'Activity is currently hidden' check in mod/forum/post.php incorrectly used 'manageactivities' capability instead of 'viewhiddenactivities', fixing.

commit e364a5368d738edbdb9af985c931a4b1734c8842
Author: sam_marshall <sam_marshall>
Date:   Wed, 11 Oct 2006 01:15:40 +0800
Tag:    v1.7.0

Wiki: fixed issue if you tried to set a page content to completely blank (you need to switch the html editor into text mode to get this, otherwise it puts in <br/>, but one of our QA people managed to find it anyway).

commit 745c19685c0da9e47272b5ed432a46ee040b0b36
Author: sam_marshall <sam_marshall>
Date:   Mon, 09 Oct 2006 22:29:14 +0800
Tag:    v1.7.0

Wiki: some changes to improve error messages and (slightly) behaviour when in group mode

commit b9f67bd23ddfe204914259db4185595708b05a1c
Author: sam_marshall <sam_marshall>
Date:   Wed, 04 Oct 2006 18:20:21 +0800
Tag:    v1.7.0

[MDL-6701] Added closing </form> tags in wiki admin pages (the pages are still not xhtml, but...)

commit bdbed68baf729b5183ef870e6237a6d4e9de4379
Author: sam_marshall <sam_marshall>
Date:   Wed, 04 Oct 2006 18:11:15 +0800
Tag:    v1.7.0

Wiki: list of pages to strip in the 'are you sure' message was incorrectly URL-encoded on display to user, this fix removes url encoding and html-encodes it instead

commit 1e4c8535efc7ef27aa96f703865c89ed183d8583
Author: sam_marshall <sam_marshall>
Date:   Wed, 04 Oct 2006 18:03:02 +0800
Tag:    v1.7.0

Wiki - fixed 'Strip versions' that didn't work in postgres because of GROUP BY a select alias not being allowed. (Even tested in mysql this time...)

commit 4db1861a8dc06b5ae608144b3f3a567974dd7148
Author: sam_marshall <sam_marshall>
Date:   Wed, 27 Sep 2006 19:22:57 +0800
Tag:    v1.7.0

Wiki: Improve page locking to make it more robust and support non-javascript users (not very friendlily, though...)

commit 5c135dd4fde51578e66898e8741efb7f3fb9d3bb
Author: sam_marshall <sam_marshall>
Date:   Wed, 27 Sep 2006 19:21:59 +0800
Tag:    v1.7.0

Wiki: correct behaviour in Postgres with pages that have ' in name

commit 13ef403f3b2dff252191db7739f3ed515a73cbea
Author: sam_marshall <sam_marshall>
Date:   Wed, 27 Sep 2006 19:21:01 +0800
Tag:    v1.7.0

Wiki: correct column type on Postgres update (fixes Search and Links tabs, matches what's in install.xml anyhow)

commit 228501678b03f49d3006571c6d0598ab049e66cc
Author: sam_marshall <sam_marshall>
Date:   Wed, 27 Sep 2006 19:20:16 +0800
Tag:    v1.7.0

Wiki: Fix wiki-linking to not be case-sensitive.

commit 86ec052fa50aed4131486ea26d8284751ed9fe36
Author: sam_marshall <sam_marshall>
Date:   Wed, 27 Sep 2006 19:18:40 +0800
Tag:    v1.7.0

Changed wiki help to clarify that the wiki markup only works when not using the WYSIWYG editor. (This was seriously confusing our users!)

commit 98a7359506985faddd13a21f5b9d8a1069341a9f
Author: sam_marshall <sam_marshall>
Date:   Tue, 26 Sep 2006 01:49:33 +0800
Tag:    v1.7.0

change from UNIQUE KEY to UNIQUE INDEX

commit 5cee80e1837b2eb064413e8c7bb16729e038c7a6
Author: sam_marshall <sam_marshall>
Date:   Tue, 26 Sep 2006 01:47:35 +0800
Tag:    v1.7.0

(prev. wiki fix) Fixed broken constant defines

commit 22e846cde22756790e20e1f3f466c743bb9a980c
Author: sam_marshall <sam_marshall>
Date:   Tue, 26 Sep 2006 01:42:32 +0800
Tag:    v1.7.0

Wiki enhancement: edit locking (uses AJAX)

commit 4488daf7ad3bda5fea08f32aeedf04cf67dfc8dc
Author: sam_marshall <sam_marshall>
Date:   Mon, 25 Sep 2006 22:59:21 +0800
Tag:    v1.7.0

File had a UTF-8 BOM at the start, was causing problems, now removed

commit 479eea4149e61f5556c20710fdf8bd2be90defab
Author: sam_marshall <sam_marshall>
Date:   Mon, 25 Sep 2006 22:35:41 +0800
Tag:    v1.7.0

Removed trailing blank line at end of file (was breaking things)

commit 20e1b1e5c0e70b631cb844963a6eeffe364e03a4
Author: sam_marshall <sam_marshall>
Date:   Mon, 25 Sep 2006 19:23:15 +0800
Tag:    v1.7.0

Quick fix to the me() fix to the redirect function (for relative redirects).

commit ecfdc901fc2c405318095b2a2cb2d83bde48d4b0
Author: sam_marshall <sam_marshall>
Date:   Fri, 22 Sep 2006 18:48:37 +0800
Tag:    v1.7.0

Ooops. The following-HTTP-standard absolute-path redirect thing didn't work with URLs that begin / (i.e. it couldn't redirect to /moodle/whatever although it was fine redirecting to http://thing/moodle or to plain old whatever/something.) Fixed.

commit fd2fff1e243958064e2f3d2a301f8957e3576f5e
Author: sam_marshall <sam_marshall>
Date:   Thu, 21 Sep 2006 23:13:27 +0800
Tag:    v1.7.0

Changed the redirect() version with no message (that sends a redirect header) so that it sends an absolute URL as per HTTP spec, even if the argument to the function is a relative URL.

commit a82e9bc3bbd6bf2f93cb6a060ef2406cd010d9fb
Author: sam_marshall <sam_marshall>
Date:   Thu, 21 Sep 2006 20:07:15 +0800
Tag:    v1.7.0

Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.

commit 027d0485741f89b6ebce6be2b61ab3ce7c42cd8e
Author: sam_marshall <sam_marshall>
Date:   Wed, 20 Sep 2006 23:04:57 +0800
Tag:    v1.7.0

Update to static JS - 'hitem' hidden fields now optional for lockoptions.

commit 44c55d4662a95aaccf5444e5c35fff4b89890e9e
Author: sam_marshall <sam_marshall>
Date:   Fri, 14 Jul 2006 19:17:46 +0800
Tag:    v1.7.0

Added hooks so that blocks can create functions that are run when they are installed and uninstalled. The base implementation does nothing.

commit ba75ad94005ad306a527b6ceff1d655e15e62843
Author: sam_marshall <sam_marshall>
Date:   Wed, 05 Jul 2006 19:10:37 +0800
Tag:    v1.7.0

Minor changes to send_file(): * Wrote phpdoc comment that documents all parameters * Added $mimetype param (default empty) that can be used if MIME type is already known and doesn't need guessing from filename