• last updated 36 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.
Fix untested change

Reworked of richtext-tinymce

- follow same resource-info structure as for other packages

- added full site-wide admin info

- support download via site-wide-admin interface

- do not require app-key

- support styles from CDN and/local

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.
bump version numbers to reflect the updated resource-info API in acs-tcl

  1. … 6 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.
Allow to pass arrays in the configuration

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.
Inject a reference to the current connection package into the tinymce conf (when used outside of xowiki)

Fix file metadata

Fix typo

Drop the old approacs based on ::acs_blank_master__htmlareas and use explicit id configuration

Move hardcoded configuration out of the default (can be overridden by parameter in case), add image and code plugins in the default, set branding to false by default

Add minimal styling to inline editors

file style.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/css/style.css
Allow to serialize also object options, allow to only include the header stuff

Rework the add_editor api so that it won't rely on global templating variables and fix both configuration from defaults and local

Cleanup old parameter on upgraded installations

file apm-callback-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/apm-callback-procs.tcl
file download.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/sitewide-admin/download.tcl
file index.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/sitewide-admin/index.tcl
file index.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/sitewide-admin/index.adp
TinyMCE 7.0.1 integration

We reboot TinyMCE richtext-editor integration to support newest version 7.0.1.

Editor can be served from CDN (requires an API key) or locally, by downloading a distribution via the site-wide admin page of the package.

Editor can be configured either per-website or per-usage, as we do with other editors.

At present, no OpenACS specific features, such as image upload, are provided. Custom plugins from previous versions of this package have also been discontinued.

Notable differences with similar integrations:

- editor configuration is specified as a dict, rather than a list of lists

- current package parameters are global, rather than de-facto global instance parameters

- deprecated configuration from acs-templating is not supported anymore

    • -1116
    • +0
    ./www/resources/tinymce/changelog.txt
    • -101
    • +0
    ./www/resources/tinymce/examples/full.html
    • -17
    • +0
    ./www/resources/tinymce/examples/menu.html
    • -84
    • +0
    ./www/resources/tinymce/examples/translate.html
    • -71
    • +0
    ./www/resources/tinymce/examples/word.html
    • -105
    • +0
    ./www/resources/tinymce/examples/css/content.css
    • -10
    • +0
    ./www/resources/tinymce/examples/lists/link_list.js
  1. … 1804 more files in changeset.
bumped version numbers

  1. … 6 more files in changeset.
release work

  1. … 204 more files in changeset.
bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
added editor hints and white-space cleanup

  1. … 6 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.