[system] / trunk / webwork2 / conf / global.conf.dist Repository:
ViewVC logotype

Log of /trunk/webwork2/conf/global.conf.dist

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3846 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 22 18:41:59 2005 UTC (7 years, 5 months ago) by glarose
File length: 34478 byte(s)
Diff to previous 3839 , to selected 3681
Gateway update: change $gatewayGracePeriod

Revision 3839 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 21 23:19:01 2005 UTC (7 years, 5 months ago) by glarose
File length: 34477 byte(s)
Diff to previous 3831 , to selected 3681
Gateway update: add view_proctored_tests permission level and
gateway_grace_period parameter to global.conf.  view_proctored_tests
will be used to determine if proctored tests by default appear in
a students' problem_set_list.  gateway_grace_period is the time
after the actual time limit for the set that we will still grade
it.

Revision 3831 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 19 03:40:58 2005 UTC (7 years, 5 months ago) by sh002i
File length: 34267 byte(s)
Diff to previous 3826 , to selected 3681
instead of a template hash, we give the default theme name and default
template name.

Revision 3826 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 18 22:00:58 2005 UTC (7 years, 5 months ago) by sh002i
File length: 34256 byte(s)
Diff to previous 3825 , to selected 3681
change it back

Revision 3825 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 18 21:44:54 2005 UTC (7 years, 5 months ago) by sh002i
File length: 34257 byte(s)
Diff to previous 3822 , to selected 3681
test fix of copyright symbol

Revision 3822 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 16 23:03:06 2005 UTC (7 years, 5 months ago) by sh002i
File length: 34256 byte(s)
Diff to previous 3809 , to selected 3681
disable gdbm and sql database layouts, remove unneeded config options.
this is the first step in removing support for these deprecated database
layouts.

Revision 3809 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 13 18:28:52 2005 UTC (7 years, 5 months ago) by sh002i
File length: 34691 byte(s)
Diff to previous 3795 , to selected 3681
use Parser-based num_cmp and fun_cmp by default.

Revision 3795 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 5 19:43:38 2005 UTC (7 years, 5 months ago) by sh002i
File length: 34650 byte(s)
Diff to previous 3764 , to selected 3681
add permission for viewing problem debugging info.

Revision 3764 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 17 22:56:23 2005 UTC (7 years, 6 months ago) by dpvc
File length: 34548 byte(s)
Diff to previous 3717 , to selected 3681
Updated jsMath to version 2.4a.  This fixes a number of alignment
problems.  Most of these are for math in tables, and baseline
alignment issues in MSIE.  A new feature is the ability to
double-click on a mathematical expression on get a small window witht
eh TeX source code for the expression.  This can be disabled by
setting

    $pg{displayModeOptions}{jsMath}{processDoubleClicks} = 0;

in gloabl.conf.

[jsMath v2.4a also includes a number of new features for the tex2math
plugin, but this is not used by WeBWorK, so they will not be listed
here.  See the jsMath home page for more details.]

Revision 3717 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 17 03:37:36 2005 UTC (7 years, 7 months ago) by gage
File length: 34457 byte(s)
Diff to previous 3707 , to selected 3681
Added support for a directory for temporary edit files  default:  templates/tmpEdit

Revision 3707 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 11 21:04:08 2005 UTC (7 years, 7 months ago) by sh002i
File length: 34345 byte(s)
Diff to previous 3701 , to selected 3681
added $default_permission_level

Revision 3701 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 10 22:36:54 2005 UTC (7 years, 7 months ago) by sh002i
File length: 34176 byte(s)
Diff to previous 3698 , to selected 3681
putting site_info back in htdocs. see bug #832.

Revision 3698 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 10 22:17:27 2005 UTC (7 years, 7 months ago) by sh002i
File length: 34183 byte(s)
Diff to previous 3697 , to selected 3681
added names to From: and To: email addresses, if users have names
defined. noted in global.conf.dist that feedbackRecipients can include
user names.

Revision 3697 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 10 22:02:22 2005 UTC (7 years, 7 months ago) by sh002i
File length: 33941 byte(s)
Diff to previous 3691 , to selected 3681
fix for bug #832 -- default site_info.txt is blank and in correct place.

Revision 3691 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 8 21:56:46 2005 UTC (7 years, 7 months ago) by sh002i
File length: 33933 byte(s)
Diff to previous 3688 , to selected 3681
added "include_in_email" behavior to Enrolled and Audit statuses.

Revision 3688 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 5 18:16:52 2005 UTC (7 years, 7 months ago) by sh002i
File length: 33808 byte(s)
Diff to previous 3681
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 3681 - (view) (download) (annotate) - [selected]
Modified Sun Oct 2 19:44:44 2005 UTC (7 years, 7 months ago) by jj
File length: 32900 byte(s)
Diff to previous 3675
Add location/name of simple configuration file.  It is written by the Config module.

Revision 3675 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 30 19:36:57 2005 UTC (7 years, 7 months ago) by sh002i
File length: 32758 byte(s)
Diff to previous 3671 , to selected 3681
added manage_course_files activity. changed FileManger to use new
activity. added hasPermissions() checks to Index and Contentgenerator to
only show File Manger when user has permission.

Revision 3671 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 30 19:15:26 2005 UTC (7 years, 7 months ago) by sh002i
File length: 32710 byte(s)
Diff to previous 3656 , to selected 3681
implemented named roles for permissions system. %userRoles maps role
names to numeric permission levels, and %permissionLevels now maps
activities* to role names. A slight change to Authz.pm accompanies this
change to do the role-to-permission-level lookups.

* a.k.a. operations, privilegespermissions, gotta get the terminology
straight. think of the users!

%userRoles should be used by modules such as UserList for providing more
intelligent editing of the permission_level field. Another possible use
would be to for pretty-printing user types -- a user could be called a
student, ta, professor, etc. based on what role corresponded to their
permission_level.

Revision 3656 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 27 03:58:06 2005 UTC (7 years, 7 months ago) by sh002i
File length: 32332 byte(s)
Diff to previous 3651 , to selected 3681
percent sign snuck in there oops

Revision 3651 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 23 23:31:15 2005 UTC (7 years, 7 months ago) by sh002i
File length: 32335 byte(s)
Diff to previous 3645 , to selected 3681
added download_hardcopy_format_pdf permission, set to $guest. This
allows professors to turn off hardcopy altogether by setting all the
download_hardcopy_format_* permissions to undef. Also change the default
permisisonLevel for $guest to -5, to match the permissionLevels for the
practiceUsers in defaultClasslist.lst. (It was supposed to be -5 all
along.)

Revision 3645 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 22 17:48:38 2005 UTC (7 years, 8 months ago) by sh002i
File length: 32294 byte(s)
Diff to previous 3643 , to selected 3681
implement customizable feedback subject line. The following escape
sequences are recognized:

  %c = course ID
  %u = user ID
  %s = set ID
  %p = problem ID
  %x = section
  %r = recitation
  %% = literal percent sign

Revision 3643 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 21 20:26:29 2005 UTC (7 years, 8 months ago) by apizer
File length: 32646 byte(s)
Diff to previous 3627 , to selected 3681
fixed small typo

Revision 3627 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 16 19:08:17 2005 UTC (7 years, 8 months ago) by sh002i
File length: 32638 byte(s)
Diff to previous 3622 , to selected 3681
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 3622 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 16 17:58:47 2005 UTC (7 years, 8 months ago) by sh002i
File length: 32302 byte(s)
Diff to previous 3617 , to selected 3681
cosmetic changes (blank lines, comments, ordering)

Revision 3617 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 13 17:08:46 2005 UTC (7 years, 8 months ago) by apizer
File length: 32370 byte(s)
Diff to previous 3604 , to selected 3681
Change back to  $mail{smtpServer}  = 'mail.yourschool.edu';

Revision 3604 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 7 01:18:00 2005 UTC (7 years, 8 months ago) by gage
File length: 32367 byte(s)
Diff to previous 3583 , to selected 3681
Typographic clean up of global.conf.dist

Revision 3583 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 28 20:54:51 2005 UTC (7 years, 8 months ago) by jj
File length: 32262 byte(s)
Diff to previous 3581 , to selected 3681
Allow use of an activity log which logs every click, stored on a
per-course basis.  It is turned off by default.  It can be turned
on/off for individual courses.  The three pieces here:

  global.conf.dist: adds a place to define the log file.  Here an
    empty value signals to not do this logging.

  ContentGenerator.pm: check to see if the log file is defined (and
    (non-trivial), and if so, write a log entry.  We check if it is
    defined at this point to both save some time, and because if we
    get to writeCourseLog and the log isn't defined, we get a pink
    screen.

    The bulk of the text of the log entry is performed by a new method
    prepare_activity_entry.  By default, this gives the url, and a list
    of all the cgi parameters (except for key and passwd).  This method
    can be overridden by individual modules.  The default format may
    change.  It may take some fine tuning to see what is best.

    Also, this is one of the first functions called by go.  We may want
    it to go after the action has taken place if we want instructor
    modules to be able to report results of their work through this log.

  SetMaker.pm: gives an example of overriding prepare_activity_entry.
    SetMaker has lots (and lots and lots) of data stored in cgi
    parameters.  We probably don't want to log that.  We might want to
    log a little more in SetMaker than we do here (target set), but
    this gives a start.

Revision 3581 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 26 18:03:39 2005 UTC (7 years, 8 months ago) by sh002i
File length: 31981 byte(s)
Diff to previous 3580 , to selected 3681
replaced $externalPrograms{netpbm} with lexical $netpbm_prefix. this
will prevent netpbm from going into the cource environment (where is it
not needed) and makes it clear that it is a prefix and not the path to a
program.

Revision 3580 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 26 17:30:05 2005 UTC (7 years, 8 months ago) by jj
File length: 32093 byte(s)
Diff to previous 3571 , to selected 3681
When dealing with showOldAnswers defaults, allow control of who get get the system default after the due date instead of hard-wiring it.  Default value is that students don't initially get old answers after the due date, but professors do.

Revision 3571 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 25 18:17:14 2005 UTC (7 years, 8 months ago) by jj
File length: 31881 byte(s)
Diff to previous 3564 , to selected 3681
Load Parser::Legacy.

This change is needed for the current version of extraAnswerEvaluators.pl
to work out of the box.  By default, one will still get the original
(non-Parser) versions of num_cmp and fun_cmp, but turning on the
Parser-based versions will be much easier (just one line to change, or
override on a course by course basis).

There will be a companion change in the pg directories.

Revision 3564 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 24 20:22:32 2005 UTC (7 years, 8 months ago) by jj
File length: 31715 byte(s)
Diff to previous 3552 , to selected 3681
Make it so that by default, practice users don't see saved answers.  That can be controlled in global.conf.dist.  Also, default to not showing saved answers after the due date.  In all cases, the Apply options button can adjust what you want.

Also fixed a bug with showOldAnswers related to '', 0, and undef being similar in perl.

Revision 3552 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 23 22:53:25 2005 UTC (7 years, 8 months ago) by jj
File length: 31653 byte(s)
Diff to previous 3546 , to selected 3681
Allow snippets of html (or Tex) to be specified in global.conf to be inserted right before/after the body of a problem.  A commented out example which produces boxed problem in HTML is given.  In this approach, the added parts are not used for problems rendered in the Library Browser or Problem Set Detail.

This addresses bug 817.  This solution may not be suitable for inclusion of needed bits for modes such as asciimath or tth because the those bits of html are probably needed for display in the Library Browser.  It is hard to distinguish bits which are always wanted, and those which are only wanted for use by Problem.

To make use of this, you need to update your global.conf, and make the corresponding pg update.

Revision 3546 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 01:23:16 2005 UTC (7 years, 9 months ago) by jj
File length: 30904 byte(s)
Diff to previous 3538 , to selected 3681
Moves configuration of gif2png and friends to global.conf.  Individual
paths, and/or arguments to the conversion statements can be adjusted.

To make use of this change, update global.conf and pg/macros/dangerousmacros.pl
This should close bug 813.  At some time, the scripts should be removed
from the bin directory.

Revision 3538 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 21 00:03:38 2005 UTC (7 years, 9 months ago) by dpvc
File length: 30090 byte(s)
Diff to previous 3436 , to selected 3681
Changes needed for version 2 of jsMath.  Since the image font fallback
method works well enough without having the TeX fonts installed, the
font warning message has been turned off by default.  There is also a
new parameter that controls whether the image fonts are to be used, so
if you don't want to unpack the jsMath-fonts.tar.gz file (for space
considerations), you should set

      $pg{displayModeOptions}{jsMath}{noImageFonts} = 1;

in global.conf.

Revision 3436 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 31 17:24:50 2005 UTC (7 years, 9 months ago) by gage
File length: 29999 byte(s)
Diff to previous 3407 , to selected 3681
Make "modelCourse" the default course to use as a model when creating a new course.
The contents of the templates directory of modelCourse is copied into the templates
directory of the new course.

Revision 3407 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 26 21:15:04 2005 UTC (7 years, 9 months ago) by jj
File length: 29767 byte(s)
Diff to previous 3389 , to selected 3681
Preparing for upgrading webwork part of problem library code.  Adding a
variable for version so we can maintain backward compatibility.

Revision 3389 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 19 17:22:53 2005 UTC (7 years, 10 months ago) by sh002i
File length: 29645 byte(s)
Diff to previous 3378 , to selected 3681
changed default paths from /usr/local to /usr as per old email:

On Aug 24, 2004, at 11:23 AM, Arnold Pizer wrote:

> In the tarball for WW 1.9 I reset all paths to /usr/bin/ (rather than
> /usr/local/bin which FreeBSD or at least Hoss uses).  That way things
> work out of the box for most linux systems (all that I have played
> with).  I think it would be a good thing to do with future releases on
> WW 2.

Sounds good to me.
-sam

Revision 3378 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 14 14:30:19 2005 UTC (7 years, 10 months ago) by glarose
File length: 29602 byte(s)
Diff to previous 3377 , to selected 3681
Add gateway template to templates hash.

Revision 3377 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 14 13:15:27 2005 UTC (7 years, 10 months ago) by glarose
File length: 29616 byte(s)
Diff to previous 3365 , to selected 3681
Preliminary commit of changes to add Gateway module.
This adds to WeBWorK
 - the ability to create versioned, timed problem sets ("gateway tests")
   for which all problems are displayed on a single page ("versioned"
   means that students can get multiple versions of the problem set),
 - the ability to create sets that draw problems from groups of
   problems, and
 - the ability to create sets that require a proctor login to start
   and grade.
Sets can be defined as gateway tests or proctored gateway tests from
the ProblemSetDetail page.

Not quite bug-free yet.  Known bugs include handling of problem values
on the Student Progress page (I think this may be a problem with
changing from sql database format where all entries were 'text' to
sql_single in ver 2.1, where they are integer), and a division by zero
error on the grades page (which may be the same problem).

Tests with a number of attempts per version greater than one haven't
been carefully tested, nor has scoring of gateway tests.

Revision 3365 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 12 00:52:00 2005 UTC (7 years, 10 months ago) by sh002i
File length: 29551 byte(s)
Diff to previous 3330 , to selected 3681
added login log.

Revision 3330 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 2 16:52:31 2005 UTC (7 years, 10 months ago) by dpvc
File length: 29474 byte(s)
Diff to previous 3237 , to selected 3681
Major updates to the file manager to allow it to:

1.  Show dates and sizes of files (optionally, since some browsers
    don't handle the CSS to change to a monospaced font).

2.  Provide better control over renaming of uploaded files whose
    names already exist (there is a checkbox for overwriting them
    automatically; if unchecked, the user is prompted for a new name).

3.  Allow the creation or gzipped tar archives from files in the
    course directory.  Multiple files and directories can be selected
    to be included in the archive.  If only one file is selected, the
    archive will have it's name with ".tgz" appended; if mulitple
    files are selected, the archive will get a unique name starting
    with the course ID.

4.  Provide a checkbox that controls whether uploaded .tgz archives
    are unpacked automatically, and a second that controls whether the
    unpacked archive file is deleted afterward.  Files from the
    archive will be unpacked into the current directory, and will
    overwrite existing files silently.

5.  Follow symbolic links that are to files or directories within the
    course hierarchy.  In addition, there is a new variable in
    global.conf that provides a list of "valid links"; these are
    directories to which the FileManager is allowed to follow symbolic
    links.  The system administator can add directories to this list
    in order to allow professors to access limited areas outside their
    course directory (but they still need to have a symblic link
    within their course to those areas in order to view them).

I think this covers all the current FileManager requests, and this
closes bug#791.

Revision 3237 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 20 16:34:20 2005 UTC (8 years ago) by gage
File length: 29108 byte(s)
Diff to previous 3224 , to selected 3681
Added a location for site_info.txt

Revision 3224 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 14 01:32:19 2005 UTC (8 years ago) by dpvc
File length: 28980 byte(s)
Diff to previous 3211 , to selected 3681
Changes needed to make loadMacros() look through a path of directories
rather than just course/templates/macros and pg/macros.  You can
specify the path in the global.conf file.

You also need to make the update to pg/macros/dangerousMacros.pl

Revision 3211 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 9 15:36:26 2005 UTC (8 years, 1 month ago) by gage
File length: 28686 byte(s)
Diff to previous 3124 , to selected 3681
Added utf8 to the modules called to set up AlgParser.  Davide Cervone found this
fix which corrects bug #754

Revision 3124 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 28 21:24:18 2005 UTC (8 years, 3 months ago) by sh002i
File length: 28672 byte(s)
Diff to previous 3069 , to selected 3681
Added WWDBv3 and stylesheet settings from my local copy.

Revision 3069 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 28 04:56:27 2004 UTC (8 years, 4 months ago) by gage
File length: 27850 byte(s)
Diff to previous 3009 , to selected 3681
Added modifications that support the creation of blank problems
to be added to sets.  blankProblem.pg is stationery for a new
problem.

Revision 3009 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 22 17:43:16 2004 UTC (8 years, 6 months ago) by sh002i
File length: 27723 byte(s)
Diff to previous 3003 , to selected 3681
added $guest to permissionLevels hash. Guests to not have the following
permissions that students do:

* report_bugs
* submit_feedback
* change_password
* change_email_address
* record_answers_after_open_date_with_attempts

Revision 3003 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 19 19:13:20 2004 UTC (8 years, 6 months ago) by sh002i
File length: 27728 byte(s)
Diff to previous 2983 , to selected 3681
added "login" permission, handling code.

Revision 2983 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 22:00:10 2004 UTC (8 years, 6 months ago) by dpvc
File length: 27692 byte(s)
Diff to previous 2954 , to selected 3681
Added ability to control the "Missing TeX Fonts" message generated by
jsMath.  There are now two parameters in global.conf that control the
message.  You can set

	$pg{displayModeOptions}{jsMath}{reportMissingFonts}

to 0 if you want no font messages, and you can set

	$pg{displayModeOptions}{jsMath}{missingFontMessage}

to a string that should be issued when the fonts are missing.  This
can be an HTML string, so you can include a link to the jsMath font
page, as the current message does.  The message will be set in a <DIV>
of class NoFontMessage, so the style attributes can be controled in
the content-generators template file.

Revision 2954 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 22 18:03:14 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27474 byte(s)
Diff to previous 2940 , to selected 3681
send call stack to error log, use Apache::Log to log warnings.

Revision 2940 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 20 17:00:46 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27454 byte(s)
Diff to previous 2925 , to selected 3681
fixed typo

Revision 2925 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 14 16:55:36 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27454 byte(s)
Diff to previous 2883 , to selected 3681
removed duplicated comment

Revision 2883 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 10 20:33:51 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27571 byte(s)
Diff to previous 2857 , to selected 3681
added lowercase "a", "d", and "c" as valid statuses.

Revision 2857 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 4 18:24:14 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27386 byte(s)
Diff to previous 2849 , to selected 3681
added instructions for listing all valid time zones.

Revision 2849 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 29 21:38:06 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27186 byte(s)
Diff to previous 2831 , to selected 3681
added permissions to allow disabling of feedback, options.
submit_feedback, change_password, change_email_address

Revision 2831 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 27 17:16:14 2004 UTC (8 years, 7 months ago) by sh002i
File length: 27051 byte(s)
Diff to previous 2770 , to selected 3681
added hosted_courses log by default

Revision 2770 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 11 06:15:14 2004 UTC (8 years, 8 months ago) by sh002i
File length: 26831 byte(s)
Diff to previous 2764 , to selected 3681
PRELIMINARY SUPPORT FOR TIME ZONES (towards closing bug #532).

(1) new configuration variable $siteDefaults{timezone}

Set the default timezone of courses on this server. This must be a value
valid for the TZ environment variable. See also tzset(3).

If left blank, the system timezone will be used. This is usually what
you want. You might want to set this if your server is NOT in the same
timezone as your school. If just a few courses are in a different
timezone, set this in course.conf for the affected courses instead.

(2) support for second optional $display_tz argument to formatDateTime()
and parseDateTime().

If specified, formatted string datetimes will be considered to be in
that timezone instead of the server's local timezone.


Remaining work:

find all calls to *DateTime() and add the $client_tz argument.

$client_tz is is really something that *DateTime() should be able to
grab out of $ce, but they're not a method on ContentGenerator, so we
have to pass it in. It might be worth moving them to ContentGenerator.
(Or some new subclass of ContentGenerator or something?)

Revision 2764 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 22:03:28 2004 UTC (8 years, 8 months ago) by sh002i
File length: 26374 byte(s)
Diff to previous 2735 , to selected 3681
new using $authz for permissions checks in hardcopy

Revision 2735 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 5 00:54:31 2004 UTC (8 years, 8 months ago) by dpvc
File length: 26203 byte(s)
Diff to previous 2724 , to selected 3681
Modified ShowAnswers.pm so that the individual answsers are colored coded to
indicate whether they are correct or not.  I also added a permission
level called "dont_log_past_answers" that is true for professors (so
the answer log won't be cluttered up with professors answers, which we
don't really care about seeing).

While I was at it, I converted ShowAnswers.pm to use the CGI package
rather than explicit HTML.

Revision 2724 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 22:53:00 2004 UTC (8 years, 8 months ago) by sh002i
File length: 26154 byte(s)
Diff to previous 2722 , to selected 3681
cleaned up mike's permission level patch to Feedback.pm:
- added receive_feedback permission (conf/global.conf.dist)
- use standard hasPermissions() function (lib/WeBWorK/ContentGenerator/Feedback.pm)
- check for undefined and empty string in permission field (lib/WeBWorK/Authz.pm)

Revision 2722 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 22:30:34 2004 UTC (8 years, 8 months ago) by sh002i
File length: 26113 byte(s)
Diff to previous 2694 , to selected 3681
rel-2-0-patches merge: allow pdflatex to handle eps graphics

Revision 2694 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 28 01:30:03 2004 UTC (8 years, 8 months ago) by sh002i
File length: 26027 byte(s)
Diff to previous 2690 , to selected 3681
added instructions/examples for problib hash from 2-0-patches

Revision 2690 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 27 21:13:22 2004 UTC (8 years, 8 months ago) by sh002i
File length: 25781 byte(s)
Diff to previous 2677 , to selected 3681
changed default database layout to sql_single

Revision 2677 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 23 19:14:42 2004 UTC (8 years, 8 months ago) by jj
File length: 25770 byte(s)
Diff to previous 2577 , to selected 3681
Changed the default behavior of feedback e-mail addresses to what was
probably intended.  The behavior before was by default, all feedback e-mail
was disabled.  Now, by default feedback goes to profs/tas with e-mail
addresses, or to the list of people if it is explicitly given (which can be
blank if you want to disable feedback e-mail).

Revision 2577 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 4 20:54:35 2004 UTC (8 years, 9 months ago) by dpvc
File length: 25768 byte(s)
Diff to previous 2520 , to selected 3681
Added the parser to the preloaded modules list.

Revision 2520 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 14:27:33 2004 UTC (8 years, 10 months ago) by sh002i
File length: 25738 byte(s)
Diff to previous 2519 , to selected 3681
tiny formatting change -- rewrapped comment.

Revision 2519 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 02:16:37 2004 UTC (8 years, 10 months ago) by gage
File length: 25749 byte(s)
Diff to previous 2516 , to selected 3681
Added comment

Revision 2516 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 00:59:14 2004 UTC (8 years, 10 months ago) by sh002i
File length: 25660 byte(s)
Diff to previous 2515 , to selected 3681
set default paths to /opt/{webwork2,pg}

Revision 2515 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 21:22:42 2004 UTC (8 years, 10 months ago) by sh002i
File length: 25673 byte(s)
Diff to previous 2508 , to selected 3681
YET ANOTHER CONFIG CHANGE -- PLEASE READ.

This chagne allows command-line scripts to continue to work without
defining a bunch of environment variables. Hopefully this will be the
last change...

Now only $webwork_dir is set in webwork.apache-config. That file then
uses this value to read the course environment and get the rest of the
configuration values that it needs out of global.conf. global.conf now
has variables like $webwork_url, $pg_dir, etc. at the top.

In summary:

* In httpd.conf, include webwork.apache-config.
* In webwork.apache-config set $webwork_dir to the path to webwork2.
* In global.conf, set $webwork_url, $pg_dir, $webwork_htdocs_url,
  $webwork_htdocs_dir, $webwork_courses_url, and $webwork_courses_dir.

Revision 2508 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 13 04:24:37 2004 UTC (8 years, 10 months ago) by sh002i
File length: 25544 byte(s)
Diff to previous 2505 , to selected 3681
rearranged to move commonly-changed values closer to the top.

Revision 2505 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 12 22:15:57 2004 UTC (8 years, 10 months ago) by sh002i
File length: 25346 byte(s)
Diff to previous 2502 , to selected 3681
Generalized %can settings in Problem.pm with new permissions. Closes bug
#541. See said bug for more details.

Revision 2502 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 12 16:20:41 2004 UTC (8 years, 10 months ago) by sh002i
File length: 24289 byte(s)
Diff to previous 2491 , to selected 3681
removed alledgedly unused variables.

Revision 2491 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 12 02:30:32 2004 UTC (8 years, 10 months ago) by sh002i
File length: 24991 byte(s)
Diff to previous 2477 , to selected 3681
MORE CONFIG CHANGES -- PLEASE READ.

I've changed the way WeBWorK is configured yet again. The Apache
configuration for WeBWorK is now done with <Perl> sections. This solves
the problem of "seeding" global.conf with initial values for the various
root directories and base URLs. it also eliminates redundancy in the
Apache configuration file itself.

The Apache configuration for WeBWorK is now contained in the file
conf/webwork.apache-config. This file is used both for normal systems,
where WeBWorK is integrated into the main Apache server, and development
systems, where each developer runs his or her own Apache server.

Inside webwork.apache-config, seven configuation variables are set:

     $webwork_url            The base URL handled by Apache::WeBWorK.
     $webwork_dir            The path to the base webwork2 directory.
     $pg_dir                 The path to the base pg directory.

     $webwork_htdocs_url     The base URL of the WeBWorK htdocs directory.
     $webwork_htdocs_dir     The path to the WeBWorK htdocs directory.

     $webwork_courses_url    The base URL of the WeBWorK courses directory.
     $webwork_courses_dir    The path to the WeBWorK courses directory.

These variables are used to configure the <Location>, Alias, AliasMatch,
and <Directory> directives necessary for WeBWorK operation.
$webwork_root and $pg_root are also used in "use lib" lines to add the
WeBWorK and PG lib directories to @INC.

Additionally, the above values are shared with WeBWorK via the
%WeBWorK::SeedCE hash. WeBWorK.pm passes the contents of this hash
(along with a value for "courseName") to CourseEnvironment.pm when
initializing the course environment. In turn, CourseEnvironment.pm seeds
the course environment namespace with these variables before evaluating
global.conf and course.conf.

Revision 2477 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 10 16:05:51 2004 UTC (8 years, 10 months ago) by sh002i
File length: 25783 byte(s)
Diff to previous 2468 , to selected 3681
replaced !WEBWORK_ROOT! with $webworkRoot.

Revision 2468 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 8 15:23:28 2004 UTC (8 years, 10 months ago) by gage
File length: 25785 byte(s)
Diff to previous 2447 , to selected 3681
Added support for modifying .pg files in the templates directory

Revision 2447 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 6 21:53:10 2004 UTC (8 years, 10 months ago) by gage
File length: 25738 byte(s)
Diff to previous 2441 , to selected 3681
Added comments that show how variables in global.conf correspond
to variables defined in the the httpd.conf file.

Revision 2441 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 4 02:08:28 2004 UTC (8 years, 10 months ago) by dpvc
File length: 24078 byte(s)
Diff to previous 2439 , to selected 3681
URL for jsMath and asciimath was incorrectly set during the
reorganization.

Revision 2439 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 3 17:29:12 2004 UTC (8 years, 10 months ago) by sh002i
File length: 24074 byte(s)
Diff to previous 2438 , to selected 3681
formatting

Revision 2438 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 3 17:21:27 2004 UTC (8 years, 10 months ago) by sh002i
File length: 24022 byte(s)
Diff to previous 2431 , to selected 3681
BIG CHANGES -- PLEASE READ.

- Changed the format of global.conf so that each setting is its own
statement. This makes it easier for users to override settings for a
course -- they can simply copy the single line from global.conf and
change the value. It also makes it easier to talk about individual
values in documentation.

- Commented each value with a description and advice. Finally! Yay!

- Moved the dvipng options to a new subhash of %pg. They are now in
$pg{displayModeOptions}{images}. Modified PG.pm and Problem.pm to match.

The next step is to do some organizaitonal work on this file so that the
most-chagned options are near the top.

Please tell me if you experience any problems as a result of these
changes! (Or better yet, submit at patch!)

Revision 2431 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 1 20:31:13 2004 UTC (8 years, 10 months ago) by dpvc
File length: 15355 byte(s)
Diff to previous 2417 , to selected 3681
Provide mechanism for adding extra problem library buttons
to the Library Browser.

These changes allow you to specify (via course.conf or global.conf)
that certain subdirectories of the templates directory are to have
separate buttons in the top panel of the Set Maker.  These buttons
only appear if the directories actually exist, and any other
directories are listed in the "Local Problems" button as usual.  If
the list of these directories is empty (the default), then the results
are just like they currently are, but it allows one more level of
separation of the hierarchy for those who want it.

The idea is to make symbolic links to the problem libraries from
Rochester, ASU, etc., and have separate buttons for these.  This
avoids having one monster menu with all the problems in it.  (Of
course, you could make buttons for any directories you want.)  There
are instructions in global.conf.dist that exmplain how to do configure
this.

Revision 2417 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 26 20:40:17 2004 UTC (8 years, 10 months ago) by jj
File length: 14620 byte(s)
Diff to previous 2413 , to selected 3681
Added comments on how to make a mysql database for dvipng depths.

Revision 2413 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 25 23:56:56 2004 UTC (8 years, 10 months ago) by jj
File length: 14301 byte(s)
Diff to previous 2410 , to selected 3681
Added variables for controlling vertical alignment of dvipng images.  You
can choose your favorite constant value like baseline or absmiddle, or give
parameters for a mysql database to hold vertical offsets for individualized
alignments.

Revision 2410 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 25 16:29:20 2004 UTC (8 years, 10 months ago) by jj
File length: 13780 byte(s)
Diff to previous 2381 , to selected 3681
Added comment on how to skip the equation cache.

Revision 2381 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 24 17:21:23 2004 UTC (8 years, 10 months ago) by sh002i
File length: 13714 byte(s)
Diff to previous 2376 , to selected 3681
added bugReporter URL

Revision 2376 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 23 21:04:17 2004 UTC (8 years, 10 months ago) by toenail
File length: 13591 byte(s)
Diff to previous 2325 , to selected 3681
added permissions for
viewing multiple sets
viewing unpublished sets
viewing unopened sets
viewing answers before the answer date

Revision 2325 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 16 02:13:44 2004 UTC (8 years, 11 months ago) by gage
File length: 13419 byte(s)
Diff to previous 2315 , to selected 3681
Added permission level for reporting bugs.

Revision 2315 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 15 14:55:04 2004 UTC (8 years, 11 months ago) by sh002i
File length: 13381 byte(s)
Diff to previous 2309 , to selected 3681
fixed reference to $webworkURL in comments at top of file.

Revision 2309 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 14 22:55:05 2004 UTC (8 years, 11 months ago) by sh002i
File length: 13379 byte(s)
Diff to previous 2261 , to selected 3681
added fix_course_databases capability

Revision 2261 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 6 02:49:11 2004 UTC (8 years, 11 months ago) by gage
File length: 13330 byte(s)
Diff to previous 2216 , to selected 3681
Tweaked the position of the help question mark.  Better default
addresses for link.

Revision 2216 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 21:28:42 2004 UTC (8 years, 11 months ago) by jj
File length: 13283 byte(s)
Diff to previous 2209 , to selected 3681
Add configuration variable for the default size of on-the-fly graphs.  Didn't really change hardcopySetHeader.

Revision 2209 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 18:25:07 2004 UTC (8 years, 11 months ago) by sh002i
File length: 13253 byte(s)
Diff to previous 2200 , to selected 3681
removed vestigal libraryRoot line

Revision 2200 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 02:01:25 2004 UTC (9 years ago) by dpvc
File length: 13335 byte(s)
Diff to previous 2192 , to selected 3681
More files for asciimath rendering.

Revision 2192 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 01:03:05 2004 UTC (9 years ago) by sh002i
File length: 13259 byte(s)
Diff to previous 2182 , to selected 3681
display mode handling improved.
allowed display modes can now be specified via global.conf.
failover data used by the PG system now comes from PG.pm.

Revision 2182 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 23 23:17:23 2004 UTC (9 years ago) by gage
File length: 13154 byte(s)
Diff to previous 2174 , to selected 3681
Added comments to setHeader.pg.  This is now the default set header
for both the screen and hardcopy output.

Revision 2174 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 23 01:38:16 2004 UTC (9 years ago) by gage
File length: 13105 byte(s)
Diff to previous 2172 , to selected 3681
Added support for library.
Added support for jsMath

Revision 2172 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 23 01:32:38 2004 UTC (9 years ago) by jj
File length: 12975 byte(s)
Diff to previous 2146 , to selected 3681
Allow helpLink to work in pg files.

Revision 2146 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 22 00:10:46 2004 UTC (9 years ago) by sh002i
File length: 12924 byte(s)
Diff to previous 2141 , to selected 3681
moved %problemLibrary to its own section below database options.

Revision 2141 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 21 23:41:49 2004 UTC (9 years ago) by jj
File length: 12741 byte(s)
Diff to previous 2119 , to selected 3681
Extricating the problem library from DB structure, part III.

Revision 2119 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 16 23:33:00 2004 UTC (9 years ago) by sh002i
File length: 12640 byte(s)
Diff to previous 2111 , to selected 3681
changed default courseURLroot to /webwork2_course_files

Revision 2111 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 14 18:31:12 2004 UTC (9 years ago) by toenail
File length: 12632 byte(s)
Diff to previous 2027 , to selected 3681
added siteDefaults hash to store other site specific information
includes a hash for several possible values of a users status field

Revision 2027 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 7 14:13:03 2004 UTC (9 years ago) by gage
File length: 12426 byte(s)
Diff to previous 2000 , to selected 3681
Added support for "create_and_delete_courses" privileges.  currently set to professor.

Revision 2000 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 5 00:53:13 2004 UTC (9 years ago) by sh002i
File length: 12375 byte(s)
Diff to previous 1990 , to selected 3681
added support for upload/download/delete of scoring files

Revision 1990 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 3 18:01:35 2004 UTC (9 years ago) by jj
File length: 12328 byte(s)
Diff to previous 1965 , to selected 3681
Provide a place to set the location of the top of the problem library.

Revision 1965 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 22 17:37:05 2004 UTC (9 years, 1 month ago) by jj
File length: 12252 byte(s)
Diff to previous 1957 , to selected 3681
Added defaultDisplayMatrixStyle from webwork 1, which lets people control
if they have parens or square brackets on the outsides of their matricies.
It is not really an answer evaluator variable, but it is put there since
that works and putting it with options doesn't.

Revision 1957 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 9 20:18:01 2004 UTC (9 years, 1 month ago) by sh002i
File length: 12210 byte(s)
Diff to previous 1945 , to selected 3681
added pg root directory variable.

Revision 1945 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 5 03:58:30 2004 UTC (9 years, 1 month ago) by sh002i
File length: 12183 byte(s)
Diff to previous 1932 , to selected 3681
preliminary web-based course creation support

try it -- create a course called "admin" the usual way and then visit it
in your browser.

Revision 1932 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 3 15:44:55 2004 UTC (9 years, 1 month ago) by jj
File length: 12150 byte(s)
Diff to previous 1897 , to selected 3681
Added support for useBaseTenLog for ww2.

Revision 1897 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 17 03:38:29 2004 UTC (9 years, 2 months ago) by sh002i
File length: 12112 byte(s)
Diff to previous 1822 , to selected 3681
tentative solution to two of Frank Wolf's problems:

On Tue, 16 Mar 2004, Frank Wolfs, Physics and Astronomy, U of R wrote:

> This one works for a pdf file that is based on a set without graphics,
> but it does not solve the problem with viewing the graphics in problem
> sets or making a pdf for a set with graphics.  For example viewing a set
> with a gif file gives me the following error:
>
> [Tue Mar 16 22:11:59 2004] [error] [client 208.186.61.178] File does not
> exist:
> /home/apache/htdocs/home/webwork/courses/phy121s04/html/CAPA_Graphics/Gtype20$
>
> When I try to make a pdf file I get the following error for the same
> problem:
>
> ! Could not open file
> /home/webwork/courses/phy121s04/htmlCAPA_Graphics/Gtype20
> /prob01.eps, ignoring it.
>
> Note: for the fig, the path is correct after /home/apache/htdocs, while
> for the pes file, there is a / missing between html and CAPA_Graphics.

Revision 1822 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 27 19:01:40 2004 UTC (9 years, 2 months ago) by sh002i
File length: 12111 byte(s)
Diff to previous 1801 , to selected 3681
changed default courseURLRoot to /webwork2_courses/$courseName to
correspond to the latest ApacheSetup instructions.

Revision 1801 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 14 00:54:02 2004 UTC (9 years, 3 months ago) by sh002i
File length: 12120 byte(s)
Diff to previous 1794 , to selected 3681
clarity changes, changed default oldProf URL, added $dbLayoutName
setting for addcourse, default dbLayout is gdbm

Revision 1794 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 12 14:36:56 2004 UTC (9 years, 3 months ago) by gage
File length: 11900 byte(s)
Diff to previous 1793 , to selected 3681
replaced previous file which had a gremlin somewhere

Revision 1793 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 12 14:33:07 2004 UTC (9 years, 3 months ago) by gage
File length: 11901 byte(s)
Diff to previous 1787 , to selected 3681
Changed addresses to login_info.txt and course_info.txt

These files must be in the template directory.

Revision 1787 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 12 04:25:47 2004 UTC (9 years, 3 months ago) by sh002i
File length: 11825 byte(s)
Diff to previous 1751 , to selected 3681
strings containing email addresses are now single-quoted
globalUserID is now "globaluser"

Revision 1751 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 25 18:46:29 2004 UTC (9 years, 3 months ago) by gage
File length: 11830 byte(s)
Diff to previous 1704 , to selected 3681
course_info and login_info paths
are now defined relative to the
templates directory for safety.

Revision 1704 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 5 01:06:06 2004 UTC (9 years, 4 months ago) by sh002i
File length: 11815 byte(s)
Diff to previous 1696 , to selected 3681
removed some rochester-specific stuff. in particular, this should
prevent our SMTP server from getting hammered by lazy sites.

Revision 1696 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 3 20:07:03 2004 UTC (9 years, 4 months ago) by sh002i
File length: 11939 byte(s)
Diff to previous 1663 , to selected 3681
UPDATE YOUR CONFIG FILES! (global.conf.dist, database.conf.dist)

Made changes to support the storage of multiple database layouts in a
single course environment. Database layouts are now stored in a hash
named %dbLayouts in database.conf, and the default layout is aliased to
*dbLayout (see comments in database.conf.dist and global.conf.dist)
sql.conf and gdbm.conf are no longer used.

Support the selection of a specific database layout when instantiating
WeBWorK::DB. WeBWorK::DB now takes a reference to a database layout
rather than an entire course environment.

All calls to WeBWorK::DB::new were updated to pass the correct argument.

Revision 1663 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by sh002i
File length: 12297 byte(s)
Diff to previous 1617 , to selected 3681
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 1617 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 4 02:29:23 2003 UTC (9 years, 6 months ago) by sh002i
File length: 11719 byte(s)
Diff to previous 1560 , to selected 3681
support for FileXfer and Upload.

Revision 1560 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 03:35:02 2003 UTC (9 years, 7 months ago) by sh002i
File length: 11578 byte(s)
Diff to previous 1519 , to selected 3681
updated for remote renderer

Revision 1519 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 23 21:19:29 2003 UTC (9 years, 8 months ago) by sh002i
File length: 11752 byte(s)
Diff to previous 1468 , to selected 3681
added values necessary for supporting EquationCache.

Revision 1468 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 16 01:30:46 2003 UTC (9 years, 9 months ago) by gage
File length: 11344 byte(s)
Diff to previous 1446 , to selected 3681
Added course_info whose material will appear
on the right side of the problem sets page

and login_info whose material will appear
on the right side of the login page.
--Mike

Revision 1446 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 4 08:05:50 2003 UTC (9 years, 9 months ago) by malsyned
File length: 11243 byte(s)
Diff to previous 1387 , to selected 3681
Added the score_sets permission

Revision 1387 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 15 00:56:50 2003 UTC (9 years, 10 months ago) by gage
File length: 11192 byte(s)
Diff to previous 1380 , to selected 3681
Changes made to make show Past answers work.  Basically I duplicated
writeLog with writeCourseLog which writes to the courses log directory.
I also defined answer_log in that directory.

Revision 1380 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 14 15:21:52 2003 UTC (9 years, 10 months ago) by gage
File length: 11127 byte(s)
Diff to previous 1248 , to selected 3681
Updates for sendMail as well as PG/Local renderer and so forth
--Mike

Revision 1248 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 21 02:34:10 2003 UTC (9 years, 11 months ago) by gage
File length: 10706 byte(s)
Diff to previous 1242 , to selected 3681
changed value of PRINT_FILE_NAMES_FOR
from array (back) to a reference to an array
--Mike

Revision 1242 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 21 00:53:09 2003 UTC (9 years, 11 months ago) by sh002i
File length: 10704 byte(s)
Diff to previous 1240 , to selected 3681
changed the renderer from WeBWorK::PG to WeBWorK::PG::Local

Revision 1240 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 20 23:08:39 2003 UTC (9 years, 11 months ago) by sh002i
File length: 10697 byte(s)
Diff to previous 1210 , to selected 3681
removed $webworkDirs{macros}, added $pg{renderer} (currently selected
macros) and $pg{renderers} (renderer-specific options).

Revision 1210 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 18 23:04:51 2003 UTC (9 years, 11 months ago) by malsyned
File length: 10606 byte(s)
Diff to previous 1154 , to selected 3681
Added a new permission level.

Revision 1154 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 13 02:30:45 2003 UTC (9 years, 11 months ago) by sh002i
File length: 10557 byte(s)
Diff to previous 1132 , to selected 3681
Rewrote ImageGenerator to work with WeBWorK2. Its arguments are now
passed in via an options hash instead of getting a whole %envir. Also,
the options are passed to the constructor and there is no initialize()
method. add() has the same interface, and render() has been changed
slightly. (This closes Bug #80!)

To make this work with 1.8, take a look at how I'm creating
ImageGenerator in &WeBWorK::PG::defineProblemEnvironment and make the
necessary modifications to processProblem8.pl.

I made changes to WeBWorK::PG to have "images" mode trigger HTML_dpng
rather than HTML_img, and also to create an ImageGenerator before
initializing and call render() after translation.

Also in PG, I shortened the names of the equation image files. They're
now "equation-$PSVN-$probnum-$seed.png". This has the added benefit of
forcing image regeneration if the problem seed changes, closing Bug
#70.

Equation files are now dumped directly into the $courseDirs{HTML_temp}
directory. This means that no one has to worry about whether "m2i"
exists any more.

global.conf.dist was changed to not include the switches to dvipng on
the command line (they're currently hardcoded into ImageGenerator).

I still have to get this to work with dvipng 0.3. I should also take
advantages of 0.3's new features, like pipelining (using the -follow
switch) and specifying the output file name (to avoid the "move" of
resulting images).

This is MUCH FASTER than the way I was calling dvipng, and I think it's
safe to say that it's a better method. Thanks JJ!
-sam

Revision 1132 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 11 20:40:56 2003 UTC (9 years, 11 months ago) by sh002i
File length: 10518 byte(s)
Diff to previous 1114 , to selected 3681
turned off PG warning catching in conf/global.conf.dist
-sam

Revision 1114 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 11 02:18:04 2003 UTC (9 years, 11 months ago) by gage
File length: 10477 byte(s)
Diff to previous 1108 , to selected 3681
Added  a "snippets" entry for hardcopyUerDivider.tex file
--Mike

Revision 1108 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 10 19:58:28 2003 UTC (9 years, 11 months ago) by sh002i
File length: 10404 byte(s)
Diff to previous 1103 , to selected 3681
changed global.conf.dist to include one of sql.conf or gdbm.conf. added
sql.conf.dist and gdbm.conf.dist. continuted documenting WeBWorK::DB
-sam

Revision 1103 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 10 16:27:26 2003 UTC (9 years, 11 months ago) by malsyned
File length: 12326 byte(s)
Diff to previous 1101 , to selected 3681
Some cleanups to global.conf.dist
-Dennis

Revision 1101 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 10 00:52:00 2003 UTC (9 years, 11 months ago) by gage
File length: 12317 byte(s)
Diff to previous 1100 , to selected 3681
*** empty log message ***

Revision 1100 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 10 00:18:14 2003 UTC (9 years, 11 months ago) by sh002i
File length: 12314 byte(s)
Diff to previous 1099 , to selected 3681
in the interest of alleviating crowding:
moved snippets to conf/snippets.
moved templates to conf/templates.
updated global.conf.dist to match.
-sam

Revision 1099 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 23:41:43 2003 UTC (9 years, 11 months ago) by gage
File length: 12246 byte(s)
Diff to previous 1089 , to selected 3681
Added a section for special variables to be passed to the safe
environment:
%pg=(....
specialPGEnvironmentVars => {
		PRINT_FILE_NAMES_FOR      =>
['gage','apizer','voloshin','lr003k','professor'],
		CAPA_Tools                =>
"$courseDirs{macros}/CAPA_Tools/",
		CAPA_MCTools              =>
"$courseDirs{macros}/CAPA_MCTools/",
		CAPA_Graphics_URL         =>
"$courseDirs{html}/CAPA_Graphics/",
		CAPA_GraphicsDirectory    =>
"$courseDirs{html}CAPA_Graphics/",
    },
...
);

this fixes bug #66 (actually a feature request).

It allows professors to see the file names of the problems they
are looking at.  It allows the interpretation of CAPA problems as well.
-- MIke

Revision 1089 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 21:10:03 2003 UTC (9 years, 11 months ago) by gage
File length: 12095 byte(s)
Diff to previous 1054 , to selected 3681
Modified directory so that
lib => $webworkroot/lib

becomes
lib => $pgRoot/lib   since this is where the *.pm macro files for the pg language go.

Should this lib be changed to pglib? (there might have to be a lot of changes to make this work.)

-- Mike

Revision 1054 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 6 23:52:13 2003 UTC (9 years, 11 months ago) by malsyned
File length: 12053 byte(s)
Diff to previous 1051 , to selected 3681
Added params required for global table emulation.
-Dennis

Revision 1051 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 6 21:47:51 2003 UTC (9 years, 11 months ago) by sh002i
File length: 11755 byte(s)
Diff to previous 1032 , to selected 3681
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 1032 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 5 20:48:39 2003 UTC (9 years, 11 months ago) by sh002i
File length: 11690 byte(s)
Diff to previous 1021 , to selected 3681
removed per-course logs from the initial definition of the
$webworkFiles{logs} hash, and put them below, where the
$courseDirs{logs} variable is defined.

(This is sort of an issue -- I want only files/dirs/URLs that are
necessarily tied to a course to be "course" files/dirs/URLs. The
transaction log (for example) could be in a location that wasn't
course-dependant just as easily. Perhaps this whole business of
"webwork" versus "course" locations is arbitrary? Should it be
rethought?)

Also fixed some formatting problems. (Mike -- I would LOVE it if you
would use spaces for aligning your equals signs, instead of tabs!)
-sam

Revision 1021 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 5 11:48:23 2003 UTC (9 years, 11 months ago) by gage
File length: 11805 byte(s)
Diff to previous 1017 , to selected 3681
Updated global.conf.dist so that it will work out of the box
on webwork1.8 courses using GDBM.

The urls
http://machine/webwork2_files  will point to the webwork-modperl/htdocs

http://machine/webwork2_courses should be redirected by apache to
a folder containing links the the html directories of each course.
In other words apache directs .../webwork2_courses to the folder
/ww/htdocs/ which should contain links of the form
gage_course@ -> ../webwork/courses/gage_course/html

--Mike

Revision 1017 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 4 23:47:35 2003 UTC (9 years, 11 months ago) by malsyned
File length: 11236 byte(s)
Diff to previous 811 , to selected 3681
Instructor pages now only let instructors view and edit the database.
phew.

NOTE that there are new directives in global.conf.dist.  You won't be
able to use the professor pages until you've made that change.

Also, I added new template escapes and updated the barebones and ur
templates.
-Dennis

Revision 811 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 23 06:35:06 2003 UTC (10 years, 1 month ago) by sh002i
File length: 11074 byte(s)
Diff to previous 808 , to selected 3681
Added $sessionKeyLength and @sessionKeyChars variables (for Authen.pm).
-sam

Revision 808 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 17 21:01:17 2003 UTC (10 years, 1 month ago) by sh002i
File length: 10840 byte(s)
Diff to previous 798 , to selected 3681
Lots of work on WWDBv2... WW1Hash is done! A complete dbLayout (as
detailed on global.conf.dist) works now.
-sam

Revision 798 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 21 23:30:16 2003 UTC (10 years, 2 months ago) by sh002i
File length: 10795 byte(s)
Diff to previous 774 , to selected 3681
initial support for WWDBv2:
        - DB.pm finished (except for getGlobalUser{Set,Problem} methods)
        - schema modules for password, permission, key, and user with
          WWDBv1 hash-bashed backends
        - GDBM driver
        - wwdb command-line frontend
-sam

Revision 774 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 7 02:22:41 2003 UTC (10 years, 2 months ago) by sh002i
File length: 10560 byte(s)
Diff to previous 768 , to selected 3681
conf/global.conf.dist: fixed %dbLayout
doc/new-DB-architecture: removed a meta-note.
-sam

Revision 768 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 6 19:12:38 2003 UTC (10 years, 2 months ago) by sh002i
File length: 10298 byte(s)
Diff to previous 740 , to selected 3681
1. added %dbLayout (for the new DB.pm database system)
2. moved some stuff around
-sam

Revision 740 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 21 21:16:48 2003 UTC (10 years, 3 months ago) by sh002i
File length: 8583 byte(s)
Diff to previous 737 , to selected 3681
1. the new global.conf key {mail}->{feedbackVerbosity} controls the
verbosity level of Feedback.pm messages.
2. Feedback includes a URL when ever the user is logged in.
-sam

Revision 737 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 18 07:04:13 2003 UTC (10 years, 3 months ago) by sh002i
File length: 8366 byte(s)
Diff to previous 706 , to selected 3681
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 706 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 21 20:25:51 2003 UTC (10 years, 4 months ago) by sh002i
File length: 8339 byte(s)
Diff to previous 705 , to selected 3681
commented out allowedRecipients -- this should probably be set in
course.conf.
-sam

Revision 705 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 21 20:24:03 2003 UTC (10 years, 4 months ago) by sh002i
File length: 8336 byte(s)
Diff to previous 701 , to selected 3681
added stuff that had been previously added to global.conf
-sam

Revision 701 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 10 21:39:29 2003 UTC (10 years, 4 months ago) by sh002i
File length: 7402 byte(s)
Diff to previous 700 , to selected 3681
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam

Revision 700 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 10 17:28:21 2003 UTC (10 years, 4 months ago) by sh002i
File length: 7356 byte(s)
Diff to previous 699 , to selected 3681
"Home" (i.e. no course specified) now redirects to %webworkURLs{home}
-sam

Revision 699 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 9 19:03:54 2003 UTC (10 years, 4 months ago) by sh002i
File length: 7324 byte(s)
Diff to previous 695 , to selected 3681
send_mail_to now works.
-sam

Revision 695 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 8 16:23:52 2003 UTC (10 years, 4 months ago) by sh002i
File length: 7415 byte(s)
Diff to previous 671 , to selected 3681
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam

Revision 671 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 9 18:40:04 2002 UTC (10 years, 5 months ago) by sh002i
File length: 7558 byte(s)
Diff to previous 670 , to selected 3681
did some work on Feedback, etc. Added mike and arnie's comments to TODO.
-sam

Revision 670 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 6 17:50:24 2002 UTC (10 years, 5 months ago) by malsyned
File length: 7421 byte(s)
Diff to previous 663 , to selected 3681
Added a Professor Tools stub module that provides redirection links to
the WeBWorK 1.8 system
-Dennis

Revision 663 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 26 21:49:51 2002 UTC (10 years, 5 months ago) by sh002i
File length: 7375 byte(s)
Diff to previous 655 , to selected 3681
reoranized file.
-sam

Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 25 08:29:55 2002 UTC (10 years, 5 months ago) by sh002i
File length: 6381 byte(s)
Diff to previous 654 , to selected 3681
renamed httpd-wwmp-sample.conf -> httpd-wwmp.conf.dist
fixed a value in global.conf.dist
-sam

Revision 654 - (view) (download) (annotate) - [select for diffs]
Added Mon Nov 25 08:23:29 2002 UTC (10 years, 5 months ago) by sh002i
File length: 6409 byte(s)
Diff to selected 3681
renamed global.conf -> global.conf.dist
-sam

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9