URLencode the return URL, or the server might complain for invalid characters (e.g. unencoded umlaut characters)

whitespace change

Remove hard-coded styling with the "style" element to get a more consistent appearance

(many thanks to Monika Andergassen for looking into this).

    • -8
    • +8
Document behavior

Whitespace cleanup

improve query variable checking

    • -1
    • +1
Adapt 'ad_urlencode_url' to the new 'ns_parseurl' stricter behavior

added CSS properties for adding scrollbars to overly large exam texts. Not sure, these are always wanted.

Initial support for composite questions

A composite question is a test-item containing other regular test

items. This makes it possible to define a larger test item case for

which arbitrary other questions can be associated (e.g. short text

question plus an MC and ordering question etc.). The randomization

features (shuffling, x out of N, etc.) of the included test-items are

preserved such that it is possible to present the student e.g. a sub

question where only 2 out of 5 possible alternatives are displayed.

The provided implementation builds for a composite question consisting

of a constant exam intro text and the selected sub items including

points, minutes etc. The points and minutes of the composite question

are computed as the sum of the points and minutes of the

sub-items. The actual sub-items are constructed at runtime such that

per-user randomization can be applied.

Current shortcoming: question with percent-substitutions are not

supported (since the exam intro text is placed at composite form

creation time already into the form, therefore, it is the same for all

students). Furthermore, the substitution semantics are not clear

concerning the included content.

    • -116
    • +196
include form-vars in log messages for workflows since this eases debugging

    • -2
    • +3
add checker for object_ids. In order to use this, a recent version of nsf is required, no accepting abbreviations for all types

tighten checking on input parameters

allow user to open exam answering in multiple tabs in try-out mode

fix creating/editing of xowiki::Forms

This change essentially reverts the change of July 2, which broke

the feature to specify "editor=none". This is important for the

"form" form-field entry, which requires a FORM tag, that is

usually removed by actual version of the ckeditor.

added value checker, improved comments and logging statements

file q-and-a-new-2-postgresql.xql was initially added on branch oacs-5-10.

file q-and-a-new.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-new.adp was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-new-2.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-delete-oracle.xql was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-edit.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-edit.adp was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-edit-2.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-delete.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
file q-and-a-delete-postgresql.xql was initially added on branch oacs-5-10.

Adapt file names to OpenACS naming conventions

    • -1
    • +1
    • -0
    • +33
    • -0
    • +54
  1. … 7 more files in changeset.
* README.release: Complete description of vagrant setup

* nsf.c (ObjectDispatch): Fix another invalid read of a cached cmd structure (NsfColonCommandContext)

* nsf.c (NsfUnsetTrace, VolatileMethod): Plug a post-mortem memleak related to volatile objects (The Tcl_Obj carrying an auto-qualified object name was not cleaned up properly during interp shutdown because the matching decrement operations used to be disabled during shutdown.)

* nsf.c (ObjectDispatch): Fix invalid read as indicated by valgrind by guarding access to intrep.