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

Move functionality of xowiki::CSS to tempate::CSS

template CSS provides an abstraction for CSS class names and other

styling elements depending on user preferences or on the current theme

Backwards compatibility for xowiki::CSS was provided via a stub function

  1. … 21 more files in changeset.
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 with missing files

  1. … 40 more files in changeset.
merge with missing files

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

  1. … 8085 more files in changeset.
whitespace changes

  1. … 7 more files in changeset.
added URN listing

  1. … 1 more file in changeset.
align .adp files for site-wide admin pages

  1. … 1 more file in changeset.
Provide better coverage of used JavaScript libraries

- Added support for jquery, jquery-ui, jqueryui_touchpunch

- For all covered JavaScript libraries, the following components were added:

* parameter configuration (param_info)

* vulnerability checks

- site-wide info can manage now:

bootstrap-treeview, jquery, jquery-ui, and jqueryui-touch-punch

- fallback libraries (e.g. for bootstrap3 or yui) are not covered,

these should disappear in the future.

- bumped version number to 5.10.1b14

  1. … 3 more files in changeset.
improved spelling

  1. … 28 more files in changeset.
various small fixes for js libraries

- fixed page contract in case a non-default version is downloaded

- provide always an argument "-version" to resource_info procs

- obtain current version number always via resource_info.installedVersion

(it refers to CDN and locally installed version)

- pass always versionDir via resource_info to ::util::resources::download

- always obtain version_dir from resource_info

  1. … 25 more files in changeset.
Improved consistency of resource-info for javascript libraries, added vulnarability info

Tested the following cases:

download check

- bootstrap

- bootstrap-icons

- bootstrap-treeview

- ckeditor4

- font-awesome

- highcharts

- cookieconsent2 3.0.3

- cookieconsent2 3.1.1

CDN check

- bootstrap

- bootstrap-icons

- bootstrap-treeview

- font-awesome

- highcharts

- cookieconsent2 3.0.3

- cookieconsent2 3.1.1

  1. … 9 more files in changeset.
updated jqueryui to latest version

    • -323
    • +331
    ./resources/jquery/jquery-ui.js
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.
improved spelling

  1. … 4 more files 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

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

    • -0
    • +0
    ./resources/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
    ./resources/jquery/jquery-3.7.1.min.js
  1. … 2 more files in changeset.
Cleanup of external binaries: always use "util::which" to resolve binaries

  1. … 5 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

Extended site-wide admin page to include link for site-wide pages

Adding a link to site-wide admin pages makes it easier for admins to locate

the site-wide pages (pages, which can be used in all xowiki instances)

Added link to parameter page in xowiki/admin page if it exists

This is a change to ease usage for novices. The "admin" pages should be replaced

in the future, but for the time being, it helps for site-admins to understand,

how to change which parameter value to obtain the desired results.

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

    • -20
    • +0
    ./resources/scripted-streaming-chat.js
  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.
improve input validation

verify provided object_type

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

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