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

Replace array idiom -> dict idiom (port from downstream)

add a comment easier to understand by the casual reader

  1. … 1 more file in changeset.
Fix doc

Make requiring of a test package instance more generic: the plan is to use it in other contexts

  1. … 1 more file in changeset.
Require an extra xowiki instance for test shenanigans

Use the xowiki namespace

Cleanup irrelevant comment

Fix typos

remove .SELF. prefix also in link_info dict