• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
strengthen parameter checking

  1. … 2 more files in changeset.
Handling of mutual overwrites in answer workflows

Mutual overwrites occur in answer workflows when a user manages to

open multiple browswer instances/or tabs on the same exam.

In case there was an mutual overwrite, the position as provided by the

instance attributes might deviate from the position, based on which

the actual form data was generated. So, for validating and updating

one has to change the position to the one from the form data (when

this differs). Note that the randomizer depends on property

"position" as well.

The new version avoids that the user might accidencially overwrite his

data and closes on mutual overwrite automatically the older instance

window.

Bumped version number to 5.10.0d38

Added warning, when (not all) requested forms could not be loaded.

Reduced verbosity.

add more more option for quick debugging passed in form data

add question_info_block to documentation block

add explicit return to be more human readable

split out question_info_block

bugfix: pass "-revisions" to "render_proctor_images" since it is needed there

force en_US locale

added attachments for text_interaction

preserve colors for printing "match-contains" and "match-contains-not"

Background: bootstrap.css removes all backgrounds per default.

whitespace changes

use language prefix from system locale

Refactored exam protocol renderers

The new code reduces the sinze of inclass-exam.wf significantly by

moving the exam protocol into test-item-procs.tcl. In the same step,

the largish function was split up, the rendering functions of

submissions are now named consistently, and there are now different

functions for rendering single items vs. many items, making the

single-item rendering reusable. Additionally, the answer manager is

documented in a more eye-friendly and modular way.

prefer var over proc

improve comments

provide an analysis method for cleared input (callable for swas via method blank-inputs)

provide means to show submissions of students per test item

added type per question to exam overview

provide a nicer exam-overview

provide more detailed test-item descriptions for exam/question overviews

improve message keys

added exam-overview

make grading checke configurable via URL, make calculations more robust

CVS: ----------------------------------------------------------------------

added policy for supporting view of revisons, used more detailed message key values for supporting rounding by points or revisions

Improve further: flush the object only when the state changes

Improve fix:

in FormPage www-edit, just after the save_data operation we render the FormPage to refresh the references. We should flush the form object cache here, as otherwise any formfield spec will come from the form in the previous state

Make sure that the form object is flushed whenever state might have changed

If code executed after the state change accesses the form object again, this could be that from a previous state and e.g. hold the wrong form definition. This happens in practice downstream, where the submitting of activities also involves accessing the form definition to e.g. compute the grade based on the questions. Downstream we also cache the formfield specs, so if a spec is dependent on the state, might be wrong in also for future requests.

fix typo

decativate prevention of multiple tabs for exam protocol (and maybe other listings)