dotlrn-security-procs.tcl

  • last updated 4 hours ago
Constraints
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.
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.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 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.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 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.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040712 and jcd-merge-5-1-20040724 to HEAD

  1. … 138 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040628 and jcd-merge-5-1-20040712 to HEAD

  1. … 116 more files in changeset.
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.
Fixed bug #421: Added -- in front of arg in call to util_text_to_url

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.
change because underscore proc only takes two arguments now, localizing more texts in UI, using message keys for the role names in the database

  1. … 31 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.
copyright OpenForce -> MIT

  1. … 546 more files in changeset.
added an operation to the dotlrn_applet service contract. the operation's name

is ChangeEventHandler and is usually implemented by change_event_handler

method in the dotlrn_applet implementation. dotLRN can throw events based on

changes to a community via the dotlrn_community::generate_change_event method.

currently the only event being thrown and handled is the 'rename' event. this

event is thrown when the name of a community is changed. the only applets that

currently listen for this event are dotlrn_fs, dotlrn_forums, and

dotlrn_calendar.

applets do not have to handle all events, only events they are interested in

handling.

we will add events on an as needed basis.

  1. … 51 more files in changeset.
new users can be added as dotlrn_externals now

  1. … 2 more files in changeset.
sync proc defs and usage (hopefully)

  1. … 24 more files in changeset.
removing access_level column, it is the equivalent of the dotlrn_browse permission

  1. … 26 more files in changeset.
limited access users update

  1. … 5 more files in changeset.
1. Added add_portlet/remove_portlet calls that accept portal_id as a param,

so that we can call this code from within the applet itself (e.g. add_user_to_community)

and be called directly so that we can create portal templates.

2. Infrastructure for applet cloning

3. New portal types system in dotlrn which replaces dummy_comm_p

4. Minor fixes to portal configuration, dotlrn-static

5. renamed add_element_or_append_id and remove_element_or_remove_id to

add_element_parameters and remove_element_parameters respectively

  1. … 76 more files in changeset.
defaulting ID to email address; made ID column 200 chars instead of 100

  1. … 1 more file in changeset.
fixed user-add

  1. … 3 more files in changeset.
started clone code. fixed bug in and improved 'check_community_key_valid_p'. improved key generation. minor portal UI fixes

  1. … 3 more files in changeset.
minor fixes

  1. … 2 more files in changeset.
standardized portal::add_element_to_region and portal::add_element procs to take page_name instead of page_id; standardized add_self_to_page calls

  1. … 54 more files in changeset.
Big checkin. All portal elements tcl and sql have been cleaned up. cleaned up portal api's. still incomplete

  1. … 76 more files in changeset.
removed anything pertaining to user's portals for a community, we don't support that anymore; renamed sql files

  1. … 131 more files in changeset.
access level is now a column in dotlrn_user_profile_rels, not a separate rel; so all the limited vs full rel stuff was removed and replaced by this simpler system

  1. … 49 more files in changeset.