• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
use everywhere util::json2dict

    • -285
    • +0
    ./packages/ajaxhelper/tcl/json-procs.tcl
bump version numbers to reflect the updated resource-info API in acs-tcl

Improved consistency of resource-info for the cookieconsentlibraries, added vulnarability info

In addition, this change makes the package variable "Version" more consistent with

other occurences, where version is just the version number. Here, it was the version path.

Improved consistency of resource-info for javascript libraries, added vulnarability info

Tested the following cases:

download check

- bootstrap

- bootstrap-icons

- bootstrap-treeview

- ckeditor4

- font-awesome

- highcharts

- cookieconsent2 3.0.3

- cookieconsent2 3.1.1

CDN check

- bootstrap

- bootstrap-icons

- bootstrap-treeview

- font-awesome

- highcharts

- cookieconsent2 3.0.3

- cookieconsent2 3.1.1

    • -8
    • +1
    ./packages/highcharts/tcl/resource-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/resource-info-procs.tcl
    • -1
    • +1
    ./packages/xowiki/www/sitewide-admin/index.tcl
Don't set result variables for "header_stuff"

The method "header_stuff" was changes ages ago to

side-effect via the standard OpenACS template::head

interface rather than outputting to a variable, which

has to be passed around. This change removes some

leftover of this time.

    • -3
    • +3
    ./packages/xowiki/tcl/package-procs.tcl
Include available version number and vulnerability check on swa pages

This eases the use of external JavaScript libraries by adding

the available version number and a link for vulnerability checks

on the site-wide admin pages (when this information is available)

- bumped version number to 5.10.1b6

    • -3
    • +4
    ./packages/acs-tcl/lib/check-installed.adp
    • -5
    • +14
    ./packages/acs-tcl/lib/check-installed.tcl
    • -11
    • +54
    ./packages/acs-tcl/tcl/utilities-procs.tcl
fix broken variable name

Do not allow unusual schemas like base64 and json as local URLs

This case was flagged by a vulnerability scan, but at least at the found instance

it was a false positive...

Extended json2dict to cover arraycontainer

Many thank to Rolf for his feedback!

Extended resource info dict with explicit version number and an API call to obtain the newest version number

The two new optional resource info fields are

- versionCheckAPI

- installedVersion

These fields are necessary to provide an admin page to check

whether the installed versions are the most recent ones.

    • -1
    • +4
    ./packages/fa-icons/tcl/resource-procs.tcl
    • -1
    • +3
    ./packages/highcharts/tcl/resource-procs.tcl
    • -2
    • +5
    ./packages/xowiki/tcl/resource-info-procs.tcl
made spelling more consistent

New parameter "scroll_to" for parameter page

The new parameter allows the code to jump to a named parameter in the

parameter editing page. This is very useful for pages with a high

number of parameters, if just one parameter should be changed.

improve page title

The index page list not only the "system" test cases, but as well the

test cases from the application packages

Make parameter optional

adjust coverage information

Bump version number to 5.10.1b5 such we can depend on new functionality

new API function: util::json2dict

This function is similar to the tcllib function json::json2dict, but

is based on tDOM and is several times faster.

    • -4
    • +63
    ./packages/acs-tcl/tcl/json-procs.tcl
file json-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./packages/acs-tcl/tcl/test/json-test-procs.tcl
Mode use of new util::resources::version_dir

    • -5
    • +3
    ./packages/acs-tcl/lib/check-installed.tcl
Made download helper more modular and added support for a version_API

    • -10
    • +34
    ./packages/acs-tcl/tcl/utilities-procs.tcl
whitespace cleanup

    • -2
    • +2
    ./packages/acs-tcl/tcl/acs-cache-procs.tcl
Added support for specifying -expires and -timeout with a time unit

Previously, the "integer" constrain avoided this. Now, we rely on the

error messages of NaviServer to handle incorrect values.

    • -3
    • +3
    ./packages/acs-tcl/tcl/acs-cache-procs.tcl
Allow to pass arrays in the configuration

Remove additional trapping of exception, which prevents the web agent to access the file-storage, if we had to mount it on the fly

Inline dt_sysdate content here, as rss-support does not depend on the date utilities package

Flush the package_url cache when we mount a new package, as this may be the first time that we instantiate this particular package

    • -3
    • +10
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
Bump version number after catalog changes

    • -2
    • +2
    ./packages/acs-subsite/acs-subsite.info
Remove extra slash, affecting usage from CDN

Many thanks to Markus Moser

Cleanup smelly comment

Remove hardcoded richtext editor

    • -2
    • +1
    ./packages/news/www/admin/revision-add.tcl