• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Follow-up for https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20230313120323

- make sure the anonymous users nsv is created when the chat is instantiated

- make sure xo::cc is available when the anonymous identifier is generated

- handle in the Chat package, that the uid may not be a user, but an IP address

- adapt other chat skins to the new anonymous user logics

    • -14
    • +13
    ./resources/chat-skins/chat-bubbles.js
    • -28
    • +3
    ./resources/chat-skins/chat-classic.js
    • -9
    • +6
    ./resources/chat-skins/chat-minimal.js
  1. … 2 more files in changeset.
upgraded query-3.6.3 to query-3.6.4

    • -10993
    • +0
    ./resources/jquery/jquery-3.6.3.js
    • -2
    • +0
    ./resources/jquery/jquery-3.6.3.min.js
    • -0
    • +10965
    ./resources/jquery/jquery-3.6.4.js
    • -0
    • +2
    ./resources/jquery/jquery-3.6.4.min.js
  1. … 1 more file in changeset.
file jquery-3.6.4.js was initially added on branch oacs-5-10.

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

    • -0
    • +0
    ./resources/jquery/jquery-3.6.4.min.js
Added support for anonymous users in chat class

Previous version of the chat class required a login for participating

in the chat. The new version also supports a mixed mode, with

authenticated and non-authenticated users can participate. For

unauthenticated users, the disambiguation is performed over the peer

IP address, similar to the xotcl-request-monitor. Instead of the raw

IP address, an artificial username is displayed for such users (like

e.g. userXXX).

For unauthenticated users, some differences apply:

- one cannot provide a link to the private page

- unauthenticated users cannot access the user-portrait

of authenticated users.

The GUI changes are only made on chat-skins/chat-classic.js, not on

the other skins.

    • -21
    • +34
    ./resources/chat-skins/chat-classic.js
  1. … 1 more file in changeset.
Do not add additional style around the chat includelet, regardless if this is a "chat_room" or a "chat"

    • -15
    • +1
    ./resources/chat-skins/chat-bubbles.css
    • -15
    • +1
    ./resources/chat-skins/chat-classic.css
    • -15
    • +1
    ./resources/chat-skins/chat-minimal.css
  1. … 1 more file in changeset.
improve input validation

Fixes and adjustments for the chat-minimal chat skin:

- show the fullscreen button, very useful on devices with little screen real estate

- display on the same line, in respective order, avatar (when enabled), user name and link, timestamp and message

- wrap the message over multiple lines when it would not fit

    • -2
    • +35
    ./resources/chat-skins/chat-minimal.css
    • -13
    • +78
    ./resources/chat-skins/chat-minimal.js
Improve responsiveness at smaller resolutions for the fullscreen button

    • -0
    • +2
    ./resources/chat-skins/chat-classic.css
update jquery from 3.6.0 to 3.6.3

    • -10881
    • +0
    ./resources/jquery/jquery-3.6.0.js
    • -2
    • +0
    ./resources/jquery/jquery-3.6.0.min.js
    • -0
    • +10993
    ./resources/jquery/jquery-3.6.3.js
    • -0
    • +2
    ./resources/jquery/jquery-3.6.3.min.js
  1. … 1 more file in changeset.
file jquery-3.6.3.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-3.6.3.js
  1. … 1 more file in changeset.
file jquery-3.6.3.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery-3.6.3.min.js
  1. … 1 more file in changeset.
removed outdated custom verion of jquery-ui

    • -565
    • +0
    ./resources/jquery-ui-1.8.17.custom.css
    • -356
    • +0
    ./resources/jquery-ui-1.8.17.custom.min.js
upgrade jquery-ui from 1.13.0 to 1.13.2

    • -152
    • +168
    ./resources/jquery/jquery-ui.js
removed hard-coded styling to improver stylability via CSS on admin page

Many thanks to Monika Andergasse for the suggestion

Update api

  1. … 5 more files in changeset.
fix sort-handles for list-table

before this change, the sort-handles were only styled for

tables of CSS class table, for the CSS class "list-table",

the sorting indicators were undistinguishable

file jquery.ui.touch-punch-0.2.3.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/jquery/jquery.ui.touch-punch-0.2.3.js
Added support for drag&drop on reorder items for mobile devices

Additionally, provided a minimal width for drag items (there is probably a better solution for this)

    • -0
    • +180
    ./resources/jquery/jquery.ui.touch-punch-0.2.3.js
  1. … 2 more files in changeset.
fix icon for boostrap5 (CSS value)

    • -0
    • +10
    ./resources/xowiki-bootstrap3-specific.css
    • -0
    • +11
    ./resources/xowiki-bootstrap5-specific.css
removed obsolete argument

add information how many pages are currently selected in dnd mode

  1. … 1 more file in changeset.
prefer adp:icon over old-style .png images

  1. … 3 more files in changeset.
implement optional bulk operations for candidate_box_select in dnd mode

  1. … 1 more file in changeset.
fix typo

Cleanup leftover variables

Formatting changes

    • -15
    • +26
    ./ckeditor-images/thumb-view.tcl
Modernize page contract

Cleanup commented code

Delete obsolete scripts (feature uses since a long time the own object's download method)