• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
provide compatibility with latest code in 5.10.1

    • -2
    • +3
    /openacs-4/packages/diagram/diagram.info
    • -10
    • +3
    /openacs-4/packages/diagram/tcl/diagram-procs.tcl
Generalized ADP compilation caching, simplified handling of ad_init

Generalized adp-compilation caching

* since the result of ADP compilation can depend on the icon set

(and maybe more factors in the future), and the icon set

can be switched freely, either one needs more ADP compilation

at runtime (page rendering time) or caching had to be generalized.

* generalization of caching leads to better scalability, and

since the number of icon sets concurrently active at one

site is limited, this option seems favorable.

* The only potential incompatibility might be from installations

doing "manual" incantations of "template::adp_init" followed by

direct calls of the stub. The only packages (out of the 365

packages in CVS) effected by this are "diagram" and

"workflow". Both have been fixed in the repository. This

incantation can be simplified as followed.

Simplified handling of adp_init

* old:

template::adp_init adp $file_stub

template::code::adp::$file_stub

* new

[template::adp_init adp $file_stub]

Bumped version to 5.10.1d8

mostly documentation updates

New package: fa-icons

The Awesome Icon library is a free, high-quality icon library which

defines in version 6.1.1 more than 2,000 free icons. It can be

included in all kind of packages, and it does not depend on a CSS

toolkit. It defines an icon font and SVG icons as well. The

https://fontawesome.com website lists in addition to the Free version

also a "Pro" and a "Pro Max" including more than 13K icons.

The package supports installation from CDN and a local installation,

switchable via the site-wide administration link for the package in

/acs-admin/package/fa-icons/.

The package is also already integrated with the <adp:icon> markup

to support generic pages using icon sets depending on the "IconSet"

definition (switchable per subsite).

    • -0
    • +22
    /openacs-4/packages/fa-icons/tcl/resource-init.tcl
file fa-icons.info was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/fa-icons.info
file index.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sitewide-admin/index.adp
file download.tcl~ was initially added on branch oacs-5-10.

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

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

    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sample.tcl
    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sitewide-admin/sample.tcl
file sample.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sample.adp
    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sitewide-admin/sample.adp
file resource-procs.tcl~ was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/tcl/resource-procs.tcl~
file resource-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/tcl/resource-procs.tcl
file resource-init.tcl~ was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/tcl/resource-init.tcl~
file resource-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/tcl/resource-init.tcl
file sample.tcl~ was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sitewide-admin/sample.tcl~
file sample.adp~ was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sitewide-admin/sample.adp~
file index.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/fa-icons/www/sitewide-admin/index.tcl
do not cache some volatile info in xowiki::file objects

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
fix typo

update current instance with actual image info before refreshing in the cache

Fix JS idiom when no "i" tag is found

Added parameter for sweep interval for stale notification as stated in a comment already.

Many thanks to Franz Penz for pusing this.

upgraded Bootstrap to 5.1.3

We differentiate now between the classical name validation error and

the name-too-long error. Message keys had to be extended.

Version number bumped to 5.10.1d27

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -3
    • +22
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Do not force all validation errors to the end of a form.

Caveat: we might miss some validation errors in cases,

where render_item is not used.... but such cases rarely

exist. Provide an log message to identify such cases

that would require further changes. The advantage of

having potentially the message at the right place

is more important for the time being since this is

a usability issue for large forms.

prefer variable over method invocation

update version to 1.737.0 (the setup is now slightly different, but described in the site-wide-admin page

improved Bootstrap 5 compatibility

improve wording

Harden page contract; Prefer redirect url created via "export_vars" over handcrafted one