• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ad_form: allow multiple files in 'template::widget::file' by using the 'multiple' attribute of the input tag, new on HTML5.

- Pass the 'multiple' flag to 'template::element::create', so it can be used by widgets to modify their behavior.

- Update 'template::element::create' doc.

- This opens the door to reducing the number of widgets by combining single and multivalued ones into one (for instance, 'multiselect' and 'select' widgets), in the same way the 'file' widget does now.

    • -2
    • +12
    ./packages/acs-templating/tcl/widget-procs.tcl
improve comments and linebreaks

    • -2
    • +3
    ./packages/xotcl-core/tcl/06-package-procs.tcl
    • -2
    • +3
    ./packages/xotcl-core/tcl/policy-procs.tcl
modernize code: use resolver variables rather than method calls

    • -8
    • +8
    ./packages/xotcl-core/tcl/05-db-procs.tcl
    • -28
    • +28
    ./packages/xotcl-core/tcl/30-widget-procs.tcl
    • -2
    • +2
    ./packages/xotcl-core/tcl/bgdelivery-procs.tcl
    • -3
    • +3
    ./packages/xotcl-core/tcl/context-procs.tcl
    • -3
    • +3
    ./packages/xotcl-core/tcl/cr-procs.tcl
    • -5
    • +5
    ./packages/xotcl-core/tcl/generic-procs.tcl
modernize code: use resolver variables rather than method calls

    • -2
    • +2
    ./packages/xowiki/tcl/bootstrap-procs.tcl
    • -4
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/includelet-procs.tcl
    • -1
    • +1
    ./packages/xowiki/tcl/repeat-procs.tcl
    • -1
    • +1
    ./packages/xowiki/tcl/syndicate-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/weblog-procs.tcl
    • -40
    • +40
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -4
    • +4
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
    • -17
    • +17
    ./packages/xowf/lib/online-exam-answer.wf
    • -18
    • +18
    ./packages/xowf/lib/online-exam.wf
    • -4
    • +4
    ./packages/xowf/tcl/test-item-procs.tcl
    • -19
    • +15
    ./packages/xowf/tcl/xowf-procs.tcl
fix typo

    • -2
    • +2
    ./packages/xowiki/tcl/form-field-procs.tcl
add "blob" to the checked attributes

    • -2
    • +2
    ./packages/acs-tcl/tcl/text-html-procs.tcl
remove xotcl-core specific per-request caching, since acs-tcl performs nowadays as well per-request caching on permissions

    • -11
    • +7
    ./packages/xotcl-core/tcl/context-procs.tcl
fix typos

enforce the system locale for the resolver test

replace anonymous array by Tcl dicts

    • -19
    • +27
    ./packages/xowiki/tcl/form-field-procs.tcl
reduce XOTcl 1.* idioms

    • -4
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
modernize code: use resolver variables rather than method calls

    • -59
    • +56
    ./packages/xowiki/tcl/link-procs.tcl
extend test cases

add safety belt and hint for pretty_link invocations with unknown target pages

    • -1
    • +12
    ./packages/xowiki/tcl/package-procs.tcl
remove xotcl-1 idioms

    • -9
    • +10
    ./packages/xowiki/tcl/xowiki-procs.tcl
fix potential confusion for test cases: make sure, the provided name and nls_language are aligned

    • -2
    • +7
    ./packages/xowiki/tcl/test/test-procs.tcl
add checking for javascript and data protocols (fixes issue #3413)

    • -0
    • +1
    ./packages/acs-tcl/tcl/00-canisue-procs.tcl
    • -1
    • +7
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
    • -5
    • +7
    ./packages/acs-tcl/tcl/text-html-procs.tcl
fix broken test cases

    • -2
    • +2
    ./packages/acs-tcl/tcl/test/location-procs.tcl
make debugging line more meaningful

    • -3
    • +3
    ./packages/acs-tcl/tcl/security-procs.tcl
Adapt proc doc to implementation, as we are dealing with files in general, instead of only images.

Comment log statement: found_id might not be an object by the time this code is executed

    • -3
    • +3
    ./packages/xowiki/tcl/package-procs.tcl
whitespace changes

add test for ambiguous page link with language prefix

add page p0 to regression test, provide more logging

    • -3
    • +6
    ./packages/xowiki/tcl/package-procs.tcl
reduce verbosity

    • -2
    • +2
    ./packages/xowiki/tcl/package-procs.tcl
As stated in xowiki::Package.item_ref, a trailing slash indicates a folder in case of ambiguity

Use a safer varname for xowf tests as well

    • -5
    • +5
    ./packages/xowf/tcl/test/xowf-test-procs.tcl
As apparently test init cases can pollute each other's namespace, use a different variable name

Add page contract

Add ad_include_contract