• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
move permission cache create to *init.tcl

    • -0
    • +20
    ./tcl/acs-permissions-init.tcl
switch back to previous code based on sec_generate_session_id_cookie to fix persistent logins

permission check reform (part 2): provide a separate cache for permission checking

    • -78
    • +167
    ./tcl/acs-permissions-procs.tcl
permission check reform (part 1): provide API for permission cache

  1. … 14 more files in changeset.
Avoid double encoding when content is in the same encoding as that of tcl interpreter

Whitespace changes

Fix typos

Fix typo

Whitespace cleanup

fix for issue #3348

Whitespace cleanup

Simplify code: set defaults for proc parameters, which are de facto optional, avoiding unnecesary existence checks.

  1. … 2 more files in changeset.
whitespace changes

remove unused private function acs_object_type::acs_object_instance_of

fix broken API function acs_object_type::get_table_name (broken since 13 years) and use API instead of direct SQL queries

  1. … 5 more files in changeset.
Put redundant query definition into generic ones

    • -14
    • +0
    ./tcl/apm-install-procs-postgresql.xql
Close select properly

Reuse existing api and streamline queries to reduce divergency between oracle and postgres codebase

Allow themeing of /packages/acs-tcl/lib/complain

make code more robust, when connection is already closed

improve spelling

  1. … 4 more files in changeset.
Wording

Re-enabling sec_change_user_auth_token as a mean to invalidate login for a user immediately on every connected client

For reference, see discussions in:

- https://openacs.org/forums/message-view?message_id=1691183

- https://openacs.org/forums/message-view?message_id=5392475

fix documentation (fix for #3345)

add missing version dependencies for antonio's recent changes concering user info API

  1. … 5 more files in changeset.
make indentation regular

Employ new user cache also for portrait information

Don't cache invalid user ids, as they might become valid shortly after (e.g. during registration)

flag current request as being performed via aa_testing

Use API when retrieving user info