• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
After further consideration, ns_absoluteurl is actually sufficient to preform location header completion on its own and does not need a wrapper utility

  1. … 3 more files in changeset.
Introduce util::complete_location

This utility is meant to require the value of the Location header in an HTTP response to be completed vith the host coming from a reference complete URL, which is normally that of the redirected request.

It is intended for use in the context of HTTP client APIs, where we want to handle server responses affected by https://www.rfc-editor.org/rfc/rfc7231#section-7.1.2

  1. … 3 more files in changeset.
reduced number of external dependencies

fixed typo

Cleanup of external binaries: always use "util::which" to resolve binaries

Background: it is important to always use the same binaries of some

programs. This is important for security reasons, consistency, and

configurability (some operating systems have read-only file systems,

which might be on the path and should be avoided for some operations).

  1. … 3 more files in changeset.
Also exclude unchecked checkboxes, the same as radio buttons, from the dictb entries returned from reading the form

Fixes xowiki.create_form_with_form_instance automated test

improved spelling

  1. … 2 more files in changeset.
Removed untested and unmaintained code

    • -15
    • +0
    ./test/acs-automated-testing-procs.tcl
  1. … 4 more files in changeset.
Test optional external command dependencies

    • -0
    • +15
    ./test/acs-automated-testing-procs.tcl
improve spelling

  1. … 9 more files in changeset.
Document public api

Streamline idiom

acs::test::visualize_control_chars

    • -0
    • +16
    ./test/acs-automated-testing-procs.tcl
Deprecate twt::user::create and twt::user::delete, superseded by their acs::test::user:: counterparts

  1. … 11 more files in changeset.
Claim additional coverage

    • -0
    • +1
    ./test/acs-automated-testing-procs.tcl
Deprecate twt::server_url, superseded by acs::test::url

  1. … 3 more files in changeset.
Centralize retrieval of the test URL

  1. … 5 more files in changeset.
Deprecate old api

Increase proc coverage

    • -0
    • +84
    ./test/acs-automated-testing-procs.tcl
Improve acs::test::form_reply so that when the attributes of a file upload (*.tmpfile or *.content-type) are part of the update argument, it will switch automatically to a multipart request and implement a "real" file upload

This is important on newer NaviServer versions that will reject any *.tmpfile parameter in a request that was not produced internally after a file upload

  1. … 1 more file in changeset.
acs::test::user::delete: added flag -delete_created_acs_objects and fix regression test for file-storage

  1. … 4 more files in changeset.
For web interface testing, add authorization headers

The change eases testing of packages that are based on HTTP Basic

Authorization. When email and password are provided for the test user

if the HTTP request, an Authorization header is added now

automatically.

Bumped version number to 5.10.1d1

  1. … 1 more file in changeset.
provide better error messages in case dom parsing fails during test

Fix the test, which was not actually reproducing the issue

in order to do so, I had to fix the behavior of acs::test::xpath::get_form_values: we should in fact NOT extract the value of disabled formfield, as a real browser will not send them in the POST request.

  1. … 1 more file in changeset.
differentiate between directly and indirectly covered API calls to make output pages easier to interprete

  1. … 3 more files in changeset.
Do not consider unchecked radio buttons as form values, or when an unselected radio exists, the last value will might be picked

Fixes xowiki.create_form_with_form_instance, breaks xowf.create_test_items

Add explicit level to uplevel occurrences

improve spelling

  1. … 42 more files in changeset.
make spelling more consistent

- support var args for "aa_log_result" like for "ns_log" and "ad_log"

- make form parsing via xpath more robust

(don't assume, every INPUT has a name, allthough it should)