• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ensure to return package_id with a site-nodes entry in Package->first_instance

ensure to return package_id with a site-nodes entry in Package->first_instance

factor out new method: get_package_class_from_package_key

- support option "keep_cc" for "ConnectionContext require" and "Package initialize" to preserve the original connection context

  1. … 1 more file in changeset.
-update to version 0.100, compliant with xowiki 0.105

  1. … 24 more files in changeset.
- provide warnings for ::xo::Package instances, having no package_key specified (should be enforced in future versions)

- make sure that destroy_on_cleanup is called before init for package instance objects, such that it is not possible that an error in Package->init causes half-dead objects in memory

add permission checking to first_instance

- additional method for package hander: first_instance

  1. … 1 more file in changeset.
reduce verbosity, search for package_keys transitively

remove unneeded method

- make ::xo*::Package initialization more generic (depend on the package_key more than on the provided class name)

-add initialize method for better cross-package references

-add initialize method for better cross-package references

provide context for easier setting of return-urls. There was a problem

with internal redirects, which can be fixed by providing "original_url_and_query"

in package initialize

  1. … 1 more file in changeset.
remove debug output

new additional per-package parameter force_refresh_login

move return_page and reply_to_user to general package definition to make it resuable in other packages,

provide to Package methods "invoke" and "error_msg" optional non positional arguments to control the

behavior in error cases better, especially when xowiki pages are included

  1. … 1 more file in changeset.
make code more robust when run under scheduled procs

  1. … 1 more file in changeset.
new parameter management

    • -0
    • +173
    ./06-package-procs.tcl
  1. … 5 more files in changeset.