• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
perform also sitewide flushes for urspace based site-node cache

Revert escaped code

Fix default name

More work on refactoring and streamlining cluster infrastructure

- removed more cases of ad-hoc parsing of IP address and port

- reduced code redundancy

- fixed incorrect comments

- removed obsolete private functions server_cluster_httpget_from_peers

and server_cluster_do_httpget (replaced by acs::clusterwide)

    • -9
    • +12
    /openacs-4/packages/acs-tcl/tcl/cluster-init.tcl
Refactored and streamlined of cluster infrastructure

- base the API new new cluster infrastructure (including memoize-flush, server_cluster_peer_hosts, etc.)

- improved handling for multiple IP addresses and IPv6

- removed assumptions of local vs. global network drivers

- server_cluster_httpget_from_peers not used anymore

    • -19
    • +38
    /openacs-4/packages/acs-tcl/tcl/cluster-init.tcl
    • -1
    • +10
    /openacs-4/packages/acs-tcl/tcl/memoize-procs.tcl
Provide a default timeout of 5m to all ns_cache besed caches created via the acs-cache infrastructure

Background: in case, a db entry is to be cached, where the db query

does not finish (e.g. runs into a deadlock), subsequent attempts for

the same value will be blocked as well by the mutex protecting the

entry to be cached. Therefore, later requests to this entry might queue

up in the server. By providing a timeout, this mutex will terminate

latest when the timeout is reached.

The default value for the timeout is set to 5m. In case a certain

cache might issue requests running longer than this, the cache has

to be configured with a larger timeout value.

Use the test machinery to simulate a cookie authentication

improve spelling

reuse util::inline_svg_from_dot in show-object page

Inline sec_login_read_cookie, as it is a private api and would upset the bad calls test

Piggyback apidoc::tcl_to_html to an existing test and complete acs-api-browser api coverage

Test auth::verify_account_status and complete coverage of acs-authentication

Test auth::update_local_account

provide a fork-free implementation of dot rendering

rename newly introduced flag of form-usages from to "-allow_clipboard" to "-with_checkboxes"

Add auth::sync::job::get_authority_id to an existing test

Test auth::self_registration

Test auth::refresh_login

Cleanup code pasted twice by mistake

Additional flag for includelet "form-usages": -allow_clipboard true|false

This makes it possible to use the includelet also without bulk-actions

for adding/removing content to the clipboard by including the checkmarks

per table and by table row.

Bring more stuff into an existing test

Test for auth::get_user_id and the whole login attempts api

Document actual behavior

Test auth::get_user_id

Test auth::get_register_authority proc

Fix test name

Test auth::get_all_registration_elements

Test more public api

Fix order in expression

Test auth::can_admin_system_without_authority_p public api