• last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Declare proc coverage

  1. … 1 more file in changeset.
Make also sure the tmpfile from the widget exists beforehand, when validating: we don't want users to "explore" our tmpdir with bogus values that just look sane

  1. … 2 more files in changeset.
Revert to previous template::widget::file behavior of accepting input in a form of a list of 3 elements (e.g. without a .tmpfile in the request), but introduce validation so that we enforce all widget values to be in the proper format and the files to be "safe"

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

removed code factored out to the separate "captcha" package

  1. … 11 more files in changeset.
deactivate captcha test for the time being

Cleanup dummy commands and objects to avoid cross interactions between tests

  1. … 1 more file in changeset.
whitespace changes

revive delete regression test (was formerly in xowiki)

Fix test, the proc behaves as documented (and IMO, it should go away at some point)

New test for template::util::get_opts

This will expose a bug when an argument in an even position is specified that starts with a "-" character

Minor modernization

- use atomic stack operations to reduce locks and avoid race conditions

- improve spelling

- break overlong lines

- better align comments with actual code

  1. … 2 more files in changeset.
Drop the pointsize parameter, use size instead, yielding more predictable results across Imagemagik versions and more controllable in general, make the wavelength randomized in the distortion

  1. … 1 more file in changeset.
Deprecate template::util::tcl_to_sql_list, completely replaced by ns_dbquotelist, a native NaviServer command

  1. … 17 more files in changeset.
Improve test portability

Baseline test of captcha robustness: challenge the captcha using tesseract, also applying basic normalizations

Fix tests according to new behavior

Test newly introduced api

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

improve spelling

  1. … 42 more files in changeset.
Extend 'validate_url' test case

Unify URL checking, now that 'util_url_valid_p' accepts relative URLs. Extend 'validate_url' test case and bump package version for dependencies.

  1. … 2 more files in changeset.
Add 'get_url_directory' test case, covering 'template::util::get_url_directory'

Add 'nvl' test case, covering 'template::util::nvl'

Add 'number_list' test case, covering 'template::util::number_list'

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

Add 'validate_currency' test case, covering 'template::data::validate' and 'template::data::validate::currency'

Break overlong lines

Add 'validate_oneof' test case, covering 'template::data::validate' and 'template::data::validate::oneof'

Add 'validate_textdate' test case, covering 'template::data::validate' and 'template::data::validate::textdate'