• last updated 19 hours ago
Constraints: committers
Constraints: files
Constraints: dates
add item shuffling for test item procs and do some minor refactoring

  1. … 7 more files in changeset.
avoiding picking up arbitary content as site_wide xo* pages

provide "-lang" to toplevel "resolve_page" to reduce verbosity

prevent double encoding of utf8 chars in links

still not sure, what the best way is, but for current situation,

this fixs potentially broken links

- Address issue #3374: improve "make_link", when a page is

passed in as an object, and NO "link" is provided.

Previously, the current url was used as a base_link, now "pretty_link"

of the object is used. This is particularly necessary, when folders

are used.

NOTICE: this is a potential incompatibility (found however no case in xowiki/xowf)

where the old behavior was expected.

- the argument "method" is now optional (useful, when no method should be invoked)

- improved documentation

- updates of message keys

  1. … 4 more files in changeset.
thighten parameter checking to valid classes

improve comments, add dprecated warning

  1. … 1 more file in changeset.
  1. … 4 more files in changeset.
improve input validaton on query variables

  1. … 7 more files in changeset.
improve comment

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