• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove traces of md5::md5, since ns_md5 is emulated also for AOLserver

  1. … 2 more files in changeset.
Drop "ON DELETE CASCADE" on page_template, since this might lead to crippled entries in the database.

When someone delets via operations in the database a form, protentially existing

form pages refering to this item might be left in a crippled state.

The cascade operation deletes the revision (xowiki_page_instance), but leaves

the half-crippled item. The problem does not exist over the web interface,

since it does not allow such items to be deleted while form pages exist.

Add support for menu-entries, where simply a "-link" is provided

Provide a fix for "dom parse -html ..." for adp tags.

"dom parse -html" has two problems with ADP tags like "<adp:icon ...>":

a) If the tag name contains a colon or underscore, the tag is

treated like plain text, i.e. "<" and ">" are converted into

HTML entities.

b) These tags have to be closed "<adp:icon ...>" is invalid.

Several existomg ADP tags have not closing tag.

Therefore, we resolve the ADP tags before parsing the text by

tdom. There should be some future framework support to do this in

general, but until we have this, resolve this problem here locally.

improve message key

New method "marshall_all_to_file"

This method is similar to "marshall_all", but exports the objects

directly to a file. This can save memory when exporting a large

collection of objects, since the plain "marshall_all" appends to

string, which can get very large, especially due to Tcl's

"double the size when space is needed" policy during "append"

operations.

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.

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

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