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

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

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

Many thanks to Monika Andergassen

  1. … 1 more file in changeset.
Hide other potentially visible components of the template master

Many thanks to Monika Andergassen

Checkboxes must be retrieved earlier

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

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

  1. … 1 more file in changeset.
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. … 11 more files in changeset.
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. … 5 more files in changeset.
Improve documentation

Fix prepared statement syntax

  1. … 3 more files in changeset.
Define variables as constants

Replace api

  1. … 1 more file in changeset.
Avoid message keys from packages outside the dependency tree, provide a way to customize the proctoring session name

Prefer a message key in the dependency tree of this package

Export the "m" request parameter to support the use case of this UI being integrated as a XoWiki method template

Use a microseconds resolution to store the proctoring artifacts

  1. … 1 more file in changeset.
Use a more stable logic to tell which image to use to store comments: if camera pictures are there, use those and otherwise use the desktop

Filter consistently with the new definition of "reviewed"

Usability improvement: disable the buttons to flag/unflag artifacts when these are already flagged/unflagged (applies also to bulk buttons)

Behavior reform:

now commenting an artifact won't be considered as "OK". To flag an artifact as "OK" or "for review", one has to explicitly click on the green and red buttons.

  1. … 2 more files in changeset.