Git commits in Moodle 1.7.0 by vyshane

commit d7895072aceea50f72372f50524b6759277bd80c
Author: vyshane <vyshane>
Date:   Thu, 26 Oct 2006 15:34:58 +0800
Tag:    v1.7.0

Turning ajax off because of backend issues found in rest.php

commit 3a1d81851f7224152ba44007d9826c57935a5a06
Author: vyshane <vyshane>
Date:   Thu, 26 Oct 2006 15:34:13 +0800
Tag:    v1.7.0

Some refactoring.

commit b3ede2a6f5ae843eef1f9386329da4d9378b892e
Author: vyshane <vyshane>
Date:   Tue, 24 Oct 2006 17:40:48 +0800
Tag:    v1.7.0

Modified course page print_header function to accept more arguments. Needed for the AJAX course formats.

commit 62e024211658cc8062af37e26401ec843c7aaa97
Author: vyshane <vyshane>
Date:   Tue, 24 Oct 2006 16:15:09 +0800
Tag:    v1.7.0

AJAX config for course format.

commit 0321eb66d08540b119bb95694c48901332c3cb37
Author: vyshane <vyshane>
Date:   Tue, 24 Oct 2006 16:14:09 +0800
Tag:    v1.7.0

AJAX config for course format

commit 604c996ca6118274f855652744ecbe221892f697
Author: vyshane <vyshane>
Date:   Tue, 24 Oct 2006 16:07:56 +0800
Tag:    v1.7.0

AJAX fixes.

commit 19043b2c610b17eb863b85736fde957e8ff0154d
Author: vyshane <vyshane>
Date:   Tue, 24 Oct 2006 11:25:48 +0800
Tag:    v1.7.0

Changed <noscript> to <div> since document.getElementById() can't seem to be able to access the <noscript> element in safari, and possibly in IE as well. See bug MDL-7057.

commit f39c91312fab915d3e5817eee28ad22b8f498ea0
Author: vyshane <vyshane>
Date:   Fri, 20 Oct 2006 11:16:40 +0800
Tag:    v1.7.0

Formatting fixes.

commit 03796898f613e53dfdb699693c18c6b9145aec57
Author: vyshane <vyshane>
Date:   Thu, 19 Oct 2006 12:29:55 +0800
Tag:    v1.7.0

Fix for MDL-7086.

commit 7c5bebadf1d2a6a4721a1a2424951466ae33744e
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 17:43:12 +0800
Tag:    v1.7.0

More IE timing issues

commit 5f536e23ed3a2e5161dae65c8f3de2fb07fd0f8d
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 16:39:34 +0800
Tag:    v1.7.0

Because IE is stupid.

commit 89976983054f57d3315b07232ed1227d9e500242
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 15:41:32 +0800
Tag:    v1.7.0

Logger has issues with IE. Turning off first until new version of YUI has been tested.

commit 6f7fcae9f29a364bfeb9a05f531b518fce44f980
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 15:09:54 +0800
Tag:    v1.7.0

Removed YUI debug since this is handled in lib/ajaxlib.php

commit 44089f2cb4152bf8a35b5d01d1a022c5894175a8
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 15:09:22 +0800
Tag:    v1.7.0

Removed YUI debug since this is handled in lib/ajaxlib

commit 5140419a141471ed03ea07b050551f85d088904e
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 15:06:39 +0800
Tag:    v1.7.0

Added YUI logger console if debugging level is DEBUG_DEVELOPER.

commit d0bc1c59ae6dfbf95ae144a7d62ccb5f18750e04
Author: vyshane <vyshane>
Date:   Wed, 18 Oct 2006 15:02:58 +0800
Tag:    v1.7.0

.error class is defined in Moodle as red colour. We want it to be black here because the yui error class has a red backgroun.

commit 7508d0918ffbe9ae65445714df4f1a312838f32f
Author: vyshane <vyshane>
Date:   Tue, 17 Oct 2006 15:19:19 +0800
Tag:    v1.7.0

Merged from 1.6. Fixes for MDL-6363

commit a0de778c075a5ac0162d1fbf6188d634eb354168
Author: vyshane <vyshane>
Date:   Tue, 17 Oct 2006 13:31:36 +0800
Tag:    v1.7.0

Added browser check for AJAX

commit de028f7715389ff2c12c7569c7fccb138ac4dbf0
Author: vyshane <vyshane>
Date:   Tue, 17 Oct 2006 11:57:42 +0800
Tag:    v1.7.0

Added marker that shows the new position of a resource/activity being moved. Part of the fix for MDL-6991.

commit e83bdb2c03de14075e30d971c8d0fa88b4b47c4a
Author: vyshane <vyshane>
Date:   Mon, 16 Oct 2006 10:52:15 +0800
Tag:    v1.7.0

Removed 'student' from lang string for module visibility.

commit 3b253287d790f018d609321485f85c0d9c7e26bd
Author: vyshane <vyshane>
Date:   Mon, 16 Oct 2006 10:51:38 +0800
Tag:    v1.7.0

Removed 'student' from lang string for module visibility

commit bf252c1d4a6456575da5e0db27570e9e7a411a01
Author: vyshane <vyshane>
Date:   Mon, 16 Oct 2006 10:42:59 +0800
Tag:    v1.7.0

Added rebuild_course_cache() call when a resource is deleted. Related to MDL-6912.

commit be653a00ccb8b7257021bcf5b2b71e1242dea50e
Author: vyshane <vyshane>
Date:   Thu, 12 Oct 2006 15:08:16 +0800
Tag:    v1.7.0

Some cleanups (mostly formatting).

commit 43b3cb42304823f1a2834f799e4e306ebf2f5c0d
Author: vyshane <vyshane>
Date:   Wed, 11 Oct 2006 14:56:55 +0800
Tag:    v1.7.0

Fix for MDL-6674. <ul> was being added before the wrong node when sections are initialised on page load.

commit fe6ed5c2c21211d2cfcfdcf3ad39b7aaeaea0079
Author: vyshane <vyshane>
Date:   Wed, 11 Oct 2006 13:41:41 +0800
Tag:    v1.7.0

Fix for MDL-6912. The script was not deleting module instances properly. We need to call the module cleanup function <modname>_delete_instance() whenever we delete a module instance.

commit 3d044d6012e3bf31a364d7b85cbae1cc68e99f89
Author: vyshane <vyshane>
Date:   Tue, 10 Oct 2006 13:24:16 +0800
Tag:    v1.7.0

Removed teacher forum string

commit ee5cdf3466fea8644dbbe279b7227000c2987cad
Author: vyshane <vyshane>
Date:   Tue, 10 Oct 2006 13:23:44 +0800
Tag:    v1.7.0

Removed teacher forums from course reset.

commit 25b75c6053528d0a3d3450d34cec1946a9c2eb3d
Author: vyshane <vyshane>
Date:   Tue, 10 Oct 2006 13:20:43 +0800
Tag:    v1.7.0

Merged fix for MDL-6537

commit 5b32e3bc3ce9d2918febba539ad2e34bb8e34876
Author: vyshane <vyshane>
Date:   Tue, 10 Oct 2006 13:17:12 +0800
Tag:    v1.7.0

Merged from 1.6 stable.

commit 3ecc49d495de83d27c00e035d8ec95ca17b15335
Author: vyshane <vyshane>
Date:   Tue, 10 Oct 2006 10:38:33 +0800
Tag:    v1.7.0

Turn off display of week dates if we are in editing mode and if ajax is turned on. We do this for now because the ajax code does not yet update the week dates when sections are moved around. Will have to fix later.

commit 3203f10402ac6cc5b4c37a8cddf2f5595013642c
Author: vyshane <vyshane>
Date:   Mon, 09 Oct 2006 16:35:39 +0800
Tag:    v1.7.0

Fix for MDL-6889. See bug report for description.

commit 64e5a68d9116f1669bf93a3535cd81a7c50a4f0f
Author: vyshane <vyshane>
Date:   Fri, 06 Oct 2006 15:56:37 +0800
Tag:    v1.7.0

Some fixes for MDL-6674. This should fix moving activities (resources). Thanks to Dan Poltawski for suggestions.

commit 35b974dae62707648d453aa915c482efd7948f81
Author: vyshane <vyshane>
Date:   Thu, 05 Oct 2006 16:47:13 +0800
Tag:    v1.7.0

Some small formatting changes. Added some missing semi-colons in js code.

commit 191acd59642ea93bb7a31d4d7777a712ab256d34
Author: vyshane <vyshane>
Date:   Thu, 05 Oct 2006 16:05:55 +0800
Tag:    v1.7.0

Fix for MDL-6682. Removed duplicate string quiz:grade

commit d8947f95dcebc40bf7cd3b11cf92a35011e24fe8
Author: vyshane <vyshane>
Date:   Thu, 05 Oct 2006 15:22:48 +0800
Tag:    v1.7.0

Merged fix for MDL-6819

commit 1a7cdb11b4b1e59456b7ebf20bafc3b75aab9c20
Author: vyshane <vyshane>
Date:   Thu, 05 Oct 2006 11:18:29 +0800
Tag:    v1.7.0

Merged fixes for MDL-2583

commit e0539647aa377a9abbd1218c8b0d05fe6dc99b1b
Author: vyshane <vyshane>
Date:   Wed, 04 Oct 2006 16:35:00 +0800
Tag:    v1.7.0

Added $restore->mods[$mod->type]->granular to restore_create_sections() and to restore_create_modules(). This defines whether we are doing a granular restore where we care about the individual module instances to be restored, or whether we are not doing a granular restore, in which case we just restore all course module instances.

commit d1cc2831723f794c7b79de36bdc3e5e8ed144717
Author: vyshane <vyshane>
Date:   Fri, 29 Sep 2006 16:58:02 +0800
Tag:    v1.7.0

Fixed wrong context bug

commit 825d73aa3323f32990943caf282176480be9aa73
Author: vyshane <vyshane>
Date:   Fri, 29 Sep 2006 15:28:11 +0800
Tag:    v1.7.0

Fixed missing separator (MDL-3975).

commit 9ed7d7e1626e002c5b468e39e4cca9b9211fa7e1
Author: vyshane <vyshane>
Date:   Thu, 28 Sep 2006 16:29:17 +0800
Tag:    v1.7.0

Merged fix for MDL-6681

commit cef1ce6abf59da433dafc97eeeb93d321ca7ec00
Author: vyshane <vyshane>
Date:   Thu, 28 Sep 2006 15:29:50 +0800
Tag:    v1.7.0

Fixes for MDL-3975

commit acad3401f1167c6b81117e6314e0461bef87ad6b
Author: vyshane <vyshane>
Date:   Wed, 27 Sep 2006 15:18:25 +0800
Tag:    v1.7.0

Reverting first until we have a fix for converting the wrong context levels

commit 4b690858339cb8f6b00e3f24e795adffc9fa20d7
Author: vyshane <vyshane>
Date:   Wed, 27 Sep 2006 15:11:06 +0800
Tag:    v1.7.0

CONTEXT_MODULE should really be CONTEXT_BLOCK

commit 83da3d286ca6126b49aa0358f5f9117654a102a5
Author: vyshane <vyshane>
Date:   Tue, 26 Sep 2006 16:37:56 +0800
Tag:    v1.7.0

Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums.

commit ee8e0008230c2f07432e2231a8fe072cf7900a1c
Author: vyshane <vyshane>
Date:   Tue, 26 Sep 2006 10:02:27 +0800
Tag:    v1.7.0

Fixed bug in forum_make_mail_post()

commit 7c900d5d625a96b3c59cd3ef4ea8c20aa3018673
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 21:14:50 +0800
Tag:    v1.7.0

Changed to require_capability where possible

commit 7fa8296f0142b2d929ff35555929a4d0a12cbc31
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 21:05:18 +0800
Tag:    v1.7.0

Bug fixes

commit dcd8e5890e29b0a65eb8e164cadb5cacab1f78a7
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 16:50:00 +0800
Tag:    v1.7.0

Abstracted query in a new function forum_discussions_user_has_posted_in()

commit cac40c2716e0046cb24e765877a9e22884af8494
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 16:41:31 +0800
Tag:    v1.7.0

Added $forums[$i]->type == 'qanda' check to make things more explicit

commit d50704bf19dfdcf063fb2a613f9c808702872d76
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 16:25:58 +0800
Tag:    v1.7.0

Fix for MDL-6212. Forum searches now respect the qanda forums. In these forums, the user should not be able to see posts from discussions where the user has not yet posted, unless a post is the first post in the discussion (the question), or unless the user has the capabilitiy mod/forum:viewqandawithoutposting.

commit 77dc6d0b269075a56f764123ab6d23296b8aaa80
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 13:12:01 +0800
Tag:    v1.7.0

Discussions from a forum of type 'single' should not be splittable. Merge from 1.6 branch.

commit 66035aafd901061d16b13462091a295e7ac38812
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 13:00:36 +0800
Tag:    v1.7.0

Merged fix for MDL-6521

commit 10b6398401f4a0395b78ebaec87b52b279c7a810
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 12:11:41 +0800
Tag:    v1.7.0

Fixed - wrong constant name

commit 87c7fce004ee22b00dda4b66107b7ede1eb9af57
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 12:03:18 +0800
Tag:    v1.7.0

Merged fix for MDL-6363

commit 1b54fb36ba7ffa871d2ace8d5f4c7233973dcc45
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 10:44:54 +0800
Tag:    v1.7.0

Error printing for cron should be done with mtrace()

commit 2a692058d020b1fc2af5f537c3df48ac371c7b78
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 10:34:52 +0800
Tag:    v1.7.0

Fix in forum_make_mail_post()

commit 4be6bced7f42b2b4d07e6e2d394c60b422bd1687
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 10:04:11 +0800
Tag:    v1.7.0

Fixed sql query in assignment_get_unmailed_submissions() - we can't rely on user_students anymore.

commit 0ee186d9cadcb40f7a666a027be40d8cdb4bc6bd
Author: vyshane <vyshane>
Date:   Mon, 25 Sep 2006 09:35:49 +0800
Tag:    v1.7.0

Typo in capability name.

commit b343df8690097e4443d8ce63824b3822fc36dd7e
Author: vyshane <vyshane>
Date:   Sun, 24 Sep 2006 23:28:16 +0800
Tag:    v1.7.0

Merged fix for MDL-6615.

commit 3f8a38343bef07df311c10887ae4e65d05a6ffba
Author: vyshane <vyshane>
Date:   Sun, 24 Sep 2006 22:35:48 +0800
Tag:    v1.7.0

Removed isteacher from function print_recent_activity_note()

commit 1172e5db68760fa2caf86ed4cbe678205fa536f3
Author: vyshane <vyshane>
Date:   Sun, 24 Sep 2006 22:03:34 +0800
Tag:    v1.7.0

Updated comment

commit 583b57b42dbde6d94639cbbbed48c96972232288
Author: vyshane <vyshane>
Date:   Sun, 24 Sep 2006 22:01:50 +0800
Tag:    v1.7.0

Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?

commit 57244db3594036bf31f5ad142656bfefb316cc1a
Author: vyshane <vyshane>
Date:   Sun, 24 Sep 2006 21:58:54 +0800
Tag:    v1.7.0

Removed the following module configurations (converted to use roles): participants, assesspublic and ratings. Changed assessed field to only use 1 (ratings on) or 0 (off).

commit 938c039e52a76ffbf6fc08c88d74156e9f3a7ca4
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 17:23:50 +0800
Tag:    v1.7.0

Suggested changes from MDL-6654

commit 66b0b1042b24be37439ae3becf2e31c7909b4f43
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 17:11:46 +0800
Tag:    v1.7.0

Added comment regarding $isteacher being deprecated in print_recent_activity()

commit 242a445fdfd40c78443324585507c7232ebd6350
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 15:08:43 +0800
Tag:    v1.7.0

Fix for MDL-6654

commit 1febf1a77a81d91cef87d1a004c01809c3d393b2
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 14:29:40 +0800
Tag:    v1.7.0

Replaced isteacher & co. Fixed some issues.

commit 7ce56c1282d5475ee61c048f86fa5861bae0eecb
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 11:28:56 +0800
Tag:    v1.7.0

Removed mod/workshop:view

commit 73ebd5e23a3cc8d95b7d6e97a7f0df5078e3647d
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 11:14:08 +0800
Tag:    v1.7.0

Removed mod/wiki:view

commit af94faf492e892077688f57db900941d8f833a83
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 11:07:29 +0800
Tag:    v1.7.0

Removed mod/scorm:view

commit b1e06f5fa0c63655a967c26169c4c6e225a75963
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 11:05:46 +0800
Tag:    v1.7.0

Removed mod/resource:view

commit 94bcea7983a10d0f82a285fe9d7bd08cce61ea47
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 10:58:39 +0800
Tag:    v1.7.0

Removed mod/lesson:view

commit 7949f21b5fce2ddbdff8523aa853a4f283ebdbfe
Author: vyshane <vyshane>
Date:   Fri, 22 Sep 2006 10:52:48 +0800
Tag:    v1.7.0

Removed 'mod/glossary:view' capability

commit 9222e72167d5d694623a3a83389d12e14e641c11
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 16:32:05 +0800
Tag:    v1.7.0

Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead.

commit 986dc51c00a4325e44ad9241e627be19d459da2e
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 16:30:59 +0800
Tag:    v1.7.0

Removed string for mod/forum:viewforum

commit 2b15a08dc99d88ae0dab3c7db3789a617f0876f4
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 15:40:24 +0800
Tag:    v1.7.0

Added some notes for future reference

commit 49a0ba9438d93d5e440a105fd9bf7c1c5d8202c1
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 13:42:35 +0800
Tag:    v1.7.0

Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).

commit c095178c84a3246c78705515501260e731b40335
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 13:39:17 +0800
Tag:    v1.7.0

Added message string for when a user does not have permissions to view forum discussions in a forum.

commit 9ae965d379e074d5370ecd9d7793a4b912b730f0
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 12:10:36 +0800
Tag:    v1.7.0

Removed column ratings from data table

commit 36acdd6df97fd53ae06d083236acb9a6d74a9150
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 02:08:30 +0800
Tag:    v1.7.0

Updated to reflect changes to data table

commit 741c4d0b0441d5d511eb007b2d16c498b306a801
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 01:46:20 +0800
Tag:    v1.7.0

Upgrade to roles code for data module.

commit 7f2586640e776de8d4ea4db10ec1c4b87029d86b
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 00:57:01 +0800
Tag:    v1.7.0

Upgrade to roles code, as well as restoring from 1.6 on a 1.7 install code.

commit 2a1b4af377e0402c0a0eeaf64abe809faf5b4a78
Author: vyshane <vyshane>
Date:   Thu, 21 Sep 2006 00:54:50 +0800
Tag:    v1.7.0

Added course module groupmodes in convertion to roles logic

commit 759ac72de1383046b4013cbe8d64ab19b33af7fe
Author: vyshane <vyshane>
Date:   Wed, 20 Sep 2006 16:30:49 +0800
Tag:    v1.7.0

Added new function function fetch_context_independent_capabilities(). Modified fetch_context_capabilities() to use the former.

commit 6adc1e975daadbca56e22b1ef49ef9d0ec520bca
Author: vyshane <vyshane>
Date:   Wed, 20 Sep 2006 10:59:43 +0800
Tag:    v1.7.0

Added more overrides during restore process for forums from 1.6. Plus some bug fixes.

commit 689b19297f68002b3b1957d27b8ae3fc78d69ffd
Author: vyshane <vyshane>
Date:   Wed, 20 Sep 2006 10:47:57 +0800
Tag:    v1.7.0

Fixed notice

commit 285f94f5067f7e945fb88b72d85be90954d6c2d6
Author: vyshane <vyshane>
Date:   Tue, 19 Sep 2006 16:16:26 +0800
Tag:    v1.7.0

Few small fixes

commit f2269f311d05846054913662273552c618ce458b
Author: vyshane <vyshane>
Date:   Tue, 19 Sep 2006 16:10:46 +0800
Tag:    v1.7.0

Typos

commit 0fd332a81120c326813a9e7261efcc50aa2d4f70
Author: vyshane <vyshane>
Date:   Tue, 19 Sep 2006 15:16:04 +0800
Tag:    v1.7.0

More typos...

commit 5ddc81b9738fa4b56af0ff2af4bae59ccd72bdf7
Author: vyshane <vyshane>
Date:   Tue, 19 Sep 2006 15:13:57 +0800
Tag:    v1.7.0

Fixed typo

commit 20821a1266e1269a6e56c518bd81dc500cc2c870
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 21:46:09 +0800
Tag:    v1.7.0

Added new capabilities, renamed mod/data:readentry to mod/data:viewentry to make capability name more consistent with the rest of moodle.

commit e51e3fcb34fe94201fc4c9d31c60fa8ad434c242
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 20:48:00 +0800
Tag:    v1.7.0

Fixed notice

commit 7aeedc0cfbee554d5c7684231b9ef2f2088c1f13
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 18:26:11 +0800
Tag:    v1.7.0

Removed configshowparticipantslist

commit 16b09a43cacee941d1a099e73143282a39765656
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 17:09:25 +0800
Tag:    v1.7.0

Added moodle/site:viewparticipants

commit 840c1c31fab0d54cf6700d565e590a19a6b4d56e
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 17:02:12 +0800
Tag:    v1.7.0

Added moodle/site:viewparticipants

commit 218ec889d2fbbf2d75c24b5a8a38dfd582b5cfad
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 16:37:29 +0800
Tag:    v1.7.0

Replaced managesharedfeeds by manageanyfeeds

commit f98fe0efad55255fff4015636e781995edbb95aa
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 16:10:20 +0800
Tag:    v1.7.0

Removed isadmin()

commit 6ee81cb55b2f639fffef256588a42d175c28e975
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 15:19:38 +0800
Tag:    v1.7.0

Got rid of isadmin() calls, added capability checks.

commit bd574b2a065d3b7fdfa40f5a928d99f7d971de2a
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 13:29:42 +0800
Tag:    v1.7.0

Removed isteacher()

commit 0019725320d0bf6297220912735ed3ad4fe2e26e
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 13:28:06 +0800
Tag:    v1.7.0

Removed references to showsiteparticipantslist. Replaced by capability.

commit 8b8db38e6e6d49370c29b92008a81db019b92ac4
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 13:27:28 +0800
Tag:    v1.7.0

Removed showsiteparticipantslist strings.

commit dd8d5345ce234786f7508a76c7d63717e347206d
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 13:26:16 +0800
Tag:    v1.7.0

Removed showsiteparticipantslist, replaced with capability

commit b008da9551ba37a6e9eda7d33b87278323bdd05d
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 13:25:43 +0800
Tag:    v1.7.0

Removed showsiteparticipantslist. Replaced with capability.

commit 24bf6cc196e94f24f05b0642d7e81cc7ce3864a1
Author: vyshane <vyshane>
Date:   Mon, 18 Sep 2006 10:28:57 +0800
Tag:    v1.7.0

Replaced isteacher() in fullname() call.

commit 15dabc30741f52a0e25eb5686e967d9f615b5794
Author: vyshane <vyshane>
Date:   Fri, 15 Sep 2006 17:38:46 +0800
Tag:    v1.7.0

Merge from 1.6 stable. Small fixes to make xhtml validate.

commit 67875aa108a68a57da146edd1fde0e43bb1b4731
Author: vyshane <vyshane>
Date:   Fri, 15 Sep 2006 14:04:23 +0800
Tag:    v1.7.0

Fixed bug in forum_search_posts(). More testing needed still.

commit 3d5fb99f00126be86737753f97064e9047121fc9
Author: vyshane <vyshane>
Date:   Fri, 15 Sep 2006 14:03:32 +0800
Tag:    v1.7.0

Fixed bug in get_records_sql(). This call:

commit e521770c84659f0d77fab68d36773bf188150bf6
Author: vyshane <vyshane>
Date:   Fri, 15 Sep 2006 11:18:59 +0800
Tag:    v1.7.0

Small SQL fix. Removed unneeded WHERE clause

commit b1342e1869a8a2b50b2a8e06071399662f15676a
Author: vyshane <vyshane>
Date:   Thu, 14 Sep 2006 16:57:41 +0800
Tag:    v1.7.0

Minor formatting tidyup

commit 42fb3c858f8e258bf4e7b4f18e4864fe9c437030
Author: vyshane <vyshane>
Date:   Thu, 14 Sep 2006 16:44:45 +0800
Tag:    v1.7.0

Converted forum searches so that they take into account the new Roles system. Search results will only include what the searcher should be able to see based on his/her capabilities.

commit 8d9a0ae64b567a7f58a83c025d98b7d8e00ed8d5
Author: vyshane <vyshane>
Date:   Thu, 14 Sep 2006 11:18:37 +0800
Tag:    v1.7.0

Fix for MDL-6517. Patch by David Mudrak.

commit 29ac3cc28d21325976e7ed15f59649ee9f1c46ab
Author: vyshane <vyshane>
Date:   Wed, 13 Sep 2006 12:10:41 +0800
Tag:    v1.7.0

Capability tweaks for rss_client block

commit 73b73d21011077b424d25fab26a48383f2fd2b61
Author: vyshane <vyshane>
Date:   Wed, 13 Sep 2006 12:09:31 +0800
Tag:    v1.7.0

More capabilities tweaks

commit 48f6bcddd21496a77ed1b1111493b4d62f54c307
Author: vyshane <vyshane>
Date:   Wed, 13 Sep 2006 12:08:58 +0800
Tag:    v1.7.0

Fix for blocks capability updates. Somehow missed this commit last night.

commit 0c4d9f492ea741ae6a733d99eea0e50fc88a4f74
Author: vyshane <vyshane>
Date:   Wed, 13 Sep 2006 11:56:38 +0800
Tag:    v1.7.0

moodle/site:manageblocks tweak

commit 1975d8bd3e1e38f2094d9dc498e9fd546cbe3e0b
Author: vyshane <vyshane>
Date:   Wed, 13 Sep 2006 11:02:57 +0800
Tag:    v1.7.0

Added $USER->id in rss_display_feeds() call

commit 7d02b43640cb90dbf878ca6b08366b6b263dd246
Author: vyshane <vyshane>
Date:   Wed, 13 Sep 2006 10:59:20 +0800
Tag:    v1.7.0

Fixed typo

commit f7cf2f8efd1c4599aaa9b02c4621a0ec2d743630
Author: vyshane <vyshane>
Date:   Tue, 12 Sep 2006 16:25:03 +0800
Tag:    v1.7.0

Fixed bug preventing capability upgrades for blocks. Typo sad

commit 93b7e8d3a7bd762cacf94a704a5f1f666888243c
Author: vyshane <vyshane>
Date:   Tue, 12 Sep 2006 14:58:42 +0800
Tag:    v1.7.0

Fake constructor for PHP5

commit 23973f1856b3b7b2ad523f8da1db8e5da62d2f50
Author: vyshane <vyshane>
Date:   Tue, 12 Sep 2006 14:57:05 +0800
Tag:    v1.7.0

Modified to support Roles.

commit 6c052a02f9ad515e04031dc6a112b8e28bb198fe
Author: vyshane <vyshane>
Date:   Tue, 12 Sep 2006 14:55:40 +0800
Tag:    v1.7.0

Added lang string

commit 6e89ca55276d1cf0ecde6d93b3f4aeea3a5b3a37
Author: vyshane <vyshane>
Date:   Mon, 11 Sep 2006 11:13:52 +0800
Tag:    v1.7.0

Fix for MDL-6405

commit 46943f7b785c18174b5058e724602707f6ab719c
Author: vyshane <vyshane>
Date:   Fri, 08 Sep 2006 10:33:02 +0800
Tag:    v1.7.0

Seems that the unassign_capability function signature was changed without updating the call to that function in capabilities_cleanup(). Fixed.

commit 180f410694e2890bb0d2054a5593d371db7b7eb8
Author: vyshane <vyshane>
Date:   Wed, 06 Sep 2006 16:54:56 +0800
Tag:    v1.7.0

Merged fix for bug MDL-5866.

commit 4729012f4cf8c38800763c10eb9d5d5dd38c571b
Author: vyshane <vyshane>
Date:   Tue, 05 Sep 2006 11:07:56 +0800
Tag:    v1.7.0

Fixed warning

commit 17951759722a89ab63829c07012beea9634fdfaf
Author: vyshane <vyshane>
Date:   Mon, 04 Sep 2006 16:19:23 +0800
Tag:    v1.7.0

Re-worded comment to make more sense

commit b331040e9e7a1945572719ac49095bd1a798e3aa
Author: vyshane <vyshane>
Date:   Mon, 04 Sep 2006 16:11:37 +0800
Tag:    v1.7.0

TCPDF pdf library

commit 713b20faae38f0248604751ea007ae0096bf1144
Author: vyshane <vyshane>
Date:   Mon, 04 Sep 2006 16:10:08 +0800
Tag:    v1.7.0

Wrapper class with  modifications to TCPDF for Moodle usage.

commit 7b12414814bfe1b83d2e7b22f9f189b9d83e365d
Author: vyshane <vyshane>
Date:   Tue, 29 Aug 2006 10:09:31 +0800
Tag:    v1.7.0

Fix for bug MDL-6385

commit 7654b2bb088cdfee34263eeffe3556761c2009af
Author: vyshane <vyshane>
Date:   Mon, 28 Aug 2006 15:30:07 +0800
Tag:    v1.7.0

Added lang string

commit e823cd13fa796f99c2a5c5a675092046739a1c82
Author: vyshane <vyshane>
Date:   Mon, 28 Aug 2006 14:36:36 +0800
Tag:    v1.7.0

Cleanups

commit 620e1e5b2757fe427dd0c9ebbda552fdad82eba3
Author: vyshane <vyshane>
Date:   Mon, 28 Aug 2006 14:14:58 +0800
Tag:    v1.7.0

Fixed notice.

commit d50ccb9932108061df75d15c6a547a0f2c6af587
Author: vyshane <vyshane>
Date:   Mon, 28 Aug 2006 14:14:06 +0800
Tag:    v1.7.0

Fixed notice

commit 5ce6f628ba50f28782f5ac759f980e80a38fce96
Author: vyshane <vyshane>
Date:   Mon, 28 Aug 2006 11:51:38 +0800
Tag:    v1.7.0

Dropping forum.open and forum.assesspublic from .sql files. Added forum upgrade to roles code to postgres7.php.

commit 1a3e93ffe69df247d314abb81613504f533ac413
Author: vyshane <vyshane>
Date:   Fri, 25 Aug 2006 16:51:50 +0800
Tag:    v1.7.0

Added has_capability checks

commit 25c38f25a1af716a47f23048eb53ec422b35096f
Author: vyshane <vyshane>
Date:   Fri, 25 Aug 2006 16:30:25 +0800
Tag:    v1.7.0

Added has_capability check

commit 6ac96fcb3c80d94fc1b2a2c28c415f9ec8700846
Author: vyshane <vyshane>
Date:   Fri, 25 Aug 2006 16:27:28 +0800
Tag:    v1.7.0

Added has_capability checks

commit 1be4d00d56deeff3ce75888f43d1750086a84ca7
Author: vyshane <vyshane>
Date:   Fri, 25 Aug 2006 12:06:41 +0800
Tag:    v1.7.0

Previous committer missed one rename from $edit to $categoryedit. Fixed.

commit e1b5643ff77a02844c6082f386630d2783d67f9f
Author: vyshane <vyshane>
Date:   Fri, 25 Aug 2006 10:41:16 +0800
Tag:    v1.7.0

Changes to take care of forum upgrade to new roles system. Backed up forums will also be converted to the new roles system if the backup was made pre-roles.

commit 7f6301c464c62e4e46d16b229e529ee1aa061fc0
Author: vyshane <vyshane>
Date:   Fri, 25 Aug 2006 10:37:54 +0800
Tag:    v1.7.0

We need the newly created course_module id to be passed to the restore functions of the modules. We need this now for the forum module to convert forums backed up in 1.6 to use roles upon restore in 1.7. However, this might be needed for other modules as well if they need conversion to the roles system.

commit 905c4567a2bfb7a0f0c3103cc3f024c053359771
Author: vyshane <vyshane>
Date:   Wed, 23 Aug 2006 15:05:36 +0800
Tag:    v1.7.0

Removed forum_get_course_forum for forum type teacher.

commit 9a7538a35b8fc3a44fead1dace9a19c64d98aba1
Author: vyshane <vyshane>
Date:   Wed, 23 Aug 2006 14:56:23 +0800
Tag:    v1.7.0

Fixed notice

commit 5cae056c45353ac9f54abbf58ede278f987da3cf
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 15:42:34 +0800
Tag:    v1.7.0

Removed deprecated teacher forum type

commit 45c38eef4c2d381bac73082766111413f805086b
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 15:38:01 +0800
Tag:    v1.7.0

Removed deprecated forum type teacher.

commit d604bdeaed8b7cbbc6daf952d0dbb36b1f0ba259
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 13:56:45 +0800
Tag:    v1.7.0

Added prevent for mod/prevent:createattachment for default students and guests in teacher forums

commit 9fa3350862df2c799e7c8bf1812552841a5836d1
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 13:45:43 +0800
Tag:    v1.7.0

Upgrade now works. Needs more testing.

commit 021a7467b506292afe7722d13e7e57bd0d5a6ded
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 13:44:32 +0800
Tag:    v1.7.0

Fixes: 1) has_capability call used in fullname() 2) initialised array $options 3) $context->level has been renamed to $context->aggregatelevel

commit c1a657cc1fdaa37c370bbb80e9d58b106c902510
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 13:35:52 +0800
Tag:    v1.7.0

Bug fixes: 1) Replaced isteacher call in fullname ($course undefined) 2) Initialised $options array

commit f13a5fa60945d874d5e4a083d4ba7275fc5949a1
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 10:43:58 +0800
Tag:    v1.7.0

Removed forum->open config since roles will take over this

commit ac195b6fa60bacfc523f10480f5e4ebf2b018074
Author: vyshane <vyshane>
Date:   Tue, 22 Aug 2006 10:24:45 +0800
Tag:    v1.7.0

Need to pass the module id and not the object to add_course_module

commit c1de8b8a8043b3ec6ef242ff2605bbd32388531e
Author: vyshane <vyshane>
Date:   Mon, 21 Aug 2006 16:45:12 +0800
Tag:    v1.7.0

Fixed bug - empty teacher forums (deleted) should not have a course module created for them.

commit f0da6b858ef327f1b22c1f262cb83d3205e8a6a3
Author: vyshane <vyshane>
Date:   Mon, 21 Aug 2006 14:56:04 +0800
Tag:    v1.7.0

Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade code, changed module config form to accomdate removal of forum.assesspublic and forum.open.

commit e6416e3f12ff50142e1f74e1bd3a30003db12d91
Author: vyshane <vyshane>
Date:   Fri, 18 Aug 2006 15:08:14 +0800
Tag:    v1.7.0

Updated upgrade to roles system

commit 314af32a92e513f79509e22defe24610d273cee3
Author: vyshane <vyshane>
Date:   Fri, 18 Aug 2006 12:17:31 +0800
Tag:    v1.7.0

Forum upgrade to roles in progress (commented out).

commit c39f126780e7a4d85bab40876b563fff7f30efea
Author: vyshane <vyshane>
Date:   Thu, 17 Aug 2006 11:52:05 +0800
Tag:    v1.7.0

Fixed warning

commit 01199ea958da87792b7603c566b82f4f94cc39ea
Author: vyshane <vyshane>
Date:   Wed, 16 Aug 2006 16:54:07 +0800
Tag:    v1.7.0

Updated to use new Roles System. Plus some fixes.

commit e40a7a3c8b1a3c82f791308b4ff6206c1f1d080c
Author: vyshane <vyshane>
Date:   Wed, 16 Aug 2006 11:24:43 +0800
Tag:    v1.7.0

Fixing notices

commit 87ca0adf00e79261fda8e309ff2a2b082e0e332e
Author: vyshane <vyshane>
Date:   Wed, 16 Aug 2006 10:33:43 +0800
Tag:    v1.7.0

Fixed forum_print_post. Thanks Yu smile

commit 6c384dd1bbcf25ebd61b47db0f93b789e470e81f
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 17:56:41 +0800
Tag:    v1.7.0

Replaced isteacher and isadmin calls by has_capability

commit f8a6c19d231729a283bf13ad35cd7bd9fc580359
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 17:45:11 +0800
Tag:    v1.7.0

Replaced creator() calls with has_capability()

commit 9f5c1e105787f31637c3d3dd0e8dcab8a3bb0299
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 17:28:12 +0800
Tag:    v1.7.0

Added has_capability calls

commit 6006c31d28a5913a975028bda64878e84dc1c0aa
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 14:37:55 +0800
Tag:    v1.7.0

Added has_capability call

commit 67e4cf27e2f049274421dbd1db2fc5651a3b6637
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 14:21:35 +0800
Tag:    v1.7.0

Added has_capability checks

commit bede8db79f11adac4e8bbfeb25fd969730d9f779
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 13:01:00 +0800
Tag:    v1.7.0

Updated with new capabilities

commit a028c2918764b684872dc3165d9193db18aa9c1e
Author: vyshane <vyshane>
Date:   Tue, 15 Aug 2006 12:13:22 +0800
Tag:    v1.7.0

Added new capabilities

commit e6316185abb25261efc798074e23fa10a3e581d0
Author: vyshane <vyshane>
Date:   Mon, 14 Aug 2006 16:59:01 +0800
Tag:    v1.7.0

Fixed bug in upgrade_plugins(). Capabilities were not being loaded correctly.

commit 951e1073da260021c11b40d6bdb6c925a2f91501
Author: vyshane <vyshane>
Date:   Mon, 14 Aug 2006 15:37:53 +0800
Tag:    v1.7.0

Added has_capability calls. Reverted forum_search to pre-roles until the function is totally converted to work with roles.

commit d7bf6d17d91f1da0a9f49b5b4fdede409ed59241
Author: vyshane <vyshane>
Date:   Mon, 14 Aug 2006 15:25:18 +0800
Tag:    v1.7.0

Fixes for capability checks.

commit cee0901c069aa6f4e23996c82581ab91c49e0c3e
Author: vyshane <vyshane>
Date:   Mon, 14 Aug 2006 15:15:03 +0800
Tag:    v1.7.0

Formatting cleanups and comments

commit df9c66776d8ab9dca594e47b9d3be747f40fbe46
Author: vyshane <vyshane>
Date:   Fri, 11 Aug 2006 11:58:52 +0800
Tag:    v1.7.0

Admin role assignment: changed from using get_string (too brittle) to get_roles_with_capability (more robust).

commit abd896a114e4d34e4b223fbad5e368340331d30f
Author: vyshane <vyshane>
Date:   Fri, 11 Aug 2006 11:24:37 +0800
Tag:    v1.7.0

Commented out code that adds the new admin user to user_admins and user_teachers tables from user.php.

commit 0c30fdc9248877842ea4eb50533ce324e6480191
Author: vyshane <vyshane>
Date:   Fri, 11 Aug 2006 10:44:42 +0800
Tag:    v1.7.0

Modified to support fresh installation of new Roles System.

commit 1afecc03f48274588d3765d48d2767eaaeff0c0f
Author: vyshane <vyshane>
Date:   Fri, 11 Aug 2006 10:44:02 +0800
Tag:    v1.7.0

Modified to fix installation.

commit 628e2264b1824703e80bf40b6655baadb58cda68
Author: vyshane <vyshane>
Date:   Thu, 10 Aug 2006 13:57:34 +0800
Tag:    v1.7.0

Adding back lines that mysteriously disapeared.

commit 7613e6d7d11414f5edb78e625525eb6365b6b663
Author: vyshane <vyshane>
Date:   Wed, 09 Aug 2006 17:18:31 +0800
Tag:    v1.7.0

More updates in lib.php

commit f0eb2ffe85b7152252adb9784f05988044e10425
Author: vyshane <vyshane>
Date:   Wed, 09 Aug 2006 17:17:37 +0800
Tag:    v1.7.0

Added mod/forum:viewhiddentimedposts

commit 53d7785b4a4643b87f11e0bae8fb669991cce77f
Author: vyshane <vyshane>
Date:   Wed, 09 Aug 2006 17:16:35 +0800
Tag:    v1.7.0

Added moodle/site:viewfullnames

commit 0fa18d5a27e86707b0bc719423beb17aed817866
Author: vyshane <vyshane>
Date:   Wed, 09 Aug 2006 14:59:28 +0800
Tag:    v1.7.0

Bug fixes + updated capabilities.

commit 9af1611a06989f7c4ad31d2f8fc2086fb2064ccf
Author: vyshane <vyshane>
Date:   Tue, 08 Aug 2006 14:56:09 +0800
Tag:    v1.7.0

Replaced capability mod/forum:viewdiscussionsfromallgroups by moodle/site:accessallgroups in code. Removed former from mod/forum/db/access.php.

commit 27950688bb134a6b9a3195fa5decc6e0c274a42f
Author: vyshane <vyshane>
Date:   Tue, 08 Aug 2006 14:45:25 +0800
Tag:    v1.7.0

Added moodle/site:accessallgroups capability.

commit 4e5e7d54b58f0d0cda5a26ba73b1afda3af706e0
Author: vyshane <vyshane>
Date:   Mon, 26 Jun 2006 12:44:41 +0800
Tag:    v1.7.0

Merged from 1.6 stable. Error message now displays using notify() instead of error() when purging of old RSS feeds fail during a discussion move.

commit 68efe393f62babe1156f5241007e76343c0edbb5
Author: vyshane <vyshane>
Date:   Mon, 19 Jun 2006 10:41:44 +0800
Tag:    v1.7.0

Merge from 1.6. New class FPDF_Protection. See bug #5855.

commit 883f4e3dc6c8ef0fcc60c7e9ea1640a0906f2591
Author: vyshane <vyshane>
Date:   Wed, 14 Jun 2006 16:47:19 +0800
Tag:    v1.7.0

Merged fix from 1.6 for bug:

commit 9dc3d3255d2c82da5e2d13c523ee08a3e6a03d4d
Author: vyshane <vyshane>
Date:   Tue, 13 Jun 2006 15:50:02 +0800
Tag:    v1.7.0

Merged from 1.6. Fix for Bug #5767 - Section links block is removed from course view after settings update.

commit fd451881427cb6b5b3caaf7298c347d1adc24de2
Author: vyshane <vyshane>
Date:   Thu, 08 Jun 2006 16:28:23 +0800
Tag:    v1.7.0

Help content for available tags (data module). Merged from 1.6.

commit da52f1523c07adc1a20adef0b04389a22608070f
Author: vyshane <vyshane>
Date:   Thu, 08 Jun 2006 15:39:37 +0800
Tag:    v1.7.0

Merge from 1.6. Fix for scorm_option2text(). options field is now saved proprely.

commit 535fc3e9071e6cb3377818eb35863c4044a8713e
Author: vyshane <vyshane>
Date:   Thu, 08 Jun 2006 14:20:09 +0800
Tag:    v1.7.0

Merged from 1.6. Added missing string.

commit b134f6a71e276cd892ab532d91960e77c7be1e4e
Author: vyshane <vyshane>
Date:   Wed, 07 Jun 2006 16:19:34 +0800
Tag:    v1.7.0

Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions.

commit 0f423e9d64847892e997dca92fae5e72127666a8
Author: vyshane <vyshane>
Date:   Tue, 06 Jun 2006 13:31:42 +0800
Tag:    v1.7.0

New admin stats report. This report module makes use of /course/report/stats/. Merged from 1.6.

commit 030605e57a119afb265fa0988acade78cc6204da
Author: vyshane <vyshane>
Date:   Tue, 06 Jun 2006 12:15:04 +0800
Tag:    v1.7.0

Merge from 1.6. Refactored this report module so that we can use it as an admin report module.

commit 44e852cbead62851e61f3720270e320e1f78d619
Author: vyshane <vyshane>
Date:   Fri, 02 Jun 2006 15:37:45 +0800
Tag:    v1.7.0

Merged from 1.6. Fixed php warnings when no course is selected.

commit f24eb2613969448b090a4b217c6920aca3c18a59
Author: vyshane <vyshane>
Date:   Fri, 02 Jun 2006 12:29:11 +0800
Tag:    v1.7.0

Merged from 1.6. Fix for Bug #5682 - 'Reset template' button in CSS template adds HTML.

commit 0b0b5ea4ed468296d9049c8bbe703e5a99744a08
Author: vyshane <vyshane>
Date:   Fri, 02 Jun 2006 12:20:05 +0800
Tag:    v1.7.0

Merge from 1.6. Added missing lang string.

commit 749818fd09e5cdc60f4c62bc7f88d3b322111286
Author: vyshane <vyshane>
Date:   Thu, 01 Jun 2006 16:10:34 +0800
Tag:    v1.7.0

Merged from 1.6. Fix for cvs update -kk -j MOODLE_16_MERGED -j MOODLE_16_STABLE.

commit 65d169680c2c043462625d4f09eae54a39946968
Author: vyshane <vyshane>
Date:   Thu, 01 Jun 2006 12:08:45 +0800
Tag:    v1.7.0

Merged fix from 1.6 (missing lang string)

commit 69c9c3e696456959fa3934747f5fb6c2a65f00c3
Author: vyshane <vyshane>
Date:   Thu, 01 Jun 2006 11:10:17 +0800
Tag:    v1.7.0

Fix for get_string(), which was not building path to report language files correctly.

commit a389cc82df38e1e10efcd7ff644182e004584c80
Author: vyshane <vyshane>
Date:   Thu, 25 May 2006 13:20:59 +0800
Tag:    v1.7.0

Merged from fix in 1.6. Made string more general for error message that is shown when there are no fields defined in the database and we try to add an entry.

commit fafbcc51b52e0fc373b2c2621078d770b5b6d66c
Author: vyshane <vyshane>
Date:   Thu, 25 May 2006 13:19:24 +0800
Tag:    v1.7.0

Merged fix for bug: when a student tries to add an entry and no fields are defined, the foreach barfs since the value of $fields is false.

commit 941308d3704a0b576ea2aa0681cab0939c989637
Author: vyshane <vyshane>
Date:   Wed, 24 May 2006 11:07:37 +0800
Tag:    v1.7.0

Fix for undefined property notice when cron.php is run.

commit 2631c1744e75b6194ca1b3d18a6178c01dda9cf2
Author: vyshane <vyshane>
Date:   Fri, 19 May 2006 14:25:12 +0800
Tag:    v1.7.0

Fix for Bug #5541

commit 0adf53f6cdb529737170841705b554ede70f9c5e
Author: vyshane <vyshane>
Date:   Wed, 17 May 2006 11:07:11 +0800
Tag:    v1.7.0

Cosmetic fix in print_log_ooo, commented out call to print_log_ooo in /course/report/log/index.php.

commit 9b18fc3b832f52da6391433d6375b2ba98268868
Author: vyshane <vyshane>
Date:   Tue, 16 May 2006 15:07:04 +0800
Tag:    v1.7.0

Commiting merge from 1.6.

commit 84bada7dea1da6251b443a1bbe062f6c348cba2f
Author: vyshane <vyshane>
Date:   Tue, 16 May 2006 14:45:14 +0800
Tag:    v1.7.0

Fix for Bug #5467. Converted newlines to unix format. Removed extra lines at the end of php scripts. Converted tabs to spaces in php scripts.

commit 04678d8eca31e2d8650719ee506ae413394e96dd
Author: vyshane <vyshane>
Date:   Tue, 16 May 2006 14:21:49 +0800
Tag:    v1.7.0

Fixed Bug #5354 - Gradebook [DropXLowest and Exclude]

commit 7ec49125d6c27f67b65aeee4fba89d9d788252ec
Author: vyshane <vyshane>
Date:   Mon, 15 May 2006 13:01:56 +0800
Tag:    v1.7.0

Added language strings for new log functionality (downloading logs as excel or csv)

commit 92890025fe818252d028a95551a1ab55c9176aaf
Author: vyshane <vyshane>
Date:   Mon, 15 May 2006 13:01:00 +0800
Tag:    v1.7.0

Added option to download logs in excel or csv formats. Merged in code contributed by Daniele Cordella <d.cordella@iss.it>. Originally posted as bug 5024.

commit 7eaf5045ce318f06f7399e050eb807282cbbddcc
Author: vyshane <vyshane>
Date:   Mon, 08 May 2006 11:56:26 +0800
Tag:    v1.7.0

Fix for Bug #5441.

commit 36914ff6a76b7b08740aa9499fa7ec5fe77b8a5e
Author: vyshane <vyshane>
Date:   Mon, 08 May 2006 11:16:04 +0800
Tag:    v1.7.0

Changed the 'module' field length to 20 in the log_display table (Bug #5419). Previous commit message in 1.6 stable should read 'log_display table' instead of 'log' table. Both fixes are identical and carried over to HEAD via a merge.

commit 0aa81bc3462ba89b238599cdfb8395e97451f1b9
Author: vyshane <vyshane>
Date:   Fri, 05 May 2006 16:43:00 +0800
Tag:    v1.7.0

Fix for Bug #5419 - Inconsistency between log_display and log tables. Bumped version number.

commit 7235ae23f1afa1daf883eee03832be1a2d650893
Author: vyshane <vyshane>
Date:   Fri, 05 May 2006 16:42:29 +0800
Tag:    v1.7.0

Fix for Bug #5419 - Inconsistency between log_display and log tables

commit 1db34bf5fb4237d6ae9251f89f49efc6858745ca
Author: vyshane <vyshane>
Date:   Thu, 04 May 2006 12:32:55 +0800
Tag:    v1.7.0

Fix for bug #4805