• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

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

    • -3
    • +4
    ./www/resources/xowiki-yui-specific.css
Cleanup dummy commands and objects to avoid cross interactions between tests

    • -2
    • +3
    ./tcl/test/xowiki-admin-tests-procs.tcl
  1. … 1 more file in changeset.
Revert change at least until the change is clear.

Automated test xowiki includelet_childresources expects links to be created without language prefix

in order to do so, the page_template must be set to create anonymous instances. Fix the page template used in the test to match expected result.

Cleanup test for deleted api

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

provide CSS classes for sort handles and improve message key.

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

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

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.

Make use of uniform styling based on adp:icon

  1. … 19 more files in changeset.
committed missing file