• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use apm_package_installed_p to guard dependent code

- improve robustness for initial installs

  1. … 1 more file in changeset.
- optional performance boost for site-nodes:

the site-node code contains an optional performance booster,

that speeds up site-node operations froma factor of 2 to

several thousand times. The performance boost ist just

available for the time being for PostgreSQL, XOTcl2 and

NaviServer and is only activated, when these componentes

are available.

- bump version numbers

  1. … 4 more files in changeset.
- revert escaped change

- fix for issue #3250

  1. … 1 more file in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- fix invalid @param declaration for API browser

  1. … 5 more files in changeset.
- fix for bug #3069

- brace while expressions

- don't use expr within while expression

- use numeric comparison for truth values

- normalize string expressions

  1. … 9 more files in changeset.
- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- modernize tcl

  1. … 9 more files in changeset.
- replace deprecated "site_node_closest_ancestor_package" by "site_node::closest_ancestor_package"

fixing broken site_node::conn_url see: http://openacs.org/forums/message-view?message_id=3653550

In case deleting the package instance throws an error we need to restore the site_nodes cache for the given node_id.

Avoiding the usage of tcl arrays for the partial manipulation of the site_node's cache. Instead we manipulate the cache directly with the nsv_* api. This speeds up updating the cache considerably ( except the case of updating the cache usign the node_id of the main subsite ).

- normalize string expressions

  1. … 3 more files in changeset.
adding site_node::conn_url which adjusts ns_conn url output depending on if connection is via main domain or a site host_node.

Support one or more package_keys in site_node::get_children. This let's you find all subsite candidate packages using [subsite::package_keys]. Also useful when you want to find any packages that extend another package.

Preliminary version of "extend package" code, along with new package

attributes that allow the declaration of packages that are subsites.

  1. … 29 more files in changeset.
Removed malte's broken site node caching code. If you want to fix it, the

version before this has the broken code (look at get_from_url).

  1. … 3 more files in changeset.
Got rid of malte's broken site node lazy caching code. Someone should make

lazy caching work someday...

  1. … 3 more files in changeset.
Fix for previous commit. The objec might not exist in the cache

Made sure to not append the URL twice

The admin in the subsite list has provided problems.

Replacing a db_foreach with a tcl foreach loop of a db_list_of_lists because you can run out of db pools if site_node::update_cache is called in the loop for too many parent nodes

Fixed problem with mutex locking up the site when we needed to update the parent

Remove ds_comment

Fixed an issue with two identical entries in site_node_url_by_object_id

Made sure that we preload the non acs-subsite packages mounted under root

If you add www. to the hostname it should still work with the hostename based node mapping

  1. … 1 more file in changeset.