• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve zip file download solution: instead of a link to be clicked, stay closer to previous implementation and trigger the download automatically by including an invisible iframe pointing to the file in the user message

avoid potential loss of submission data on "publish" operations

    • -5
    • +15
    /openacs-4/packages/xowf/lib/inclass-exam.wf
support multiple autosave fields on a single page

file download-zip-2.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/file-storage/www/download-zip-2.tcl
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

file upgrade-5.10.0d14-5.10.0d15.sql was initially added on branch oacs-5-10.

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

file upgrade-1.5.1-2.0.0.sql was initially added on branch oacs-5-10.

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

file upgrade-1.4.2-1.5.0.sql was initially added on branch oacs-5-10.

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

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