• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file iprange-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xowf/tcl/iprange-init.tcl
Added support for restricting access to exams based on IP addresses.

In order to avoid the problem that students might participate on exams

intended to be held e.g. on campus from at home, one can now restrict

the access based on IP ranges. It is possible to restrict the access

via multiple range blocks that can be predefined by the sysadmins. One

could predefine e.g. IP range blocks for "Campus LAN", "On Site",

"VPN", etc., which can be selected by lecturers for individual exams.

Every IP range block can be defined via multiple entries of disallowed

and allowed IP ranges, where the addresses can be specified via IPv4

or IPv6 CIDR blocks (e.g. 127.208.0.0/16), or with wild cards or

individual IP addresses. The usage of CIDR blocks requires an update

to the updated version of NaviServer.

The IP restriction is used in the current implementation for

restricting the regular start of the exam (proctored or

non-proctored). Lecturers can still perform test runs for exams with

restricted access.

Bump version number to 5.10.1d31

    • -1
    • +4
    /openacs-4/packages/xowf/lib/inclass-exam.wf
    • -0
    • +24
    /openacs-4/packages/xowf/tcl/iprange-init.tcl
    • -0
    • +67
    /openacs-4/packages/xowf/tcl/iprange-procs.tcl
Revert additional fallbacks, one should take care that ad_conn is invoked correctly

Provide further fallbacks for ad_conn

Reduce number of queries, improve documentation

Queries could be made even less e.g. by locking and querying the tuples in one statement. However, it would be trickyer to make the code portable.

Simplify nsv idiom

Make sure the value we validate is a list

check that provided signature is a list, otherwise lassign will fail afterwards

Cleanup leftover code

Reimplement the add/edit api to use ad_form

file comment-add-edit.adp was initially added on branch oacs-5-10.

file comment-edit.adp was initially added on branch oacs-5-10.

file comment-add.adp was initially added on branch oacs-5-10.

file comment-add-edit.tcl was initially added on branch oacs-5-10.

Cleanup trivial remarks, provide the user_id explictly to the permission check

Fix typo

Enforce the mimetype the same in follow up script

Enforce only valid mime types

harden page contract

Make publish_body required, as we already enforce it down the line

    • -2
    • +2
    /openacs-4/packages/news/www/item-create.tcl
Fix more boolean expressions

    • -3
    • +3
    /openacs-4/packages/news/www/item-create-3.tcl
take page contract into account + harden page contract

harden page contract

harden page contract

    • -2
    • +2
    /openacs-4/packages/forums/www/user-history.tcl
prefer global variable over proc

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
deactivate options checking for for role-members

seems currently broken

increase default value of number of potential alternatives to 25

refine form.form and validation errors

harden page contract

Simplify documentation