• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Update jquery to 3.4.0

- provide URNs for jquery-ui

- bump fallback-version of bootstrap to 3.4.1 (used, when the bootstrap3 theme is not installed)

    • -0
    • +10588
    ./resources/jquery/jquery-3.4.0.js
    • -0
    • +2
    ./resources/jquery/jquery-3.4.0.min.js
    • -0
    • +1311
    ./resources/jquery/jquery-ui.css
    • -0
    • +18706
    ./resources/jquery/jquery-ui.js
    • -0
    • +13
    ./resources/jquery/jquery-ui.min.js
  1. … 2 more files in changeset.
file jquery-3.4.0.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-3.4.0.js
file jquery-ui.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-ui.min.js
file jquery-ui.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-ui.js
file jquery-ui.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-ui.css
file jquery-3.4.0.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-3.4.0.min.js
avoid double substitutions

  1. … 2 more files in changeset.
Improvement for repeated form field procs:

- Use JSON.parse instead of eval to ease CSP handling

- Base result of "value_if_nothing_is_returned_from_form" on results of components

This change makes it possible to remove a default value of e.g. a checkbox

from an repeated field.

  1. … 2 more files in changeset.
removed file, which were moved to resources directory long ago and kept as a fallback for old installations

Move chat.tcl into acs-subsite:

although this would depend on xowiki, having in xowiki/www might conflict with legitimate pages named "chat"

  1. … 2 more files in changeset.
improve spelling

  1. … 10 more files in changeset.
Centralize logic to retrieve out own user_id, then use it also when rendering the users list

    • -6
    • +2
    ./resources/chat-skins/chat-bubbles.js
    • -5
    • +2
    ./resources/chat-skins/chat-classic.js
Chat Redesign: clicking in your own name points to '/pvt/home' instead of '/shared/community-member'

    • -1
    • +5
    ./resources/chat-skins/chat-bubbles.js
    • -2
    • +10
    ./resources/chat-skins/chat-classic.js
Chat Redesign: enable/disable avatar pictures by room, using the new attribute 'avatar_p', instead of by package instance, using the 'ShowAvatar' parameter.

    • -4
    • +2
    ./resources/chat-skins/chat-bubbles.js
    • -2
    • +1
    ./resources/chat-skins/chat-classic.js
  1. … 18 more files in changeset.
Chat Redesign: move common functions used in the chat skins to 'chat-common.js', and rename the skin javascript files.

    • -0
    • +245
    ./resources/chat-skins/chat-bubbles.js
    • -0
    • +183
    ./resources/chat-skins/chat-classic.js
  1. … 1 more file in changeset.
file chat-bubbles.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/chat-skins/chat-bubbles.js
file chat-classic.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/chat-skins/chat-classic.js
Improve the situation on browsers such as Firefox, where correct xml is somehow enforced when one does not specify the responseType

One should also find a solution for the persistent subscription, as it is trickier

  1. … 1 more file in changeset.
message-relay-procs: factor out subscription handling from bgdelivery

and chat-procs and provide compatibility for streaming chat modes

with HTTPS.

The message-relay-procs provide two different implementation for

delivering messages to subscribers:

a) via bgdelivery (traditional method): this is, what was used so far,

having the disadvantage that it only works on plain HTTP connections

b) via ns_connchan (new method): ns_connchan is a relatively new feature

of NaviServer which allows transparent reading/writing from connections.

Chat has a new instance variable named "message_relay", which consists

of preferences for the chat connections. So far, the traditional "bgdelivery"

is still the default mode.

bumped version numbers

- xotcl-core 5.10.0d14

- xowiki: 5.10.0d23

  1. … 5 more files in changeset.
New utility function "Page.update_publish_status" which does

essentially, what admin/set-publish-status did before (update of

publish status and related handling of syndication)

New externally callable method "toggle-publish-status". This replaces

the call of admin/set-publish-status in the includelet child-resources

to make it easier usable from the xowiki security policies.

New flag "-nocleanup" for ::xowiki::datasource, to make it callable

inside arbitrary pages without loosing calling context.

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

  1. … 3 more files in changeset.
Remove redundant cleanup which might fail in case object does not exist (we clean up anyway in the finally branch)

Put event handler inline so is attached at element creation, fix URLencoding of image deletion

Bring event handler inline to force it being attached after the upload button is added to the page

Add missing parameter in calc_wiki_image_links_to_image_tags

See bug tracker #3372

Chat Redesign: add float clear after user block in user list (also in 'classic' skin)

    • -0
    • +8
    ./resources/chat-skins/chat-classic.css
Chat Redesign: add float clear after user block in user list

    • -0
    • +8
    ./resources/chat-skins/chat-bubbles.css
Chat Redesign:

+ Add specific container for the chat includelet (xowiki-chat-includelet).

+ Set a sensible default for the 'xowiki-chat-includelet' size.

+ Move the 'my-user-id' hidden element in the chat adp to the chat procs.

+ Rename 'my-user-id' element to 'xowiki-my-user-id'.

+ Get the ChatSkin parameter inside the login proc.

+ Include the skin parameter in the chat includelet.

    • -0
    • +7
    ./resources/chat-skins/chat-bubbles.css
    • -0
    • +7
    ./resources/chat-skins/chat-classic.css
  1. … 5 more files in changeset.
file chat-common.js was added on branch oacs-5-10 on 2019-02-25 15:35:44 +0000

Chat Redesign:

+ Skin support.

+ New 'ChatSkin' instance parameter, with currently two possible values: 'classic' and 'bubbles'.

+ Skins are located in the new packages/xowiki/www/resources/chat-skins/ directory.

+ New 'bubbles' skin, default for the chat package.

+ Old skin renamed to 'classic', default for the xowiki includelet.

+ New skins can be created by just adding the css and js files in the skins directory, and naming them accordingly. For example, being '$skin' the name of the new skin, the files should be named chat-$skin-common.js and chat-$skin.css.

+ New '-skin' parameter to the Chat login proc, containing the name of the skin (i.e. 'classic' or 'bubbles').

+ Bump version number.

    • -0
    • +270
    ./resources/chat-skins/chat-bubbles-common.js
    • -0
    • +371
    ./resources/chat-skins/chat-bubbles.css
    • -0
    • +211
    ./resources/chat-skins/chat-classic-common.js
    • -0
    • +251
    ./resources/chat-skins/chat-classic.css
  1. … 4 more files in changeset.