• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Apply logics to delete the editor also when the field is the last

Compensate for the 24px offset of the wikicmds bar, so that this won't potentially end up rendered in the middle of a page header

Bugfixes for TinyMCE 7 richtext editor in the context of xowiki repeated fields

- handle via a specific snippet in repeat.js the case of a repeated field being deleted. The editor must be persisted and removed before it is eventually loaded again on the remaining fields.

- use a simpler and more solid logic in the mutation observer to handle cases like compound questions in LEARN that are repeated+compound+repeatedCompound

  1. … 1 more file in changeset.
merge from oacs-5-10

    • -356
    • +0
    ./jquery-ui-1.8.17.custom.min.js
    • -0
    • +200
    ./xowiki-bootstrap3-specific.css
    • -0
    • +201
    ./xowiki-bootstrap5-specific.css
  1. … 8085 more files in changeset.
updated jqueryui to latest version

Cleanup leftover code from successful reform in December 2016

Since then, we have been long using dynamic repeat fields on production

  1. … 1 more file in changeset.
JS upstream updates

- Updated highcharts to 11.4.0 (when highcharts package is not installed)

- Updated jquery-3.6.3 to jquery-3.7.1.

- Bumped version number to 5.10.1b10

  1. … 2 more files in changeset.
file jquery-3.7.1.js was initially added on branch oacs-5-10.

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

    • -0
    • +0
    ./jquery/jquery-3.7.1.min.js
  1. … 2 more files in changeset.
Close the connection to the EventSource before leaving the page

Some browsers such as current Firefox may complain otherwise

Many thanks to Sebastian Scheder

Chat reform

The goal of these changes is to reduce the "mode" specific javascript code in the chat implementation and reduce server-side guessing of browser capabilities.

- In the MessageRelay class from xotcl-core, we rework the javascript code sent to the connection when doing scripted streaming to make less assumptions about the functions defined in the parent scope

- In the chat code from xowiki, we move most of the logics to guess the mode into javascript, where we can test the actual capabilities of the browser without relying on the user agent

- The previously 4 javascript files dependant on the chat mode have been made into one

  1. … 4 more files in changeset.
When the mode is "streaming", use Server Sent Events instead of a "plain" endless request

This has the advantage of a clearer, less hacky api, which, for instance, does not require manual parsing of the partial response.

  1. … 4 more files in changeset.
Fix idiom

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

  1. … 2 more files in changeset.
upgraded query-3.6.3 to query-3.6.4

  1. … 1 more file in changeset.
file jquery-3.6.4.js was initially added on branch oacs-5-10.

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

    • -0
    • +0
    ./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.

  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"

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

Improve responsiveness at smaller resolutions for the fullscreen button

update jquery from 3.6.0 to 3.6.3

  1. … 1 more file in changeset.
file jquery-3.6.3.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./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
    ./jquery/jquery-3.6.3.min.js
  1. … 1 more file in changeset.
removed outdated custom verion of jquery-ui

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

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
    ./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
    ./jquery/jquery.ui.touch-punch-0.2.3.js
  1. … 2 more files in changeset.
fix icon for boostrap5 (CSS value)