• last updated 39 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Show form-field statistics in exam-summary for autograded exams:

- Provide statitics for autograded exams and show this (currently for

MC/SC) in the exam summary. The statistics are generated when the

exam-protocol is rendered and persisted statistics in the workflow

instance.

- Added switch "-generic" to answer_form_field_objs to obtain the

question with all alternatives (not constraint to "show_max") and

without shuffling. This is needed in cases, where e.g. statistics

should be provided for all alternatives shown to all students.

- Question_manager->question_info: separate computation from HTML rendering

- Added statistics handler for the WorkflowPage class to collect

details from the form-fields.

- new private function "tdom_render" (might be useful, but is the

committed version not used)

- split out "spec_to_dict" from "fc_to_dict", since it us also useful on its own

to work on single form-constraint specs.

- make methods add_to_fc and replace_in_fc available to the full AssessmentInterface

  1. … 2 more files in changeset.
minor cleanup for returnurls

  1. … 1 more file in changeset.
added composite question per default to the "New" pull-down menu, added message keys for German

  1. … 4 more files in changeset.
Maintain revision date for "update_attribute_from_slot"

This is not a full-featured version, since it does not update the

modifying user and the modifying IP (since this data is not

always available). But this version is at least good enough

for experimenting and checking for unwanted side-effects.

xotcl-core: upadated version number to 5.10.0d40

xowf: upadated version number to 5.10.0d39

  1. … 4 more files in changeset.
strengthen parameter checking

  1. … 4 more files in changeset.
prefer var over proc

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.

added support for pagination buttons, visited buttons and flagged buttons

  1. … 6 more files in changeset.
include recent site-wide pages, modernize code

Added text-attachment

Ny using text-attachments, a lecturer can attach files to the exercise

text for the student to download when solving the exercise.

  1. … 1 more file in changeset.
fix typo

pass _nls_language to batch-jobs to avoid invalid value in name normalization

white-space changes

added preview/testrun to edit item workflow

  1. … 3 more files in changeset.
reduce verbosity

perform cleanup of WorkflowContainer after 10 minutes

  1. … 3 more files in changeset.
Fix typos reported by documentation__check_typos automated test

  1. … 1 more file in changeset.
add safety-guard in case, someone tries to call action via hacking form hacking

provide configuration for exam folder

  1. … 3 more files in changeset.
provide a default menu config via proc

The setup of the menu of xowf instances can be now configured

via {config -use xowf}, new instances are created with this setup

search the form also in the site_wide_pages

prefer ad_try, since it is silent, when action is ended by a script_abort

improve debugging messages

  1. … 1 more file in changeset.
Added edit-workflows for test items: edit-interaction.wf

This change eases tailorization of actions of editing workflow

and makes it possible to address all types of testitems via

a single term

-form en:edit-interaction.wf

instead of having to enumerate the relevant types explicitly as

it was before

-form en:TestItemText.form|en:TestItemShortText.form|en:TestItemMC.form|en:TestItemSC.form|...

For backward compatibility, the old enumeration is kept for a while. New test

items should be created over the new workflow, as e.g. in

{entry -name New.Item.TextInteraction -form en:edit-interaction.wf -query p.item_type=Text}

  1. … 8 more files in changeset.
use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 8 more files in changeset.
added a saftey belt and a warning message, when someone tries to create a shared wf container on an object with no valid revision id

improve spelling

  1. … 19 more files in changeset.
added atjob-form to site-wide pages of xowf

provide method "util_user_message" to be able to use util_user_message also in background jobs