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

  1. … 1464 more files in changeset.
merge from oacs-5-10

  1. … 8098 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.
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.
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.
Additional CSP exceptions for Xinha

Include the supplied text_id among the fields we should replace

Fix typo

Richtext Xinha package revamp:

since this editor now seems to enjoy somewhat better support, I have "borrowed" much of the logic available in richtext-ckeditor4 so that users can keep their editor version up to date.

Notable changes:

- we do not ship the actual Xinha editor ourselves, it will by default come from the cdn (on Amazon servers) or can be downloaded locally as we do for CKEditor4

- plugins that have been developed specifically for OpenACS (which seem to keep working) are now maintained in a separate folder tree and configured in the editor specifically

- The configuration for which plugins should be available is now maintained at the package level

  1. … 1953 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.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7833 more files in changeset.
- Don't set legacy configure parameters in new installations

- Make clear in parameter description in acs-templating, that this is

not the place, where xinha/tinymce should be configured

- Improve warning messages about usage of legacy parameters (tell admin what to do)

  1. … 4 more files in changeset.
- add required CSP directives; turn "body_handler -event onload" into a body_script

Fixed missing $

- don't use dashes ("-") in namespaces

  1. … 7 more files in changeset.
- don't try to show broken richtext editor on mobile devices

(it is better to show plain textarea than a display where nothing can be entered)

  1. … 5 more files in changeset.
- initial commit of richtext editor plugin for integrating Xinha with acs-templating

  1. … 1950 more files in changeset.
file richtext-init.tcl was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.
file richtext-procs.tcl was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.