resource-info-procs.tcl

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
js-libraries: improved naming of variables

Changed name "installedVersion" to "configuredVersion", since

the former might lead to the impression, that it refers only

to the locally installed version. Instead, this refers as well

to a CDN version (when available)

  1. … 18 more files in changeset.
js-libraries: removed variable "resourceUrl"

The variable "resourceUrl" was always used in a single branch but set

for all branches before. To ease maintenance and simplify

comprehension, it was removed.

  1. … 10 more files in changeset.
Improved resource information for external libraries

- added vulnerability check for a particular version

- centralized URL generation for cdnjs URLS (will reduce maintenance work, when external URL changes)

- improve behavior when running without an Internet connection

  1. … 11 more files in changeset.
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

  1. … 9 more files in changeset.
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. … 8 more files in changeset.
added URL for version checking to see, if a newer version is available from the CDN

whitespace changes

  1. … 2 more files in changeset.
Comply with acs-tcl.naming__proc_naming automated test

  1. … 3 more files in changeset.
Added sitewide-admin pages for downloading bootstrap-treeview

This change makes it possible to use xowiki/xowf with the folder tree

even when having no internet connection (i.e. also without CDN).

  1. … 4 more files in changeset.
file resource-info-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resource-info-procs.tcl