gustafn in OpenACS

move permission cache create to *init.tcl

    • -0
    • +20
    /openacs-4/packages/acs-tcl/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

permission check reform (part 1): provide API for permission cache

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
    • -3
    • +3
    /openacs-4/packages/dotlrn/dotlrn.info
modernize .adp files

base TreePartitionedCache on PartitionedCache, reduce verbosity

- Implemented TreePartitionedCache (to allow patter flushes on partitions)

- use xo::Cache on more occasions

- bump version numbers of xowiki to 5.10.0d12 and xotcl-core to 5.10.0d9

    • -129
    • +130
    /openacs-4/packages/xotcl-core/tcl/cr-procs.tcl
    • -4
    • +4
    /openacs-4/packages/xowiki/xowiki.info
    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -6
    • +1
    /openacs-4/packages/xowiki/www/admin/test.tcl
provided partitioned cache class

- extend implementaton of xo::Cache to support "eval" and "set" method

- use numeric keys for xotcl_object_cache

- bump version numbers of xowiki to 5.10.0d11 and xotcl-core to 5.10.0d8

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -5
    • +5
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
use more appropriate status codes for error messages

    • -7
    • +2
    /openacs-4/packages/chat/www/ajax/chat.tcl
introduce cache abstraction to centralize caching logic

    • -6
    • +6
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Take folder-specific content out of xotcl_object_type_cache to improve scalability on high load websites.

Bump version number of xowiki to 5.10.0d10 and on xotcl-core to 5.10.0d7

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
don't drop constraints, but fix it.

    • -2
    • +2
    /openacs-4/packages/news/www/item-create-3.tcl
    • -2
    • +2
    /openacs-4/packages/news/www/preview.tcl
fix for issue #3348

fix example in documentation and small code cleanup

align comment to implementation; be more explicit on optional/default values

new feature: offer swa the ability to view compiled template

remove empty, unused, privated function acs_reference_get_db_structure

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

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
remove outdated file, maintained version of the code is in the function apm_build_repository

remove dead code

whitespace cleanup

mark required parameters as required. Fixes issue #3347

whitespace cleanup

Use subst instead of string quoting to improve readability (syntax highlighting)

Drop -postgresql.xql for "create_table" since there is no -oracle.xql and the -postgresql.xql is identical to inline code.

make code more robust, when connection is already closed

remove unreferences and broken files depending on data model changed more than 10 years ago

fix adp expressions