• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add an exception for the operators implemented as procs in the context of the functional programming logic, on 'acs-tcl/tcl/ad-functional-procs.tcl', to the 'naming__proc_naming' test case. While some of them have names that are not compliant with OpenACS naming conventions, like '-' or '/', replacing them with other symbols is non-trivial and could make things more confusing

Add an exception for the 'dom' proc, defined in tDom, to the 'naming__proc_naming' test case

Add an exception for procs defined inside ns/aolserver modules, such as h264*, on the 'naming__proc_naming' test case

fix typo - deprecated proc should be defined with the old naming convention

Prefer api to retrieve csp nonce, as it performs useful existance checks

  1. … 5 more files in changeset.
Trim trailing ? to normalize -base URL, if variables are there to be exported, the question mark will be added properly

Introduce two new export_vars tests exposing that, when base URL ends with a ?, result is not what the user should expect

Relax the test by enforcing the locale from the system, rather than that from the client context

Satisfy acs-tcl.postman_echo test case for curl http client implementation:

as with curl we always spool the body of requests into a file, we need to convert to the proper encoding even when this is already that of the system

Improve test results visibility

Fix util_http_json_encoding automated test:

- fix typo

- make sure file is spooled when sampling GET request by setting max body size to 0

Whitespace cleanup

Whitespace cleanup

Reintroduce :num_count variable in postgres query, as for oracle counterpart (for postgres, 15 was hardcoded)

Notes:

- :num_count comes from a parameter, defaulting to 100, instead of 15

- postgres 9.5 introduced table sampling, similar to what oracle does (but with different syntax)

- this postgres query would be portable, except for random()... maybe the random value could come from tcl...

Reduce divergency between oracle and postgres codebase

    • -24
    • +0
    ./site-node-object-map-procs-oracle.xql
    • -18
    • +0
    ./site-node-object-map-procs-postgresql.xql
fix for issue #3434

improve spelling

improve handling of invalid characters

white space changes, improve line breaks

Extend automated test to include also '::xowiki::Package initialize -ad_doc' idiom as a possible way to define a page contract

This has the limitation that the idiom is searched as-is... but works for upstream code

address issue #3433: add option "noquote" for the "inform" widget type

The flag is currently ignored for all other widget types

  1. … 2 more files in changeset.
Deprecate with_finally and with_catch, superseded by e.g. try idioms in tcl 8.6

They would also not comply with OpenACS naming convention

  1. … 4 more files in changeset.
Fix typo

Rename string_truncate and string_truncate_middle to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

As string_truncate_middle was defined in xotcl-request-monitor, bring it to acs-tcl instead

    • -28
    • +28
    ./test/html-conversion-procs.tcl
  1. … 10 more files in changeset.
Whitespace cleanup

Rename ReturnHeaders proc to comply with OpenACS naming convention, create deprecated wrapper, replace occurrences

  1. … 9 more files in changeset.
Rename proc remove_nulls_from_ns_set to comply with OpenACS naming convention, create deprecated wrapper

remove openacs-kernel-procs.tcl due to its misleading name and integrate its procs to the other utility procs

whitespace cleanup

avoid output of duplicate lines when an empty input line is encountered (many thanks to Franz Penz for the fix)