• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Recommend and use 'person::name' instead of 'acs_user::get_element ... -name' in deprecated proc

    • -4
    • +4
    /openacs-4/packages/dotlrn/tcl/dotlrn-procs.tcl
Put get_by_username in the proper cache, handle cases when we delete a user that was not in the cache (in this case we could not retrieve authority and username after deletion)

Prefer 'person::name' to 'acs_user::get_element ... -name'

Remove hotfix and exploit new api, that won't fail on the guest user

Fix typo

Unify person update api, exploit cache better and remove unneded queries

No need to check as now person::name won't fail

Fix expression

Remove leftover files

Parties api had procs defined in both acs-subsite and acs-tcl and sometimes duplicated

- move all party:: api into acs-tcl/tcl/community-core-procs

- remove duplicated definitions

- move leftover deprecated proc to deprecated-procs.tcl

set lang::system::get_locales to per-thead cache as indicated

Use finer grained api for user name

    • -3
    • +5
    /openacs-4/packages/chat/tcl/chat-procs.tcl
Use finer grained api for person information and consider that new api won't fail when no person exists

Use finer grained api in different if branches

Use finer grained person:: api to retrieve the name

    • -1
    • +1
    /openacs-4/packages/forums/www/user-history.adp
    • -5
    • +3
    /openacs-4/packages/forums/www/user-history.tcl
Use new fine grained api for the screen name

fix typo

cache system locales in a per-thread cache

use per default 2 partitions for xowiki cache

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Remove hotfix and use new user api

Remove user hotfix and replace with new api (which won't fail for non-registered users)

Prefer on-spot api for user-only info

Prefer on-spot api as it is quicker

Remove changes not meant to be committed

Fix conflict leftovers

acs_user::get will not fail anymore with non-existing user

Prefer person-only api to generic user one as is quicker and now properly cached

Prefer on-spot api rather than full-blown acs_user::get

Prefer new, properly cached api

Use person api, which is properly cached and now won't fail anymore with non-existing users, but will just return an empty string