Git commits in Moodle 2.4.x by Andrew Davis

commit 7748e17207b1a28118d9dc622878da22f956d3fe
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 03 Mar 2014 12:15:54 +0800
Tag:    v2.4.9

MDL-44082 mod_chat: added a security check for users already in the chat activity

commit b15478526af10c0cbf54315d7cde86fd01849ad8
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 08 Oct 2013 14:59:16 +0800
Tag:    v2.4.7

MDL-26244 mod_date:added some logic show or hide the file picker button based on repository availability

commit 441b8d6e699affd0ca8c30d1b7eef2337f83bf28
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 07 Oct 2013 15:58:58 +0800
Tag:    v2.4.7

MDL-26170 RSS: fixed RSS cache clearing when items are deleted

commit 0f60e9fe539e6fe3e88b5edec5e15c2931697cfa
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 29 Apr 2013 10:15:08 +0800
Tag:    v2.4.4

MDL-32913 core_grade:made it more obvious when the gradebook is broken due to a broken calculation

commit f34634eaf3e4aa38155843529a11f5932ca645bd
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 26 Apr 2013 10:37:52 +0800
Tag:    v2.4.5

MDL-35859 core_grade:fixed an optional parameter call to use the array version

commit 501afed36a3e169f5b983b4e0dafb633c2f98608
Author: Andrew Davis <andrew@moodle.com>
Date:   Sun, 21 Apr 2013 15:30:13 +0800
Tag:    v2.4.4

MDL-31713 core_grade: added updating of grade min and max to update_final_grade()

commit e4f7ad5d55e31a806b95e88b654e0397ec5cf45a
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 19 Apr 2013 21:25:18 +0800
Tag:    v2.4.4

MDL-31713 core_grade:added a unit test to replicate a raw grade max bug

commit 9ffffa5ec7f83f2f2a0f047ec071c6a7d33d8816
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 12 Apr 2013 11:59:08 +0800
Tag:    v2.4.4

MDL-35385 mod_chat: made sure no message popups display within the chat window

commit 166102e9b3b808311063584cc4ebd4b3f4070e90
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 10 Apr 2013 08:28:05 +0800
Tag:    v2.4.4

MDL-29877 core_grade:add some upgrade code to fix broken grade items introduced by bad restores

commit 4b280ca67972479b4b86dd8861bcbeb8c06e41f9
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 05 Mar 2013 12:00:59 +0800
Tag:    v2.4.4

MDL-37475 core_grade:fixed the handling of show totals

commit d2dbe64ba4fca3c24f61ee04ec8c541fac9ff21c
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 26 Feb 2013 11:07:19 +0800
Tag:    v2.4.2

MDL-38149 core_grade: added a guard for when there are no old grades

commit c8d061208d5b0d4d3bd4f8ef36190a8d8bfcecb2
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 22 Feb 2013 10:37:57 +0800
Tag:    v2.4.8

MDL-43188 core_message:reimplemented the beep on new message functionality from 1.9

commit c605d0b9c62d18d149ccb6fe9b292c8f82db6225
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 08 Feb 2013 10:15:17 +0800
Tag:    v2.4.2

MDL-34800 core_grade:switched from hiding the submit button to disabling it if ajax is enabled

commit 4dd5ce20ffd4d2c31c1f49bc4ab797215e6fe4cc
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 28 Jan 2013 12:03:59 +0800
Tag:    v2.4.5

MDL-36090 core_grade: added logging of overriding of student grades

commit e456586166ac6b19ed7801b2b2f071d680d092ec
Author: Andrew Davis <andrew@moodle.com>
Date:   Sat, 26 Jan 2013 09:39:48 +0800
Tag:    v2.4.2

MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests

commit 002178276f35b1eb585596c3f34da5088220fea1
Author: Andrew Davis <andrew@moodle.com>
Date:   Sat, 26 Jan 2013 09:39:48 +0800
Tag:    v2.4.2

MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests

commit 6d168299aefba4cbe8fd7ed05a57989c44e23b10
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 10 Jan 2013 15:58:16 +0800
Tag:    v2.4.2

MDL-37357 core_grade: fixed the showing and hiding of rank on the overview report

commit 3396c400eba6e33a2de6ff4df37f3101f2cb8e49
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 10 Jan 2013 14:57:32 +0800
Tag:    v2.4.2

MDL-37352 core_grade:fixed some ajax display issues

commit b164a8904a568a2ae39b9e5e370e140134fa2a64
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 21 Dec 2012 11:48:54 +0800
Tag:    v2.4.1

MDL-29327 core_grade: removing some code that is messing up the categories and items screen when no grade categories are used

commit e7052c0349d175c18b3a28dd827f8aa2677f4f2c
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 19 Dec 2012 09:46:16 +0800
Tag:    v2.4.2

MDL-36757 course: avoid accidently overwriting the hidden/visible values set on grade items

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

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

commit 0663096dc615f338926a1a0b05ee10dd3918fb00
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 21 Nov 2012 11:05:16 +0800
Tag:    v2.4.1

MDL-36680 core_grade: fixed grade_report::blank_hidden_total() and added unit tests

commit 799be0ba8c39951b18c4fcd42f2ae37d5138b059
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 12 Nov 2012 15:25:49 +0800
Tag:    v2.4.2

MDL-13805 core_message: fixed the admin's ability to read another users messages

commit 0d02aa53ad094128194a4e0b6e3fc765a2f436ca
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 08 Nov 2012 16:38:16 +0800
Tag:    v2.4.0-rc1

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

commit 69bcca5e9c9f3c0bd3dcb40073fb4202a678887c
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 06 Nov 2012 11:02:18 +0800
Tag:    v2.4.0-rc1

MDL-36061 core_grade: added some unit tests related to refresh_grades()

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

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

commit 138025470fd16787a939c6b26e5d5fe0d5ea02c8
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 01 Nov 2012 09:42:11 +0800
Tag:    v2.4.1

MDL-36162 core_message: string clean up

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

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

commit 6ba8a4bee209b08e715c16b639850049767475d9
Author: Andrew Davis (andyjdavis) <andrew@moodle.com>
Date:   Tue, 23 Oct 2012 16:53:37 +0800
Tag:    v2.4.0-rc1

MDL-30545 messaging prefs: add Andy's extra unit tests.

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

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

commit 69632d42f0559050e2ccf0e88eaa8b315f03b683
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 19 Oct 2012 12:02:17 +0800
Tag:    v2.4.0-beta

MDL-35762 core_grade: adding unit tests for modinfolib.php

commit 5e76227126381a0f560cb2b876d8615211d00c53
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 09 Oct 2012 11:22:54 +0800
Tag:    v2.4.0-beta

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

commit 97512dd36bf6fae45601a3bd3b750a21930236a8
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 01 Oct 2012 12:53:26 +0800
Tag:    v2.4.0-beta

MDL-35667 core_grade: added a new test for grade_category::apply_limit_rules()

commit 26e02d7586b57c8436d007fbe3705025dd10416d
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 01 Oct 2012 11:00:48 +0800
Tag:    v2.4.0-beta

MDL-34367 core_message: removed the call to $PAGE->set_popup_notification_allowed from message/lib.php

commit daa1dd74d480252a65d3c236818273dc19d29beb
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 01 Oct 2012 10:05:22 +0800
Tag:    v2.4.0-beta

MDL-35519 mod_book: fixed the cancel import redirect URL

commit 52929486488959002ecd9d9c1dc17bfb4373580f
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 27 Sep 2012 14:29:26 +0800
Tag:    v2.4.0-beta

MDL-31782 core_grade: fixed a potential infinite loop

commit 2403ea411c9f39efb72241393a1608162e92e5a2
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 24 Sep 2012 17:52:52 +0800
Tag:    v2.4.0-beta

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

commit f361678362dddc74552be117558281d29b506656
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 28 Aug 2012 10:41:02 +0800
Tag:    v2.4.0-beta

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

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

MDL-29733 grade: SQL and comment cleanup

commit 6109f7afce35d8cde4c3fbed9d1cb1b4597da927
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 21 Aug 2012 11:58:13 +0800
Tag:    v2.4.0-beta

MDL-30022 message: made the messaging history display code able to deal with multiple messages with the same timecreated value

commit c6841df4dfc31c25316fd9d5ba57f7f8313362e4
Author: Andrew Davis <andrew@moodle.com>
Date:   Fri, 17 Aug 2012 11:28:56 +0800
Tag:    v2.4.0-beta

MDL-34406 message: removed an unnecessary string creation

commit 4db11a24e8bb5ad1ecc72aebb4887f5913b0f24f
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 16 Aug 2012 10:53:22 +0800
Tag:    v2.4.0-beta

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

commit 69c8bcec70f8ffacabb4ba228c5de674aa3520c7
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 14 Aug 2012 20:24:33 +0800
Tag:    v2.4.0-beta

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

commit 662cfbc7e1578bf23bc6429d7d481e96a04ffff7
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 30 Jul 2012 12:10:23 +0800
Tag:    v2.4.2

MDL-33117 grade: adding unit tests for the user report function inject_rowspans()

commit 77d187ed1ead401bd5eadd24a1c55131a6fa9d64
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 18 Jul 2012 08:37:23 +0800
Tag:    v2.4.0-beta

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

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

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

commit a2592fecd132cfe0d57e3e3a90724fb8471011b1
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 11 Jul 2012 11:12:14 +0800
Tag:    v2.4.0-beta

MDL-22937 mod_chat: switched chat from tables to div/span + css and made chat, comment and message formats more similar

commit fb80cb2aa4897e53345caa3c86d49eda0238720c
Author: Andrew Davis <andrew@moodle.com>
Date:   Thu, 05 Jul 2012 11:52:30 +0800
Tag:    v2.4.0-beta

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

commit c968c1b787e4caaa6a8736b45676378245475611
Author: Andrew Davis <andrew@moodle.com>
Date:   Tue, 26 Jun 2012 12:44:56 +0800
Tag:    v2.4.0-beta

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

commit 648aad913a81dbd6317239edcc1d0e46d664dfcd
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 13 Jun 2012 12:49:13 +0800
Tag:    v2.4.0-beta

MDL-33686 Repositories: we were accessing a non-existent variable and thus never displaying the maximum number of attachments

commit b71afc0d235a1ca2c687f5dafa50d097f6ec6cba
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 14 May 2012 10:45:40 +0800
Tag:    v2.4.0-beta

MDL-31033 message: removed commented out and unneccesary code

commit 435b4d8e1876f698b873e755308be0cd82542af1
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 01 Feb 2012 10:26:53 +0800
Tag:    v2.4.0-beta

MDL-29615 message: reversed the default for messagingallowemailoverride and added upgrade code so upgraded sites maintain consistent behaviour

commit 11f4f8d266b02a816030eb0df5095973983e2189
Author: Andrew Davis <andrew@moodle.com>
Date:   Mon, 23 Jan 2012 11:27:47 +0800
Tag:    v2.4.0-beta

MDL-29615 message: added the ability for admins to restrict users ability to set where their email message notifications go

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

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

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

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

commit 29fd874eba9ada95822b115f99cdd70081a80888
Author: Andrew Davis <andrew@moodle.com>
Date:   Wed, 28 Dec 2011 16:28:17 +0800
Tag:    v2.4.0-beta

MDL-30828 mod_feedback: fixed sorting when viewing responses