• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Crosscutting reform to ease configurability of xo* applications

acs-admin

- Provide support for site-wide packages

Site-wide packages can be used to provide a common

place for site-wide admins to configure application packages

and for testing purposes. These packages are mounted

on a special subsite (named "site-die") under acs-admin/

to avoid confusions for end-users of the site.

The site-wide subsite can be used as well for creating testing

instances or for other testing purposes.

- bump version number to 5.10.0d9

xotcl-core

- Added support for site-wide packages.

Packages can define, how site-wide packages

should be configured

- Changed Package-level procs into instprocs

of the meta-class. This way, generic code can be

provided for common handling across packages.

This effects:

- configure_fresh_instance

- get_site_wide_page

- import_prototype_page

- lookup_side_wide_page

- require_site_wide_info

- require_site_wide_pages

- bump version number to 5.10.0d24

xowiki

- provide configurable configuration info for new packages

(including site-wide packages)

- search for prototype pages along inheritance path

- moved Parameter.page prototype here

- added "table-of-contents" prototype page

- perform refactoring due to moving methods to the

meta-class

- reduce usage of anonymous arrays

- bump version number to 5.10.0d49

xowf

- simplify apm callback and use new infrastructure

- provide configurable configuration info for new packages

(including site-wide packages)

- bump version number to 5.10.0d14

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