• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
use transaction to avoid duplicate key conflicts

reduce verbosity and modernize code

  1. … 2 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. … 3 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.
add "parent_id" to the list of excluded vars in "copy_content_vars" (as suggested by KM)

modernize code: use resolver variables rather than method calls

  1. … 14 more files in changeset.
remove xotcl-1 idioms

prefer access to instance variable via name resolver when appropriate

- provide a better fix for name disambiguation between folders and same named (language prefixed) pages

- extend regression test

  1. … 2 more files in changeset.
use glyphicons for file types in file listings (e.g. child-resources)

  1. … 3 more files in changeset.
use same idioms for checking for exising commands

  1. … 5 more files in changeset.
white-space cleanup

  1. … 2 more files in changeset.
make renaming logic more clear

xowiki_form_instance_item_view reform: get object creation metadata from the item, instead than from the revision

  1. … 2 more files in changeset.
Don't complain when the context_id is not there to be ignored

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

  1. … 5 more files in changeset.
Further performance improvement: as we only want one column from xowiki_form_page, just get it through a subquery

  1. … 2 more files in changeset.
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

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

  1. … 2 more files in changeset.
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

  1. … 15 more files in changeset.
- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 33 more files in changeset.
remove .SELF. prefix also in link_info dict

fix typo in anonymous array

Code was meant to check existance of the field in the dict

distinguish between dicts item_ref_info and link_info in create_link (fixes degression after change from anonymous array to dict)

fix name of called proc, add warnings to raise awareness

  1. … 1 more file in changeset.
close potential return vector via "data:*" URLs

  1. … 2 more files in changeset.
Fix typo