• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
don't use non-existing method name in test specification.

This fixes a bug on openacs.org in source search of API browser.

TODO: the procs specified in the test definition (aa_register_case)

should be checked for existence.

add test case to show nameclash-behavior between folder and item

    • -1
    • +69
    ./packages/xowiki/tcl/test/test-procs.tcl
fix regression test when system locale is en_US

fix regression test cases. Works correct now with system locale en_US

    • -35
    • +28
    ./packages/xowiki/www/admin/test.tcl
Prettify data size using 'util::content_size_pretty'

    • -2
    • +2
    ./packages/file-storage/www/folder-zip-add.tcl
    • -2
    • +2
    ./packages/general-comments/www/file-add-2.tcl
Trailing whitespace cleanup

Prettify data size using 'util::content_size_pretty'

let test run without runtime errors

    • -10
    • +12
    ./packages/xowiki/www/admin/test.tcl
Whitespace changes

Prettify data size using 'util::content_size_pretty'

  1. … 19 more files in changeset.
Improve content_type detection on forum attachments, and avoid redirecting to external hosts on URLs

Url attachments in forums: use URL icon and avoid showing the size

Fix es_* message key

    • -2
    • +2
    ./packages/file-storage/file-storage.info
Preserve old logic on total size increment

    • -3
    • +9
    ./packages/xowiki/www/xinha/file-selector.tcl
Show attachment size in forum messages

Whitespace changes

    • -40
    • +40
    ./packages/xowiki/www/xinha/file-selector.tcl
    • -2
    • +2
    ./packages/file-storage/lib/folder-links.tcl
    • -32
    • +32
    ./packages/file-storage/www/file.tcl
Use 'util::content_size_pretty' instead of manually prettifying data sizes

    • -11
    • +4
    ./packages/xowiki/www/xinha/file-selector.tcl
    • -6
    • +1
    ./packages/file-storage/lib/folder-links.tcl
Use 'util::content_size_pretty' instead of manually prettifying data sizes

    • -14
    • +3
    ./packages/file-storage/www/folder-chunk.tcl
    • -6
    • +2
    ./packages/xotcl-core/lib/revisions.tcl
    • -7
    • +2
    ./packages/xotcl-core/tcl/cr-procs.tcl
Add new proc 'util::content_size_pretty', to prettify data size given in bytes, and its automated tests.

It supports both binary and decimal representations, a resolution up to YB/YiB, and setting the precision via parameter.

It should replace ad-hoc size prettyfication done manually in several places of the codebase.

    • -1
    • +42
    ./packages/acs-tcl/tcl/utilities-procs.tcl
    • -0
    • +42
    ./packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Fix workflow_constructs automated test: in this case, workflow context is not resolved and "::" is returned instead, which is not a command and would make this proc fail

Keep the eventual language prefix in the name, as it is useful to distinguish e.g. pages from folders with the same name

    • -2
    • +2
    ./packages/xowiki/tcl/package-procs.tcl
don't catch all render_icon calls

- added support for render_icon method

- improved error messages

improve spelling

    • -2
    • +2
    ./packages/xowiki/tcl/includelet-procs.tcl
added an addtional interaction type for uploading files upload_interaction

the basic interaction types are now:

- text_interaction

- upload_interaction

- mc_interaction (supporting as well single choice)

    • -7
    • +50
    ./packages/xowf/tcl/test-item-procs.tcl
new includelet: link-with-local-return-url: insert a link with extra return URL pointing the current object.

    • -8
    • +32
    ./packages/xowiki/tcl/includelet-procs.tcl
improve robustness in view-mode

    • -2
    • +2
    ./packages/xowiki/tcl/form-field-procs.tcl
improve configurability of menu entries: support passing extra query parameters

improve configuratbility of make_form_link: support passing extra query parameters

    • -3
    • +3
    ./packages/xowiki/tcl/package-procs.tcl
Try to improve doc a bit. The proc seems to need some refactoring.