Git commits in Moodle 2.4.0 by Dan Marsden

commit be2d2f6d73a94385554ecdd7ace79b7a471b288d
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 28 Nov 2012 15:53:18 +0800
Tag:    v2.4.0-rc1

MDL-36858 SCORM: improve lang help for attempts grading to warn about failed status.

commit ca9ee2d0eb087274e8c0bb07ff6f2387e11c3b92
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 23 Nov 2012 15:20:46 +0800
Tag:    v2.4.0-rc1

MDL-36772 SCORM add boilerplate and remove <!-- as it cause jscache to crash and burn.

commit a82c1ad05a8dd5a6450ea01b04714dba69cb7949
Author: Dan Marsden <dan@danmarsden.com>
Date:   Tue, 13 Nov 2012 04:02:43 +0800
Tag:    v2.4.0-rc1

MDL-36467 SCORM: remove old debugging superceded by full scorm debugger

commit 6977d5253b97d9661b82268ab9cdde95ce6c853a
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 25 Oct 2012 12:12:52 +0800
Tag:    v2.4.0-rc1

MDL-36168 SCORM: fix reset of course completion settings.

commit 828b6925c010d4c2450850290af6dfc7c708a172
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 10 Oct 2012 15:38:06 +0800
Tag:    v2.4.0-beta

MDL-34848 SCORM: rewrite over complicated scorm_print_overview to use a single loop and make a single check for attemptstatus

commit c70590245d18bd07b0a7d98e72e2f1e9676f63e5
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 21 Sep 2012 17:52:42 +0800
Tag:    v2.4.0-beta

MDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.

commit d7e8f95b749796fe7904dda8de76de6dd1322856
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 21 Sep 2012 09:41:43 +0800
Tag:    v2.4.0-beta

MDL-35557 enrol/database: use distinct call when getting list of courses that should be added.

commit da92e3b05a7f00d0297f5bc09d6ba6de7a430307
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 19 Sep 2012 15:53:03 +0800
Tag:    v2.4.0-beta

MDL-34848 SCORM: add extra flexibiltiy to attempt status

commit 3270869aab261284c01762a691c1efad70fdca81
Author: Dan Marsden <dan@danmarsden.com>
Date:   Tue, 18 Sep 2012 09:07:01 +0800
Tag:    v2.4.0-beta

MDL-35227 SCORM: set completion in correct location.

commit d83566565c52b37fddce31812a537716d01ffd7e
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 13 Sep 2012 17:50:15 +0800
Tag:    v2.4.0-beta

MDL-35418 SCORM: always set children param even if empty. Always set incomplete param

commit 995e322e753f6e8acc04b96e2238a3a1bf174f19
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 13 Sep 2012 17:29:26 +0800
Tag:    v2.4.0-beta

MDL-35418 SCORM: remove dumb function, include sequencinglib.php as scorm_13lib.php still calls some of the functions.

commit 92be6fa471c2f2a2e8e4a67aadeef97f2dcee64b
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 13 Sep 2012 16:57:02 +0800
Tag:    v2.4.0-beta

MDL-35418 SCORM: coding guideline tidy - removes a few unused vars as well.

commit 29b244545beaa42907eef8f61567a809ab0747e1
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 12 Sep 2012 16:19:44 +0800
Tag:    v2.4.0-beta

MDL-33755: SCORM fix spacing/coding guidelines

commit 812bdaeb12134c774645c2898531afe9a98a5bb6
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 12 Sep 2012 16:16:57 +0800
Tag:    v2.4.0-beta

MDL-33755 SCORM: fix the way launch is triggered fixes bug with the way it handles skipview set to first time.

commit 410b7c9bcc7c3b0aaf4731ac1ab304d26302c2cd
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 12 Sep 2012 15:53:56 +0800
Tag:    v2.4.0-beta

MDL-33755 SCORM: new quick function to check if a user has scorm data/tracks - better/quicker way to check as full track info isn't needed.

commit 234415c4ea8f4f28dd9ffea7acfaaf50ee897838
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 12 Sep 2012 15:38:49 +0800
Tag:    v2.4.0-beta

MDL-33755 SCORM: use correct constants for skipview instead of magic numbers

commit c792565b9d8ceead9cb3e502b5c410f61d74579c
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 05 Sep 2012 08:44:18 +0800
Tag:    v2.4.0-beta

MDL-35255 mod_assign plagiarism api shift update_status call to after header has been printed.

commit 81f460b1e287489589ca1f04f3b67a742d388f90
Author: Dan Marsden <dan@danmarsden.com>
Date:   Tue, 04 Sep 2012 10:28:41 +0800
Tag:    v2.4.0-beta

MDL-33755 SCORM only auto-skipview for users with skipview cap that can't see reports also don't generate unrequired content when scorm will be launched automatically.

commit cfa50637771cbfd7ab452df406cfab14a2241dd4
Author: Dan Marsden <dan@danmarsden.com>
Date:   Tue, 04 Sep 2012 07:01:06 +0800
Tag:    v2.4.0-beta

MDL-35208 mod_choice: respect order of options when running backup

commit eb93ee27b32a258f3dc91cd1d30548f2b5c732b5
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 03 Sep 2012 09:45:51 +0800
Tag:    v2.4.0-beta

MDL-34544 - assign - document assessable_ events

commit 122878590a06cd80916b27d55f4a1b5e443065fe
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 30 Aug 2012 05:26:08 +0800
Tag:    v2.4.0-beta

MDL-35123 SCORM: cleaner version of get_last_attempt and get_last_completed_attempt, fixes support for MS Sql driver

commit f518ff588da27e0dada1b3360d65c737913adfb4
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 22 Aug 2012 05:01:54 +0800
Tag:    v2.4.0-beta

MDL-34994 mod_choice: fix restore of user responses - use correct optionid

commit ddd84e9226ac21efdac9cbd1a9ac3b08b8440492
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 08 Aug 2012 14:52:32 +0800
Tag:    v2.4.0-beta

MDL-34131: Plagiarism API - use correct vars in event trigger

commit f43d3cf50fd3071c0ea695900c97a232afb5ca8c
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 02 Aug 2012 15:49:28 +0800
Tag:    v2.4.0-beta

MDL-33942 Grading method: Marking Guide - check for $cm before using - may not exist if the course is being deleted.

commit 299aedfaf77c137654e6c7efdd366a531e4f744b
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 01 Aug 2012 05:27:37 +0800
Tag:    v2.4.0-beta

MDL-34656 prevent login form from being shown inside iframe - also prevent wantsurl from being set to loadsco.php which isn't a valid page for initial load.

commit 760007a2742330f723d0b11d02a071596a0698ac
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 26 Jul 2012 09:48:40 +0800
Tag:    v2.4.0-beta

MDL-32002 Plagiarism plugins - add support for deleting plugins

commit bb5cc0e964bf2c506e02d3588db302e4736399a1
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 18 Jul 2012 06:32:46 +0800
Tag:    v2.4.0-beta

MDL-34374 SCORM prevent skipview being set to always when used inside a SCORM course format.

commit 295c012de7841591bc10b7ec8f3ee9f7a31249de
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 16 Jul 2012 10:01:33 +0800
Tag:    v2.4.0-beta

MDL-34233 SCORM backup - change to using set_source_sql to preserve order of records in backup.

commit c24bdac7dd0652ee666dba30ff5de014e8d5a809
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 06 Jul 2012 05:53:59 +0800
Tag:    v2.4.0-beta

MDL-34198 SCORM remove unecessary get_records call

commit c2c5c2f8c7673d6c39000d7b2e0e952fe3dfa784
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 25 Jun 2012 08:22:55 +0800
Tag:    v2.4.0-beta

MDL-33978 SCORM activity completion - don't tiggere completion update state on creation of SCORM

commit f0a1cc8ea8a70c6647d1b573bd376b252f0243ba
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 22 Jun 2012 18:16:25 +0800
Tag:    v2.4.0-beta

MDL-33914 SCORM show scrollbar on TOC if too long.

commit 0c4390ed21d85c7129d4f61e3264343b201e268f
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 20 Jun 2012 07:48:24 +0800
Tag:    v2.4.0-beta

MDL-33835 Marking Guide - set currentfocus var to the first criteria comment to avoid JS errors.

commit a02430175024b6b230ee00a9c65c819c72f8b39e
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 16 May 2012 08:04:55 +0800
Tag:    v2.4.0-beta

MDL-33022 mod_form: set correct groupid when editing an existing post

commit 828f09f28ecd5d4ba1ee093cf19f159b444fa63f
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 01 Feb 2012 18:09:49 +0800
Tag:    v2.4.0-beta

MDL-31360 use extra param in get_in_or_equal - one less line of code...

commit de4fe98fef197bceba2299020932d57700deade8
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 26 Jan 2012 16:42:06 +0800
Tag:    v2.4.0-beta

SCORM AICC MDL-31039 update external AICC url correctly - thanks to Albert Rhemrev for report/fix

commit 51f53e70331feabd06c31172b9b375c1fcf1e5d7
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 25 Jan 2012 15:03:11 +0800
Tag:    v2.4.0-beta

MDL-28522 Choice : View reports now correctly shows unanswered column - thanks to Marcus Boon for the patch

commit 8efa8215506c084727b68d992169abb6d16cd456
Author: Dan Marsden <dan@danmarsden.com>
Date:   Wed, 25 Jan 2012 10:21:37 +0800
Tag:    v2.4.0-beta

MDL-31360 Don't use get_in_or_equal if array is empty, tidy up structure of $extracaps array