• last updated 10 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Fix documentation

Fix documentation (complete list of array fields)

Remove duplicate column

it seems, that "-ulevel" is used more often than "-level"

use "-level" instead of "-ulevel", since "-level" is used e.g. in

template::util::multirow_to_list or template::util::list_of_ns_sets_to_multirow

as well.