• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- textarea: added attribute "autosave"

- set autosave attributes in text_fields, when "multiple_lines" was specified.

- remove for the time being "hkey" from "non_cached_instance_var_patterns",

since this was recently fixed (TODO: check regression test and reactivate it later)

- new Externally callable method: autosave-attribute:

this is a simplified version of "save-attributes", but which does

NOT perform input validation, which might be a problem in case of partial input

- add "autosave-attribute" to all policies, where "save-attributes" was set

  1. … 6 more files in changeset.
file autosave-text.js was initially added on branch oacs-5-10.

Status is actually a number

Do not try to reconnect upon client side errors (e.g. 403 forbidden responses when the chat room has been closed)

fix CSS formatting with bootstrap for validation errors

update jquery versions (part 2)

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

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

    • -0
    • +0
    ./jquery/jquery-3.5.1.min.js
update jquery versions

When streaming chat implementation is in use, try reconnecting to the chat 10s after connection is closed

Add new chat skin 'minimal'.

Specially designed to be embedded in other pages, it provides a clean look without user list, full screen button, or anything else aside from the avatar, timestamp, user name and message.

  1. … 1 more file in changeset.
file chat-minimal.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./chat-skins/chat-minimal.css
file chat-minimal.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./chat-skins/chat-minimal.js
Remove debug console logging

Improve comment

Remove unnecesary check

Show the "Enable notifications" button in the chat only if the user has not accepted, or explicitly denied, notifications yet

  1. … 1 more file in changeset.
Remove code leftovers

Add "Web notifications" for new messages in the chat. See: https://www.w3.org/TR/notifications/

"You should only request consent to display notifications in response to a user gesture

(e.g. clicking a button). This is not only best practice — you should not be spamming

users with notifications they didn't agree to — but going forward browsers will explicitly

disallow notification permission requests not triggered in response to a user gesture.

Firefox is already doing this from version 72, for example, and Safari has done it for some time."

https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API

  1. … 4 more files in changeset.
Add simple chat notifications. Modify the title of the browser tab, when it is inactive, showing the number of new messages. This is cleared up when the tab is active again.

Show number of active users in chat. Many thanks to Monika Andergassen

  1. … 3 more files in changeset.
deal with overagressive downstream styles

  1. … 1 more file in changeset.
- new form_field class: reorder_box, which can be used e.g. in ordering exercises in e-assessments

- better handling of disabled_as_div (when feedback is provided via input highlighting)

  1. … 2 more files in changeset.
provide CSS classes for alignment in table widgets

CVS: ----------------------------------------------------------------------

add support in form-fields to add css class for td in TableWidget

  1. … 2 more files in changeset.
not clear, why form-label with in "content-with-folders" have to be width limited

upgrade to latests jquery (3.4.1)

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

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

    • -0
    • +0
    ./jquery/jquery-3.4.1.min.js
  1. … 1 more file in changeset.
use glyph icon in bootstrap mode instead of gif image in form info messages

  1. … 1 more file in changeset.