• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve spelling

Activate translator mode only when developer support is active

We just do this when the developer support is active, but this does

not have to be this way. By showing the translator mode only for

developer support, we save for large sites many set operations client

for client properties via "lang::util::translator_mode_p" and

"ad_get_client_property".

added support for body.translate in the blank master

added a paramter to allow/disallow page transation for exams

Browsers support automatic translation of a page to multiple languages.

Sometimes, this is not desired, especially in certain exams.

The change makes it possible to specify that translation is not wanted.

    • -0
    • +1
    /openacs-4/packages/xowf/lib/inclass-exam.wf
    • -0
    • +1
    /openacs-4/packages/xowf/lib/online-exam.wf
Improve robustness when a class is created/deleted multiple times (e.g. by repeating xotcl-core.xotcl_core_tutorial_4 automated test)

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 test.doc was initially added on branch oacs-5-10.

    • binary
    /openacs-4/packages/search/tcl/test/data/test.doc