Git commits in Moodle 2.2.x by Andrew Davis

commit 6a69966c184ef4718d3911525cccec67277e5f3c
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 14 Dec 2012 08:03:20 +0800
Tag:    v2.2.7

MDL-36680 core_grade: fixed grade_report::blank_hidden_total()

commit 26bc714f1f8831cdb88155e6b4fee4876becee27
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 27 Nov 2012 10:04:59 +0800
Tag:    v2.2.7

MDL-36761 core_grade:shifted a call to count() out of a loop

commit 6b17edba399cd181c1006babb8b71266c71f57ec
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 08 Nov 2012 16:38:16 +0800
Tag:    v2.2.7

MDL-36331 core_grade: fixed up 2 incorrect default return URLs

commit 4278ea3617b7ce597626751be374a7ac4e7dc695
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 05 Nov 2012 15:47:30 +0800
Tag:    v2.2.7

MDL-36321 core_message: made the course participants list correctly show if course participants are contacts or not

commit ee73e0f48946f6624178bc573bbf5147d792ab6f
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 26 Oct 2012 09:42:51 +0800
Tag:    v2.2.7

MDL-26439 core_message: switched the message search over to displaying smallmessage instead of fullmessage which contains boilerplate we dont want

commit e451aa73d2f7c9c7a0ea4af3fae5b8e98f9c2bd7
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 22 Oct 2012 16:46:39 +0800
Tag:    v2.2.7

MDL-36162 core_message: removed the unnecessary and confusing course URL parameter as well as fixing the broken breadcrumb

commit 47ae6d3fc9f440e42af0829b0776e23e5feabeae
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 09 Oct 2012 11:22:54 +0800
Tag:    v2.2.6

MDL-35762 core_grade: altered the code that determines whether an activity is visible on the user report

commit 6bff753746b0cfa488d9e211fa632c61d361a53d
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 27 Sep 2012 14:29:26 +0800
Tag:    v2.2.6

MDL-31782 core_grade: fixed a potential infinite loop

commit e1f24eb46e3b0c9e15e4baff33795cc9cdd63afe
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 24 Sep 2012 17:52:52 +0800
Tag:    v2.2.6

MDL-33829 mod_glossary: added some smarts so glossary entries with an image in their description are classed as richhtml instead of plainhtml

commit 63fbf99e07f8b74bfeea047dee110cd860554abc
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 28 Aug 2012 10:41:02 +0800
Tag:    v2.2.5

MDL-26504 blog: added upgrade code to remove orphan external blog posts

commit 8d6e613d1f9d88a6534c261441446b3c9c3c9389
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 24 Aug 2012 11:41:45 +0800
Tag:    v2.2.7

MDL-29733 grade: SQL and comment cleanup

commit 6ebac8f0c1b4b72a85df9bb3173e0fe44e013619
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 17 Aug 2012 11:28:56 +0800
Tag:    v2.2.5

MDL-34406 message: removed an unnecessary string creation

commit 89ce191be23835daada6c552d6a3dbc7419f49a4
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 16 Aug 2012 10:53:22 +0800
Tag:    v2.2.5

MDL-26504 blog: made it delete external blog posts when the external blog is deleted

commit 7dc9febe1906df80a0314b493d6c3cb7a63f715c
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 14 Aug 2012 20:24:33 +0800
Tag:    v2.2.6

MDL-33117 grade: added some smarts to the user report method inject_rowspans() to deal with activity conditional availability

commit 9e198bd6a68fc0cb255bae5ca310e256f3ed2317
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 18 Jul 2012 08:37:23 +0800
Tag:    v2.2.5

MDL-28568 message: added a warning message when the user is about to message someone who cant reply

commit f7b9d6112123ab157f2478a60fedbfe825aa4e99
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 17 Jul 2012 10:15:14 +0800
Tag:    v2.2.5

MDL-32665 mod_chat: disabled popup notifications in the chat windows

commit 90fa8589dd1d34963a4a8b8a060b6049182fd687
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 05 Jul 2012 11:52:30 +0800
Tag:    v2.2.5

MDL-13629 grade: added some unit tests to clarify the handling of droplow and improved apply_limit_rules()

commit 95718caae7c13e6990e748053375d99e624c1d7f
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 26 Jun 2012 12:44:56 +0800
Tag:    v2.2.4

MDL-25476 messages: switched some notification emails to come from the support contact instead of admin

commit db5e62d25070afd3da81a947a1ec100bb49259c9
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 29 May 2012 11:51:07 +0800
Tag:    v2.2.4

MDL-29173 grade: altered the definiton of round() and added some more unit tests

commit d09e2a36f2e75ebabd45e1784295b971b2b18ff8
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 28 May 2012 09:15:28 +0800
Tag:    v2.2.4

MDL-30880 grade: added a check for the feedback property existing before it is used

commit fcb203c11b065bb98fbc80c37132a7aa880ed155
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 21 May 2012 09:08:58 +0800
Tag:    v2.2.4

MDL-32649 rating: fixed the sorting in /rating/index.php

commit 6dbe8ddbd8e3dc7d031ab9f9abd602828f88c9f2
Author: Andrew Davis <andrew@moodle.com>
Date:   Sun, 20 May 2012 12:17:44 +0800
Tag:    v2.2.4

MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php

commit cd2b7304893eed3cafaed10057c9f8c6f8d804fa
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 11 May 2012 11:33:17 +0800
Tag:    v2.2.4

MDL-31460 mod_forum: added some controls to mod/forum/unsubscribeall.php to prevent the removal of subscriptions the user shouldnt be able to delete

commit ad9fee8416cb726dd4bdc7a52a4b40db279bae8d
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 03 May 2012 11:46:28 +0800
Tag:    v2.2.3

MDL-31488 admin: made admin_externalpage_setup() try to guess the reason why the requested section couldnt be found

commit 923ea459d8a2ca8a091de0539ff6851a7e23f06c
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 19 Apr 2012 19:03:18 +0800
Tag:    v2.2.3

MDL-31429 enrol: added db/messages.php for enrolment plugins and added some smarts to messaging so it won't display message settings for disabled enrolment plugins

commit 23caf506bae66510347cfd8000875c2c2c0eac9e
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 19 Apr 2012 11:32:38 +0800
Tag:    v2.2.3

MDL-29264 course: removed the z-index from course css for course completion elements

commit 50223a8ae13068104de4e4b95916c378bf4c8d41
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 12 Apr 2012 13:34:14 +0800
Tag:    v2.2.3

MDL-26523 grade: fixed a called to addHelpButton() that was asking for a non-existent string

commit 92a7892d421da09a7f257389ed194d888e5c63ac
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 10 Apr 2012 13:01:52 +0800
Tag:    v2.2.3

MDL-30955 rating: corrected /rating/index.php as it was determining the maximum rating incorrectly for custom scales

commit c2e8445bf1b4a1f26992a8c3d94d0cfaeda2c8cb
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 09 Apr 2012 13:28:00 +0800
Tag:    v2.2.3

MDL-30819 grade: fixed column highlighting on the grader report

commit 79c0996c6458b6dfbcf8e35f866074af7f0c3b75
Author: Andrew Davis <andrew@moodle.com>
Date:   Sun, 08 Apr 2012 12:10:44 +0800
Tag:    v2.2.3

MDL-31510 grade: made the user report observe $cm->uservisible so that activities not available to a student because of groups do not appear on their user report

commit 65634948fa7a5bd486fbdba636ea3c28075e43fe
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 06 Apr 2012 12:16:55 +0800
Tag:    v2.2.3

MDL-32191 grade:renamed a mis-spelled string name AMOS BEGIN  CPY [invalidgradeitmeid,error],[invalidgradeitemid,error] AMOS END

commit 85427358fc2c6c2d64345fe59f1466a5d72623dc
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 04 Apr 2012 10:58:22 +0800
Tag:    v2.2.3

MDL-32082 message: added a function to make user checks more readable

commit 4bf46b6e96f8860ebdbd12aff8267c7ad2046a05
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 08 Mar 2012 15:45:45 +0800
Tag:    v2.2.3

MDL-28187 message: fixed up $PAGE->set_url() in /message/index.php so the nav highlighted properly

commit 9d75f3a0b9a75c455663aa66a749b1b32a6c4862
Author: Andrew Davis <andrew@moodle.com>
Date:   Sun, 04 Mar 2012 13:21:03 +0800
Tag:    v2.2.3

MDL-31841 grade: prevented the feedback column on the user report from being centered

commit c232e12bf2c39a8a275dfb52ae9f37f724edbe06
Author: Andrew Davis <andrew@moodle.com>
Date:   Sat, 03 Mar 2012 14:47:41 +0800
Tag:    v2.2.3

MDL-31835 message: added a view conversation type link after each conversation on the recent conversation screen

commit e9ed7e0ed0fb81ffa4cf242f98deec501d5d1e6f
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 02 Mar 2012 15:19:29 +0800
Tag:    v2.2.3

MDL-31818 grade: removed some broken code to do with overriding students per page, added a post variable so the page isnt lost when submitting grades

commit d736ed90f7ba438f546a7acd31329f740598821a
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 02 Mar 2012 10:48:03 +0800
Tag:    v2.2.2

MDL-31353 grade: added a missing YUI requires

commit 08b6184488465d96f69fcac1b5c5e79777a74da0
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 01 Mar 2012 14:53:48 +0800
Tag:    v2.2.3

MDL-31834 message: fixed up some not quite correct usage of moodle/site:readallmessages

commit e6510e09201a206e3d17de822bb7f87767c642a6
Author: Andrew Davis <andrew@moodle.com>
Date:   Sun, 12 Feb 2012 19:07:54 +0800
Tag:    v2.2.2

MDL-31432 message: prevent messaging popups while viewing messages

commit a648791534e0eabbaf3af966a084ea75ae6c8f4f
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 10 Feb 2012 11:02:39 +0800
Tag:    v2.2.2

MDL-31335 message: wrapped calls to mtrace() in email_to_user() within a check to make sure its a CLI script

commit feba87f45ec277a922f4f05acd3bed3d3db7b8d2
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 08 Feb 2012 14:45:43 +0800
Tag:    v2.2.2

MDL-29080 grade: simplified bug fix to prevent users without the required capabilities from being able to export hidden grade items

commit 2ad0278bd2976d97c83769b16912a49c6f5aff38
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 23 Jan 2012 15:07:32 +0800
Tag:    v2.2.2

MDL-29892 grade: added a check to prevent hidden courses appearing on student overview reports

commit b0b6a8dac69e767f561320c076eac7db3e5bf638
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 30 Dec 2011 11:56:22 +0800
Tag:    v2.2.2

MDL-29097 course: refactored to avoid having two seperate calls to events_trigger()

commit ec0118dd5d8ef88f4dbab6561d54bc3be90b1021
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 29 Dec 2011 17:20:39 +0800
Tag:    v2.2.2

MDL-30707 mod_forum: fixed a add_to_log() call that was causing invalid URLs to be added to the log

commit 04d955043419fa6e794a609381012814f541bafa
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 28 Dec 2011 16:28:17 +0800
Tag:    v2.2.2

MDL-30828 mod_feedback: fixed sorting when viewing responses

commit 35888eee0d0ff137adda3739d8c8c5542beacf31
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 23 Dec 2011 13:28:08 +0800
Tag:    v2.2.2

MDL-30722 mod_forum: prevented users being auto-logged in as guest when they access /mod/forum/unsubscribeall.php

commit 223e7535206d6416191e38d947a4b9ed2f217495
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 16 Dec 2011 10:40:39 +0800
Tag:    v2.2.1

MDL-20245 grade: increased the size of the user_preferences value column and added php validation of the data going into that column

commit 925d068de11ff9e480c63f60f6867f0e25662a03
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 13 Dec 2011 15:53:15 +0800
Tag:    v2.2.1

MDL-13572 message: added validation of the email address in the messaging preferences

commit 1a35796fba8999ad0859ad533e1fef9bbf5b748d
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 12 Dec 2011 15:57:04 +0800
Tag:    v2.2.1

MDL-25561 grade: made the student names clickable on the user report

commit 924deffba62a42c83f451137806b5be592b63908
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 06 Dec 2011 11:09:14 +0800
Tag:    v2.2.1

MDL-30607 message: removed an if condition that prevented you from clearing an overrident email address

commit de276c92165cbe336b0f8410bdd3866a9dd2580c
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 05 Dec 2011 14:57:36 +0800
Tag:    v2.2.1

MDL-28710 rating: added some more classes to the html for entering ratings

commit b11d6236dfd74eb6ec0dfd0cc08f29afcb59e7ab
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 02 Dec 2011 09:48:36 +0800
Tag:    v2.2.1

MDL-26522 grade: made the user selection drop down on the user report behave more sensibly

commit f6ce2eb25a95c0e17ccf3a1dc7b88344cda012ad
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 01 Dec 2011 16:54:48 +0800
Tag:    v2.2.0-rc1

MDL-30544 message: prevented the temporarily disable notifications checkbox from erasing your messaging preferences

commit 39ee0ced4af0823518e83d5f9a3d848e04ac5d5d
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 30 Nov 2011 11:41:00 +0800
Tag:    v2.2.0-rc1

MDL-30494 grade: provided a failure string to gives people experiencing UTF character test failures a starting point for fixing the problem

commit 58800b7c36b9e63bbd01889e15e02e4dfb0e0ad9
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 30 Nov 2011 11:39:25 +0800
Tag:    v2.2.0-rc1

MDL-30494 grade: improved unit tests for tokenize()

commit aed70c6d40adca82f4124ebcb2c88d1386f3703b
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 28 Nov 2011 12:58:44 +0800
Tag:    v2.2.1

MDL-27432 mod_data: improved handling of the absence of the GD php extension

commit 22e23da6f466c1c9fb454fa288b993795a41fb60
Author: Andrew Davis <andrew@moodle.com>
Date:   Sat, 19 Nov 2011 15:35:23 +0800
Tag:    v2.2.0-rc1

MDL-29814 message: made html personal messages store a plain text version as a fallback

commit 185db1c9622e4e50deafbce8ad8bf120cdc301a5
Author: Andrew Davis <andrew@moodle.com>
Date:   Sat, 19 Nov 2011 14:42:47 +0800
Tag:    v2.2.0-rc1

MDL-30288 gradebook: prevented grade grade feedback being wrapped in a text to html div tag which was causing it to look like feedback had been edited when it hadn't

commit d8aa5ec7a073b28e501d7cb173e2913520d05329
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 16 Nov 2011 13:01:55 +0800
Tag:    v2.2.0-rc1

MDL-30260 message: added /message/upgrade.txt, checked calls to message_send() are supplying user.emailstop and improved message_send() to handle message requests that don't

commit d3e303470d3af739b935640d200f2b9383d7492b
Author: andrew <andrew@andrew-ThinkPad-Edge.(none)>
Date:   Thu, 10 Nov 2011 11:42:21 +0800
Tag:    v2.2.0-rc1

MDL-27703 gradebook: altered an sql query in the user report. join with no on clause causes an error in some DBs

commit 70e61f70718ccc0742df020e950dcdf1cb5f30ca
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Mon, 26 Sep 2011 15:57:40 +0800
Tag:    v2.2.0-beta

MDL-29089 gradebook: added missing columns to the history tables

commit 5e36e1045a35f270f3e6224719f77f9ecaec7ced
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Wed, 21 Sep 2011 15:49:24 +0800
Tag:    v2.2.0-beta

MDL-29333 rating: prevent the ratings JS from being intialized multiple times

commit 5c0452c6f892b96601e1315ab02500e7265851ce
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Wed, 21 Sep 2011 14:54:32 +0800
Tag:    v2.2.0-beta

MDL-29333 rating: refactored the ratings ajax

commit 667f63fefa4156c9e6920061db55147785eef31b
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Mon, 19 Sep 2011 16:06:05 +0800
Tag:    v2.2.0-beta

MDL-25241 forum: reimplemented the display of ratings on the forum search page

commit 1323bf5597699833015cfd0dd5bdf528b3993304
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Mon, 12 Sep 2011 21:23:22 +0800
Tag:    v2.2.0-beta

MDL-28725 wiki: added urlencode around the section variable when it is being used to construct URLs

commit 41017112cff7f5bd7969c72d321320f3090e7c68
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Fri, 02 Sep 2011 16:02:30 +0800
Tag:    v2.2.0-beta

MDL-28725 wiki: added missing string AMOS BEGIN  CPY [invalidsection,core_admin],[invalidsection,mod_wiki] AMOS END

commit a4850831715f73e10237c1d73d54058edc0a77ed
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Thu, 01 Sep 2011 15:21:04 +0800
Tag:    v2.2.0-beta

MDL-29126 gradebook: made text export with tabs as separator work

commit c87d90be140db04275d1da511b168e31da322789
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Thu, 25 Aug 2011 08:29:32 +0800
Tag:    v2.2.0-beta

MDL-6397 database: removed an unused string

commit 2a4d3c98d54ac80b81d2ef24084f75c9838a01a8
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Fri, 19 Aug 2011 16:53:32 +0800
Tag:    v2.2.0-beta

MDL-27823 messaging: preventing html tags from being output to the UI

commit c04b01f46f3289515d88170b6ab0aefdbbd5024f
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Tue, 16 Aug 2011 17:08:47 +0800
Tag:    v2.2.0-beta

MDL-27640 rating: altered the return url provided by mod_data to ratings

commit 2fd7c451ad8e509b44d78b3394de17734a2068dc
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Tue, 16 Aug 2011 14:30:34 +0800
Tag:    v2.2.0-beta

MDL-28943 messaging: made messaging admin page use a string instead of the plugin name

commit bb3546f3c2844d47da9b69b80dd8696aa88a8a2b
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Tue, 16 Aug 2011 14:06:11 +0800
Tag:    v2.2.0-beta

MDL-22232 messaging: added the ability to temporarily disable notifications to a particular user

commit 02f40510e64b945beebfe18d394694a172a82ac6
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Fri, 05 Aug 2011 11:12:44 +0800
Tag:    v2.2.0-beta

MDL-27845 rating: altered the get_ratings() query to avoid possible future duplicate key problems

commit 8d0845d30a60d93759c77096a8dff2fd70465148
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Thu, 04 Aug 2011 12:01:52 +0800
Tag:    v2.2.0-beta

MDL-28406 blocks: added JS to prevent the addition of duplicate blocks

commit dd6d83c16b052cddf349cdd910fd9cd9209a3c88
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Wed, 27 Jul 2011 14:13:47 +0800
Tag:    v2.2.0-beta

MDL-28340 messaging: fixed a display issue when you search for and tried to view a conversation between two other users

commit 675c2f5341578fa7751d7ec94228deaaeb00083c
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Mon, 25 Jul 2011 13:46:49 +0800
Tag:    v2.2.0-beta

MDL-27845 rating: split the get_ratings() query into two to reduce query complexity

commit a924c53e4ae589010750d18fc8babccf9a2d747a
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Fri, 22 Jul 2011 15:57:14 +0800
Tag:    v2.2.0-beta

MDL-27845 rating: updated rating unit tests

commit 6366fdcc6cef34378077ce26004da8a7c2a4f7b7
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Tue, 12 Jul 2011 10:46:59 +0800
Tag:    v2.2.0-beta

MDL-28210 messaging: Fixed requires problems in /message/discussion.php