• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Keep comments on the server side

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
    ./xowiki/www/resources/jquery/jquery-3.6.4.js
    • -0
    • +10716
    ./xowiki/www/resources/jquery/jquery-3.7.1.js
Ensure chat javascript is executed only when the chat itself is actually a part of the DOM

This may not be the case at the time of rendering, e.g. because the chat is rendered inside of a <template> tag and appended to the document at a later moment.

JS upstream updates

- Updated upstream library to 11.4.0

- Bumped version to 0.5

JS upstream updates

- Updated jquery-3.6.3 to jquery-3.7.1.

- Bumped version to 5.10.1b2

    • -2
    • +2
    ./openacs-bootstrap3-theme/openacs-bootstrap3-theme.info
    • -1
    • +1
    ./openacs-bootstrap3-theme/tcl/resource-init.tcl
JS upstream updates

- Updated boostrap5 to 5.3.3

- Updated jquery-3.6.3 to jquery-3.7.1.

- Bumped version to 5.10.1b4

    • -2
    • +2
    ./openacs-bootstrap5-theme/openacs-bootstrap5-theme.info
    • -1
    • +1
    ./openacs-bootstrap5-theme/tcl/resource-init.tcl
    • -1
    • +1
    ./openacs-bootstrap5-theme/tcl/resource-procs.tcl
file jquery-3.7.1.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./openacs-bootstrap5-theme/www/resources/js/jquery-3.7.1.js
    • -0
    • +0
    ./openacs-bootstrap3-theme/www/resources/js/jquery-3.7.1.js
    • -0
    • +0
    ./xowiki/www/resources/jquery/jquery-3.7.1.js
file jquery-3.7.1.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./openacs-bootstrap5-theme/www/resources/js/jquery-3.7.1.min.js
    • -0
    • +0
    ./openacs-bootstrap3-theme/www/resources/js/jquery-3.7.1.min.js
    • -0
    • +0
    ./xowiki/www/resources/jquery/jquery-3.7.1.min.js
Untangle if logics

    • -23
    • +30
    ./acs-tcl/tcl/text-html-procs.tcl
Reject URLs displaying multiple protocols

Test further improvement of injection attempt by penetration tests

    • -0
    • +10
    ./acs-tcl/tcl/test/text-html-procs.tcl
Harden page contract

Strenghten validation against smarter attempts to disguise the javascript: protocol

    • -10
    • +17
    ./acs-tcl/tcl/text-html-procs.tcl
Replicate a smarter attempt by a penetration tool to disguise the javascript: protocol

    • -11
    • +24
    ./acs-tcl/tcl/test/text-html-procs.tcl
Add new extension mjs, for Javascript modules, to the Javascript mime type

    • -2
    • +2
    ./acs-content-repository/acs-content-repository.info
file upgrade-5.10.1b3-5.10.1b4.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-content-repository/sql/oracle/upgrade/upgrade-5.10.1b3-5.10.1b4.sql
file upgrade-0.6.2d6-0.6.2d7.sql was initially added on branch oacs-5-10.

added missing function args

reduce verbosity

Harden page contracts

Prefer more robust colon notation to quote database values

We replace spaces with "&nbsp" for Safari, but then convert will fail in the test... clean up the entities before trying to convert

    • -1
    • +15
    ./captcha/tcl/test/captcha-procs.tcl
Fix variable name

Calculate the width before quoting is applied and refine the heuristic

Fix capctha rendering on iOS devices, where apparently spaces need to be translated to entities

Fix captcha responsiveness

Update italian localization

    • -0
    • +1
    ./acs-subsite/catalog/acs-subsite.it_IT.ISO-8859-1.xml
    • -0
    • +5
    ./xowf/catalog/xowf.it_IT.ISO-8859-1.xml
Introduce server-side validation for HTML5 date and time formfields

A "formats" parameter can be specified on the formfields indicating one or more formats that we want to enforce. The syntax for any of such format is that of the Tcl clock command.

Default values have been set according to the expected behavior of each form field type.

Empty values are always considered valid. If a field is required, this will be enforced in its own validator.

    • -11
    • +69
    ./xowiki/tcl/form-field-procs.tcl
Test behavior of HTML5 date and time formfields when invalid values are submitted

    • -0
    • +186
    ./xowiki/tcl/test/xowiki-test-procs.tcl
Quote error message to better protect against XSS attacks