• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file apm-install-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/apm-install-procs.tcl
Fix typo

Generalized "version_dir" handling a little for download specs

The problem was that bootstrap5 uses a version directory, which

consists of the version plus an extra string element. The previous

version assumed that the version is always used as a directory name.

Whe track now the versionDir information in the resource_info dict and

use this, when available (otherwise the version number is used as before).

The resource_info dict contains now the following path components:

# Provide paths for loading either via /resources/ or CDN

#

# "resourceDir" is the absolute path in the filesystem

# "resourceUrl" is the URL path provided to the request processor

# "versionDir" is the version-specific element both in the

# URL and in the filesystem.

#

bumped acs-tcl to 5.10.1d19

fix several bugs in "acs_object_type::supertype" and improve code sanity

    • -8
    • +8
    ./tcl/object-type-procs-postgresql.xql
    • -1
    • +10
    ./tcl/test/object-test-case-procs.tcl
Replace not portable sql idiom with existing api, improve caching, extend regression test

    • -1
    • +19
    ./tcl/test/object-test-case-procs.tcl
whitespace fixes

Quick fix for problems with recursive query for type hierarchy on openacs.org

On OpenACS.org, the types for object_type in acs_objects and acs_object_types differs,

leading to a hard error in PostgreSQL. This is just a quick fix, the proper

fix is to investigate, why the types differ (other sites might be as well

affected by this) and to provide a proper update script.

Furthermore, the query is not Oracle compliant.

fix testcase as indicated by hector, extend regression test

Extend 'db__db_foreach' test case, exposing a regression in 'db_foreach' with an uneven number of columns

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.

Update italian localization

    • -0
    • +1
    ./catalog/acs-tcl.it_IT.ISO-8859-1.xml
Improve api robustness and test it

    • -1
    • +52
    ./tcl/test/object-test-case-procs.tcl
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

Add missing message key

    • -0
    • +1
    ./catalog/acs-tcl.en_US.ISO-8859-1.xml
Export message keys from the UI to normalize sorting and quoting

    • -29
    • +21
    ./catalog/acs-tcl.en_US.ISO-8859-1.xml
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

    • -0
    • +10
    ./tcl/test/tcl-documentation-procs.tcl
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.

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

    • -0
    • +0
    ./tcl/test/tcl-documentation-procs.tcl
Fix array format in message keys

See acs-lang.message__format automated test, where the expected behavior of lang::message::format is documented

    • -4
    • +4
    ./catalog/acs-tcl.de_DE.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.en_US.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.es_ES.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.gl_ES.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.it_IT.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.nl_NL.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.nl_ZA.ISO-8859-1.xml
    • -4
    • +4
    ./catalog/acs-tcl.pt_BR.ISO-8859-1.xml