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

    • -4
    • +10
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +23
    /openacs-4/packages/xowiki/tcl/resource-init.tcl
    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
file xowiki-bootstrap3-specific.css was initially added on branch oacs-5-10.

file xowiki-yui-specific.css was initially added on branch oacs-5-10.

improve wording for clipboard entries in menubar pulldown

break long lines

    • -2
    • +6
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
improve comments and indentation

make handling of form parameters more uniform

    • -5
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
template::add_event_listener: use more compact form in most simple cases

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).

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

Further performance improvement: as we only want one column from xowiki_form_page, just get it through a subquery

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -5
    • +5
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
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

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -5
    • +34
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
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

    • -10
    • +5
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
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)

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Keep previous behavior of ignoring the context_id when exporting/importing xowiki objects now that this metadata would be persisted

    • -1
    • +11
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Fix documentation (complete list of array fields)

Fix documentation (without a trailing slash, a redirect will happen, which transforms the POST into a GET request, which then will not be processed)

    • -2
    • +2
    /openacs-4/packages/xml-rpc/www/doc/index.adp
prefer absolut object references over ids

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -10
    • +11
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
    • -6
    • +6
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -10
    • +10
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
prefer package object over plain id

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/atjob-procs.tcl
    • -11
    • +12
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
prefer package object over plain id

removed commented out code

    • -17
    • +11
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Pass object_id to the include UI, make the include contract clear

- modernize code (remove "my")

- prefer fully qualified commands based on IDs

    • -32
    • +32
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -19
    • +19
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
    • -31
    • +34
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -36
    • +36
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
  1. … 19 more files in changeset.
- modernize code (remove "my")

- modernize code (remove "my")

fix for issue #3395

Wrap upleveled command in a list statement to make number of arguments clear

Fix documentation

Do not require uuid package anymore

Use ns_uuid Naviserver command instead of uuid::uuid generate from tcllib: apparently, this can interact badly with clock localized formatting, leading to the "GREGORIAN_CHANGE_DATE" issue

add missing ad_script_abort