Log of /branches/gage_dev/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm
Parent Directory
Revision
6655 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 28 17:49:32 2010 UTC (2 years, 4 months ago) by
gage
File length: 15701 byte(s)
Diff to
previous 6356
changed all occurences of "published" to "visible" and of "unpublished" to "hidden"
also modified database.conf.dist so that visible is aliased to "published".
thus the database reference remains "published" but everything else is changed.
Next project: create an easy automatic upgrade of tables to change field name from
"published" to "visible" and then change back the database.conf.dist
Revision
6356 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 12 03:59:39 2010 UTC (2 years, 10 months ago) by
gage
File length: 15703 byte(s)
Diff to
previous 6299
Fixed minor bugs in fformatting the timestamp to conform to the local time zone.
Simplified use of formatDateTime
corrected address in the link to bugzilla
Revision
4108 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 25 16:37:15 2006 UTC (6 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm
File length: 15400 byte(s)
Diff to
previous 3973
improvements to URL handling.
* use use_abs_url option of systemLink to generate URLs, rather than
hardcoding logic.
* don't generate a full URL for the return to your work link. it isn't
needed.
* in the "This feedback message was automatically generated by the
WeBWorK system at" message, give the URL to the webwork home module,
rather than just the host and port.
Revision
3688 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 5 18:16:52 2005 UTC (7 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm
File length: 14823 byte(s)
Diff to
previous 3648
Implemented status system as per bug #743.
The status system consists of a new hash in the course environment,
%statuses, that maps status names (like "Enrolled", "Drop", "Audit") to
(a) a list of allowed abbreviations for the status and (b) a list of
behaviors the system should have when dealing with users who have the
status.
I didn't want to have to mangle that hash-of-hashes-of-arrays myself in
many modules, but I also didn't want to devote an entire module
(Status.pm) to it. So, I'm trying a little experiment: I've added them
as methods to WeBWorK::CourseEnvironment. My thinkint is that since all
the data for these operations comes from the course environment, so why
not have them be course environment methods? Here they are:
status_abbrev_to_name($status_abbrev)
Given the abbreviation for a status, return the name. Returns undef
if the abbreviation is not found.
status_name_to_abbrevs($status_name)
Returns the list of abbreviations for a given status. Returns an
empty list if the status is not found.
status_has_behavior($status_name, $behavior)
Return true if $status_name lists $behavior.
status_abbrev_has_behavior($status_abbrev, $behavior)
Return true if the status abbreviated by $status_abbrev lists
$behavior.
Since I removed the previous $siteDefaults{status} hash from
global.conf, I have already switched modules that formerly used that
hash over to using the new methods:
Authen.pm: use status_abbrev_has_behavior($status, "allow_course_access")
to determine if a user should be allowed to log in.
Feedback.pm: look up status abbreviation using status_abbrev_to_name()
and print the result for the status field in the email.
Instructor.pm: use status_abbrev_has_behavior($status, "include_in_assignment")
to determine if a user should be included in an assignment.
UserList.pm and UsersAssignedToSet.pm: use status_abbrev_to_name() to
get name of CSS class.
Revision
3627 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 16 19:08:17 2005 UTC (7 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm
File length: 10205 byte(s)
Diff to
previous 3623
feedback is now sent to users with receive_feedback permission
regardless of the contents of the feedbackRecipients list in
global.conf. Comments in global.conf now read:
By default, feeback is sent to all users who have permission to
receive_feedback. If this list is non-empty, feedback is also sent to
the addresses specified here.
* If you want to disable feedback altogether, leave this empty and set
submit_feeback => $nobody in %permissionLevels below. This will
cause the feedback button to go away as well.
* If you want to send email ONLY to addresses in this list, set
receive_feedback => $nodoy in %permissionLevels below.
It's often useful to set this in the course.conf to change the
behavior of feedback for a specific course.
Revision
1663 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm
File length: 9989 byte(s)
Diff to
previous 1636
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.
Here is the new header:
################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
# Artistic License for more details.
################################################################################
Revision
765 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 28 23:56:35 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm
File length: 7835 byte(s)
Diff to
previous 740
removed "nowrap" from barebones.template because it wasn't doing
anything anyway, and every byte counts ;-)
Changed "Logged in as:" to "User:" in ContentGenerator and killed the
CGI::br calls in that message and the "Acting as:" message
Added more context to the context URL in Feedback, and properly
obfuscated some code.
--Dennis
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.