• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added memory units to default values

deactivate useless warning

Improved db-functions db_list_of_nssets, db_list_of_lists, and db_foreach

These versions were developed in the conjunction with the NaviServer

ns_set reform. Especially ns_list_of_lists is improved, since it

avoids duplication of the data. This is especially important, when

queries return huge amount of data.

Improve api robustness and test it

Cache api per request

Don't append an extra empty string to the form command when we are dealing with flags (that have therefore no value)

Fixes regression from https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20220331163354, because now we treat flags properly

Fix typo

Provide a default value for the filter

New ad_page_contract filter object_type

Rhis can enforce an object id to not only be formally correct, but also to be an object of a specific type. It can also be used as a simple existance check

Fix query name

Update documentation

Improve test

Collect common definition of an argspec flag in a proc to improve clarity

Introduce a new clock ad_page_contract filter:

this filter enforces that a datestring belongs to one of the clock formats specified in the argspec. By default, this will be %Y-%m-%d.

Cleanup

ad_page/include_contract argspec parsing reform: allow arbitrary characters in the argspec flag parameters

This reform allows to specify an argspec containing pipes, parenthesys and other so far forbidden characters as parameters for a flag. The purpose is to enhance the expressiveness of existing validators (e.g. the oneof validator) and enable new one, for instance, a date validator using a clock format as parameter.

Pipes and parenthesys need to be escaped via the backslash character in the new syntax.

    • -0
    • +112
    ./test/tcl-documentation-procs.tcl
file tcl-documentation-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./test/tcl-documentation-procs.tcl
provide compatibility with tdom 0.9.3

Add @see to deprecated procs

Add @see to deprecated procs

Add @see to deprecated procs

Add @see to deprecated procs

Deprecate ad_apply, made obsolete in modern Tcl by the expansion operator "{*}"

  1. … 4 more files in changeset.
Handle upcoming tDOM 0.9.3

This might need some further rethinking

provided a default value for udp:// requests

added ADP:ICON to the list of accepted tags (for new instances)

  1. … 1 more file in changeset.
Make api public

security::cookie_name: since this is used in acs-lang, it has to be public

Added dynamic cluster configuration checking

- handle cases, where not all cluster nodes are available at startup

time (this is a problem for docker, since the IP addresses will not

be available as well)

- handle dynamic changing of configuration variables

- refactored code

- new methods "acs::Cluster register_nodes" and

"acs::Cluster refresh_blueprint" (called regulary via scheduled

procedure, running every minute)

file cluster-procs.tcl was initially added on branch oacs-5-10.