• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added more TODOs to half-finished (?) function subsite::pivot_root

fix error, when application is added

Safety belt so users cannot change URL of the main subsite from the UI

use styled elements instead of hard-wired images

whitespace changes

use consistently xowiki.css variants based on the preferred CSS toolkit

Make sure package_id is set on transcripts also when flushing messages every day

Chat reform:

- use consistently package_id to model belonging of a chat object to a particular package instead of the context_id

- set context_id to the package_id, as was already the case in practice, for permission checking

- make sure package_id exists and set it to the context_id in case it doesn't to handle legacy installations

make selection_area CSP compliant

    • -32
    • +40
    ./xowiki/tcl/form-field-procs.tcl
    • -3
    • +3
    ./xowiki/www/resources/selection-area.js
reduce verbosity

Fix documentation

    • -2
    • +2
    ./acs-tcl/tcl/membership-rel-procs.tcl
white-space cleanup

    • -4
    • +11
    ./xowiki/www/resources/selection-area.js
Improve robustness against "foreign" dnd operations

(when e.g. other, non-related elements on a web-site are dnd enabled and dragged into

a dnd-list)

white-space cleanup

    • -70
    • +77
    ./xowiki/www/resources/listdnd.js
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)

    • -19
    • +37
    ./xowiki/tcl/includelet-procs.tcl
    • -0
    • +157
    ./xowiki/www/resources/listdnd.js
file listdnd.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./xowiki/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

    • -17
    • +22
    ./xowiki/tcl/xowiki-www-procs.tcl
file xowiki-bootstrap3-specific.css was initially added on branch oacs-5-10.

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

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

break long lines

improve comments and indentation

    • -6
    • +21
    ./xowiki/tcl/xowiki-utility-procs.tcl
make handling of form parameters more uniform

template::add_event_listener: use more compact form in most simple cases

    • -5
    • +10
    ./acs-templating/tcl/head-procs.tcl
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).

    • -60
    • +99
    ./xowiki/tcl/form-field-procs.tcl
    • -0
    • +62
    ./xowiki/www/resources/selection-area.js
file selection-area.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./xowiki/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