• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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.
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. … 7834 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. … 1951 more files in changeset.
file richtext-procs.tcl was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.