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

bump verison number to 5.10.1d1 for picking up message keys

file acs-content-repository.th_TH.utf-8.xml was initially added on branch oacs-5-10.

file acs-content-repository.zh_TW.utf-8.xml was initially added on branch oacs-5-10.

file acs-content-repository.zh_CN.utf-8.xml was initially added on branch oacs-5-10.

file acs-content-repository.tr_TR.utf-8.xml was initially added on branch oacs-5-10.

file acs-content-repository.sv_SE.ISO-8859-1.xml was initially added on branch oacs-5-10.

file acs-content-repository.sh_HR.utf-8.xml was initially added on branch oacs-5-10.

file acs-content-repository.ru_RU.utf-8.xml was initially added on branch oacs-5-10.

file acs-content-repository.ro_RO.utf-8.xml was initially added on branch oacs-5-10.