• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
check permission before adding file to zip directory

Basic webtest of chat room creation

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

    • -0
    • +0
    /openacs-4/packages/chat/tcl/test/webtest-procs.tcl
Follow-up for https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20230313120323

- make sure the anonymous users nsv is created when the chat is instantiated

- make sure xo::cc is available when the anonymous identifier is generated

- handle in the Chat package, that the uid may not be a user, but an IP address

- adapt other chat skins to the new anonymous user logics

    • -9
    • +14
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
upgraded query-3.6.3 to query-3.6.4

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/resource-init.tcl
file jquery-3.6.4.js was initially added on branch oacs-5-10.

file jquery-3.6.4.min.js was initially added on branch oacs-5-10.

Added support for anonymous users in chat class

Previous version of the chat class required a login for participating

in the chat. The new version also supports a mixed mode, with

authenticated and non-authenticated users can participate. For

unauthenticated users, the disambiguation is performed over the peer

IP address, similar to the xotcl-request-monitor. Instead of the raw

IP address, an artificial username is displayed for such users (like

e.g. userXXX).

For unauthenticated users, some differences apply:

- one cannot provide a link to the private page

- unauthenticated users cannot access the user-portrait

of authenticated users.

The GUI changes are only made on chat-skins/chat-classic.js, not on

the other skins.

    • -13
    • +102
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
added "button" class for activity links (port from downstream)

use downstream idiom

revert escaped change

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.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