• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for issue #3442 to support range types in .xql files

PostgreSQL supports range types since 9.5. When using range types,

square braces have to be used in SQL statements. Since OpenACS uses

always Tcl substitution in .xql files, and OpenACS does NOT allow

backslash substitution in these files, square brackets could not be

escaped and therefore not be used in .xql files so far. This change

allows now a developer to deactivate the substitution by passing

e.g. "-subst none" to the db_* command using the .xql file. Valid

values for "-subst" are "all", "none", "vars", and "commands", default

is "all" which is exactly the behavior of before. Therefore, this

change is fully backward compatible.

  1. … 3 more files in changeset.
mark private functions as private

  1. … 7 more files in changeset.
Flush also the threaded cache whenever we flush the permission cache, so that one does not need to call this private api directly

Do not invoke service contract implementations directly, use the public interface

provide a flushing interface to apm_package_id cache to avoid the need to call the uncached code directly

  1. … 1 more file in changeset.
Reinstate proc as private, remove dependency to such proc in external package

  1. … 2 more files in changeset.
make clear from the name that db_qd_prepare_queryfile_content is intended to be used in different packages

  1. … 2 more files in changeset.
Whitespace cleanup

Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 3 more files in changeset.
Make api deprecated, complies with acs-api-browser.graph__bad_calls automated test

Make api deprecated, complies with acs-api-browser.graph__bad_calls automated test

Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 3 more files in changeset.
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 1 more file in changeset.
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 3 more files in changeset.
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 2 more files in changeset.
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 2 more files in changeset.
Make length greater than 0 in 'ad_pad' test case

remove protection "private", since function has to be called from other packages

  1. … 4 more files in changeset.
improve listing of test coverage

  1. … 1 more file in changeset.
mark functions called only internally as private

  1. … 12 more files in changeset.
mark unused functions as deprecated

improve comment

make use of built-in reverse proxy mode of newer versions of NaviServer

don't load deprecated code unless explicitly required

deprecate unused and untested code

prefer ns_dbquotevalue over db_quote, mark latter as deprecated

  1. … 3 more files in changeset.
mark functions as private

improve listing of test coverage

  1. … 15 more files in changeset.
reduce verbosity

improve listing of test coverage

  1. … 8 more files in changeset.