• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
white-space cleanup

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)

file listdnd.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/listdnd.js
Prefer glyph-icons over sprites:

- new function xowiki::Package preferredCSSToolkit to ease access to preferred CSS toolkit

- split xowiki.css into a generic part (xowiki.css) and a preferred toolkit related part

(e.g.xowiki-bootstrap3-specific.css)

- use glyphicons in bootstrap variant instead of sprites for edit/delete/... buttons

    • -0
    • +65
    ./www/resources/xowiki-yui-specific.css
file xowiki-bootstrap3-specific.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/xowiki-bootstrap3-specific.css
file xowiki-yui-specific.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/xowiki-yui-specific.css
improve wording for clipboard entries in menubar pulldown

break long lines

improve comments and indentation

make handling of form parameters more uniform

replaced YUI dnd by HTML5 dnd and therefor removed need of YUI in candidate_box_select.

candidate_box_select uses now clear distinction between internal representations and labels (as in options).

form-field of "form_page" uses now item-refs as internal representation since this relatively friendly to

clipboard movements and supports elements from different folders (which was previously broken).

    • -240
    • +0
    ./www/resources/yui-selection-area.js
file selection-area.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/selection-area.js
Further performance improvement: as we only want one column from xowiki_form_page, just get it through a subquery

xowiki_form_instance_item_view performance improvement: do not join with dummy cr_text table, use lateral on Postgres to better guide the query planner

Fix properly import/export in a way that, as we did before, context_id of imported objects will use cr_items default, the parent_id

xowiki_form_instance_item_view reform: retrieve the context_id from the cr_item, rather than from the cr_revision

Rationale: revision's context_id is always set to its item_id. This will make every fetched ORM object appear as its context_id = item_id, while item's acs_object will display the correct context_id (in most cases, its parent)

Keep previous behavior of ignoring the context_id when exporting/importing xowiki objects now that this metadata would be persisted

prefer absolut object references over ids

- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 19 more files in changeset.
Make sure init test classes are named differently, or xowiki tests will interfere with xowf ones

  1. … 1 more file in changeset.
- Update jquery to 3.4.0

- provide URNs for jquery-ui

- bump fallback-version of bootstrap to 3.4.1 (used, when the bootstrap3 theme is not installed)

    • -0
    • +10588
    ./www/resources/jquery/jquery-3.4.0.js
    • -0
    • +2
    ./www/resources/jquery/jquery-3.4.0.min.js
    • -0
    • +1311
    ./www/resources/jquery/jquery-ui.css
    • -0
    • +18706
    ./www/resources/jquery/jquery-ui.js
    • -0
    • +13
    ./www/resources/jquery/jquery-ui.min.js
file jquery-3.4.0.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-3.4.0.js
file jquery-ui.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-ui.min.js
file jquery-ui.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-ui.js
file jquery-ui.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-ui.css
file jquery-3.4.0.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-3.4.0.min.js
provide proper error messages in case invalid sorting criteria are passed to table widgets

improve handling in error cases

update to newer testing interface