• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
swithc default to version 7.3.0 (previous version was vulnerable)

Simplified and streamlined URN management by using util::resources::register_urns

delete global package parameter as for all other javascript libraries

Make managing of version numbers consistent.

For details, see: https://openacs.org/xowiki/external-javascript-packages

  1. … 1 more file in changeset.
Implement for TinyMCE a trivial plugin integrating with the new feature in the attachments package

The plugin simply opens a window to the attachments UI. It uses its generic message passing mechanism to receive the content and inject it in the page.

See https://openacs.org/forums/message-view?message_id=5820909

    • -0
    • +106
    ./www/resources/plugins/oacsAttachments.js
file oacsAttachments.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/plugins/oacsAttachments.js
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.