• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Provide an api to store proctoring artifacts, and a callback hook for postprocessing

    • -0
    • +124
    ./test/proctoring-test-procs.tcl
  1. … 2 more files in changeset.
file apm-callback-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./apm-callback-procs.tcl
Introduce a data model for "proctoring artifacts", aka the pictures

and audios, which so far have only lived as files in the filesystem

named after a convention

The new datamodel allows to quickly and reliably retrieve the pictures

collected by proctoring and also provides for a technical space, in

form of a JSON metadata column, to store additional information coming

from e.g. postprocessing phases.

The idea is to use this feature to provide reviewing tools of proctoring results and allow for flexile downstream postprocessing.

The file naming convention has not been changed for the time being, so this would be

retro-compatible. However, integrators should start relying on the new

data model to retrieve pictures.

  1. … 8 more files in changeset.
Merge if conditions

Improve doc

Fix typical last minute mistake

Proctoring enforcing reform:

so far, to proctor applications that do not have a "single point of entry", such as e.g. dotlrn communities, we have integrated the lib/proctoring-enforce include into the website master template. Now we improve from this by introducing a callback mechanism that allows the single packages to decide if a request is "theirs to be proctored" or not.

  1. … 3 more files in changeset.
file proctoring-callback-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./proctoring-callback-procs.tcl
Fix typo

improve spelling

  1. … 42 more files in changeset.
Update doc

Prefer returning forbidden, unauthorized actually asks for authentication

Fix typo

Safe Exam Browser support reform:

- capture both RequestHash and ConfigKeyHash from the request headers and use both to validate the request. This enables to choose to just enforce the plain conf, instead of the whole conf+binaries combination, which is platform-specific

- support storing multiple keys, required e.g. to support multiple platform-specific keys

- make suppling of the config file optional

- extend automated tests to cover new features

- clanup redundant index

- return config file using its stored filename

  1. … 3 more files in changeset.
Correct hash challenging:

actually, the hash sent by the browser changes based on the requested URL, so it does not make sense to set it directly.

  1. … 2 more files in changeset.
Make sure the file is downloaded with a .seb extension

file safe-exam-browser-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./safe-exam-browser-procs.tcl
Basic backend support for Safe Exam Browser (https://safeexambrowser.org/):

via the API is possible to associate a Safe Exam Browser configuration and its validation key to

the proctored object. The proctored page will then take care of enforcing that, if the safe exam

browser is in use, the supplied request header matches with the configuration and the URL.

When such match fails, we now return the configuration file to the browser, so that users can

open it and restart their session properly configured.

  1. … 6 more files in changeset.
Make test more robust when re-running

improve spelling

  1. … 1 more file in changeset.
Refactoring, as proctoring files are not only pictures, make api public, write automated test

  1. … 1 more file in changeset.
Use better timing idiom

Implement a checksum + cache mechanism to check whether user is sending the same file multiple times:

this is needed to address the problem of timeouts, where the server might process a request even when the client has given up and rescheduled the upload. We now store the latest checksum that has been received and compare it with the new picture.

  1. … 1 more file in changeset.
file proctoring-support-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./proctoring-support-init.tcl
Mention covered api

Do not treat invalid integers as if they were the empty string

Provide an api to delete proctoring folders, extend regression tests

    • -12
    • +18
    ./test/proctoring-test-procs.tcl
Handle as well the already existing possibility that audio is not recorded

  1. … 2 more files in changeset.
Extend the proctoring configuration datamodel to store and manage also information about whether we want to record combination of camera and desktop

  1. … 3 more files in changeset.
improve spelling

  1. … 3 more files in changeset.