• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Chat Redesign:

+ Improve responsiveness placing the user list on top of the chat in smaller screens

+ Use the input placeholder property for the message label

+ Hide the submit button

+ Slightly change the border colors

+ Leave the textbox size for the css

+ Increase the height to a more reasonable value

  1. … 1 more file in changeset.
Use the new utility to refresh the chat whenever one lands here from the browser history

Specialize the way chat::Chat class retrieves the package_id: use the context_id of the chat room (if this is a valid chat room)

This will allow to embed a chat::Chat instance in a xowiki page pinting to an existing chat room and let it use the chat package specific features to e.g. keep transcripts of a conversation

  1. … 3 more files in changeset.
reactivate ad_html_to_text in search renderer

add "style" to the elements to be delete for search

strip potentially confusing content from result of search renderer

Fix variable name (Many thanks to Markus Moser)

Use better idiom to retrieve the xowiki instance (also checking permissions)

Fix string replace to render user link

Use a more scalable idiom to retrieve the first available xowiki instance

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

    • -0
    • +63
    ./www/ajax/chat-common.js
    • -37
    • +11
    ./www/ajax/scripted-streaming-chat.js
  1. … 17 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
Whitespace changes

  1. … 6 more files in changeset.
Fix typos

  1. … 8 more files in changeset.
Fix variable name preventing validation_errors to be handled in www-save-attributes

Add ':' to formatting to uniform with the render method

Preliminary xowiki chat rework

- update javascript to comply with CSP (setInterval...)

- exploit template resource loading machinery to load javascripts

- remove code duplication

- remove inline styling

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

  1. … 10 more files in changeset.
Whitespace changes

  1. … 6 more files in changeset.
Fix typos

  1. … 3 more files in changeset.
preserve orderby in child-resources (e.g. when clicking on the garbage can)

set style variable in every case

improve spelling

  1. … 1 more file in changeset.
improve spelling

  1. … 6 more files in changeset.
use proper method in xpath query to check attribute value

specify xpath query more