• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Trailing whitespace cleanup

Add automated test for 'ad_decode' and 'util::interval_pretty' procs. Many thanks to Hanifa Hasan

Add automated test for the 'apm_version_names_compare' proc. Many thanks to Hanifa Hasan

Add automated test for the 'ad_color_to_hex' proc. Many thanks to Hanifa Hasan

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

    • -0
    • +0
    ./test/widget-test-procs.tcl
Add new proc 'util::content_size_pretty', to prettify data size given in bytes, and its automated tests.

It supports both binary and decimal representations, a resolution up to YB/YiB, and setting the precision via parameter.

It should replace ad-hoc size prettyfication done manually in several places of the codebase.

replace hardcoded /tmp by API function [ad_tmpdir]

  1. … 9 more files in changeset.
Mark value checking functions from before ad_page_contract as deprecated

(see also issue #3407)

A 16 years old comment says:

This is some old security crud from before we had ad_page_contract

check_for_form_variable_naughtiness

ad_var_type_check_integer_p

ad_var_type_check_safefilename_p

ad_var_type_check_dirname_p

ad_var_type_check_number_p

ad_var_type_check_word_p

ad_var_type_check_nocheck_p

ad_var_type_check_noquote_p

ad_var_type_check_integerlist_p

added ns_asynclogfile to icanuse features

Fix proc 'before-ns_log' (ns_log can be invoked with multiple args)

Fix proc 'before-ns_log' (ns_log can be invoked with multiple args)

use same idioms for checking for exising commands

  1. … 4 more files in changeset.
new feature: 00-canisue-procs: generalization for feature testing in OpenACS installations

  1. … 1 more file in changeset.
file 00-canisue-procs.tcl was initially added on branch oacs-5-10.

improve spelling

use always acs::permission_cache eval instead of code before acs-cache-procs.tcl

fix for issue #3406: honor PermissionCacheTimeout

Make sure files exist

No need to rollback as we don't touch the db

Add an extra use case when UTF-8 encoding is stated explicitly

Expand the test about util::http and json

Basic tests for util::http:: JSON encoding behavior

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

    • -0
    • +0
    ./test/http-client-procs.tcl
Fix ad_generate_random_string

Whitespace changes

Explain better why is not easy to get rid of this library

Give a proper documentation to xml_* api

security fix for OSes with case-insensitive file systems

security fix for OSes with case-insensitive file systems

reduce verbosity