• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
provide better recovery from internal redirects, where ::ad_conn is not available

more more fix for issue #3441

As Keith reported, there is was one more issue concerning missing column_names and empty query results. This is now as well fixed in oacs-5-10. Also, the regression test was extended to handle these cases as well.

improve loading times and blueprint size, when acs-automated testing is deactivated

For details, see: https://openacs.org/forums/message-view?message_id=5452350

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

  1. … 1 more file in changeset.
fix typo

provide better handling of deactivated packages

don't depend on the node-id cache, which is only available, when xotcl-core is loaded

  1. … 2 more files in changeset.
file acs-cache-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/acs-cache-init.tcl
fix for issue #3441

acs::per_request_cache: standardize per-request caching

- added per-request cache verfsy similar to acs::per_thread_cache

- use per-request-cache on several occasions

- bump version number of acs-tcl to 5.10.0d35

  1. … 4 more files in changeset.
use dot instead of colon as separator between package name and cache key to ease readability

  1. … 6 more files in changeset.
acs::per_thread_cache: standardize per-thread caching

- added per-thread cache based on namespaced Tcl variables.

- use per-thread-cache on several occasions

- bump version number of acs-tcl to 5.10.0d34

  1. … 9 more files in changeset.
fix ugly typo

make minus sign optional again

fix typos

Make number checking more strict (allow just number literals, which are OK for Tcl and SQL)

    • -10
    • +16
    ./tcl/tcl-documentation-procs.tcl
move ad_get_host_node_map and security-locations-host-names from db_cache_pool to partitioned cache

  1. … 2 more files in changeset.
no need to provide separate hash method, which hinders actually for the hashkey partitioned cache

fix for issue #3437, extend regression test

move code pieces around to centralize concerns

improve wording

fix for issue #3438

fix for issue #3440: problem with SQL queries in db_transactions after some db_multirows

the was a problem with with db_handle management in complex setups,

where a db_multirow iterating over more than one tuple causes

some other queries in the transaction to fail. See as well

the new test case added to the regression test.

Many thanks to Keith Paskett for reporting and the good test case!

https://openacs.org/bugtracker/openacs/bug?format=table&bug_number=3440

    • -131
    • +152
    ./tcl/01-database-procs.tcl
    • -0
    • +102
    ./tcl/test/db-proc-test-procs.tcl
file db-proc-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/db-proc-test-procs.tcl
update comments concering CSP "report-to" directive

improve documentation

provide compatibility function ns_dbquotelist, which is available in newer versions of NaviServer

fix broken dict

delete cut&pate error

added per-thread caching for "static" sitenotes. In case these will change (never saw a system where this happend), either a broadcast flush or a restart is needed.

extend icanuse cases