• last updated 58 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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.
change notice to debug. add string_check_urlsafe

  1. … 1 more file in changeset.
has_children_p might not always exist

Fixed the site node lazy caching by applying different methods. Now let's hope that we are not having too many unnecessary trips to the database because of the url's location in /www or in /packages/acs-subsite/www

Implemented site node lazy caching. This will prevent the site from loading the whole site node at the startup but on demand

  1. … 3 more files in changeset.
provide a procedure to get the root_node_id and make it cached (as the root node_id will not change that easily without a restart)

  1. … 1 more file in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Allow context_id as an optional parameter to site_node::mount to allow

update if a package is moved to a different site_node.

Fix bug#2176, update context_id when remounting and unmounted package instance

  1. … 1 more file in changeset.
Added site_node::get_ancestors proc.