• last updated 10 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix filepaths for URNs

align nameing with 'resource_info_procs'

  1. … 7 more files in changeset.
More resource-info updates:

- fixed wrong and inconsistent naming of dict members (many thanks to Sebastian Scheder for figuring this out)

- removed duplicated slashes in resource paths

- fixed incorrect paths when CDN is used

- simplified handling of cspMaps

- added test checking consistency of resource-info dicts

  1. … 10 more files in changeset.
updated version numbers

  1. … 5 more files in changeset.
Simplified and streamlined URN management by using util::resources::register_urns

  1. … 9 more files in changeset.
Ease management of external js packages to automate admin tasks

- provide explicit information about optional package paramters

- make these accessible from site-wide admin pages

- provide information, how the configuration of the version number happend

- improve design of site-wide admin pages with action items

- further streamlined handling of external js packages

  1. … 18 more files in changeset.
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.
In essence, this change renames "version_dir" to "version_segment" as

well as "versionDir" to "versionSegment" to reflect the fact, that

this variable does not denote a directory, but a part of the path

appended to path "resourceDir".

  1. … 4 more files in changeset.
various small fixes for js libraries

- fixed page contract in case a non-default version is downloaded

- provide always an argument "-version" to resource_info procs

- obtain current version number always via resource_info.installedVersion

(it refers to CDN and locally installed version)

- pass always versionDir via resource_info to ::util::resources::download

- always obtain version_dir from resource_info

  1. … 25 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.
bumped version numbers due to upstream releases

  1. … 3 more files in changeset.
JS upstream updates

- Updated upstream library to 11.4.0

- Bumped version to 0.5

  1. … 1 more file in changeset.
pumped version to the highest available version number upstream (11.3.0)

  1. … 1 more file in changeset.
upgraded to upstream version 11.2.0

Furthermore, the global admin page got an additional link for the changelog of highcharts.

Bumped version to 0.3.

  1. … 2 more files in changeset.
Bump highcharts to version 11.0.1

Highcharts 11 supports now light/dark color schemes, tree graphs, .... amd

audio charts to make charts audible.

Details: https://www.highcharts.com/blog/news/highcharts-version-11/

  1. … 1 more file in changeset.
improve spelling

  1. … 4 more files in changeset.
added versionCheckURL

  1. … 1 more file in changeset.
bump version of the highcharts upstream package to 10.3.1

  1. … 1 more file in changeset.
added URN for accessability, minor cleanup

  1. … 1 more file in changeset.
New package: highcharts

The Highcharts library is a JavaScript and TypeScript package for producing data

visualizations (line/bar/pie charts etc.). The OpenACS package offers support to

load this library either via CDN or from a local installation (via acs-admin and

global administration UI)

  1. … 6 more files in changeset.