• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge with missing files

  1. … 1450 more files in changeset.
Don't reset the upload timeout on audio uploads

Don't trigger the "too long without artifacts" timeout in case we are just doing dummy uploads

improved spelling

Do not enforce that pictures are always different on desktop screens, as they may be still for longer than the average picture interval

Don't draw a border around the proctoring iframe, to reduce UI cluttering

Provide a flag border_p

When this flag is enabled, an additional border will be drawn around the iframe embedding the proctored object.

Useful to make the proctored session more visible by e.g. in-person supervisors during an exam.

  1. … 2 more files in changeset.
Provide a Bootstrap-agnostic way to make the iframe "as big as possible"

  1. … 1 more file in changeset.
Make btn CSS BS3 and BS5 aware

Many thanks to Monika Andergassen

  1. … 1 more file in changeset.
Be Bootstrap 5 friendly

Prefer modal implementation from acs-templating to the various approaches used so far

  1. … 2 more files in changeset.
Be stricter with user output:

- enable again the check for monochrome pictures

- enable for the screen as well that one should not send the same identycal picture twice

Reduce impact of PiP preview on the user experience: start PiP only when the window loses focus and interrupt PiP whenever the user interacts with the page in the foreground again

Implement "ground-truth" check for proctoring to make sure that we are sending pictures

When more than 10 times the expected maximum proctoring interval has pasased without any picture being successfully sent to the server, the proctored session will be aborted.

  1. … 6 more files in changeset.
Port of downstream behavior:

to prevent modern browsers to shut down proctoring when put out of focus, make so that a foreground PiP of one of the streams is always displayed.

Reuse the canvas objects throughout the proctoring

Follow Chrome suggestion and apply the willReadFrequently option to the canvas context

See https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently

Fully qualify global classes

Use a consistent idiom to check for undefined

AudioContext is now widely supported

Stop supporting old-sytle media capturing

Prefer an idiom that won't create a fresh object to reset array

Style changes:

- use ' instead of " consistently in the code

- use strict equality operators

Modernize javascript:

- use const and let instead of var to better specify the scope and lifetime of variables

Fix event we listen to

Shorten idioms

Modernize javascript

- prefer querySelector api

- use classList to manipulate the objects classes

Declare variable as constant

Style changes:

- use ' instead of " to delimit strings

- use strict equality operators

    • -115
    • +115
    ./resources/proctored-page.js
Modernize javascript idioms