• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make comments more uniform

    • -3
    • +3
    ./packages/xowiki/tcl/includelet-procs.tcl
provide a less confusing name for new methodm improve comments

    • -9
    • +9
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -3
    • +5
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
Fix typo in comment

    • -5
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
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

    • -1
    • +29
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -10
    • +5
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
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'

Add 'validate_integer' test case, covering 'template::data::validate' and 'template::data::validate::integer'

Make package_id explicit

Add 'validate_email' test case, covering 'template::data::validate' and 'template::data::validate::email'

Make some tests production_safe

Add 'validate_boolean' test case, covering 'template::data::validate' and 'template::data::validate::boolean'

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

    • -0
    • +0
    ./packages/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'

Add 'acs_subsite_application_group_new' test case, covering 'application_group::new' and 'application_group::delete'

Add 'acs_subsite_rel_type_roles' test case, covering 'rel_types::create_role' and 'rel_types::create_role'

fixed undefined parent_obj for stronly synchronous exams

    • -4
    • +7
    ./packages/xowf/tcl/test-item-procs.tcl
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'

Extend 'category_tree_procs' test case with 'category::relation::add_meta_category' and 'category::relation::get_meta_categories'

    • -1
    • +22
    ./packages/categories/tcl/test/categories-procs.tcl
set default grading scheme to "wi1p" instead of "wi1"

    • -1
    • +1
    ./packages/xowf/tcl/test-item-procs.tcl
Extend 'category_tree_procs' test case with 'category::change_parent'

    • -1
    • +13
    ./packages/categories/tcl/test/categories-procs.tcl