moodle.git
7 years agoMDL-47494 ddwtos: Fix Behat tests for 2.9.
Tim Hunt [Fri, 8 May 2015 15:40:57 +0000 (16:40 +0100)]
MDL-47494 ddwtos: Fix Behat tests for 2.9.

7 years agoMDL-47494 ddwtos: Bump version for 1.5 release.
Tim Hunt [Wed, 18 Mar 2015 13:55:10 +0000 (13:55 +0000)]
MDL-47494 ddwtos: Bump version for 1.5 release.

7 years agoMDL-47494 ddwtos: Add outestssufficient marker.
Tim Hunt [Wed, 18 Mar 2015 13:53:04 +0000 (13:53 +0000)]
MDL-47494 ddwtos: Add outestssufficient marker.

7 years agoMDL-47494 ddwtos: Fix dd qtype Behat tests to not use the generic type step. #14895
Tim Hunt [Fri, 20 Feb 2015 13:47:10 +0000 (13:47 +0000)]
MDL-47494 ddwtos: Fix dd qtype Behat tests to not use the generic type step. #14895

7 years agoMDL-47494 ddwtos: Update dd qtype tests to use js_pending not fixed waits #14895
Tim Hunt [Fri, 13 Feb 2015 19:00:28 +0000 (19:00 +0000)]
MDL-47494 ddwtos: Update dd qtype tests to use js_pending not fixed waits #14895

7 years agoMDL-47494 ddwtos: Convert the JavaScript to use Shifter. #13314
M Kassaei [Thu, 29 Jan 2015 11:43:19 +0000 (11:43 +0000)]
MDL-47494 ddwtos: Convert the JavaScript to use Shifter. #13314

7 years agoMDL-47494 ddwtos: Improve the drag-drop question Behat tests.
Tim Hunt [Fri, 13 Feb 2015 17:34:07 +0000 (17:34 +0000)]
MDL-47494 ddwtos: Improve the drag-drop question Behat tests.

* Added tests for previewing the question, to make sure it works when
attempted.
* Added Moodle XML export tests.
* Reorganised the tests to follow the 'Test one thing per scenario' best
practice.

This commit requires MDL-49154 to work.

7 years agoMDL-47494 ddwtos: Fix lots of coding style issues.
Tim Hunt [Fri, 28 Nov 2014 18:43:19 +0000 (18:43 +0000)]
MDL-47494 ddwtos: Fix lots of coding style issues.

7 years agoMDL-47494 ddwtos: Bump version for the 1.4 release.
Tim Hunt [Wed, 12 Nov 2014 15:56:55 +0000 (15:56 +0000)]
MDL-47494 ddwtos: Bump version for the 1.4 release.

7 years agoMDL-47494 ddwtos: Adding a behat feature to ddwtos qtype, #12010
M Kassaei [Mon, 3 Nov 2014 14:36:40 +0000 (14:36 +0000)]
MDL-47494 ddwtos: Adding a behat feature to ddwtos qtype, #12010

8 years agoMDL-47494 ddwtos: Update version and readme for the 1.3 release.
Tim Hunt [Mon, 1 Jul 2013 14:27:24 +0000 (15:27 +0100)]
MDL-47494 ddwtos: Update version and readme for the 1.3 release.

8 years agoMDL-47494 ddwtos: Fix broken unit tests.
Tim Hunt [Mon, 1 Jul 2013 14:15:52 +0000 (15:15 +0100)]
MDL-47494 ddwtos: Fix broken unit tests.

9 years agoMDL-47494 ddwtos: Bump version number.
Tim Hunt [Thu, 14 Mar 2013 12:22:26 +0000 (12:22 +0000)]
MDL-47494 ddwtos: Bump version number.

9 years agoMDL-47494 ddwtos: Fixup codechecker and jshint issues.
Tim Hunt [Thu, 14 Mar 2013 12:21:02 +0000 (12:21 +0000)]
MDL-47494 ddwtos: Fixup codechecker and jshint issues.

9 years agoMDL-47494 ddwtos: Ensure all tests are in group qtype_ddwtos.
Tim Hunt [Thu, 14 Mar 2013 12:20:26 +0000 (12:20 +0000)]
MDL-47494 ddwtos: Ensure all tests are in group qtype_ddwtos.

9 years agoMDL-47494 ddwtos: Move translations to AMOS.
Tim Hunt [Thu, 14 Mar 2013 12:19:54 +0000 (12:19 +0000)]
MDL-47494 ddwtos: Move translations to AMOS.

9 years agoMDL-47494 ddwtos: Fix incorrect preg_quote usage.
Tim Hunt [Tue, 15 Jan 2013 14:49:52 +0000 (14:49 +0000)]
MDL-47494 ddwtos: Fix incorrect preg_quote usage.

9 years agoMDL-47494 ddwtos: Merge pull request #10 from ndunand/master
Tim Hunt [Thu, 30 Aug 2012 12:43:55 +0000 (05:43 -0700)]
MDL-47494 ddwtos: Merge pull request #10 from ndunand/master

Added French translation.

9 years agoMDL-47494 ddwtos: Added French translation
Nicolas Dunand [Thu, 30 Aug 2012 12:42:52 +0000 (14:42 +0200)]
MDL-47494 ddwtos: Added French translation

9 years agoMDL-47494 ddwtos: Merge branch 'MOODLE_22_STABLE'
Tim Hunt [Mon, 20 Aug 2012 13:34:58 +0000 (14:34 +0100)]
MDL-47494 ddwtos: Merge branch 'MOODLE_22_STABLE'

9 years agoMDL-47494 ddwtos: New icon by Paul Hillery.
Tim Hunt [Mon, 20 Aug 2012 13:32:14 +0000 (14:32 +0100)]
MDL-47494 ddwtos: New icon by Paul Hillery.

9 years agoMDL-47494 ddwtos: Remove enums from install.xml
Tim Hunt [Mon, 20 Aug 2012 09:54:33 +0000 (10:54 +0100)]
MDL-47494 ddwtos: Remove enums from install.xml

9 years agoMDL-47494 ddwtos: Update release information.
Tim Hunt [Thu, 16 Aug 2012 10:24:01 +0000 (12:24 +0200)]
MDL-47494 ddwtos: Update release information.

9 years agoMDL-47494 ddwtos: Update release information.
Tim Hunt [Thu, 16 Aug 2012 10:22:45 +0000 (12:22 +0200)]
MDL-47494 ddwtos: Update release information.

9 years agoMDL-47494 ddwtos: Hilight drop target, and use YUI dd groups.
Tim Hunt [Fri, 27 Jul 2012 15:15:59 +0000 (16:15 +0100)]
MDL-47494 ddwtos: Hilight drop target, and use YUI dd groups.

9 years agoMDL-47494 ddwtos: Merge pull request #9 from jamiepratt/wip_ou-4202_version_fixes
Tim Hunt [Fri, 27 Jul 2012 13:01:23 +0000 (06:01 -0700)]
MDL-47494 ddwtos: Merge pull request #9 from jamiepratt/wip_ou-4202_version_fixes

OU-4202 fix version no to require Moodle 2.3

9 years agoMDL-47494 ddwtos: Merge pull request #8 from jamiepratt/wip_ou-4200_ddfix
Tim Hunt [Fri, 27 Jul 2012 12:58:58 +0000 (05:58 -0700)]
MDL-47494 ddwtos: Merge pull request #8 from jamiepratt/wip_ou-4200_ddfix

OU-4200 Fix for broken drag and drop with YUI 3.5.1

9 years agoMDL-47494 ddwtos: OU-4202 fix version no to require Moodle 2.3
Jamie Pratt [Fri, 27 Jul 2012 07:23:49 +0000 (14:23 +0700)]
MDL-47494 ddwtos: OU-4202 fix version no to require Moodle 2.3

9 years agoMDL-47494 ddwtos: OU-4200 Fix for broken drag and drop with YUI 3.5.1
Jamie Pratt [Fri, 27 Jul 2012 05:54:50 +0000 (12:54 +0700)]
MDL-47494 ddwtos: OU-4200 Fix for broken drag and drop with YUI 3.5.1

9 years agoMDL-47494 ddwtos: Merge remote-tracking branch 'ou/MOODLE_21_STABLE' into MOODLE_22_S...
Tim Hunt [Thu, 21 Jun 2012 09:22:31 +0000 (10:22 +0100)]
MDL-47494 ddwtos: Merge remote-tracking branch 'ou/MOODLE_21_STABLE' into MOODLE_22_STABLE

9 years agoMDL-47494 ddwtos: Merge pull request #7 from jamiepratt/wip_lib_php_fixes_2_1
Tim Hunt [Thu, 21 Jun 2012 09:21:51 +0000 (02:21 -0700)]
MDL-47494 ddwtos: Merge pull request #7 from jamiepratt/wip_lib_php_fixes_2_1

Wip lib php fixes 2 1

9 years agoMDL-47494 ddwtos: Merge pull request #6 from jamiepratt/wip_lib_fixes
Tim Hunt [Thu, 21 Jun 2012 09:21:45 +0000 (02:21 -0700)]
MDL-47494 ddwtos: Merge pull request #6 from jamiepratt/wip_lib_fixes

Wip lib fixes

9 years agoMDL-47494 ddwtos: Merge branch 'wip_lib_php_fixes_2_1' into wip_lib_fixes
Jamie Pratt [Thu, 21 Jun 2012 07:21:59 +0000 (14:21 +0700)]
MDL-47494 ddwtos: Merge branch 'wip_lib_php_fixes_2_1' into wip_lib_fixes

Conflicts:
lib.php
Merge branch 'wip_lib_php_fixes_2_1' into wip_lib_fixes

Conflicts:
lib.php

9 years agoMDL-47494 ddwtos: NOBUG oops. Forgot to change plug in name inside function
Jamie Pratt [Thu, 21 Jun 2012 07:17:26 +0000 (14:17 +0700)]
MDL-47494 ddwtos: NOBUG oops. Forgot to change plug in name inside function

9 years agoMDL-47494 ddwtos: NOBUG added extra options param for file access
Jamie Pratt [Thu, 21 Jun 2012 07:07:41 +0000 (14:07 +0700)]
MDL-47494 ddwtos: NOBUG added extra options param for file access

9 years agoMDL-47494 ddwtos: Merge branch 'wip_lib_php_fixes_2_1' into wip_lib_fixes
Jamie Pratt [Thu, 21 Jun 2012 06:42:44 +0000 (13:42 +0700)]
MDL-47494 ddwtos: Merge branch 'wip_lib_php_fixes_2_1' into wip_lib_fixes

9 years agoMDL-47494 ddwtos: NOBUG fixes for fileaccess through lib.php
Jamie Pratt [Thu, 21 Jun 2012 05:45:11 +0000 (12:45 +0700)]
MDL-47494 ddwtos: NOBUG fixes for fileaccess through lib.php

added missing lib.php files and fixed comments

9 years agoMDL-47494 ddwtos: Merge pull request #4 from jamiepratt/wip_unittestconversions
Tim Hunt [Wed, 20 Jun 2012 11:21:55 +0000 (04:21 -0700)]
MDL-47494 ddwtos: Merge pull request #4 from jamiepratt/wip_unittestconversions

NOBUG changed unit tests to use PHPUnit

9 years agoMDL-47494 ddwtos: Merge pull request #3 from chillofoctober/master
Tim Hunt [Wed, 20 Jun 2012 11:21:40 +0000 (04:21 -0700)]
MDL-47494 ddwtos: Merge pull request #3 from chillofoctober/master

Translate qtype ddwtos to russian language

9 years agoMDL-47494 ddwtos: NOBUG changed unit tests to use PHPUnit
Jamie Pratt [Tue, 19 Jun 2012 07:53:53 +0000 (14:53 +0700)]
MDL-47494 ddwtos: NOBUG changed unit tests to use PHPUnit

9 years agoMDL-47494 ddwtos: Translate to russian language
Eugene Shwab [Thu, 14 Jun 2012 10:01:17 +0000 (14:01 +0400)]
MDL-47494 ddwtos: Translate to russian language

10 years agoMDL-47494 ddwtos: Fix PHP strict errors.
Tim Hunt [Thu, 5 Apr 2012 12:35:37 +0000 (13:35 +0100)]
MDL-47494 ddwtos: Fix PHP strict errors.

10 years agoMDL-47494 ddwtos: Merge branch 'MOODLE_21_STABLE'
Tim Hunt [Fri, 10 Feb 2012 15:14:51 +0000 (15:14 +0000)]
MDL-47494 ddwtos: Merge branch 'MOODLE_21_STABLE'

Conflicts:
lang/en/qtype_ddwtos.php
version.php

10 years agoMDL-47494 ddwtos: Update version.php
Tim Hunt [Fri, 10 Feb 2012 15:13:02 +0000 (15:13 +0000)]
MDL-47494 ddwtos: Update version.php

10 years agoMDL-47494 ddwtos: Merge branch 'MOODLE_21_STABLE'
Jamie Pratt [Sun, 5 Feb 2012 07:12:19 +0000 (14:12 +0700)]
MDL-47494 ddwtos: Merge branch 'MOODLE_21_STABLE'

10 years agoMDL-47494 ddwtos: NOBUG updating repo url in installation instructions
Jamie Pratt [Sun, 5 Feb 2012 07:10:43 +0000 (14:10 +0700)]
MDL-47494 ddwtos: NOBUG updating repo url in installation instructions

10 years agoMDL-47494 ddwtos: NOBUG change to string identifiers
Jamie Pratt [Fri, 3 Feb 2012 06:02:41 +0000 (13:02 +0700)]
MDL-47494 ddwtos: NOBUG change to string identifiers

10 years agoMDL-47494 ddwtos: NOBUG change in dependency code for qtypes
Jamie Pratt [Tue, 31 Jan 2012 10:04:12 +0000 (17:04 +0700)]
MDL-47494 ddwtos: NOBUG change in dependency code for qtypes

10 years agoMDL-47494 ddwtos: OU-2666 Fixed problem when drag misplaced from drop and not dragged off
Jamie Pratt [Fri, 23 Dec 2011 07:48:13 +0000 (14:48 +0700)]
MDL-47494 ddwtos: OU-2666 Fixed problem when drag misplaced from drop and not dragged off

10 years agoMDL-47494 ddwtos: NOBUG css to fix alignment when superscripts and subscripts in...
Jamie Pratt [Tue, 13 Dec 2011 08:52:50 +0000 (15:52 +0700)]
MDL-47494 ddwtos: NOBUG css to fix alignment when superscripts and subscripts in drag boxes

Fixes weird layout bug with web browsers that means the boxes will not line up.

10 years agoMDL-47494 ddwtos: NOBUG removing unused ie7fix code that is no longer needed
Jamie Pratt [Tue, 13 Dec 2011 08:40:14 +0000 (15:40 +0700)]
MDL-47494 ddwtos: NOBUG removing unused ie7fix code that is no longer needed

thanks to Tim's fix to sub sup alignment.

10 years agoMDL-47494 ddwtos: Align drag boxes containing sup and sub better. #2094
Tim Hunt [Fri, 9 Dec 2011 17:05:34 +0000 (17:05 +0000)]
MDL-47494 ddwtos: Align drag boxes containing sup and sub better. #2094

10 years agoMDL-47494 ddwtos: Fix unit tests
Tim Hunt [Tue, 6 Dec 2011 14:45:33 +0000 (14:45 +0000)]
MDL-47494 ddwtos: Fix unit tests

10 years agoMDL-47494 ddwtos: Summarise response did not work when choices contained HTML. #2009
Tim Hunt [Thu, 24 Nov 2011 16:45:31 +0000 (16:45 +0000)]
MDL-47494 ddwtos: Summarise response did not work when choices contained HTML. #2009

10 years agoMDL-47494 ddwtos: Whitespace and file permission fixes.
Tim Hunt [Fri, 4 Nov 2011 15:34:24 +0000 (15:34 +0000)]
MDL-47494 ddwtos: Whitespace and file permission fixes.

10 years agoMDL-47494 ddwtos: OU-2004 Fixed the initial positioning of 'infinite' choices
Jamie Pratt [Wed, 2 Nov 2011 11:39:22 +0000 (18:39 +0700)]
MDL-47494 ddwtos: OU-2004 Fixed the initial positioning of 'infinite' choices

10 years agoMDL-47494 ddwtos: NOBUG changing unit tests to expect slightly different html output...
Jamie Pratt [Tue, 25 Oct 2011 10:21:54 +0000 (17:21 +0700)]
MDL-47494 ddwtos: NOBUG changing unit tests to expect slightly different html output from renderer

10 years agoMDL-47494 ddwtos: NOBUG added drop shadow to drag items when they are being dragged
Jamie Pratt [Wed, 19 Oct 2011 04:50:46 +0000 (11:50 +0700)]
MDL-47494 ddwtos: NOBUG added drop shadow to drag items when they are being dragged

10 years agoMDL-47494 ddwtos: NOBUG Reverting "new icon for question type"
Jamie Pratt [Mon, 17 Oct 2011 12:24:34 +0000 (19:24 +0700)]
MDL-47494 ddwtos: NOBUG Reverting "new icon for question type"

This reverts commit 5e8d09377744cd83f84bb2c5330c53d463b151f6.

10 years agoMDL-47494 ddwtos: NOBUG removing unused css clause.
Jamie Pratt [Fri, 14 Oct 2011 04:34:40 +0000 (11:34 +0700)]
MDL-47494 ddwtos: NOBUG removing unused css clause.

10 years agoMDL-47494 ddwtos: NOBUG tidying up padding calculation code, using same code for...
Jamie Pratt [Fri, 14 Oct 2011 04:32:01 +0000 (11:32 +0700)]
MDL-47494 ddwtos: NOBUG tidying up padding calculation code, using same code for drags and drops

10 years agoMDL-47494 ddwtos: Add a bit more padding in the drop-boxes.
Tim Hunt [Thu, 13 Oct 2011 14:39:43 +0000 (15:39 +0100)]
MDL-47494 ddwtos: Add a bit more padding in the drop-boxes.

10 years agoMDL-47494 ddwtos: Some minor coding style clean-up.
Tim Hunt [Wed, 12 Oct 2011 16:46:18 +0000 (17:46 +0100)]
MDL-47494 ddwtos: Some minor coding style clean-up.

10 years agoMDL-47494 ddwtos: NOBUG fix for ie7 not correctly calculating height of span with...
Jamie Pratt [Tue, 11 Oct 2011 06:01:11 +0000 (13:01 +0700)]
MDL-47494 ddwtos: NOBUG fix for ie7 not correctly calculating height of span with sub and sup.

10 years agoMDL-47494 ddwtos: Revert "NOBUG making hidden inputs visible for easy debugging durin...
Jamie Pratt [Sat, 8 Oct 2011 08:18:26 +0000 (15:18 +0700)]
MDL-47494 ddwtos: Revert "NOBUG making hidden inputs visible for easy debugging during deve.."

This reverts commit 39eac49aed4ac985d56cef68f4cc8470443a04ec.

10 years agoMDL-47494 ddwtos: NOBUG fixed various problems by making border of dropped drag objec...
Jamie Pratt [Sat, 8 Oct 2011 07:55:26 +0000 (14:55 +0700)]
MDL-47494 ddwtos: NOBUG fixed various problems by making border of dropped drag object invisible

Fixes problem not being able to see whether element has focus and ugly
appearance of double borders when drag element is slightly misplaced. Also
made drop a couple of pixels higher and wider than drag.

10 years agoMDL-47494 ddwtos: NOBUG new icon for question type
Jamie Pratt [Sat, 8 Oct 2011 06:12:19 +0000 (13:12 +0700)]
MDL-47494 ddwtos: NOBUG new icon for question type

10 years agoMDL-47494 ddwtos: NOBUG added keyboard support also removed use of not selector.
Jamie Pratt [Fri, 7 Oct 2011 13:26:55 +0000 (20:26 +0700)]
MDL-47494 ddwtos: NOBUG added keyboard support also removed use of not selector.

Not selector does not work in IE7 I think.

10 years agoMDL-47494 ddwtos: NOBUG combination fix for size of drag objects and ie issues
Jamie Pratt [Fri, 7 Oct 2011 06:34:51 +0000 (13:34 +0700)]
MDL-47494 ddwtos: NOBUG combination fix for size of drag objects and ie issues

Drag box size was off by one pixel in some cases. In IE7 padding was not being
set correctly.

10 years agoMDL-47494 ddwtos: NOBUG rewrite of js for YUI3 and also associated changes to styles...
Jamie Pratt [Fri, 7 Oct 2011 06:11:23 +0000 (13:11 +0700)]
MDL-47494 ddwtos: NOBUG rewrite of js for YUI3 and also associated changes to styles and html

10 years agoMDL-47494 ddwtos: NOBUG added a yui3 module skeleton.
Jamie Pratt [Thu, 6 Oct 2011 08:50:24 +0000 (15:50 +0700)]
MDL-47494 ddwtos: NOBUG added a yui3 module skeleton.

Copied a couple of functions that might be needed. Removed script.js - old YUI2
code.

10 years agoMDL-47494 ddwtos: NOBUG making hidden inputs visible for easy debugging during develo...
Jamie Pratt [Thu, 6 Oct 2011 07:45:07 +0000 (14:45 +0700)]
MDL-47494 ddwtos: NOBUG making hidden inputs visible for easy debugging during developement

10 years agoMDL-47494 ddwtos: OU-1597 Renaming question types.
Jamie Pratt [Wed, 28 Sep 2011 03:41:49 +0000 (10:41 +0700)]
MDL-47494 ddwtos: OU-1597 Renaming question types.

10 years agoMDL-47494 ddwtos: Set ie7 drag drop players using onDomReady #738
Colin Chambers [Wed, 13 Jul 2011 10:21:36 +0000 (11:21 +0100)]
MDL-47494 ddwtos: Set ie7 drag drop players using onDomReady #738

10 years agoMDL-47494 ddwtos: now prevents event on key down using ddwtos qtype #740
Colin Chambers [Fri, 15 Jul 2011 09:36:31 +0000 (10:36 +0100)]
MDL-47494 ddwtos: now prevents event on key down using ddwtos qtype #740

10 years agoMDL-47494 ddwtos: Also, fix the ou-qtype unit test failures. #940
Tim Hunt [Tue, 5 Jul 2011 17:01:01 +0000 (18:01 +0100)]
MDL-47494 ddwtos: Also, fix the ou-qtype unit test failures. #940

10 years agoMDL-47494 ddwtos: Fix ddwtos and gapselect unit tests #67
Tim Hunt [Wed, 8 Jun 2011 18:03:27 +0000 (19:03 +0100)]
MDL-47494 ddwtos: Fix ddwtos and gapselect unit tests #67

10 years agoMDL-47494 ddwtos: ddwtos fix problems in Firefox. #383
Colin Chambers [Tue, 21 Jun 2011 17:52:57 +0000 (18:52 +0100)]
MDL-47494 ddwtos: ddwtos fix problems in Firefox. #383

10 years agoMDL-47494 ddwtos: used longer timeout for xy resize function on ie7 #738
Colin Chambers [Tue, 14 Jun 2011 13:49:26 +0000 (14:49 +0100)]
MDL-47494 ddwtos: used longer timeout for xy resize function on ie7 #738

10 years agoMDL-47494 ddwtos: Typo in DDWtoS foreign key definition #874
Tim Hunt [Tue, 28 Jun 2011 09:29:16 +0000 (10:29 +0100)]
MDL-47494 ddwtos: Typo in DDWtoS foreign key definition #874

10 years agoMDL-47494 ddwtos: Implement the new variants handling.
Tim Hunt [Thu, 26 May 2011 21:08:03 +0000 (22:08 +0100)]
MDL-47494 ddwtos: Implement the new variants handling.

11 years agoMDL-47494 ddwtos: Updated the readme file to add install instructions.
Tim Hunt [Mon, 16 May 2011 12:01:14 +0000 (05:01 -0700)]
MDL-47494 ddwtos: Updated the readme file to add install instructions.

11 years agoMDL-47494 ddwtos: Add a readme file.
Tim Hunt [Sun, 15 May 2011 22:07:56 +0000 (23:07 +0100)]
MDL-47494 ddwtos: Add a readme file.

11 years agoMDL-47494 ddwtos: Fix some more codechecker issues.
Tim Hunt [Sat, 14 May 2011 21:53:25 +0000 (22:53 +0100)]
MDL-47494 ddwtos: Fix some more codechecker issues.

11 years agoMDL-47494 ddwtos: MDL-27408 update all question and quiz plugin version.php files.
Tim Hunt [Thu, 12 May 2011 22:18:47 +0000 (23:18 +0100)]
MDL-47494 ddwtos: MDL-27408 update all question and quiz plugin version.php files.

11 years agoMDL-47494 ddwtos: Finished backup and restore of attempt data. Yay
Tim Hunt [Thu, 5 May 2011 20:26:25 +0000 (21:26 +0100)]
MDL-47494 ddwtos: Finished backup and restore of attempt data. Yay

11 years agoMDL-47494 ddwtos: numerical qtype: assorted changes
Tim Hunt [Wed, 27 Apr 2011 17:00:14 +0000 (18:00 +0100)]
MDL-47494 ddwtos: numerical qtype: assorted changes

1. database upgrade to merge instructions into the questiontext field,
and remove the UNITDISPLAY option.

2. Changes to the validation in deferred feedback mode, so students
are warned about incomplete answers.

3. Using this to wark students if they enter an answer that is not
recognised as a number.

11 years agoMDL-47494 ddwtos: Better way of handling the creation of test questions for different...
Tim Hunt [Tue, 29 Mar 2011 15:29:54 +0000 (16:29 +0100)]
MDL-47494 ddwtos: Better way of handling the creation of test questions for different question types.

11 years agoMDL-47494 ddwtos: Fix codechecker problems in match, description and ddwtos qtypes.
Tim Hunt [Tue, 5 Apr 2011 16:54:39 +0000 (17:54 +0100)]
MDL-47494 ddwtos: Fix codechecker problems in match, description and ddwtos qtypes.

11 years agoMDL-47494 ddwtos: Add lots of missing public/protected/private.
Tim Hunt [Wed, 23 Mar 2011 16:22:25 +0000 (16:22 +0000)]
MDL-47494 ddwtos: Add lots of missing public/protected/private.

11 years agoMDL-47494 ddwtos: Question import, support for files in hints.
Tim Hunt [Wed, 23 Mar 2011 14:27:22 +0000 (14:27 +0000)]
MDL-47494 ddwtos: Question import, support for files in hints.

Also fix some minor bugs and unit tests.

11 years agoMDL-47494 ddwtos: Update quiz and questions backup and restore.
Tim Hunt [Mon, 28 Feb 2011 10:49:20 +0000 (10:49 +0000)]
MDL-47494 ddwtos: Update quiz and questions backup and restore.

This does not include user data yet, and it needs more testing.

11 years agoMDL-47494 ddwtos: Split question_definition::init_first_step into start_attempt and...
Tim Hunt [Thu, 24 Feb 2011 19:12:42 +0000 (19:12 +0000)]
MDL-47494 ddwtos: Split question_definition::init_first_step into start_attempt and apply_attempt_state.

11 years agoMDL-47494 ddwtos: Massively reduce the number of references to quiz in the question...
Tim Hunt [Wed, 23 Feb 2011 18:53:50 +0000 (18:53 +0000)]
MDL-47494 ddwtos: Massively reduce the number of references to quiz in the question code.

This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.

11 years agoMDL-47494 ddwtos: Add missing defined('MOODLE_INTERNAL') || die();
Tim Hunt [Wed, 23 Feb 2011 15:03:35 +0000 (15:03 +0000)]
MDL-47494 ddwtos: Add missing defined('MOODLE_INTERNAL') || die();

11 years agoMDL-47494 ddwtos: Fix @package names and PHPdoc layout.
Tim Hunt [Wed, 23 Feb 2011 13:38:16 +0000 (13:38 +0000)]
MDL-47494 ddwtos: Fix @package names and PHPdoc layout.

11 years agoMDL-47494 ddwtos: Add @package and GPL boiler-plate to files in /question.
Tim Hunt [Tue, 22 Feb 2011 19:59:12 +0000 (19:59 +0000)]
MDL-47494 ddwtos: Add @package and GPL boiler-plate to files in /question.

11 years agoMDL-47494 ddwtos: Fix new stdClass -> stdClass(), and trailing whitespace.
Tim Hunt [Mon, 21 Feb 2011 18:10:19 +0000 (18:10 +0000)]
MDL-47494 ddwtos: Fix new stdClass -> stdClass(), and trailing whitespace.

11 years agoMDL-47494 ddwtos: Images in questions now work in quiz attempts.
Tim Hunt [Wed, 9 Feb 2011 20:33:51 +0000 (20:33 +0000)]
MDL-47494 ddwtos: Images in questions now work in quiz attempts.

11 years agoMDL-47494 ddwtos: Finish making ddwtos work, mostly. Also various other JS fixes.
Tim Hunt [Wed, 2 Feb 2011 19:03:38 +0000 (19:03 +0000)]
MDL-47494 ddwtos: Finish making ddwtos work, mostly. Also various other JS fixes.

This JavaScript really needs to be rewritten to use YUI3.