• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added support for avoiding quoting of labels (e.g. in buttons)

  1. … 1 more file in changeset.
improve robustness

order entries delivered by form-field "form_page" by title, since the title is used as well as label

change for exam_review: omit subquestion summary in cases, where no subquestion has a correct when condition

fix function of formfield numeric: convert_to_internal_value

Added two types of grading schemes (in addition to "exact") to ordering exercises:

- "position": count elements as correct, when these are on the correct position

- "relative": count elements as correct, if the neighboring element is correctly before the actual element

The results are adjusted by the same guessing correction as in the "ggw" scheme for MC exercises.

Example:

- desired order: 1,2,3,4

- provided answer: 3,1,2,4

- scheme "exact": 0%

- scheme "position": 0 0 0 1

- scheme "relative": 0 1 1 (correctly ordered 1<2 and 2<4)

A minor refactoring was also performed to ease code reuse.

  1. … 2 more files in changeset.
provide friendly error message in error.log in case provided answer-values (for e.g. MC) are invalid

added parameter "-parent_id" for "abstract_page" to allow a developer to point to a single folder

Fix correct-when test of empty input when constraint is "<" or "<=". Many thanks for Florian Mosböck for finding this.

form-field "range": added optional output text box for displaying the actual value

  1. … 1 more file in changeset.
overhaul of formfield of type numeric

- use connection locale for localization per default

- accept always numbers in en_US

- support keeping optional the original user string (good for exams)

- use this new combination in textfields numeric type.

reduce verbosity, add statements to ease debugging

added new form-field type: comp_correct_when

added conjunctive answer-check

adde answer-check "contains-not"

The new form-field type offers a graphical user interface for input of

correct when clauses. When comp_correct_when is used with the repeat

flag it produces conjunctive (AND connected) clauses. The answer-check

"contains-not" is more or less the same a "contains", but highlights

such words in red.

bump version number to 5.10.0d71

  1. … 3 more files in changeset.
make end of resub options explicit

  1. … 12 more files in changeset.
mark end of switches to improve robustness, to support '-' in word variable

fix typo: list element '1' is the upper limit

improve spelling

  1. … 1 more file in changeset.
Improved styling of delete buttons

Added code to configure file-upload button (for now deactivated)

  1. … 2 more files in changeset.
improve spelling

break overlong lines

remove empty descriptions from display, remove deactivated CSS class.

Apply a mild filename sanitization to the file formfield

report points from text_fields (used in short-text questions) when available

generalize correct_when handling: allow for every modifier a "-nocase" option

reorder_box: provide correction_data

provide a short hint how to allow swa always pasting

allow points computation in cases, where some grading schemes fail.

Before, the grading code was overly conservative and refused to

compute achieved points in such cases

new form-field class: boolean_checkbox

behaves like boolean, but provdes just a single checkbox instead of yes/no radio in "boolean"

the output is full compatible with "boolean".

The boolean_checkbox is used in test-item procs for a more slim correct/incorrect specification

  1. … 4 more files in changeset.
fixed ckeditor form field for inline mode.

use inline mode for editing test items

added a describe funtion for MC items

  1. … 6 more files in changeset.
candidate_box_select: provide optional the feature to keep the user selected order

The change is fully backward compatible. Per default, the order in the actual

selected values is the same as in the candidate selection box. When

the new parameter "keep_order" is provided, the order of the selected

values is kept as selected by the user.