• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

another tip 76 change for hardcoded acs-subsite

removed the remaining procs which were -deprecated -warn in 5.0 and fixed most occurances of those procs in the code

  1. … 43 more files in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
When local changes to the site map are made there's no need to update the

entire friggin' cache, which is an expensive operation on .LRN installations

with large numbers of classes and clubs, each of which mount a bunch of

packages.

site_node::get_children -all should be about 2-3x as fast which should be a win on installations with lots of site nodes (i.e. dotlrn)

Fixed a scalability problem in site_node::update_cache; fix merged in from 5.1 branch

Fixed a scalability problem in site_node::update_cache

Added a @see site_node::get_children in site_node::get_package_url, and

a description of when to use get_children.

Clarify that get_package_url returns the first URL if it is mounted in more

than one location.

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
empty_string_p fixes for head

  1. … 4 more files in changeset.
fix the very common error of calling empty_string_p with var instead of $var

  1. … 5 more files in changeset.
Fixed site_node::get_url_from_object_id slowness bug, plus added a similar mechanism to find URL by package_key.

Remerge Timo's changes for tip 42,43, cf tip 53

  1. … 97 more files in changeset.
rollback of Timo's name, package_id commit; see TIP 53

  1. … 96 more files in changeset.
TIP#42,43: adding package_id and title to acs_objects table

  1. … 96 more files in changeset.
merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 293 more files in changeset.
Fixed bug during install process: site_node::init_cache would error out, because there is no root node yet when it gets sourced from bootstrap-installer (via site-nodes-init)

Cleaner code

TODO comment

site_node::get_children - return element

populate site-nodes-cache by resolving urls in tcl instead of using the slow plsql

  1. … 6 more files in changeset.
Cleaned up site_node::closest_ancestor_package and test case

Deprecated site_node_closest_ancestor_package

  1. … 1 more file in changeset.