• last updated 46 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Define caret after dropdown-toggle the same way for Bootstrap3 as in Bootstrap5

This is a forward compatibility change, probably futuer versions of Bootstrap

will behave the same. Many thanks to Monika Andergassen for the suggestion.

  1. … 4 more files in changeset.
increased value checking for paramter that might be influenced by user input

  1. … 8 more files in changeset.
reduce hard-coded icons

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

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

  1. … 2 more files in changeset.
Streamline idiom, fixes xowiki toc_includelet automated test

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.

Formatting change

Use the page order as position, rather than an incremental number

Beautify display of CSS tree renderer for deeper trees

- allow one to specify general UL class via "toc" includelet (was only CSS class for top-level UL)

- support passing general class for UL for tree renderer (was only CSS class for top-level UL)

- passing properties also via "add_page" to TreeNode instances

  1. … 1 more file in changeset.

Reduce dependencies on YUI 2

- Added native CSS classes for Tree renderer

(named "xowiki-tree" to avoid name clashes).

- Made TreeRenderer more configurable, by providing css class names etc.

- toc includelet: replaced default (when no style is provided)

from yuitree to list + xowiki-tree.

The old behavior can be achieved by {{toc -style yuitree}}

Note that not all features of the YUI tree might be available

- The CSS variant with xowiki-tree can also be used for the folder-tree,

but so far, the bootstrap3 renderer is more nice.

  1. … 2 more files in changeset.
make treeview more compact

  1. … 1 more file in changeset.
make end of resub options explicit

  1. … 12 more files in changeset.
improve spelling

  1. … 4 more files in changeset.
added URNs for toplevel YUI js files

  1. … 1 more file in changeset.
improve spelling

  1. … 4 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 15 more files in changeset.
reduce verbosity

white-space cleanup

  1. … 1 more file in changeset.
add support for dnd on the toplevel list

YUI cleanup:

- remove dependency of TreeRenderer=listdnd on YUI and use basic HTML5 functionality

for drag and drop instead

- base toc with "allow_reorder" on TreeRenderer=listdnd

(yui-page-order-region.js is mostly obsolete by now)

  1. … 3 more files in changeset.
- toc includelet:

* new flag: "-renderer" (default "")

specify an explicit renderer. This is an alternative to the

classic "rendering by style", where there style determines the renderer.

* new flag: "-include_in_foldertree" (default true)

it is now possible to avoid inclusion of all folder-tree element

in the standard folder tree. Default set for backwards

compatibility.

- new tree renderer "bootstrap3horizontal" for rendering

a tree as a horizontal bootstap based menu with dropdown.

This can be used e.g. for rendering the table of contents

for a folder based on the page_order

{{toc -renderer bootstrap3horizontal -include_in_foldertree 0 -folder_mode 1}}

where the elements of the toplevel hierarchy (e.g. 1, 2) are displayed as

menubuttons, having the elements of the lower hierarchy as menu

entries (e.g. 1.1, 1.2, 2.1, 2.2, ...)

  1. … 1 more file in changeset.
Improve comments a little

  1. … 9 more files in changeset.
Fix typos

  1. … 11 more files in changeset.
use :object directly, when possible

  1. … 3 more files in changeset.
prefer XOTcl 2 idioms

- add new tree renders bootstrap3 and bootstrap3-folders based on

http://jonmiles.github.io/bootstrap-treeview/

- use PreferredCSSToolkit to choose tree renderer

(removes uncoditional use of YUI2)

- bump version number to 5.10.0d7

  1. … 3 more files in changeset.
- add URNs for jquery, bootstrap, get-http-object, xowiki.css and yui2

- fix return-string from popular-tags and improve stylability in includelet

- remove obsolete "header_stuff" from templates

- replace global parameters BootstrapCSS and BootstrapJS in favor of URNs

- bump version number to 5.10.0d6

  1. … 24 more files in changeset.
Fix typos

  1. … 24 more files in changeset.
Prefer XOTcl2 idioms

  1. … 1 more file in changeset.