• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix typo

tdom sometimes html-escapes unknown tags

Consider code like

#

# dom parse -simple -html $form doc

# ...

# return [$root asHTML]

Unfortunately, this causes that some tags unknown to tdom

(like <adp:icon>) are converted to escaped tags (&lt; ...).

This can be regarded as a bug. To avoid this problem, we

substitute here the adp_tags in advance. This needs more

investigation in other cases.... The potential harm in this

cases here is very little, but probably, there are other

cases as well where this might harm.

escape also brackets

added context_id to excluded vars in copy_content_vars

added download icon for CSV

  1. … 1 more file in changeset.
make regression test more robust with respect to yui rendering

Styling changes for minimal setups

This change is necessary for minimal setups, e.g. for plain installs

during regression test, when no bootstrap packages are available.

- define yui as last-resort fallback for "toolkit"

- handle CSS class composition for YUI as well

(merge of class-specific and item specific CSS classes,

used for color management for publish status button)

- remove underline for publish-status in YUI mode

  1. … 1 more file in changeset.
Cleanup dummy commands and objects to avoid cross interactions between tests

  1. … 1 more file in changeset.
Cleanup test for deleted api

get rid of "xowiki::adp_parse_tags", since this is handled now already in acs-templating

  1. … 1 more file in changeset.
do not cache some volatile info in xowiki::file objects

fix typo

We differentiate now between the classical name validation error and

the name-too-long error. Message keys had to be extended.

Version number bumped to 5.10.1d27

  1. … 6 more files in changeset.
Do not force all validation errors to the end of a form.

Caveat: we might miss some validation errors in cases,

where render_item is not used.... but such cases rarely

exist. Provide an log message to identify such cases

that would require further changes. The advantage of

having potentially the message at the right place

is more important for the time being since this is

a usability issue for large forms.

prefer variable over method invocation

improved Bootstrap 5 compatibility

improve wording

whitespace changes

perform adp-tag subsitution also in xowiki footer

change order of statements to make mixin-class on ordered composite earlier available

added "xo::library doc" header

fix misspelled name

reduce hard-coded icons

apply parse_adp_tags on full rendered text in www-view

Improved Bootrap5 support

- transformed PageInstance->adp_parse_tags into an adp_proc

xowiki::PageInstance->adp_parse_tags to ease usage outside methods.

- made personal-notification proc agonsitic of Boostrap 3

- renamed attribute "-glyphicon" to "-adpicon" in

personal-notification-messages->modal_message_dialog

and use adp:icon instead

- added regression test

- bumped version number to 5.10.1d26

  1. … 1 more file in changeset.
ADP-parsing for form content

- new method "PageInstance->adp_parse_tags"

This method is similar to

template::adp_compile -string $HTML

but it just performs tag substion (and not ADP variable

substitution, since this is done differently concerning instance

attributes, etc) on the provided HTML chunk.

- apply adp_parse_tags on "PageInstance->get_form". This means that

every "form" (no matter whether this comes from the instance

attributes of from the instance variable) run through the ADP tag

compiler.

provide basic support to make bootstrap3 and 5 switchable

bumped version to 5.10.1d25

  1. … 1 more file 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. … 1 more file in changeset.
increase robustness

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

  1. … 1 more file in changeset.