• last updated 2 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. … 8 more files in changeset.
Chat Redesign: simplify style of 'Full Screen' icon

  1. … 1 more file in changeset.
Chat Redesign: simplify send icon svg and styles associated

  1. … 1 more file in changeset.
Chat Redesign: add send button + svg icon

  1. … 2 more files in changeset.
Chat Redesign: make 'Full screen' images color filling easy to change in css

  1. … 1 more file in changeset.
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

  1. … 4 more files in changeset.
Chat Redesign: 'Full screen' trigger + icon, making the chat use the whole browser window.

  1. … 2 more files in changeset.
Chat Redesign: add LinkRegex global parameter to the chat package, containing the regexp that will look for URLs inside chat messages, so they can be properly formatted as html links.

  1. … 2 more files in changeset.
Chat Redesign:

+ New style classes, opening the door to further graphic redesign.

+ Revamping of the user list.

+ Revamping of the input block.

+ Small changes in the messages block, including floating timestamps to the right.

+ Responsive design: use flexbox for chat layout.

+ Responsive design: make user list horizontally scrollable for 'small' widths.

+ Expose user_id in a hidden div, in the chat adp, so it can be used by the javascript part to check and assign different styles to the chat messages if they belong to the user watching the page.

+ xotcl-core: Pass color and user_id in the message, avoiding the creation of the user link at this level.

+ xotcl-core: Remove user_link proc.

+ xowiki: Avoid autocompletion in input field.

+ xowiki: Adding and relocation of div elements.

+ xowiki: Simple function to transform url-like elements of the messages into links.

+ xowiki: Create user links in chat-common.js.

+ xowiki: Check user_id and assign classes to elements depending on the user watching the page.

  1. … 4 more files in changeset.
Fix string replace to render user link

Force IE to recover focus on the message field whenever messages are rendered

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.