• last updated 2 hours ago
Constraints: committers
Constraints: files
Constraints: dates
dotlrn cache reform: move caching from util_memoize into three seperate caches to reduce stress on util_memoize.

These caches are:

- ::dotlrn::dotlrn_cache

Default general purpose cache for dotlrn-wide value (e.g. available applets, etc)

- ::dotlrn::dotlrn_user_cache

Partitioned cache for values specific to a user (e.g. personal_portal_id, theme_id, etc)

- ::dotlrn::dotlrn_community_cache

Partitioned cache for values specific to a community (e.g name, roles, portal_id, etc)

  1. … 11 more files in changeset.
Whitespace changes

  1. … 4 more files in changeset.
Fix proc doc errors detected by 'documentation__check_parameters'

  1. … 6 more files in changeset.
Recommend and use 'person::name' instead of 'acs_user::get_element ... -name' in deprecated proc

remove duplicated words

  1. … 9 more files in changeset.
stop using deprecated procs (site_node_delete_package_instance, site_node_id)

  1. … 1 more file in changeset.
Fix typos

  1. … 68 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- use $$ quoting in postgres SQL

- use name parameter for SQL functions

- provide compatility with pg9

- replace deprecated "acs_sc_call" by "acs_sc::invoke"

- replace deprecated "ad_maybe_redirect_for_registration" by "auth::require_login"

- brace expressions

- favor tcl-compilable string comparisons

- don't use numeric comparison operator for non-numeric arguments

- use numeric comparison operator for truth value comparisons

- use "in" or "ni" expression instead of "lsearch"

- bump version number to indicate compatibility with 5.8.1

  1. … 146 more files in changeset.
- fix sloppy pseudo-comments to silence automated testing

  1. … 8 more files in changeset.
Using site_node::* api instead of accesing the site_nodes array directly with nsv_array calls.

  1. … 1 more file in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
Deprecated dotlrn::get_user_name broke when user_id = 0

Deprecating dotlrn::get_user_name

Replaced dotlrn::get_user_name with a call to acs_user::get, because that proc is also cached, but the cache there is flushed correctly when the user changes his/her name

Default applets instance_name to package's pretty_name instead of package_key

  1. … 2 more files in changeset.
merging dotlrn-1-0-1 tag down onto head. Thanks to Jarkko Laine and Mohan Pakkurti for all the help. See comments at http://openacs.org/storage/download/index?version_id=104101

  1. … 121 more files in changeset.
merging the dotlrn-1-0 branch down onto HEAD (the trunk)

  1. … 200 more files in changeset.
making the dotlrn package (with its .adp, .info, and .tcl files) use the message catalog

  1. … 192 more files in changeset.
changed set_type_package_id to use named params

copyright OpenForce -> MIT

  1. … 546 more files in changeset.
fixed dotlrn::is_package_mounted to check if the package is mounted directly

under dotlrn, i.e. /dotlrn/bulk-mail, not

/dotlrn/classes/foo/bar/bar-summer-2002/bulk-mail. if any code depended on

this broken behaviour then that code will have to be fixed.

  1. … 1 more file in changeset.
adding back code wrongly removed from get_portal_id_from_type, that

was breaking class creation on both oracle and pg

fixed error when no value in db for param

some changes regarding dotlrn applets. the data model has changed. some other

small api changes. most of these api are not used.

  1. … 33 more files in changeset.
moved site_node::new_with_package to site_node_apm_integration::new_site_node_and_package

  1. … 3 more files in changeset.
more improvements to the site-node api

  1. … 17 more files in changeset.
the structure of a dotlrn site nodes is as follows:

foo community (dotlrn_community)

foo community (dotlrn package instance)

file-storage (package instance)

calendar (package instance)




added cloning support

  1. … 2 more files in changeset.
removing hardcoded links to /dotlrn, use dotlrn::get_url instead

  1. … 20 more files in changeset.