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

Extend test to start enforcing that the expected number of links is rendered and that the sorting is correct

This will expose that already in this simple case, we have that "100" comes before "2"

Streamline idiom, fixes xowiki toc_includelet automated test

Basic test where we render the ToC includelet

This test currently fails because of a bug concerning the ul_class variable

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

Also allow to specify the page order

Allow to specify the content when requiring the page

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.

keep avoiding call "value_if_nothing_is_returned_from_form" for disabled field

This change reverts to the previous behavior and is logically sound.

All regression test continue to work. Not clear, why Antonio removed

this call (maybe due to downstream changes, but these should be

sorted out).

add test case for disabled checkbox (should be the same as for non-disabled case)

include field name in debug message

add canvas evaluation scheme of MC questions

  1. … 3 more files in changeset.
Undo the change trying to alter the order inside "add_pages"

The method is intended to preserve the order of the passed-in ordered

composite. Added comments to clarify it for people not so familiar with the

code.