• last updated 21 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:

- 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.
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.
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.
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.