• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
whitespace changes

  1. … 3 more files in changeset.
fixes for links to folders of different package instances:

- when resolve_local is used, fetch the correct index page, when target folder has an index page defined

- when resolve_local is used, avoid potential resolving loop

various code improvements:

- improve comments

- use better variable names

- remove dead code

- Package.lookup: make it am ad_instproc and make clear, it returns an integer

  1. … 2 more files in changeset.
improve comment

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. … 15 more files in changeset.
Do not add the language prefix when the lookup already found exactly the page we were trying to reference (complies with current automated tests)

reduce verbosity

add safety belt and hint for pretty_link invocations with unknown target pages

Comment log statement: found_id might not be an object by the time this code is executed

add page p0 to regression test, provide more logging

  1. … 1 more file in changeset.
reduce verbosity

reduce verbosity

improve spelling

don't allow any adressing outside the jail

whitespace changes

add "-nocache" to Package.get_paramter to support explicit refetching

- do not add a language prefix on links. This fixes now as well the old xowiki regression test

- omit language prefix on newborn pages: now, all openacs regression test for xowiki work cleanly

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

- extend regression test

  1. … 2 more files in changeset.
Keep the eventual language prefix in the name, as it is useful to distinguish e.g. pages from folders with the same name

improve configuratbility of make_form_link: support passing extra query parameters

add missing colon

new feature: add one-button copy action to folder listings

  1. … 6 more files in changeset.
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.
make handling of form parameters more uniform

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.
Replace array idiom -> dict idiom (port from downstream)

- document the web-callable methods

- separater test cases from test helper procs

  1. … 3 more files in changeset.
fix name of called proc, add warnings to raise awareness

  1. … 1 more file in changeset.