• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve appearance of blockquotes in forums

add IPv6 loopback address as well as "always accepted" for web testing

Do not use web api to create the folder in this non-web test

increase symmetry: create always property "form" in all interaction types, when it does not exist

make method "is_disabled" more robust (accepting truth values in different formats)

- form-generator.css: based on former myform.css, substantially revamped

(to be used together with form field classes in test-item-procs)

- test-item classes:

* feedback_level extended to "full", "single", or "none"

middle is new for a single feedback per item

* shuffling support with 3 modes ("none", "peruser", "always").

can be used for shuffling MC questions and text_entry questions (short-text),

and in future for all "enumeration" based question types.

* new question type "mc2", shuffling multiple choice question,

fully stylable via CSS (old question type "mc" can still be used for the

time being)

* ease styling for all test-item types by added explicit wrappers

* factor out "renaming_form_loader" from online-exam*.wf (including

support methods)

- online-exam*.wf:

* fix broken behavior with shared workflow definitions when closing/opening

exams and student tried interactions. Previous code did dynamic changes in

the shared definition (probably more to come).

* used factored out renaming_form_loader

* cleanup of old code

- removed low-level rewriting of <textarea>, <input> fields, etc.

- removed dead code

- removed hard-coded stylings

- bumb version number to 5.10.0d10

    • -110
    • +34
    /openacs-4/packages/xowf/lib/online-exam-answer.wf
    • -49
    • +67
    /openacs-4/packages/xowf/lib/online-exam.wf
    • -63
    • +258
    /openacs-4/packages/xowf/tcl/test-item-procs.tcl
correct links to multiple form pages (when provided)

- Address issue #3374: improve "make_link", when a page is

passed in as an object, and NO "link" is provided.

Previously, the current url was used as a base_link, now "pretty_link"

of the object is used. This is particularly necessary, when folders

are used.

NOTICE: this is a potential incompatibility (found however no case in xowiki/xowf)

where the old behavior was expected.

- the argument "method" is now optional (useful, when no method should be invoked)

- improved documentation

- updates of message keys

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -12
    • +47
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
whitespace changes

make clear, when passing objects or ids

    • -7
    • +4
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
- New option for all form_fields: "disabled_as_div" to render disabled input fields as div.

This has the advantage that con can provide with little effort highlighting in such fields.

- New conveniance method "is_disabled" to avoid repetitious cose

- Additional correct_when predicate: "contains".

Correct, when answer contains any of the provided words.

includelet form-usages: provide all used forms as links, when multiple forms are used as source

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

reduce verbosity

new parameter -return_irl for form-usages to control page to return to after e.g. editing the page.

improve handling of disabled compound form fields

improve debugging messages

allow always 127.0.0.1 in logindata as valid peer

improve naming

reduce verbosity

    • -4
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
fullow usual line breaking conventions

handle newer versions of [ns_writer list] returning as well rate management info

Deprecate ad_quotehtml. use ns_quotehtml instead.

don't trust login_cookie, when no session_cookie is provided

avoid multiple but identical calls

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