• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- don't force db-query for every unknown parameter request

  1. … 1 more file in changeset.
- site_node::get_url_from_object_id returns in general a list; make sure to take the first element if only one expected

  1. … 4 more files in changeset.
- deactivate per-thread caching of CrClass get_name and get_parent_id until we get rid of the "folder object" in xowiki

  1. … 1 more file in changeset.
- provide proper query-names for db_* interface

  1. … 8 more files in changeset.
- some refactoring:

moved ::xo::db::CrClass->require_folder to ::xo::Package->require_root_folder

and simplified it significantly

- new method :xo::db::CrFolder ad_proc register_content_types

- ::xo::db::CrFolder ad_instproc save_new

registers content types, if allowed_content_types are specified

- ::xo::db::CrFolder instproc delete: don't call UI-stuff from the library

- bump version number to let other packages depend on it

  1. … 2 more files in changeset.
- handle unmounted packages in Package require

- aditional package parameter to NslogRedirector to control the redirector behavior (adding/removing/level).

- bump version to 106

  1. … 3 more files in changeset.
- improve parameter handling

  1. … 2 more files in changeset.
set pacakge_id from sitenode only, when package_id == 0

  1. … 1 more file in changeset.
improve ability to run outside of a connection thread

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