• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Implement a simple "progress-bar" interaction when one downloads a zip file:

file is generated while the progress bar is running and the download link is generated and served to the user as part of a util_user_message

Move operations so that they are closer to their computation's actual usage

We are only interested in the side effects of this computation

Break overlong line

Take more advantage of exception handling

Simplify determining outfile destination

Fix english of query name

Check objects ids all in one query, before any further action is taken

Use 'revision_id' as a tiebreaker in case creation_date is the same, which can happen if different revisions were created inside a single transaction.

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

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.

fix once more handling of internal redirects in error cases

many thanks to thomas renner!

Maintain revision date for "update_attribute_from_slot"

This is not a full-featured version, since it does not update the

modifying user and the modifying IP (since this data is not

always available). But this version is at least good enough

for experimenting and checking for unwanted side-effects.

xotcl-core: upadated version number to 5.10.0d40

xowf: upadated version number to 5.10.0d39

    • -2
    • +3
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
improve comments, make logging output more regular

    • -8
    • +6
    /openacs-4/packages/xowiki/www/index.vuh
Make sure the file is downloaded with a .seb extension

Avoid double encoding of base URL

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.

improve comments and reguarity of log messages

    • -5
    • +7
    /openacs-4/packages/xowf/www/index.vuh
no need to ask answer_manager for package_id

    • -2
    • +1
    /openacs-4/packages/xowf/lib/inclass-exam.wf
fix editing bug

add missing variable which was deleted during the refactoring of the exam protocol

    • -0
    • +1
    /openacs-4/packages/xowf/lib/inclass-exam.wf
Do not localize the file name: it is not expected that message keys are expanded here as we do for the file title

Port sanitizing of upload file name from downstream

Remove message keys sanitizing, which does not belong here

add bulk-notification functionality to participants_table

    • -3
    • +3
    /openacs-4/packages/xowf/lib/inclass-exam.wf
adapt personal-notification interface to support bulk messaging

Reconcile unusual folder structure