• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Perform stricter checking of parent_ids

bump version number of xowiki to 5.10.1d22

  1. … 2 more files in changeset.
Prefer "... orderby ... -type ..." over mixin for sorting

Make use of extended functionality of OrderedComposite->orderby

- Removed manual adding of mixin ::xo::OrderedComposite::IndexCompare

in "toc" includelet and in xowiki::TableWidget->create_from_form_fields

- xowiki::TableWidget->create_from_form_fields:

added type map to allow caller to specify, on which attributes e.g.

a numeric comparison should be used.

- bumped version number to 5.10.1d22

  1. … 1 more file in changeset.
prefer variable ::acs::rootdir over proc [acs_root_dir]

Revert port of downstream feature: the same check can be performed more flexibly via the condition=regexp and condition=match

Port of downstream feature: condition proc on the FormPage checking that a page name respects some regular expression

Fix typo

Make sure result is defined, small improvements

Port of old local modification: when mime type is text/plain, feed the content straight to the indexer, rather than render the file as HTML, then convert it again to text in the search indexer

prefer global variable over proc

  1. … 5 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

Fix provide language prefixes for pages in the test

Fix template case

improve robustness on invalid input

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.

added regression test for includelet includelet "child-resources"

added private function xowiki::test::require_form_page to ease regression testing

add test cases for three different toc styles

    • -52
    • +48
    ./test/includelet-test-procs.tcl
no need to sort already sorted sequence

This problem was introduced via the ns_strcoll support which is not sufficiently clever on numbers.

We should support for numerical sort when needed (which seems rare enough)

    • -13
    • +35
    ./test/includelet-test-procs.tcl
Test also that links rendered in the ToC point to an existing page

At least in the setup tested so far, links seem to contain the language prefix and would not be resolved correctly

Improve comment

add test file for includelt testing, that does not require the full webtest overhead

file includelet-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test/includelet-test-procs.tcl
Extend the test for the case where all links should be expanded

This tests also exposes issued with the sorting