• last updated 19 mins ago
Constraints: committers
Constraints: files
Constraints: dates
improved spelling

Replace explicit observer approach for lazy loading with modern HTML features

- images: use the loading attribute to request lazy loading (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading)

- audio: use the preload attribute to indicate that only metadata are needed at load time and not the entire media (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio#preload)

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.

Fix idiom: the value should be null to not be counted

Provide the id directly to the subquery to improve planning and execution, use quicker json idioms to count review outcomes

Provide a Bootstrap-agnostic way to make the iframe "as big as possible"

Make btn CSS BS3 and BS5 aware

Many thanks to Monika Andergassen

Hide other potentially visible components of the template master

Many thanks to Monika Andergassen

Checkboxes must be retrieved earlier

Be Bootstrap 5 friendly

Space the save button a bit

Truncate timestamp to the seconds

Apply the Boostrap classes also to the other buttons for consistency

Be Bootstrap5 friendly on the buttons formerly known as "default"

Fix typo

Modernize JavaScript:

- Be specific about the scope and lifetime of variables via const and let

- Always prefer "for" loops to iterators

- Cleanup obsolete wrappers

- Use single and double quotes consistently

- Use the equals operator consistently

    • -197
    • +190
Prefer modal implementation from acs-templating to the various approaches used so far

Support both Bootstrap 3 "Panels" and Bootstrap 5 "Cards"

Many thanks to Monika Andergassen

skip "-url" in "export_vars -url" since it is the default

  1. … 10 more files in changeset.
bumped version numbers to 5.10.1b1

  1. … 85 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.

    • -0
    • +1
    • -0
    • +1
    • -0
    • +1
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.

Improve documentation

Fix prepared statement syntax

    • -1
    • +1
  1. … 1 more file in changeset.
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