scripted-streaming-chat.js

  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

  1. … 12 more files in changeset.
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. … 23 more files in changeset.
Add ':' to formatting to uniform with the render method

  1. … 1 more file in changeset.
Unquote single quote from JSON before appending messages to chat

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

  1. … 7834 more files 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. … 4 more files in changeset.
Restoring xowiki code to yesterdays state. Hopefully getting rid of today's unwanted commits.

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

  1. … 987 more files in changeset.
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. … 3 more files in changeset.