• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix for short-text-questions

for short-text-questions, correct when is empty (an empty

list) when multiple subquestions exists. The old code

did not handle this case and checked just for the existance

of the variable.

many thanks to markus moser for the fix.

relax date check slightly

improve input validation

intensify validation of form variables

Fixed markup for Navbar for Bootstrap 3 and /5

Many thanks to Monika Andergassen for the contribution

fix typo

verify provided object_type

Cleanup copy paste

    • -2
    • +0
    ./tcl/test/xowiki-admin-tests-procs.tcl
Test external command dependencies

    • -0
    • +20
    ./tcl/test/xowiki-admin-tests-procs.tcl
  1. … 1 more file in changeset.
Added optional "-name" to xowiki::update_item_index

This attribute was missing from the changeble attributes

of the xowiki_form_instance_item_index

improved parameter checking

Update api

Cleanup reference to deprecated api

    • -1
    • +0
    ./tcl/test/xowiki-admin-tests-procs.tcl
Quote name, as this will be shown in the error message

handle the case when instantiate_includelet is not returning an object (e.g. invalid top_includelet via user input)

Fix idiom

Don't provide the url here, the require proc will takwe it from the connection, if any, and fallback otherwise

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
    ./www/resources/chat-skins/chat-bubbles.js
    • -28
    • +3
    ./www/resources/chat-skins/chat-classic.js
    • -9
    • +6
    ./www/resources/chat-skins/chat-minimal.js
  1. … 1 more file in changeset.
upgraded query-3.6.3 to query-3.6.4

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

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

    • -0
    • +0
    ./www/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
    ./www/resources/chat-skins/chat-classic.js
revert escaped change

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

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

Factor out Package->process_init_parameter into package-custom-procs

This change makes it easier to provide instance specific customization.

In general, these package-custom-procs could also be kept in other

packages.

  1. … 2 more files in changeset.
file package-custom-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/package-custom-procs.tcl
update jquery from 3.6.0 to 3.6.3

    • -10881
    • +0
    ./www/resources/jquery/jquery-3.6.0.js
    • -2
    • +0
    ./www/resources/jquery/jquery-3.6.0.min.js
    • -0
    • +10993
    ./www/resources/jquery/jquery-3.6.3.js
    • -0
    • +2
    ./www/resources/jquery/jquery-3.6.3.min.js