CVS log for loncom/auth/blockedaccess.pm
Up to [LON-CAPA] / loncom / auth
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 30 15:55:40 2021 UTC (3 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
HEAD
Diff to previous 1.6: preferred, unified
Changes since revision 1.6: +5 -4
lines
- Bug 6955 IP-based blocking. Pass user'sIP address as third arg to
loncommon::blockcheck() and second to loncommon::blocking_status().
Revision
1.6:
download - view:
text,
markup,
annotated -
[selected for diffs]
Thu Oct 1 10:16:33 2020 UTC (4 years, 2 months ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_msu
Diff to previous 1.5:
preferred,
unified
Changes since revision 1.5: +11 -2
lines
- Bug 6518 Content blocking during quiz/exam.
- For resources not in a course directly, but instead referenced by resources
which are, symb to check to determine whether access should be blocked and
why is symb of resource containing the dependency.
- No $env{'request.enc'} in effect for dependent files.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Sep 28 00:10:27 2020 UTC (4 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.4: preferred, unified to selected 1.6: preferred, unified
Changes since revision 1.4: +24 -7
lines
- Bug 6518.
More comprehensive access to symb for a requested URL to determine when
access should be blocked and why, if content blocking in use.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 31 23:10:47 2012 UTC (12 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_2_uiuc,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0
Diff to previous 1.3: preferred, unified to selected 1.6: preferred, unified
Changes since revision 1.3: +17 -6
lines
- Bug 6518
- Exam blocks can also block access to specified folders and/or resources
for the duration of an exam.
- Start time for blocking can be based on activation of the timer for
a specific timed quiz item (map or resource-specific). End time for
blocking is then start time plus the duration of the timed interval.
lonnet.pm:
- &rolesinit() now returns an array containing references to hashes
for the following: userroles, firstaccenv, timerintenv.
- New db file: timerinterval.db contains interval which applied when
user activated timer for a map or resource for which time limit applied.
- needed to determine end time for exam blocks which are triggered by
timer activation.
- New routine &get_comm_blocks() used to get communication/collaboration
blocks from a course. Now cached for 10 minutes in memcached.
- New routine: &has_comm_blocking() used to determine if exam block
applies to display of requested content item in a course. Used by
&allowed().
- new routine: &check_docs_block() used by &has_comm_blocking().
loncommon.pm:
- new items added to user's environment by &init_user_environment()
- $env{'course.courseid.firstaccess.symb'} and
$env{'course.courseid.timerinterval.symb'} where symb is the symb
of the resource or map which provides the activation-based block
for access to specific content.
blockedaccess.pm:
- now called when access to content is blocked by an exam block.
duration, and setter of block now available in pop-up from:
&loncommon::blocking_status() for this type of access control.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 13 17:20:26 2009 UTC (15 years, 10 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_99_1,
version_2_8_99_0,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
bz6209-base,
bz6209,
bz5969,
bz2851,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
GCI_3,
GCI_2,
BZ5971-printing-apage,
BZ5434-fox,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
Diff to previous 1.2: preferred, unified to selected 1.6: preferred, unified
Changes since revision 1.2: +2 -0
lines
Added missing CVS Ids for automatic version numbering to script header
(Irrespective if the script is still in use or not)
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 11 18:59:21 2006 UTC (18 years ago) by albertel
Branches: MAIN
CVS tags: version_2_8_X,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_X,
version_2_3_99_0,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_99_1,
version_2_2_99_0,
GCI_1
Diff to previous 1.1: preferred, unified to selected 1.6: preferred, unified
Changes since revision 1.1: +1 -2
lines
- style
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 11 14:06:04 2006 UTC (18 years ago) by raeburn
Branches: MAIN
Diff to selected 1.6: preferred, unified
Add response code of 'B' to lonnet::allowed() to indicate access to a file is currently subject to a block, because the file owner is part of a course with active communications blocking, and file viewer does not have 'evb' privilege in the course to nullify the block.
Used to block access to portfolio files. Response of 'B' triggers blockedaccess.pm which displays information about blocking conditions.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>