• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer api to retrieve csp nonce, as it performs useful existance checks

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

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

Port "The Secret XoWiki Tests" to acs-automated-testing

A level of abstraction for test operations was already put in place, which was sufficient to plug to aa_* api

file xowiki-admin-tests-procs.tcl was initially added on branch oacs-5-10.

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

Fix typo in example in comment

Fix typo in package key

Port leftover after-instantiate callback to the "new standard" so that it can comply with OpenACS naming convention

Add doc for public procs

Reduce divergency between oracle and postgres codebase

Whitespace cleanup

Qualify 'callback' proc in the global namespace, lest it might conflict with 'subsite::callback'

Use portable sql idioms

    • -1
    • +1
    /openacs-4/packages/search/tcl/search-procs.xql
Whitespace cleanup

    • -60
    • +60
    /openacs-4/packages/acs-tcl/tcl/apm-procs.xql
Reduce divergency between oracle and postgres codebase

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

Whitespace cleanup

Reduce divergency between oracle and postgres codebase

Use fully-qualified api names

Indentation changes

Deprecate obsolete api

No need to explicitly delete reading info, as both oracle and postgres define the reference constraint as on delete cascade

Use fully-qualified api names

Use fully-qualified api names, assume message is there (something went very wrong otherwise)