• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add 'validate_search' test case, covering 'template::data::validate' and 'template::data::validate::search'

    • -1
    • +24
    ./acs-templating/tcl/test/data-procs.tcl
added test case for form field validation

    • -38
    • +55
    ./xowiki/tcl/test/test-procs.tcl
    • -0
    • +128
    ./xowiki/tcl/test/xowiki-test-procs.tcl
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'

    • -6
    • +10
    ./acs-templating/tcl/test/data-procs.tcl
Add 'util_negative' test case, covering 'template::util::negative'

    • -1
    • +23
    ./acs-templating/tcl/test/date-procs.tcl
Add 'validate_date' test case, covering 'template::data::validate', 'template::data::validate::date' and 'template::data::validate::timestamp'

    • -1
    • +58
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_url_element' test case, covering 'template::data::validate' and 'template::data::validate::url_element'

    • -1
    • +39
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_url' test case, covering 'template::data::validate' and 'template::data::validate::url'

    • -1
    • +36
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_filename' test case, covering 'template::data::validate' and 'template::data::validate::filename'

    • -1
    • +28
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_keyword' test case, covering 'template::data::validate' and 'template::data::validate::keyword'

    • -1
    • +25
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_string' test case, covering 'template::data::validate' and 'template::data::validate::string'

    • -1
    • +24
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_text' test case, covering 'template::data::validate' and 'template::data::validate::text'

    • -3
    • +26
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_number' test case, covering 'template::data::validate' and 'template::data::validate::number'

    • -1
    • +25
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_float' test case, covering 'template::data::validate' and 'template::data::validate::float'

    • -1
    • +25
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_naturalnum' test case, covering 'template::data::validate' and 'template::data::validate::naturalnum'

    • -1
    • +26
    ./acs-templating/tcl/test/data-procs.tcl
Add 'validate_integer' test case, covering 'template::data::validate' and 'template::data::validate::integer'

    • -1
    • +24
    ./acs-templating/tcl/test/data-procs.tcl
Make package_id explicit

    • -2
    • +3
    ./acs-subsite/tcl/test/acs-subsite-procs.tcl
Add 'validate_email' test case, covering 'template::data::validate' and 'template::data::validate::email'

    • -1
    • +61
    ./acs-templating/tcl/test/data-procs.tcl
Make some tests production_safe

    • -12
    • +18
    ./acs-templating/tcl/test/parse-test-procs.tcl
    • -5
    • +11
    ./acs-templating/tcl/test/date-procs.tcl
Add 'validate_boolean' test case, covering 'template::data::validate' and 'template::data::validate::boolean'

    • -0
    • +37
    ./acs-templating/tcl/test/data-procs.tcl
file data-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-templating/tcl/test/data-procs.tcl
Add 'acs_subsite_rel_segment_new' test case, covering 'rel_segment::new', 'rel_segment::delete' and 'group::get_rel_segment'

    • -1
    • +42
    ./acs-subsite/tcl/test/acs-subsite-procs.tcl
Add 'acs_subsite_application_group_new' test case, covering 'application_group::new' and 'application_group::delete'

    • -1
    • +31
    ./acs-subsite/tcl/test/acs-subsite-procs.tcl
Add 'acs_subsite_rel_type_roles' test case, covering 'rel_types::create_role' and 'rel_types::create_role'

    • -1
    • +37
    ./acs-subsite/tcl/test/acs-subsite-procs.tcl
fixed undefined parent_obj for stronly synchronous exams

Add 'acs_subsite_relation_procs' test case, covering 'relation_add', 'relation_remove', 'relation::get_object_one', 'relation::get_object_two', 'relation::get_objects' and 'relation::get_id'

    • -1
    • +77
    ./acs-subsite/tcl/test/acs-subsite-procs.tcl