• last updated 48 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup smelly comments and behavior that would be better implemented in xowiki when we will get rid of the ckeditor4 dependency (post 5.10.1 release)

  1. … 2 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.
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.
use everywhere util::json2dict

  1. … 2 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.
Remove extra slash, affecting usage from CDN

Many thanks to Markus Moser

Remove xowiki dependency from CKEditor4

Rationale: CKEditor4 is EOL for its free version and the paid LTS version will be discontinued in December 2026.

We now do not set an explicit default for the preferred richtext editor. Instead, the first richtext-* package that will be installed with check whether a preferred editor was chosen. If not, they will set themselves as the xowiki editor. This should not change the behavior for existing installations already using ckeditor4, or a different editor.

  1. … 3 more files in changeset.
bump version number of CKEditor to 4.22.1

CKEditor 4 was launched in 2012 and reached its End of Life (EOL) on June 30, 2023.

A special edition, CKEditor 4 LTS ("Long Term Support"), is available under commercial terms ("Extended Support Model") for anyone looking to extend the coverage of security updates and critical bug fixes.

With CKEditor 4 LTS, security updates and critical bug fixes are guaranteed until December 2026.

Details: https://github.com/ckeditor/ckeditor4-releases

  1. … 1 more file in changeset.
Modernize api

upgraded default ckeditor version from 4.20.1 to 4.20.2

  1. … 1 more file in changeset.
bump version number of CKeditor to 4.20.1

  1. … 1 more file in changeset.
bump version numbers and add version check URLs

  1. … 3 more files in changeset.
bumping version number of CKeditor to 4.20.0

  1. … 1 more file in changeset.
fix comment

upgrade to CKeditor 4.19.1

Changes: https://ckeditor.com/cke4/release-notes

  1. … 1 more file in changeset.
Upgrade to CKEditor 4.19.0 (released on 2022-05-24)

  1. … 1 more file in changeset.
update CKEditor to version 4.18.0

CKEditor 4.18.0 contains browser bugfix and security patches

https://ckeditor.com/blog/ckeditor-4.18.0-browser-bugfix-and-security-patches/

  1. … 1 more file in changeset.
take page contract into account + harden page contract

  1. … 1 more file in changeset.
switch from xo::db::sql to acs::dc interface

  1. … 1 more file in changeset.
bump version number of CKeditor to 4.17.2 and package to 0.24

  1. … 1 more file in changeset.
update CKEditor version numbers

An upgrade is highly recommended since the new version contains several security fixes.

https://ckeditor.com/cke4/release-notes

upgrade default ckeditor from 4.15.1 to 4.16.1 (released in May 2021)

  1. … 2 more files in changeset.
use util::unzip instead of plain "exec unzip" commands

  1. … 3 more files in changeset.
Use built-in "ns_parsequery" instead of manual parsing of query parameters

  1. … 1 more file in changeset.
stick to standard package as default (as we had over many years)

adding support for downloading different packages per ckeditor version

  1. … 2 more files in changeset.
switch default package selection to "full"