• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
set error-level to warning for documentation__check_proc_testcase (similar to datamodel__named_constraints)

don't be so quick on phasing out deprecated code

add flag "-suppress_port" to util::configured_location

fix bug with SuppressHttpPort on admin/index page of acs-subsite

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

  1. … 2 more files in changeset.
Deprecate util_search_list_of_lists, as since Tcl 8.5 its behavior can be achieved natively through lsearch

Move image::get_info together with its pals procs in the content repository... just to realize it should probably go away at some point

  1. … 1 more file in changeset.
Add 'documentation__check_proc_testcase' test, for checking public procs without test cases. Many thanks to Monika Andergassen.

fix for redirect-to-secure, when SuppressHttpPort is set

This changes as well:

- improve symmetry security::get_insecure_location and security::get_secure_location

- add regression test to cover basic cases

- bumb version number of acs-tcl to 5.10.0d19

    • -0
    • +52
    ./tcl/test/location-procs.tcl
bug fix: Do not return a location with a port, when SuppressHttpPort is set

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

improve documentation of ad_conn a little

use util_current_location instead of ad_url in ad_html_qualify_links to provide a proper default also on host-node mapped subsites

provide a "see also" link from ad_conn to util_current_location

improve documentation: mention host-node map behavior

improve documentation

fix typos

use consistently "nocase" in all substitution in ad_html_qualify_links

reduce verbosity

improve source code documentation of ad_html_qualify_links and add test cases

make function usable in situations without an active connection

make function usable in situations, where a location based on ad_url is incorrect (e.g. host-node mapped subsites)

fix indentation and regular expression

fix cache_key name for node_id in flush_cache

Fix dict expression (many thanks to Markus Moser)

Whitespace cleanup

Fix typo

scalability improvement: don't force a conversion of the string to a list (for sites, having e.g. several 10k sub nodes on a site node)

on one site, this change reduces the overall processing time of a requests from ~16-20ms to ~4ms

Let max_depth behave as specified (0 disables redirection). Many thanks to Markus Moser

Removed obsolete @arch-tag

  1. … 29 more files in changeset.
prefer acs:test functions over twt

prefer acs::test::user::create over twt variant

    • -75
    • +76
    ./tcl/test/test-permissions-procs.tcl
prefer ns_cache_get over ns_cache_keys