• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
rework of ad_decode

- modernize code

- improve performance

- extend regression test

  1. … 1 more file in changeset.
Comment out test on WIP feature

Test exposing a suboptimal behavior: when we try to resolve the query via db_qd_get_fullname inside of OO code, a warning is generated

file acs-db-00-procs.tcl was initially added on branch oacs-5-10.

Fix quote_unquote_html test

Make ad_html_security_check configurable

ad_html_security_check has now three optional attributes

to make it configurable for different situations

-allowed_tags

-allowed_attributes

-allowed_protocols

If these attributes are not specified, the behavior is exactly like

before. This change makes it also easier to regression test this

function, since the behavior does not necessarily depend on a site's

parameter settings.

The function was also modernized, new regression tests were added.

  1. … 1 more file in changeset.
update questionable test slightly

util::file_content_check: new utility for checking content of a file

Check whether the provided file is of the requested type.

This function is more robust and protable than relying on

external programs and their output, but it does not work on

all possible file types. It checks a few common cases that

could lead to problems otherwise, like when uploading archives.

Bump version to 5.10.1d9

  1. … 2 more files in changeset.
minor changes: don't complain about postgres internal constraint names, provide hints for oversizing

more cases, use same testing idiom for permissions everywhere, break overlong lines

fix test cases

improve spelling

  1. … 2 more files in changeset.
extend tests and pinpoint essesntials

Minimize and corrrect test: strings containing the null character are expected to fail when fed to the DBMS, even when quoted

New automated test

file db-quoting-test.txt was initially added on branch oacs-5-10.

    • -0
    • +0
    ./data/db-quoting-test.txt
extend test cases

ease tracking of warnings of check_deprecated test

This change actually needs the newest api-doc, but we can't add the cyclic dependency

switch to new lintian typo dictionary, adapted to the new format

    • -7673
    • +590
    ./doc-check-procs-common-typos.txt
Test util::split_location and util::join_location

Stick to packages that are enabled

  1. … 1 more file in changeset.
Use the intended table to get packages that are known to the system

  1. … 1 more file in changeset.
Implement automated test for apm_package_load_libraries_order

file apm-procs.tcl was initially added on branch oacs-5-10.

fix broken util::word_diff and add regression test

The function was already broken before the change of today,

removing the needed for a pipe open.

  1. … 1 more file in changeset.
extend tests for naturalnum

stick to the original names with the "-" since this is also the naming convention outside of OpenACS (e.g. "scram-sha-256")

  1. … 7 more files in changeset.
Test for ad_register_proc exposing a bug due to missing argument expansion

file request-processor-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./request-processor-procs.tcl
fix header generation

since the headers are set in a loop, "ns_set put" is incorrect

since it is additive. "ns_set update" is correct.