• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    ./xowf/tcl/test-item-procs.tcl
include form-vars in log messages for workflows since this eases debugging

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

    • -0
    • +13
    ./xotcl-core/tcl/01-debug-procs.tcl
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.

    • -17
    • +32
    ./xowiki/tcl/form-field-procs.tcl
added value checker, improved comments and logging statements

    • -12
    • +13
    ./xowiki/tcl/xowiki-www-procs.tcl
file q-and-a-new-2-postgresql.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./faq/www/admin/q-and-a-new-2-postgresql.xql
file q-and-a-new.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./faq/www/admin/q-and-a-new.tcl
file q-and-a-new.adp was initially added on branch oacs-5-10.

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

    • -0
    • +0
    ./faq/www/admin/q-and-a-new-2.tcl
file q-and-a-delete-oracle.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./faq/www/admin/q-and-a-delete-oracle.xql
file q-and-a-edit.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./faq/www/admin/q-and-a-edit.tcl
file q-and-a-edit.adp was initially added on branch oacs-5-10.

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

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

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

    • -0
    • +0
    ./faq/www/admin/q-and-a-delete-postgresql.xql
Adapt file names to OpenACS naming conventions

    • -0
    • +17
    ./faq/www/admin/q-and-a-delete-oracle.xql
    • -0
    • +15
    ./faq/www/admin/q-and-a-delete-postgresql.xql
    • -0
    • +24
    ./faq/www/admin/q-and-a-new-2-postgresql.xql
    • -17
    • +0
    ./faq/www/admin/q_and_a-delete-oracle.xql
    • -15
    • +0
    ./faq/www/admin/q_and_a-delete-postgresql.xql
  1. … 7 more files in changeset.
upgrade default ckeditor from 4.15.1 to 4.16.1 (released in May 2021)

    • -4
    • +6
    ./richtext-ckeditor4/tcl/richtext-procs.tcl
file jquery-3.6.0.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./openacs-bootstrap3-theme/www/resources/js/jquery-3.6.0.js
    • -0
    • +0
    ./xowiki/www/resources/jquery/jquery-3.6.0.js
file jquery-3.6.0.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./openacs-bootstrap3-theme/www/resources/js/jquery-3.6.0.min.js
    • -0
    • +0
    ./xowiki/www/resources/jquery/jquery-3.6.0.min.js
Upgrade to jQuery 3.6.0 (released March 2021)

    • -1
    • +1
    ./openacs-bootstrap3-theme/tcl/resource-init.tcl
    • -10872
    • +0
    ./xowiki/www/resources/jquery/jquery-3.5.1.js
    • -0
    • +10881
    ./xowiki/www/resources/jquery/jquery-3.6.0.js
check_expired_certificates: automated certificate nenewal for letsencrypt

This change reduce maintenance effort by automating certificate

renewal. When the NaviServer letsencrypt module is installed and

configured, the background operation check_expired_certificates will

automatically update the certificates when these expire soon (as

defined by the "ExpireCertificateWarningPeriod" parameter of

acs-admin). When a recent version of NaviServer is used that supports

certificate refetch on SIGHUP, the new certificates are automatically

updated without a server restart.

Prerequisites:

- Recent version of letsencrypt NaviServer module installed (0.6)

and configured

- Recent version of NaviServer (currently Bitbucket tip) for automated

certificate reloading

When the recent letsencrypt module is not installed,

check_expired_certificates sends expiration warnings as usual.

Therefore, it is also useful for sites using certificates from

different sources.

This new functionality was used for latest certificate renewal on

openacs.org.

    • -12
    • +86
    ./acs-admin/tcl/acs-admin-procs.tcl
Added optional layout for question types, where question text and

answer interactions are displayed in two columns

The implementation supports responsive design and switches for small

width display again to single column display.

Supported question types:

- Text Interaction

- ShortText Interaction

- MC Interaction

- SC Interaction

- Reorder Interaction

- Upload Interaction

    • -0
    • +1
    ./xowf/catalog/xowf.de_DE.ISO-8859-1.xml
    • -0
    • +1
    ./xowf/catalog/xowf.en_US.ISO-8859-1.xml
xowf.info catalog/xowf.en_US.ISO-8859-1.xml tcl/test-item-procs.tcl www/resources/test-item.css

    • -0
    • +1
    ./xowf/catalog/xowf.en_US.ISO-8859-1.xml
    • -41
    • +176
    ./xowf/tcl/test-item-procs.tcl
Extended regression test for test item procs

- compose exam by three exericises instead of one

- added test for short-text exercise with a file submission

- exam contain now a text exercise, a short-text exercise

with a file submission, and a MC question

- test case fills out first two questions in the test case

- bumped version number due to dependency on xowiki

(option "-next_page_must_contain" for "xowiki::test::edit_form_page")

    • -10
    • +56
    ./xowf/tcl/test/test-item-procs.tcl
improve comment

parameterize xowiki::test::edit_form_page with -next_page_must_contain

This changes supports more flexible checking of expected content on page after editing.

Default is backwards compatible

added "ns_parseurl -strict" to icanuse definitions

file select_question.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./xowf/resources/prototypes/select_question.form.page