• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Fix parameter names

Refine test again so that no folder is created where real objects are supposed to be

Refine test so it cleans after itself

Make so that the proctoring folder can be assumed existing when retrieved, update automated tests

Automated tests for proctoring api

    • -0
    • +109
    ./test/proctoring-test-procs.tcl
file proctoring-test-procs.tcl was initially added on branch oacs-5-10.

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

An own package for proctoring support.

What is there

- adp includes implementing the main proctoring user interaction: desired page can be enclosed in an iframe that will send shaphots taken from browser's camera and microphone at random intervals. Various options can be specified, including custom UI messages and the include can be integrated in custom pages or as part xowiki/xowf object methods

- wizard-based step-by-step configuration of user's setup

- english and german localization

- default proctoring upload endpoints upon package mount

- configuration data-model and api

What is missing

- reporting UI includes (porting from downstream should come shortly)

- some message key is WU specific (but can be customized)

- further parameters/customization

- ...

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