• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix regression in 'if_no_rows' idiom for db_foreach, document alternative syntax, create a test for db_foreach main functionalities

  1. … 1 more file in changeset.
perform javascript escaping with more regular semantics

  1. … 1 more file in changeset.
Introduce new ad_js_escape with the purpose of sanitizing tcl strings used inside javascript code from escape sequences and from quotes in particular and provide some test cases

TODO: consider its usage into templates when e.g. we are putting a URL into javascript functions such as acs_ListBulkActionClick. URLs might in fact contain single and double quotes.

  1. … 1 more file in changeset.
Proc "util_get_subset_missing": make sure to return the found elements.

Added test case for this proc.

  1. … 1 more file in changeset.
Make test locale-aware

- fix caching bug, when urls are retrieved via object_ids, and packages are unmounted

- make code more robust

- extend regression tests

  1. … 1 more file in changeset.
whitespace cleanup

fix name of tested procs

correct the name of the tested proc

Create a full subsite instead of just a node, or the context bar will ignore it, then consider localization in the test

Consider localization when testing the context bar

improving ad_html_to_text:

- handle src specs with "data:" (skip data)

- handle anchors with empty hrefs and internal links by not adding these to the text rendering

- add test cases to regression test

  1. … 1 more file in changeset.
extend regression test

Provide tests for public procs: min and max

Provide tests for public procs: util_escape_quotes_for_csv

Provide tests for public procs: util_commify_number

Refactor test case for util_absolute_path_p

Provide tests for public procs: util_complete_url_p

Provide tests for public procs: util_absolute_path_p

Provide tests for public procs: util::trim_leading_zeros

Whitespace changes

Mention explicitly the tested procs in the test cases.

note, that change_state_member tests checks implicitly as well membership_rel::change_state

set error-level to warning for documentation__check_proc_testcase (similar to datamodel__named_constraints)

Add 'documentation__check_proc_testcase' test, for checking public procs without test cases. Many thanks to Monika Andergassen.

fix for redirect-to-secure, when SuppressHttpPort is set

This changes as well:

- improve symmetry security::get_insecure_location and security::get_secure_location

- add regression test to cover basic cases

- bumb version number of acs-tcl to 5.10.0d19

    • -0
    • +52
    ./location-procs.tcl
  1. … 2 more files in changeset.
improve source code documentation of ad_html_qualify_links and add test cases

  1. … 1 more file in changeset.
prefer acs:test functions over twt

prefer acs::test::user::create over twt variant

improve spelling

  1. … 6 more files in changeset.