• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Chat reform:

- rework xotcl-core chat machinery to return its responses through JSON and include information about active users

- depend on xowiki instead of xotcl-core only

- exploit xowiki "Comet" server push implementation when the browser supports it

- reduce code duplication

- drop plain HTML chat

- reduce hardcoded styling

- minor cleanups

  1. … 19 more files in changeset.
Add ':' to formatting to uniform with the render method

Unquote single quote from JSON before appending messages to chat

Remove leftover alert

Avoid javascript eval idiom as CSP will refuse to execute when unsafe-eval is disabled

This requires moving to a more approprate JSON parser... which is also pickier regarding single quotes, so I had to rework JSON encoding to please it.

  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7832 more files in changeset.
chat-procs overhaul:

- don't double encode everything

- avoid deprecated js functions escape()/unescape()

xowiki/www/ajax/streaming-chat.js, xowiki/www/ajax/scripted-streaming-chat.js

- scripted-mode: fix incorrect markup

- fix parameter passing to xowiki/www/ajax/chat.tcl to avoid rejects

- fix json_encode: one quote to man in xotcl-core/tcl/chat-procs.tcl

- don't dropt "user has_entered_the_room" in "xo::Chat instproc login",

since xowiki chat has otherwise no idea, who is logged in

  1. … 4 more files in changeset.
- add editor hints

  1. … 64 more files in changeset.
chat:

- remove table-based renderer for polled mode;

we use now always (in polled, streaming and

scripted-streaming mode) div-based message layout

- extend ::xowiki::Chat login by an option "-path"

to make sharing of ajax-files simpler in derived

packages (e.g. xowf)

  1. … 1 more file in changeset.
- Added the changes mostly provided by Antonio Pisano to update the comet behavior for current browsers, which provide nowadays often more complete HTTP stacks.

  1. … 2 more files in changeset.
Restoring xowiki code to yesterdays state. Hopefully getting rid of today's unwanted commits.

  1. … 996 more files in changeset.
revert previous change

  1. … 984 more files in changeset.
use new cluster support

  1. … 4 more files in changeset.
adding the release version of xowiki and xotcl-core to the oacs-5-3 branch

  1. … 210 more files in changeset.
file streaming-chat.js was added on branch oacs-5-3 on 2007-08-01 21:39:26 +0000

Version 0.36. evaluation contexts, prototypes, direct includes, better weblog, security management enhancements, better notification management, some bug fixes, ... and tabs replaced by spaces...

  1. … 42 more files in changeset.
file chat.tcl was added on branch oacs-5-3 on 2007-08-01 21:39:26 +0000

file scripted-streaming-chat.js was added on branch oacs-5-3 on 2007-08-01 21:39:26 +0000

added third delivery mode "scripted-streaming", which works on safari and IE as well. This is used on default, when libthtread is available. without libthread, it uses polling.

    • -0
    • +73
    ./scripted-streaming-chat.js
  1. … 1 more file in changeset.
deactivating streaming interface for MSIE for the time being, since it does not allow to access responsetext in readystate == 3 :((

  1. … 1 more file in changeset.
file chat.js was added on branch oacs-5-3 on 2007-08-01 21:39:26 +0000

Support for streaming ajax chat interface in addition to polling interface

  1. … 1 more file in changeset.
fixing java-script encoding for UTF-8 characters

major improvement on xowikis ajax based chat; most mentioned shortcomings removed, IE support

  1. … 3 more files in changeset.
ajax based chat, client and server, as xowiki page, tested on firefox and safari

  1. … 6 more files in changeset.