• last updated 2 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Localize error message

Use a better regexp to reimplement ad_looks_like_html_p, use the improved api to port downstream feature: an ad_form datatype validator that won't allow to insert markup

Many thanks to Günter Ernst

  1. … 1 more file in changeset.
Be stricter when validating widgets with restricted options: when no options are specified, treat it as automatic failure

Make sure widget variable exists for the element

Add multiselect to the widgets we check

Restrict new widget validation of options to select and radio, not every widget must restrict the values to the options property

Implement a hook for widget-specific validation and use it to enforce that widgets that specify a list of options must return a value that belongs to those options

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.
Whitespace changes

Fix clock check. The clock command will not fail on incorrect dates (e.g. 2021-13-00) unless the format is specified.

Whitespace changes

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
Throw an error instead of a warning when trying to use template::data::validate::oneof without having specifyed the parameter "-options" on the form element which should be validated.

improve documentation

  1. … 1 more file in changeset.
Added validation "oneof" to form element validations. It checks the user submitted value to be part of a predefined list of possible values of a form element. This is typically the case with widgets of type "select" or "multiselect".

Trailing whitespace cleanup

Quote form field values in validation error messages to prevent XSS attacks

  1. … 4 more files in changeset.
remove conditions, which are always true

  1. … 7 more files in changeset.
Fix typos

  1. … 34 more files in changeset.
Fix typos

  1. … 6 more files in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Introduced missing ad_library statement. Normalized overall library description.

  1. … 21 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- use consistently "naturalnum" instead of "integer" when accepting just positive values

  1. … 13 more files in changeset.
- remove needless quotes from numeric comparison

  1. … 1 more file in changeset.