• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
streamline spelling

merge from oacs-5-10

  1. … 8099 more files in changeset.
Make "standard" the default preset we apply to richtext editors

This is needed to have consistent site-wide default settings coming from the tcl level, such as connection context information and more.

  1. … 1 more file in changeset.
Fallback to the editor from parameter in the generic api, rather than the widget, so fallback will work also outside of ad_form

Introduce for richtext editors the concept of "preset"

A preset is an abstract set configurations designed to address a specific use case.

An example could be a preset for a "minimal" richtext editor, used in those forms where we want to limit the features a user should have access to. Other presets could address specific usages or applications.

Downstream developers can provide a set of ::richtext::$editor::preset::$preset procs, returning an options dict. This set of options will be merged other local configurations.

The same approach works in ad_forms and xowiki forms.

This also enables the use-case of switching to a different editor maintaining the existing application-specific configurations consistent.

  1. … 1 more file in changeset.
Form widget attributes reform:

- consolidate the logics to merge tag attributes coming from the adp and the tcl definitions of widgets into a private api

- change the previous behavior of having attributes coming from the adp (aka the tag_attributes argument) take over attributes coming from the element

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

  1. … 6 more files in changeset.
Deprecate template::util::is_true, implemented as a simple string command oneliner since 2015 and inline occurrences

  1. … 33 more files in changeset.
fix false positive of regression test

not necessary to check if format is a list

move the check for the provided format on richtext level

  1. … 1 more file in changeset.
validate format of richtext field always

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
don't rely on uppercase header field names

  1. … 10 more files in changeset.
improve wording and fix typos

  1. … 3 more files in changeset.
Prefer api to retrieve csp nonce, as it performs useful existance checks

  1. … 3 more files in changeset.
improve spelling

ns_quotehtml user submitted value inside an error message to prevent potential XSS attack

Fix typos in proc doc

  1. … 1 more file in changeset.
Removed broken @cvs-id

  1. … 3 more files in changeset.
prefer built-in ns_dbquotevalue over DoubleApos

  1. … 3 more files in changeset.
make spelling more uniform

  1. … 5 more files in changeset.
fix typos, regenerated documentation

  1. … 308 more files in changeset.
Rework variable assignment (set -> lassign) + Whitespace changes

  1. … 2 more files in changeset.
Fix typos

  1. … 62 more files in changeset.
Fix typos

  1. … 28 more files in changeset.
add text/markdown to the accepted text formats of the richtext widget and ad_html_text_convert

  1. … 5 more files in changeset.
Move more deprecated procs to depecated-procs

  1. … 5 more files in changeset.
Fix typos

  1. … 4 more files in changeset.
add support for editors requiring a different HTML tag for richtext (e.g. div)

bump version number to 5.10.0d2

  1. … 3 more files in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.