• last updated 1 hour ago
Constraints: committers
Constraints: files
Constraints: dates
disallow auto-save when exam is closed

handle cases, where autosave was rejected

cleanup (generalize and simplify code)

    • -2
    • +9
remove unused nsv variables

use "-varname" parameter for message_exists_p

- simplifying one more expression

- bump version number to 5.10.0d11

reduced the number of mutex locks for message keys lookup by a factor of two by using naviserver commands

do not try to load site-wide parameters in xo::parameters

- based xo::parameter on nsv_dict when available

- bumped version number to 5.10.0d31

- icanuse: added nsv_dict

- bumped version number to 5.10.0d37

    • -2
    • +2
fix typo

improve comments and spelling

improve comments

remove unsed mutex

fix typo

ad_urlencode_url: add a slash to the path when this is not empty, fix test case

Extend test

Avoid useless check

Expose a regression after changes for bug #3437

styling for count-down alarm

countdown alarm: add audible alarm when the countdown timer reaches expiration.

Per default, the audible alarm is turned off, but the user sees a

mute symbol. When the user activates the audible alarm, the browser

will announce the nearing end by beep signals in increasingly shorter

periods before its expiration (default settings: 60, 30, 20, 10, 5,

2s; these values can be changed via HTML). Once a user has activated

the audio signals, these are preseveed between page changes via a

cookie. On some browsers (e.g. Chrome), the audioContext settings are

so restrictive, that the full reload requires a new activation of the

alarm via a "user gesture" (i.e. clicking on the audio symbol). It

would be not surprising, if some other browsers show different

behavior, but the code follows the relatively new recommendations. The

code was tested with Chrome/Chromium 83 and Firefox 77).

    • -1
    • +128
Whitespace cleanup

whitespace cleanup

don't try to compute points from starred results

Kill message key translation only when the original user message is included in the notification

Do not kill localization for moderator notifications, as they contain indeed message keys to be localized

- 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
    • +5
    • -2
    • +2
file autosave-text.js was initially added on branch oacs-5-10.

    • -0
    • +0
- fix remove_non_persistent_vars (ignored specified pattern)

- update_attribute_from_slot: make sure the instance variable is also updated

provide better recovery from internal redirects, where ::ad_conn is not available