• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add session_id invalidation

treat behind_secure_proxy_p like security::secure_conn_p for useing secure cookies in general and for the secure login cookie

use secure token when running behind a secure proxy the same way as when running directly a secure session

Don't trust value of login_level just on basis of the session cookie

modernize exception handling: use proper try/throw instead of swallowing "catch"

call sec_login_handler instead of just sec_generate_session_id_cookie, since otherwise, cryptographically valid session cookie could be used without a ad_login_cookie

prefer https over http on request going to openacs.org

  1. … 3 more files in changeset.
- fix caching bug, when urls are retrieved via object_ids, and packages are unmounted

- make code more robust

- extend regression tests

    • -11
    • +106
    ./tcl/test/site-nodes-test-procs.tcl
Comment out mapping of resources to the theme package while deciding if this is really the way to go

Allow to make other (non .adp) kinds of resources "theme aware" and use this to provide a theme mapping to the /resources/ URL pattern, then use this new capability to allow the override of css in the chat implementations

  1. … 2 more files in changeset.
use "partition_name" rather than "partions_name" as variable name

CVS: ----------------------------------------------------------------------

whitespace changes

  1. … 1 more file in changeset.
whitespace changes

improve documentation

    • -14
    • +13
    ./tcl/navigation-callback-procs.tcl
fix the value which is used for the partition_key during flush_cache operation

Provide member_state to page member-state-change, as this parameter is required since http://fisheye.openacs.org/browse/OpenACS/openacs-4/packages/acs-admin/www/users/member-state-change.tcl?r1=1.17.2.5&r2=1.17.2.6

Specify the timeout value on the wait command as well and avoid unneeded conversion

reduced locking on parititoned chaches: return always the same Tcl_Obj as cache name rather than creating it always new, which prohibit caching in the Tcl_Obj

add metering for "ns_proxy get" operation

fix scope for variable scope

simplfy index expressions, strengthen input value checking

improve spelling

  1. … 11 more files in changeset.
whitespace cleanup

    • -61
    • +61
    ./tcl/test/site-nodes-test-procs.tcl
    • -77
    • +77
    ./tcl/test/community-core-test-procs.tcl
    • -79
    • +79
    ./tcl/test/datamodel-test-procs.tcl
    • -36
    • +36
    ./tcl/test/html-conversion-procs.tcl
    • -97
    • +97
    ./tcl/test/object-test-case-procs.tcl
    • -28
    • +28
    ./tcl/test/openacs-kernel-procs.tcl
    • -47
    • +47
    ./tcl/test/test-membership-rel-procs.tcl
    • -47
    • +47
    ./tcl/test/test-set-cookie-procs.tcl
    • -36
    • +36
    ./tcl/test/whos-online-procs.tcl
fix name of tested procs

improve comment

correct the name of the tested proc

fix error message: The variable "result" is not set in error cases

remove obsolete comment

improve Oracle compatibility

make handling of session_ids more robust (necessary for user-switching feature)