Git commits in Moodle 2.4.x by Mark Nelson

commit 309481dde08f0836f6aa5ed6c1853016553c9801
Author: Mark Nelson <markn@moodle.com>
Date:   Sat, 30 Nov 2013 06:25:45 +0800
Tag:    v2.4.8

MDL-43140 mnet: display header after redirects to avoid warning

commit e7698992b76fd912276e5746cb06597b66b815f7
Author: Mark Nelson <markn@moodle.com>
Date:   Sat, 30 Nov 2013 06:12:09 +0800
Tag:    v2.4.8

MDL-43142 mnet: fixed typo in variable passed to get_string

commit 8fb24d2b435852865c72a2b2f508e6dea5d7da87
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 14 Nov 2013 09:25:48 +0800
Tag:    v2.4.8

MDL-42547 tool_uploaduser: trim values before uploading users

commit 9a3f5110569704d6e4021ce7f66a9bdcd9c85974
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 31 Oct 2013 16:06:42 +0800
Tag:    v2.4.7

MDL-42566 mod_data: introduced check to ensure the picture supplied is valid

commit fda6ef7a1f2c655d1d98983a57a3218aa8d5bd39
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 30 Oct 2013 17:24:48 +0800
Tag:    v2.4.7

MDL-42613 core_group: removed unnecessary table row when there is no group description or picture

commit 78855a6c7b43e0d7ceebf65b4d27f0841899abcb
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 22 Oct 2013 16:04:19 +0800
Tag:    v2.4.7

MDL-42465 mod_chat: instantiated message object before declaring properties

commit 34b3aa4d49022658440ecc27515a7af1d6b8297e
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 22 Oct 2013 12:04:06 +0800
Tag:    v2.4.7

MDL-35146 mod_wiki: fixed variable typo and altered code to conform to Moodle guidelines

commit 6c32a2f003e14090c04647f76fd822db0dfa0021
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 21 Oct 2013 12:19:54 +0800
Tag:    v2.4.7

MDL-42429 mod_lesson: removed unnecessary conditional check

commit a5436ae8ced1fc513889db578362d985d9146668
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 18 Oct 2013 11:38:56 +0800
Tag:    v2.4.7

MDL-42421 auth: removed incorrect statement in upgrade.txt

commit 969d8f0e3ff4d2aa2e0f52785023b299c5564c1b
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 16 Oct 2013 11:20:40 +0800
Tag:    v2.4.7

MDL-42377 backup: fixed incorrect debugging message

commit 36cfbfe841983380ae726b51606f762dae248540
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 14 Oct 2013 17:21:47 +0800
Tag:    v2.4.7

MDL-42201 backup: introduced new automatic backup state

commit 6c2d9137b31bf6bfb90d705c4f5ebf7781dd10ea
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 07 Oct 2013 17:25:44 +0800
Tag:    v2.4.7

MDL-37181 backup: stopped setting the status of unscheduled backups to skipped

commit 63b66cf27608e6f23ba92da014370cf3f02e2c44
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 26 Sep 2013 11:57:21 +0800
Tag:    v2.4.7

MDL-41995 calendar: moved the location the page layout was set for the export page

commit eb57e9e60b4cb16c04449f6fc19c5a7295ed0aa6
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 06 Sep 2013 12:40:15 +0800
Tag:    v2.4.7

MDL-41417 course: allow the use of duplicated idnumbers if they existed before fix

commit f0a60c5f2f8e03eec7fcc06963ac24abf967878b
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 22 Aug 2013 17:12:30 +0800
Tag:    v2.4.6

MDL-41387 tags: changed character case in string used when deleting a course

commit 0534f2dd9b93faa4167aac527790ea7885a59844
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 22 Aug 2013 16:23:26 +0800
Tag:    v2.4.6

MDL-36126 backup: ensure the backup_logs message does not exceed the maximum allowed length in the DB

commit 9e532d0ca3d82fe664284dc7fc9cb37e0e5fb7d1
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 07 Aug 2013 11:14:48 +0800
Tag:    v2.4.6

MDL-40662 block_course_overview: added addinstance capability string

commit eea2c47d6ff76d0be946c0d75a2be4e64286a0da
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 06 Aug 2013 11:38:10 +0800
Tag:    v2.4.6

MDL-27953 auth: documented the newly introduced function can_be_manually_set() in upgrade.txt

commit 95ddab5f31a5f29cdc0594b0795d418062811abc
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 30 Jul 2013 15:10:38 +0800
Tag:    v2.4.6

MDL-40662 block_course_overview: added addinstance capability to remove debugging message due to system context being used on the 'Default My home page'

commit 574abfafc620ba5ff6ff676c1c4b8424e3b4d8bd
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 29 Jul 2013 15:33:21 +0800
Tag:    v2.4.6

MDL-27953 auth: allowed the LDAP plugin to be manually assigned to uploaded users

commit 118242be26288dac50b816a1a37436171237ab95
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 04 Jun 2013 17:59:24 +0800
Tag:    v2.4.5

MDL-40009 notes: corrected the form element names passed to setType

commit 7b178abfbb5dad1d811430fa63a929b85c9a84cc
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 07 May 2013 12:59:58 +0800
Tag:    v2.4.4

MDL-39535 grade: only display grade errors once

commit ee02d17466daea43fe4df6ff53e2e896c50d286e
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 23 Apr 2013 17:09:49 +0800
Tag:    v2.4.4

MDL-39303 mod_forum: prevent user from submitting when post threshold reached

commit 709c441e891ac07ecabaea2f412c9b62eadb08b9
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 18 Apr 2013 16:58:29 +0800
Tag:    v2.4.4

MDL-39192 mod_forum: do not need to check the posting threshold when editing a post

commit bb244cb482267cfdb9d022bb7da1ef777aff0baa
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 17 Apr 2013 14:52:48 +0800
Tag:    v2.4.4

MDL-39185 mod_forum: declare new object before creating member variables to prevent Strict Standards warning

commit e0d4f2b66c193e2217b3513b81eb7578f304f3b2
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 05 Feb 2013 11:57:03 +0800
Tag:    v2.4.2

MDL-37854 phpunit: replaced occurrence of non-existent function assertFail

commit ec4663f8630409c6e70e8988b92f68fc13113dff
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 04 Feb 2013 11:09:56 +0800
Tag:    v2.4.2

MDL-37518 blocks: described the introduction of the myaddinstance capability in upgrade.txt

commit 528b5b7dac58cc30138c4294f3c9b35f6fb76992
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 18 Jan 2013 14:14:40 +0800
Tag:    v2.4.2

MDL-37414 blocks: re-added the ability to add some blocks to the My Moodle

commit 2d8e1898259a0f3885dc504c78939e7c1f156710
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 15 Jan 2013 18:15:14 +0800
Tag:    v2.4.2

MDL-35924 filemanager: added label for the input field when creating a new folder

commit 55cf5dfd8bc43fdc7afb65277bfab0ef52f3f7b9
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 15 Jan 2013 17:03:00 +0800
Tag:    v2.4.2

MDL-36104 mod_assign: added hidden labels to the feedback input fields

commit 01476363917bd104d75b18f7d64a3354709c6e79
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 15 Jan 2013 14:09:50 +0800
Tag:    v2.4.2

MDL-37275 webservices: ensure a webservice function is chosen before attempting to add to service

commit 5be009245beb2d0235588f2bbb77a214ba07895a
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 10 Jan 2013 17:15:51 +0800
Tag:    v2.4.1

MDL-36741 mod_forum: fixed the function forum_rss_newstuff that was using count_records_sql incorrectly as well as generating RSS content when no data exists

commit 3735e3d2894f453394b6b4bf536e19754656401a
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 04 Jan 2013 15:23:12 +0800
Tag:    v2.4.1

MDL-37359 groups: fixing typo in the web service function create_groupings_parameters

commit 7428077d4b498eca890dcde504fe3999cc94ad09
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 30 Nov 2012 14:53:51 +0800
Tag:    v2.4.1

MDL-36755 blocks: the course overview block can only be added to the My Moodle page so removing unnecessary addinstance cap

commit a8f85379659089e2c0d6b140dc649a0120322099
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 29 Nov 2012 14:12:58 +0800
Tag:    v2.4.1

MDL-36455 blocks: removed ability to add blocks to the My Moodle page that did not make sense in that context

commit 9b06b5071977af693574e04a5e031b5776fa03b3
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 28 Nov 2012 12:47:54 +0800
Tag:    v2.4.0-rc1

MDL-36864 blocks: only perform myaddinstance capability check on the My Moodle page, not on any other pages using the user context

commit 08a6a19d4b7fc06ac01461afd1abfa69a7f3ff2a
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 27 Nov 2012 15:58:30 +0800
Tag:    v2.4.0-rc1

MDL-36865 filepicker: ensuring the dnd arrow displays in the center of the filepicker for all supported browsers

commit 04123f6d85cb54e26ee7f4282379d34cc7903eef
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 27 Nov 2012 12:38:11 +0800
Tag:    v2.4.0-rc1

MDL-36841 portfolio: ensure variables in parent function match those of childs to prevent strict standard error

commit 1565171e0706c56f6603149754cb91c4c8e24c16
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 23 Nov 2012 16:58:35 +0800
Tag:    v2.4.1

MDL-36741 mod_forum: fixed SQL that was generated when either timed posts or groups were enabled

commit 656cea20a6c6aa9b97a83dc1d38403544457c8c8
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 21 Nov 2012 16:54:58 +0800
Tag:    v2.4.1

MDL-35954 javascript: prevent JS from being triggered on select box by clicking on already selected option

commit 1d747df1054fbe906199009dbc63a38041f63d3a
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 21 Nov 2012 12:03:54 +0800
Tag:    v2.4.0-rc1

MDL-35760 filemanager: ensuring the dnd arrow displays in the center of the filemanager for all supported browsers

commit 684c3be721cd2fb8d259315189f7401f1f249e26
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 20 Nov 2012 17:43:50 +0800
Tag:    v2.4.0-rc1

MDL-25552 mod_lesson: changing filepicker element to filemanager to allow the deletion of a file

commit 4548df3155860859c67fec5079265c2b1ca1f575
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 20 Nov 2012 16:28:52 +0800
Tag:    v2.4.1

MDL-29334 mod_data: if site-wide presets created in <= 1.9 exist convert them to 2.x

commit 737aefb454fca0544df35db3871ce08c2938e847
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 20 Nov 2012 12:17:21 +0800
Tag:    v2.4.0-rc1

MDL-30377 forum: do not allow users to view not yet started or expired discussions

commit 62d210515cef2b4603b0b5c2089c6db9ec59a1b6
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 19 Nov 2012 15:43:46 +0800
Tag:    v2.4.0-rc1

MDL-36609 javascript: ensure HTML element exists before attempting to perform JS functionality

commit fe8a06dc74b6be5819c68b264c91589705aae6cc
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 13 Nov 2012 17:07:22 +0800
Tag:    v2.4.0-rc1

MDL-30139 enrol: added search button to AJAX enrolment search

commit 4fc95a9fff6b6ea371bc1162d0db122daf6f558d
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 08 Nov 2012 14:49:28 +0800
Tag:    v2.4.0-beta

MDL-34270 blocks: removing unnecessary capabilities

commit 37743241745f999b855b1b7b2e4b3d3779e19a04
Author: Mark Nelson <markn@moodle.com>
Date:   Wed, 07 Nov 2012 14:49:52 +0800
Tag:    v2.4.0-beta

MDL-33791 Portfolio: Fixed security issue with passing file paths.

commit 464e00be28a13f752f8d9a127826a1ae133d5008
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 06 Nov 2012 14:56:47 +0800
Tag:    v2.4.0-beta

MDL-34270 blocks: perform My Moodle addinstance capability check first

commit 70c9c1956d8338eb85c33d5bde4ad074bcb365ee
Author: Mark Nelson <markn@moodle.com>
Date:   Mon, 05 Nov 2012 12:28:09 +0800
Tag:    v2.4.0-beta

MDL-34270 blocks: Adding clonepermissionsfrom to the new capability definitions

commit feb1a1beb8641010a106196421030081d71036ab
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 02 Nov 2012 15:32:36 +0800
Tag:    v2.4.0-beta

MDL-35349 paypal: Fixing return page so that it now declares page context

commit b291b59d6a980c69d5e4155742f61e69c6072ae3
Author: Mark Nelson <markn@moodle.com>
Date:   Fri, 02 Nov 2012 14:32:01 +0800
Tag:    v2.4.0-beta

MDL-34270 blocks: adding new add block capabilities

commit fdd375e1a465edc41c6e2168297af26b831940c0
Author: Mark Nelson <markn@moodle.com>
Date:   Tue, 30 Oct 2012 15:24:09 +0800
Tag:    v2.4.0-beta

MDL-36271 feedback: Fixed variable typo

commit 5a45b936bf58f3bfe9b97a19ea9794ef8ddfabba
Author: Mark Nelson <markn@moodle.com>
Date:   Thu, 27 Sep 2012 12:00:02 +0800
Tag:    v2.4.0-beta

MDL-35637 group: Fix form submission error that occurs when GD version is not set.

commit f28da7fcc7d93c64959eddfae2d81d0562edddd0
Author: Mark Nelson <mark@moodle.com.au>
Date:   Wed, 27 Jun 2012 14:31:03 +0800
Tag:    v2.4.0-beta

MDL-34025 - quiz secure window: fix popup closing

commit f99d3a42a2f347f4ff87ad2832ef55f0a41d817b
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 18 May 2012 18:30:22 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: Deleting profile fields will delete the dependencies in both the modules and sections

commit 4eafabc2a663a5c2a0b7eb49e524530bd82f9edb
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 18 May 2012 17:47:01 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: Rebase with integration removed add table function

commit be2534fd8832a1a5fe9bfcecbc4ee685a32addc5
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 18 May 2012 16:54:16 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: Populating form with wrong value

commit 94b94c38e79b1e415b8e1d56251c7f8a066a3885
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 18 May 2012 16:46:41 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: Section conditions are now deleted from DB

commit e01fbcf76510d2231e1a7804ddf3832e4d7be9f7
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 18 May 2012 16:23:50 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: Integrated with the latest code, can now place user field conditions on sections as well

commit 95a9bc0e4ab6bfd003ed69f0bc82d21d08e672df
Author: Mark Nelson <mark@moodle.com.au>
Date:   Tue, 15 May 2012 02:01:30 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: ignore any fields that have none selected

commit d2170cb542805a4e4ef905877320cf1cd976fcff
Author: Mark Nelson <mark@moodle.com.au>
Date:   Tue, 15 May 2012 01:59:57 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: moved the deletion of the course_modules_availability information above the deletion of the course modules

commit 33f30deccea7aa39395663d7e3ca38b6aafb03ab
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 11 May 2012 01:22:48 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: clear the userid from the user field cache when wiping the session

commit 129e4a73ecc0524693703678a766237d47d13119
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 11 May 2012 01:01:35 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: cached result in usercondition array now stores all attributes

commit a6b538a8622881cbfd2c41ef8b048a0e46ee4fb3
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 11 May 2012 00:33:22 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: validate whether a field has been declared before for that activity

commit a8f84c287ccc3d067d36dc64e2865c0abaddc09c
Author: Mark Nelson <mark@moodle.com.au>
Date:   Thu, 10 May 2012 11:49:01 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: code cleanup

commit af2ce7806b6d66796737edb6cc5ff3b36932c117
Author: Mark Nelson <mark@moodle.com.au>
Date:   Thu, 10 May 2012 00:49:26 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: delete the course modules records in the course_module_avail_fields table when deleted

commit 5fa220fbf3c5ba6aadf9e011dcd612504e9a66f5
Author: Mark Nelson <mark@moodle.com.au>
Date:   Thu, 10 May 2012 00:40:53 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: backup and restore now works with the new DB structure and removed unneeded restore process

commit e7b4bd3ef57c1d6077ef25264914bfc396b560d3
Author: Mark Nelson <mark@moodle.com.au>
Date:   Wed, 09 May 2012 23:56:14 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: constants are no longer set using language strings

commit cb4492c2001e5ac2f914d7612b46d5ce63ff30ec
Author: Mark Nelson <mark@moodle.com.au>
Date:   Wed, 09 May 2012 01:32:45 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: changed the logic in the code so that it works with the new database structure as well as tidying up parts of the code

commit 92fb7dd3a5e1276221cba7438eab6b4fe4eb4c5a
Author: Mark Nelson <mark@moodle.com.au>
Date:   Fri, 04 May 2012 01:49:29 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: made changes to the DB structure - nb. had to rename the table due to length limit

commit 76af15bb4c9f524497693e7fd8231e9d495c191b
Author: Mark Nelson <mark@moodle.com.au>
Date:   Mon, 26 Sep 2011 21:20:17 +0800
Tag:    v2.4.0-beta

MDL-29538 core_condition: initial commit to add support for making things conditional on user profile fields