• last updated 16 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)

    • -2
    • +6
    ./packages/dotlrn/tcl/applets-procs.tcl
    • -63
    • +100
    ./packages/dotlrn/tcl/community-procs.tcl
    • -2
    • +9
    ./packages/dotlrn/tcl/community-procs.xql
    • -3
    • +32
    ./packages/dotlrn/tcl/dotlrn-init.tcl
    • -7
    • +22
    ./packages/dotlrn/tcl/dotlrn-procs.tcl
    • -0
    • +8
    ./packages/dotlrn/tcl/dotlrn-procs.xql
    • -2
    • +4
    ./packages/dotlrn/tcl/user-type-procs.tcl
    • -3
    • +1
    ./packages/dotlrn/www/member-add-3.tcl
    • -4
    • +1
    ./packages/dotlrn/www/spam-policy-toggle.tcl
Trailing space cleanup

    • -23
    • +23
    ./packages/acs-tcl/tcl/whos-online-procs.tcl
Whitespace changes

    • -206
    • +206
    ./packages/acs-tcl/tcl/widgets-procs.tcl
Fix typos in proc doc

    • -5
    • +5
    ./packages/acs-tcl/tcl/widgets-procs.tcl
    • -4
    • +4
    ./packages/acs-tcl/tcl/whos-online-procs.tcl
Better separate data from formatting

Provide tests for public procs: min and max

    • -0
    • +25
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Normalize indentation

    • -19
    • +19
    ./packages/chat/tcl/chat-ajax-procs.tcl
Decouple a bit formatting from data

    • -0
    • +48
    ./packages/chat/www/ajax/chat.adp
Give templating a chance

move all hardcoded styling to the adp template, which might be styled by the theme. Also, biring some order in the login proc, e.g. don't open and read a file to include a javascript all the time.

    • -64
    • +59
    ./packages/chat/tcl/chat-ajax-procs.tcl
    • -0
    • +17
    ./packages/chat/www/ajax-chat-script.adp
Provide tests for public procs: util_escape_quotes_for_csv

    • -0
    • +17
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Provide tests for public procs: util_commify_number

    • -1
    • +30
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Whitespace changes

Fix typos

Modernize XoTcl idioms

    • -5
    • +5
    ./packages/chat/tcl/chat-ajax-procs.tcl
Refactor test case for util_absolute_path_p

    • -6
    • +14
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Provide tests for public procs: util_complete_url_p

    • -0
    • +25
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Fix doc typo

    • -2
    • +2
    ./packages/acs-tcl/tcl/utilities-procs.tcl
Provide tests for public procs: util_absolute_path_p

    • -0
    • +18
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Provide tests for public procs: util::trim_leading_zeros

    • -0
    • +24
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Trailing space cleanup

Whitespace changes

    • -102
    • +101
    ./packages/file-storage/www/file-add.tcl
    • -84
    • +83
    ./packages/file-storage/www/folder-add.tcl
Fix typos and wording.

    • -2
    • +2
    ./packages/file-storage/www/folder-add.tcl
Whitespace changes

Fix typos and wording

Remove broken comment + Whitespace changes

    • -489
    • +484
    ./packages/acs-subsite/tcl/attribute-procs.tcl
Fix proc doc typo

    • -2
    • +2
    ./packages/acs-subsite/tcl/attribute-procs.tcl
Add editor hints + Whitespace cleanup

    • -18
    • +24
    ./packages/xml-rpc/tcl/test/xml-rpc-test-procs.tcl
Mention explicitly the tested procs in the test cases.

    • -9
    • +38
    ./packages/xml-rpc/tcl/test/xml-rpc-test-procs.tcl
Mention explicitly the tested procs in the test cases.

    • -7
    • +9
    ./packages/news/tcl/test/news-test-procs.tcl
Whitespace changes