• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Small update for cluster support

- Improved visualization of cluster nodes that we lost contact to

- New kernel parameters to reduce hard-coded values and to make purpose more explicit

* new parameter ClusterHeartbeatInterval (default 20s),

was hardcoded before to the new default value

* renamed PreferredLocationRegexp -> ClusterPreferredLocationRegexp

* renamed EnableLoggingP -> ClusterEnableLoggingP

- Bumped version numbers:

* acs-kernel to 5.10.1b3

* acs-tcl to 5.10.1b2

* acs-admin to 5.10.1b2

acs-kernel acs-admin acs-tcl/

  1. … 6 more files in changeset.
improved spelling

cluster setup: use qualified location as well for the local host

added new flag to util::join_location to avoid removing the default port

this addresses the bug reported by Jonathan Kelley in the openacs.org Q&A forum

provide qualified_location for incoming join requests

Many thanks for Jonathan Kelley reporting this problem

When using ad_dom_sanitize_html to validate markup, treat failure to parse as a normal validation failure, rather than an error

db_multirow: fall back to -local behavior, when used outside of an ADP file

The old behavior was, that when "db_multirow" was called outside an ADP

environment, an error was generated, since the uplevel was determined

without the "-local" flag by [template::adp_level]. Outside ADP,

the result of the function is empty, leading to an error that

a level "#" is invalid. Depending on an optional flag is strange

for a "db_*" command.

Now, the default behavior outside ADP file is local (i.e., when

calling outside ADP, the output variables are set in the calling

scope, unless a different "upvar_level" is specified).

remove encoding switching command

the command was there for the deactivated test "exec_binary_input".

The way, how encoding switching was performed, was unreliable,

since the nruns value of the proxy might expire between the

switching commands. If this is really necessary, a different solution

has to be designed

use "ns_set stats" when available in memory statistics of ::xo::stats

  1. … 1 more file in changeset.
Make URLs assumed to be hosted on openacs.org absolute

  1. … 3 more files in changeset.
Flushing the cache completely is actually the right thing to do if we want to be more robust to cache pollution: see e.g. executing acs-authentication and acs-tcl automated tests during the same request

For consistency with other apis, cache the updated parameter value immediately and return it

Flush the cache only

this will behave as before, because specifying -delete will supersede all other flags and -set would not be applied.

Improve test for singleton package parameters (aka instance parameters of singleton packages):

- do not choose a parameter at random, test them all instead

- do not test for global parameters. For those, the api will behave differently

- do not test for parameters coming from the configuration file. The parameter::* api does not allow to manipulate those

- do not check for packages that are not mounted. A value would not be found for those

    • -45
    • +73
    ./test/apm-parameter-test-procs.tcl
added standard parameterizations for Argon2 when supported.

  1. … 1 more file in changeset.
added support for icanuse "ns_crypto::scrypt"

it looks as if this was lost over time

add one more sample

fix typo

skip "-url" in "export_vars -url" since it is the default

  1. … 8 more files in changeset.
improve spelling

  1. … 2 more files in changeset.
reduce verbosity

Prefer ns_base64encode where we already require modern NaviServer

Disable tests to check for executables on the system

  1. … 6 more files in changeset.
improved documentation and whitespace changes

improve spelling

Document public api

refactor login cookie handling

The old code required repeated execption handlers.

Now, these exception handlers are on one place, and

users of sec_login_read_cookie can rely that a dict

is returned

added exception handler for sec_login_get_external_registry

This is necessary for cases, where no login cookie exists

call directly ns_getform

revert escaped changes