• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

generalize modifier handling in "correct_when"

prefer "string map" over "regsub"

do not show count-down timer always

don't show results of "marked" right now

    • -0
    • +1
    /openacs-4/packages/xowf/lib/inclass-exam.wf
add support to get revisions with instance variables

    • -9
    • +21
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Show number of active users in chat. Many thanks to Monika Andergassen

Added count-down timer for inclass-exam-answer.wf

- new API call Question_manager.exam_target_time

- new includelet "countdown-timer" (based on answer_manager.countdown_timer)

shorten date info in title, since it is redundant

    • -2
    • +2
    /openacs-4/packages/xowf/lib/inclass-exam.wf
allow minimal number of selected alternatives of 1 (does not always make sense, but it is useful for text exercises)

whitespace cleanup

Improved display for print-answers:

- added link from exam protocol to single (more detailed) view

- display in exam protocol answer times up to the live-revision

(and not over all elements)

www-make-live-revision: add support for "local_return_url" (when "return_url" is not specified)

Improved display and interaction with print-answers:

- added explicit display of displayed revision and submitted revision

- added option to change live revision

    • -10
    • +43
    /openacs-4/packages/xowf/tcl/test-item-procs.tcl
Improved display of print-answers:

- added information about current page of student

- improved display of submission state

- made message key capitalization more consistent

    • -5
    • +5
    /openacs-4/packages/xowf/lib/inclass-exam.wf