Tien Nguyen
5863659d79
MDL-69164 Question: Convert question/qengine.js to AMD modules
2023-01-18 11:24:38 +07:00
Tim Hunt
f0934f6db9
MDL-70134 manual grading: make starting comment box size 3 lines
...
I am guessing most comments are short, and the box can be expanded if needed.
2021-01-18 09:13:56 +00:00
Huong Nguyen
579da44a70
MDL-69165 Questions: Incorrect id used in init_submit_button function
2020-07-08 10:54:24 +07:00
Tim Hunt
64207dab65
MDL-67183 questions: get_question & get_behaviour only init if required
...
This reviews all the code code, and sets $requirequestioninitialised
whenever possible in these calls, which should improve performance.
2020-05-19 20:52:07 +01:00
Mathew May
29551c4b1a
MDL-64506 templates: Move BS2 btns' to BS4 btns'
...
well bs2 class is now card in bs4
2019-04-03 19:34:20 +08:00
Luca Bösch
a58fd9710d
MDL-61408 qbehaviour: Correct "Check" button styling.
2018-02-16 08:45:56 +01:00
Andrew Hancox
f3d9872aa3
MDL-41090 questions: Allow embedding files in response comments
2018-01-15 11:19:06 +00:00
Tim Hunt
284c795d23
MDL-60139 question manual grading: move code to reduce confusion
...
Move the variable definition closer to where it is used.
2017-10-30 12:55:11 +00:00
Juan Segarra Montesinos
53fa2a5194
MDL-52131 qbehaviour: respect manualcomment format
...
The format of a manual comment in a question is respected when
the preferred editor is "Plain text area".
2017-09-14 13:30:35 +08:00
Tim Hunt
81e47a35e8
MDL-53304 question behaviour: don't show useless Check buttons
...
Previously, the Check button was often shown disabled when it
could not be used (e.g. when the question was finished, or when an
interactive question was in the try-again state). Eventually we
realised it was better usability to hide it in these cases.
Note that when a teacher reviews an in-progress quiz attempt, they will
see a disabled Check button if the student doing the quiz can see the
button.
2016-03-04 14:06:19 +00:00
David Monllao
f242c83c77
Merge branch 'MDL-51090' of git://github.com/timhunt/moodle
2015-09-02 09:47:34 +08:00
Tim Hunt
b2694c0219
MDL-51090 question: further refinements to validating manual grades
2015-09-01 23:05:37 +01:00
Damyon Wiese
988592c556
MDL-51179 Atto: Extend autosave fix to cover text changes
...
Added new functions to editor api - set/get_text so the
original form text can be determined from an editor.
When calling use_editor() you should first call set_text() with
the text that will be inserted in the form element.
There is also a new scheduled task for cleaning Atto autosave drafts.
2015-09-01 12:23:00 +08:00
Nelson Moller
52b08f5fce
MDL-51090: mod_quiz grading validation of an essay question
...
An invalid format is casted to 0 (if a string) or to some truncated value in other cases (ex: 10..5).
2015-08-20 19:58:49 +01:00
Tim Hunt
1eb470fc42
MDL-43929 question manual grading: keep comment when validation fails.
...
If the validation failed, so the manual grading page was re-displayed
with a validation error, then any comment that had just been typed in
was getting lost. This fixes that.
2014-02-07 21:55:05 +00:00
Tim Hunt
02d3e4d557
MDL-32188 question rendering: let behaviours control mark display.
...
Then use this in the CBM behaviours to change how the question marks are
displayed there.
2013-10-04 17:52:21 +01:00
Tim Hunt
4e3d829350
MDL-42105 questions: let attempts have a max fraction > 1.
...
This parallels question_attempt->minfraction, which allows the
fractional mark to go below zere.
This is needed to allow the certainty-base marking behaviours to work
better.
2013-10-04 17:52:19 +01:00
Frederic Massart
eec4107bdd
MDL-36422 question: Fixed malformed HTML in manual marking
2012-11-08 10:20:22 +08:00
Frederic Massart
c3cdf1e4cb
MDL-34570 Accessibility: Adding labels on text inputs and selects to questions
2012-09-28 11:40:40 +08:00
Rossiani Wijaya
83690170be
MDL-34570 accessibility compliance for question: edit string label
2012-09-28 11:40:40 +08:00
Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fe
.
2012-04-11 17:18:58 +12:00
Rossiani Wijaya
f9f281b8fe
MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag
2012-03-30 16:26:58 +08:00
Tim Hunt
2d6829727d
MDL-24255 Use the proper editor element for manual grading comments.
...
It would be nice if someone imporoved the API for using the HTML editor outside formslib.
2011-06-18 21:15:40 +01:00
Tim Hunt
9c197f4445
MDL-20636 Fix some more codechecker issues.
2011-05-14 22:53:25 +01:00
Tim Hunt
1631ceeaec
MDL-20636 Fix codechecker issues in the question behaviours.
2011-04-08 07:24:24 +01:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
017bc1d9f3
MDL-20636 Fix @package names in question/behaviour, question/engine and question top level.
2011-02-22 20:50:18 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
f9b0500f7f
MDL-20636 Quiz editing now works, as does the random question type.
...
However, all this needs more testing.
Also, a bit of a purge of training whitespace and global .
2011-02-10 20:50:18 +00:00
Tim Hunt
7ee80cab53
MDL-20636 Manual comment popup comment.php now works.
2011-02-09 20:29:59 +00:00
Tim Hunt
7a7197482d
MDL-20636 Fix if the use of the File API so images work in questions.
2011-01-13 18:35:57 +00:00
Tim Hunt
cce1b6556c
MDL-20636 Fix a bunch of minor errors in the truefalse preview.
...
Most significantly, all behaviours now work.
2011-01-13 18:35:46 +00:00
Tim Hunt
2b7da64586
MDL-20636 It is now possible to save a truefalse question you have created.
...
This includes all the necessary DB upgrades.
Also all unit tests in question/type/simpletest and question/type/truefalse now pass.
2011-01-13 18:35:41 +00:00
Tim Hunt
d1b7e03d5d
MDL-20636 Current work-in-progress converting the question engine to Moodle 2.0
2011-01-13 18:35:29 +00:00