• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve cross references in apidoc

- added instance variable parent_field (when create_components is used).

This eases the upwards traversal for compound form fields.

- simplify usage of shuffling since it makes configuration via

form-constraints easier. we use now one field "shuffle_kind"

instead of the tow fields before.

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
Strip of validation part before checking for the existence of query parameter

No need to force-cache the value of every parameter of every package instance

We are just adding a new parameter: this should in fact not exist and therefore no cache should be present and needed to be flushed. Furthermore, in most cases one would immediately restart the server, as this normally happens in the context of a package upgrade.

Replace deprecated idioms

Replace deprecated idiom

Fix typo in regexp command

improve spelling

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
handle missing nt_domcomp case without raising an error

add styling for preview exam

renamed style file

file form-generator.css was initially added on branch oacs-5-10.

default to shared workflow definition

    • -1
    • +2
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
change order of class definition: move CompoundField to the front to let other fields depend on it

    • -1078
    • +1079
    /openacs-4/packages/xowiki/tcl/form-field-procs.tcl
- add invalidation for shared workflow containers (when

sharedWorkflowDefinition is activated)

- use the mew form-field method "set_feedback" defined in xowiki

    • -24
    • +55
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
factor out CSS for test-items:

new file: /resources/xowf/test-item.css

    • -22
    • +1
    /openacs-4/packages/xowf/lib/online-exam.wf
file test-item.css was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xowf/www/resources/test-item.css
- new abstract form-field class: ShuffleField

* provide means for shuffling options and answers

* three shuffle modes:

- no-shuffling (parameter shuffle false)

- shuffling on every call

- shuffling for a seed (depending on an ID, always the same shuffling)

- new form-field class text_fields, based on ShuffleField

similar to checkbox, but with text fields

and autocorrection via "correct_when"

- support for richtext in checkbox labels

- factored out set_feedback (was previously inline in xowf)

- bump version number to 5.10.0d41

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -14
    • +231
    /openacs-4/packages/xowiki/tcl/form-field-procs.tcl
reduce verbosity

    • -5
    • +6
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
sort available-formfields by displayed class-name, not via fully qualified class-name

access components via instance variable

    • -5
    • +5
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
improve spelling

factor out loop invariants

thighten parameter checking to valid classes

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Provide default value for "return_url" and use "export_vars" for url-construction; whitespace changes

improve spelling

    • -1
    • +1
    /openacs-4/packages/dotlrn/tcl/applets-procs.tcl
    • -1
    • +1
    /openacs-4/packages/dotlrn/www/element-list.tcl
added error message for new validator

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
added validator for "correct_when" form field types

prefer variable names over method calls

new includelet for documentation purposes: available-formfields