• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- acs_mail_lite::send_immediately: new switch for "-force_delivery_mode"

to force delivery mode for a single call (ignoring package parameter

"EmailDeliveryMode")

- New potential value for "EmailDeliveryMode": "nssmtpd"

When this parameter is specified, the behavior is like

"smtp", but the code tries use the SMTP implementation

of the nssmtpd NaviServer module.

- It is also possible to combine "nssmtpd" with the delivery methods

"filter" or "redirect" simply by writing e.g. "filter nssmtpd"

- some refactoring to avoid repeated code

whitespace cleanup

add support for deleted users, handle this case centrally

Try to avoid double-counting in request statistics, when a user logs

in. Previously, when a user logs in, the user was counted once as

un-authenticated user, and once as authenticated one.

TODO: when this works sufficiently well, the same should be done

as well for the 24h statistics.

Use optionally nssmtpd as different mail delivery agent

when the "-experimental" flag is provided to

acs_mail_lite::send_immediately, and the NaviServer

nssmtpd modules is installed.

whitespace changes

changes for inclass-exam:

- open test run in a different frame

- use tailored proctoring code, when available

- improve screen after final exam submission

    • -8
    • +17
    /openacs-4/packages/xowf/lib/inclass-exam.wf
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

added support for time fractions (needed e.g. for more precise countdown timers)

improve output of xo::show_stack

whitespace changes

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

delete duplicated entry

- do not require to make generic create-or-use public for

non-admins in proctor mode

    • -1
    • +10
    /openacs-4/packages/xowf/lib/inclass-exam.wf
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.

new features for inclass exam workflow:

- additional flag "synchronized", can be specified on "create exam" page

- provide info about exam publication time and duration since publication

time to the details view of the exam protocol

    • -8
    • +6
    /openacs-4/packages/xowf/lib/inclass-exam.wf
fix typo

    • -1
    • +2
    /openacs-4/packages/xowf/lib/inclass-exam.wf
added skeleton for proctoring support

    • -1
    • +45
    /openacs-4/packages/xowf/lib/inclass-exam.wf
template::set_css_propert: generalize function

template::hide: new API function to hide certain CSS classes via javascript

improve readability

Added HashKeyPartitionedCache:

This is type of cache is like a "KeyPartitionedCache" but works as

well with strings as keys while the "KeyPartitionedCache" requires numeric

keys.

    • -274
    • +308
    /openacs-4/packages/acs-tcl/tcl/acs-cache-procs.tcl
mark "acs_lookup_magic_object" explicit as deprecated,

use "acs_magic_object" instead (which is per-thread cached)

fix output from tcltrace procs

added optional field for expected solution

add optional text descriptions to short_text fields