• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move chat machinery from xotcl-core to xowiki

Rationale: this feature makes little sense without the front-end xowiki provides and makes chat implementation harder to understand, as components are scattered in different packages.

    • -3
    • +350
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
Add package_id to the parameters for the already-available chat includelet

use "partition_name" rather than "partions_name" as variable name

CVS: ----------------------------------------------------------------------

whitespace changes

improve robustness of API browser when trying to browse non-existing objects

improve robustness of API browser when trying to browse non-existing objects

improve robustness of API browser when trying to browse non-existing objects

whitespace changes

improve documentation

whitespace changes

    • -13
    • +13
    /openacs-4/packages/chat/www/transcript-edit.tcl
- make clear, that on_submit causes always an "ad_script_abort"

- prefer "export_vars" over manual URL construction

Improve error handling idioms and handle additional error cases where the client has just disconnected

Try to trap additional disconnection-related errors

Put the puts operation in the try catch as well

Remove trailing whitespace

Add missing 'ad_script_abort' after 'ad_returnredirect'

fix the value which is used for the partition_key during flush_cache operation

Increase z-index property for 'Full screen' mode, to avoid issues with the footer of the openacs bootstrap theme

provide a better rejection message, for over-eager users

Introduce additional parameter "do_slowdown_overactive" (default off) for slowing down overactive users.

previously, this was on (when do_throttle was activated) causing sleep operations. However, even these

sleep operations can kill the server since it also blocks connection threads.

Treat all video/* content types as embedded content.

Background: many video player do a series of range requests (which are typically pretty cheap) that we do not want to block.

Provide member_state to page member-state-change, as this parameter is required since http://fisheye.openacs.org/browse/OpenACS/openacs-4/packages/acs-admin/www/users/member-state-change.tcl?r1=1.17.2.5&r2=1.17.2.6

Optimize avatar image size (~30%, using Trimage)

Make the default avatar images look slightly better when rounded

Chat Redesign:

+ Add avatars to chat user list.

+ acs-subsite: new default avatar images (x50 and x100)

+ acs-subsite: provide with a default avatar (x50) on portrait-bits.tcl

+ acs-subsite: restrict portrait-bits.tcl to authenticated users

+ xowiki and chat: add blocks and styles for the user picture

    • binary
    /openacs-4/packages/acs-subsite/www/shared/avatar-x100.png
    • binary
    /openacs-4/packages/acs-subsite/www/shared/avatar-x50.png
Chat Redesign: improve screen usage on 'Full screen' mode

Specify the timeout value on the wait command as well and avoid unneeded conversion

Fix typo in z-index property

reduced locking on parititoned chaches: return always the same Tcl_Obj as cache name rather than creating it always new, which prohibit caching in the Tcl_Obj

Chat Redesign: 'Full screen' trigger + icon, making the chat use the whole browser window.

    • -5
    • +16
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl