• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add 'validate_currency' test case, covering 'template::data::validate' and 'template::data::validate::currency'

Break overlong lines

Whitespace changes

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

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

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

Add 'validate_enumeration' test case, covering 'template::data::validate' and 'template::data::validate::checkbox_enumeration'

Extend 'validate_text' test case and reduce code duplication

Extend 'validate_search' test case with 'template::data::validate::party_search'

Add 'validate_checkbox_text' test case, covering 'template::data::validate' and 'template::data::validate::checkbox_text'

Add 'validate_file' test case, covering 'template::data::validate' and 'template::data::validate::file'

Add 'validate_search' test case, covering 'template::data::validate' and 'template::data::validate::search'

added test case for form field validation

improve spelling

make comments more uniform

provide a less confusing name for new methodm improve comments

Fix typo in comment

Implement reset_to_default method to reset formfields in case of validation error

the current behavior of this method is currently a no-op for every formfield, except files, where we want to make sure the value has been reset. We also handle the case now of compound fields, as they might be compounds of file formfields

Extend 'validate_date' with 'template::data::validate::time_of_day'

Add 'util_negative' test case, covering 'template::util::negative'

Add 'validate_date' test case, covering 'template::data::validate', 'template::data::validate::date' and 'template::data::validate::timestamp'

Add 'validate_url_element' test case, covering 'template::data::validate' and 'template::data::validate::url_element'

Add 'validate_url' test case, covering 'template::data::validate' and 'template::data::validate::url'

Add 'validate_filename' test case, covering 'template::data::validate' and 'template::data::validate::filename'

Add 'validate_keyword' test case, covering 'template::data::validate' and 'template::data::validate::keyword'

Add 'validate_string' test case, covering 'template::data::validate' and 'template::data::validate::string'

Add 'validate_text' test case, covering 'template::data::validate' and 'template::data::validate::text'

Add 'validate_number' test case, covering 'template::data::validate' and 'template::data::validate::number'

Add 'validate_float' test case, covering 'template::data::validate' and 'template::data::validate::float'

Add 'validate_naturalnum' test case, covering 'template::data::validate' and 'template::data::validate::naturalnum'