• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
New callback: subsite::page_plugin:

- Execute pacakge-specfic code on every page. Callbacks of this type

typically call template::head::* functions to add application specific

code (CSS and JavaScript) to every page (e.g. like e.g. the cookie-consent-plugin).

This callback is a generalization of the callbacks "subsite::get_extra_headers"

and "subsite::header_onload".

- Bump version number to 5.10.0d2

Simplify call pattern

    • -6
    • +3
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
ensure that enough components are created

    • -4
    • +12
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
set object also for components of CompoundField

dotlrn_community::get_type_package_id was called in the wrong way (hanks to Felix Mödritscher)

Use consistently xo::library to ensure application specific subclassability

make sure \n isn't escaped twice

make ical-procs usable for ::xo::library require

treat location field as text field (many thanks to Markus Moser)

Add requred ad_script_abort to Form->after_submit and comment, how one could get rid of it for using e.g. xowiki-style continuations

Moderize commented out log messages

Improve debugging messages

Make reporting of errors more consistent; verbosity can be probably reduced in the future

Improve wording of notice in error log

Add ability to trace commands with full context (using ad_log instead of ns_log)

    • -0
    • +13
    /openacs-4/packages/acs-tcl/tcl/tcltrace-init.tcl
Fix integration with old-style error handling

Use plain tcl "try" instead of "ad_try"

Use "try" instead of "ad_try"

Exception handling reform (part 1)

- implement ad_try based on (byte-compiled) Tcl try to make exception

handling more Tcl compliant

- Replace several "catch" operations in request-processor by ad_try

- de-spaghetti "rp_handler" and factor out "rp_handle_request"

- Provide error context in log message in a more uniform way

- handle ds stub-procs in a more uniform way:

provide as well a stub for "ds_init" instead of

wrapping it into a "catch" operation.

- move deprecated procs "ad_return" and "rp_handle_adp_request"

from request-processor-procs to deprecated-utilities-procs.tcl

- bump version number of acs-tcl to 5.10.0d2

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
Make sure, the try command is available in your installation (requires Tcl 8.5 or newer)

add missing ',' in select statement

improve error handling in case read operation fails

Initial version of ckeditor5 support for acs-templating

Note that this is an initial relase. several features of CKEditor5 are coming soon (easy imaging),

the whole ckeditor5 release is alpha. Some options of the ck4ditor integration

are copied over to ckeditor5, although there is no support yet.

Configuration:

In addition to the richttext widget properties,

https://openacs.org/api-doc/proc-view?proc=template::widget::richtext&source_p=1

the CKEditor 5 allows us to specify a editor class

Note: CKEditor 5 no longer comes with a configuration setting to change its height.

https://stackoverflow.com/questions/46559354/how-to-set-the-height-of-ckeditor-5-classic-editor/46559355#46559355

add support for editors requiring a different HTML tag for richtext (e.g. div)

bump version number to 5.10.0d2

Improve robustness of code: make sure, file is always closed after open operation, even when "read" fails

Backport from HEAD

Fix typo in debug line

prefer literal in adp axpressions

prefer literal in tests

standardize boolean expressions in ADP files