• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Simple fixes pointing to insufficient test cases

Many thanks to Franz Penz for the fixes

Save and restore all variables properly to not be influenced or interfere with other tests

Create the site_wide_subsite outside of the transaction in the test to avoid bootstraping issues on those instances that have not created one yet

Fix test and proc:

- make package_id mandatory for search::dotlrn::get_community_id, as it will just fail when this proc is used under dotlrn otherwise

- fix the test by providing a package_id according to the expected behavior

    • -2
    • +2
    /openacs-4/packages/search/tcl/search-procs.tcl
added suport in export_vars for exporting instance variables

example:

xotcl::Object create o1

o1 set x 1

o1 proc foo {} {export_vars -base /foo {a :x b}}

o1 foo

result:

/foo?x=1

Test leftover api

improve page contract since passed-in values are used in a list filter

Test queuing, dequeuing

Test extra arg api from the search package

file test.docx was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.docx
file test.ppt was initially added on branch oacs-5-10.

    • binary
    /openacs-4/packages/search/tcl/test/data/test.ppt
file test.pdf was initially added on branch oacs-5-10.

    • binary
    /openacs-4/packages/search/tcl/test/data/test.pdf
file test.ott was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.ott
file test.ots was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.ots
file test.otp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.otp
file test.odt was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.odt
file test.ods was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.ods
file test.odp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.odp
file test.html was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.html
file test.xlsx was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.xlsx
file test.xls was initially added on branch oacs-5-10.

    • binary
    /openacs-4/packages/search/tcl/test/data/test.xls
file test.txt was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.txt
file test.pptx was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/data/test.pptx
Test binary to text conversion of various file types

    • -0
    • +12
    /openacs-4/packages/search/tcl/test/data/test.docx
    • -0
    • +17
    /openacs-4/packages/search/tcl/test/data/test.html
    • -0
    • +70
    /openacs-4/packages/search/tcl/test/data/test.pptx
    • -0
    • +14
    /openacs-4/packages/search/tcl/test/data/test.xlsx
file search-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/search/tcl/test/search-procs.tcl
file test.doc was initially added on branch oacs-5-10.

    • binary
    /openacs-4/packages/search/tcl/test/data/test.doc
Don't hardcode login requirement (to be continued)

Relax object type check

Relax object type validation

Do not add additional style around the chat includelet, regardless if this is a "chat_room" or a "chat"