• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deprecate ad_tcl_vars_list_to_ns_set: modern ns_set idioms make this proc obsolete

Deprecate ad_tcl_vars_to_ns_set: modern ns_set idioms make it obsolete

Inline trivial ns_set logics

Streamline idiom

Streamline ns_set idioms

Deprecate util_ns_set_to_list: ns_set array is an equivalent oneliner

Streamline ns_set idioms

Deprecate util_list_to_ns_set: it can be replaced with a more efficient oneliner

Test util::split_location and util::join_location

Make "util::split_location" more robust

This change fixes exceptions for util::split_location in

cases, where the URL could not be parsed at all. The function

should return the success indicator instead of raising an

exception. The problem showed up in connection with

attempted log4j attacks.

improve spelling

    • -1
    • +2
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
support renaming of autonamed entries

previously, it was not possible to rename autonamed entries via edit form.

now this is allowed, and item name validation is more robust, support

functions return meaningful error in unexpected situations.

    • -2
    • +4
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
improve comment

Document public api

support multi-line messages by using template literals

template literals are available since ES6 (2015)

added input validation for points in modal dialog

base refetch on "publish_date" rather than on "last_modified" of a CR item object

Interestingly, the last_modified field of an item is not updated, when an revision is added,

but the publish_date is

on CVS: ----------------------------------------------------------------------

deactive callback definition to avoid calls of deprecated xo::parameter functions

assessment-index.page: replace "delete" button by "archive" button for exams.

To reduce the likelihood that someone accidentally deletes a fresh exam,

the "delete" button was replaced for exam-instances by an "archive" button.

Added archiving of items, reduced usage of images for icons

When an item is archived, it is not shown to plain users. Internally,

when an item is archived, the publish status is changed to "expired"

and removed from search/syndication. When an item is archived, it can

be brought via "toggle-publish-status" to state "production" again.

Future versions might rename the item in such conditions, but

currently, it is NOT renamed, so one cannot create one more item in

the same folder with the same name.

For realizing this functionality, the includelet "form-usages" accepts

now an additional optional value for "-buttons" named "archive". The

publish status toggle can be used now for switching from

"production"->"ready", "ready"->"production" and

"expired"->"production".

Additionally, the usage of .png images as icons was reduced by CSS

elements for easier styling (e.g., for different themes) and for

reducing less server requests and better responsiveness. In particular

the images for active.png and inactive.png are not necessary any more

and were removed.

Bumped version number to 5.10.1d8 to enforce loading of the message

keys.

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -13
    • +20
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -11
    • +20
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
fix spurious colons

fix typo

Added option to download results on an exam

The download is in form of an CSV file and consists of one line per

question/sub-question and including comments. This feature can be

selected after the exam was evaluated once via running the

exam-protocol.

    • -0
    • +13
    /openacs-4/packages/xowf/lib/inclass-exam.wf
    • -24
    • +96
    /openacs-4/packages/xowf/tcl/test-item-procs.tcl
Separate csv formatting and csv sending to increase reusablity

Limit display of questions in exam-protocol to max-items, when this is specified

white-space changes

solve property resolution in form-usages by avoiding lookups from the current item to reduce side effects

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

Offer just edit-interaction elements as test items; prefer simple title

fix form field property resolution: in form-usages, default values were overruling the specified properties

define javascript input handler for formfield class numeric to prevent non-numeric input while preserving the multi-lingual interpretation