• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix compatibility with tdom 0.9.3

fix for old-style ad_form based forms with radio or checkbox controls for bootstrap 5

These controls were used with a bootstrap3 classes, which had the consequence

that no input was possible for these fields. Probably, similar changes

are as well necessary in other situations as well.

escape also brackets

prefer variable over method invocation

improve wording

provide basic support to make bootstrap3 and 5 switchable

bumped version to 5.10.1d25

  1. … 3 more files in changeset.
Alignments for Bootstrap 5

Also, use form.form for creating forms from the menubar instead of

old-strle ::xowiki::Forms. Aligned as well regression test to use

form.form.

Bump version number to 5.10.1d24

  1. … 9 more files in changeset.
increase robustness

use preferred idioms to use btn-default/btn-secondary for bootstrap3/bootstrap5

  1. … 2 more files in changeset.
refine form.form and validation errors

  1. … 1 more file in changeset.
align instance variable values of formfield "form" with "textarea" to make subclassing simpler

reduce level of verboseness

fix bug: tcl clock format %e returns in current versions single digit values with leading whitespace, which are invalid values for the options field.

Since non of the date-component fields is supposed to contain leading (or trailing) white-space,

this is now trimmed.

  1. … 1 more file in changeset.
Extend randomization of multiple alternatives for cases, where one alternative must be "true"

Certain evaluation schemes for multiple choice questions require that

at least one alternative must be true. Otherwise, a division by 0

might appear. This is an issue, when a subset of alternatives is used

(e.g. 3 out of 10 alternatives). The version know evaluation schemes

with such a requirement and makes sure that in the resulting set, at

least one correct alternative is correct. Note: this change does not

make sure that the full set of alternatives contains at least one

correct alternative.

include field name in debug message

add canvas evaluation scheme of MC questions

  1. … 3 more files in changeset.
Treat disabled form fields as they are: fields that the browser would not send to us and need to be treated "internally"

  1. … 1 more file in changeset.
fix typo

Delete CKEditor 3 (which was replaced by CKEditor 4 in 2012)

CKEditor 4 is continued to be supported.

  1. … 605 more files in changeset.
comment recent smelly change

+CVS: ----------------------------------------------------------------------

Support specification of allowed tags/attributes/protocols via global package parameters.

This change makes it possible to define for a package values for

AllowedTags, AllowedAttributes, or AllowedProtocols. If (some of)

these exist, use these for configuring "ad_html_security_check". If +

not, fall back to the default (site wide) definition.

This change is fully backward compatible and effects on sites defining

such global parameters. This change was induced by the need of large

sites, where it is not feasible to set these parameters on the package

instance level, since this site has 830000 packages instances.

Bump version number to 5.10.1d19

  1. … 2 more files in changeset.
Actually not enforce options validation on disabled formfields

The reorder_box must always be treated as a multiple field

Explicitly set the :plugin <variable>

Support the extraPlugins attribute the same as the CKEditor4 richtext formfield, as some places in xowiki assume it

issue error for unexpected value

date formfield does not need special conversion when converting to external, its value is already converted when rendered

deactivate language tool when spellcheck is turned off

Added validation on values provided for options

  1. … 2 more files in changeset.
Differentiate the case of a field being a repeat field or a "normal" coumpound field: in the first case, the whole 'internal' should be converted regardless of the number of components, in the latter, keep the previous behavior

Fixes xowiki create_form_with_numeric after regression in https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20220117174044

  1. … 1 more file in changeset.