• last updated 52 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Update jquery-ui to version 1.13.0 to mitigate high severity XSS vulnerabilities

Fix the branch performing get_page_from_item_ref when multiple parent_ids are specified, rename the loop variable so that the original argument is not lost

    • -7
    • +14
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Use a trivial lookup: content::item::get might perform many queries, in particular on success

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Init the item_id to 0 in the loop: if not, in case of multiple objects A and B, if the resolving of A suceeds and that of B fails, the id of A will be assigned to B

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Stick to packages that are enabled

Use the intended table to get packages that are known to the system

Implement automated test for apm_package_load_libraries_order

file apm-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/test/apm-procs.tcl
Add comment

Make api to retrieve the dependencies of a package public, as we use it in a test in another package, swith to the api that will retrieve the cached value instead of re-computing the result