• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

Chat Redesign: avoid breakage produced by veeeeeeery long words by breaking them using the 'word-break' css property

Chat Redesign: revert setting automatically the focus on the input field after 'Full screen' switch, as it produces the not so nice effect on mobile devices of triggering the on-screen keyboard

Chat Redesign: add a fixed height to the 'xowiki-chat-messages-and-form' element on small widths, to make room for the user list and the input field.

Converge styling of chat in a single css file for both xowiki and chat packages

This might fork in the future, but there is no need atm

    • -221
    • +0
    /openacs-4/packages/chat/www/resources/chat.css
Switch to a non-nsv approach to determine the right chat class

    • -3
    • +4
    /openacs-4/packages/xowiki/www/chat.tcl
Unclutter the code by putting mode detection in a separate proc

    • -41
    • +47
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
Chat Redesign: restore focus on input field after 'Full screen' switch

Add leftover file

    • -0
    • +47
    /openacs-4/packages/xowiki/www/chat.tcl
Chat reform:

- reduce code duplication by determining the proper chat class dynamically and storing it in an nsv

- move static content in the resources path. Serving them is now independent from the mounted xowiki path

- get rid of the ajax url path

    • -48
    • +0
    /openacs-4/packages/chat/www/ajax/chat.tcl
    • -17
    • +22
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
    • -40
    • +0
    /openacs-4/packages/xowiki/www/ajax/chat.js
    • -42
    • +0
    /openacs-4/packages/xowiki/www/ajax/chat.tcl
    • -0
    • +205
    /openacs-4/packages/xowiki/www/resources/chat-common.js
    • -0
    • +40
    /openacs-4/packages/xowiki/www/resources/chat.js
Chat Redesign: simplify style of 'Full Screen' icon

Chat Redesign: simplify send icon svg and styles associated

Chat Redesign: add send button + svg icon

Allow to make other (non .adp) kinds of resources "theme aware" and use this to provide a theme mapping to the /resources/ URL pattern, then use this new capability to allow the override of css in the chat implementations

Chat Redesign: make 'Full screen' images color filling easy to change in css

Give xowiki chat also some kind of nice skin and centralize css retrieval

TODO: something smarter can be done in order to retrieve the proper css, based e.g. on theme, chat skin (to be implemented) etc. To be discussed is some way to resolve resources based on the theme.

    • -0
    • +202
    /openacs-4/packages/xowiki/www/resources/chat.css
New chat_room includelet, behaving as the existing chat one, but plugged with extra chat package's feature (transcript management...)

To avoid package_id to be overridden, we force it always to the one of the current chat

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