• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge with missing files

    • -0
    • +106
    ./www/resources/plugins/oacsAttachments.js
  1. … 1459 more files in changeset.
merge from oacs-5-10

    • -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
  1. … 8085 more files in changeset.
bumped version number from development version to release version

  1. … 93 more files in changeset.
align nameing with 'resource_info_procs'

  1. … 7 more files in changeset.
make this packages installable via .apm (install from repository)

  1. … 11 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.
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