[system] / branches / gage_dev / webwork2 / lib / WeBWorK / ContentGenerator / Instructor Repository:
ViewVC logotype

Log of /branches/gage_dev/webwork2/lib/WeBWorK/ContentGenerator/Instructor

View Directory Listing Directory Listing


Sticky Revision:

Revision 6655 - Directory Listing
Modified Tue Dec 28 17:49:32 2010 UTC (2 years, 4 months ago) by gage
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 6654 - Directory Listing
Modified Tue Dec 28 03:47:48 2010 UTC (2 years, 4 months ago) by gage
replace many warnings by  $self->addbadmessage

move some actions into the pre_header_initialize  initialize routines so that 
the error messages appear properly at the top of the page.

This commit may still have some bugs.



Revision 6653 - Directory Listing
Modified Tue Dec 28 03:45:42 2010 UTC (2 years, 4 months ago) by gage
don't ask -- just automatically assign newly created set to current user


Revision 6652 - Directory Listing
Modified Tue Dec 28 03:44:12 2010 UTC (2 years, 4 months ago) by gage
automatically assign newly created sets to current user


Revision 6651 - Directory Listing
Modified Tue Dec 28 03:40:29 2010 UTC (2 years, 4 months ago) by gage
insure that dates are numeric in comparison

Revision 6628 - Directory Listing
Modified Wed Dec 8 00:01:49 2010 UTC (2 years, 5 months ago) by gage
changed all references to Safe to WWSafe just to be "safe"

fixed security hole in file paths for Problem Set Detail

uploaded changes to setmaker 2 from dg_dev.   includes holding shift key down (before)
you move a file in order to move it rather than to add it.



Revision 6623 - Directory Listing
Modified Sat Dec 4 00:20:39 2010 UTC (2 years, 5 months ago) by gage
upload corrections from dg_dev


Revision 6614 - Directory Listing
Modified Fri Dec 3 16:53:09 2010 UTC (2 years, 5 months ago) by gage
added latest features for the library browser 2 from dg_dev


Revision 6583 - Directory Listing
Modified Tue Nov 30 19:27:13 2010 UTC (2 years, 5 months ago) by gage
remove warning message
add suggestion for server_root_url and so forth.



Revision 6580 - Directory Listing
Modified Sat Nov 27 14:42:24 2010 UTC (2 years, 5 months ago) by gage
fixed use APR::Request::Error  problem
merged fixes from dg_dev



Revision 6575 - Directory Listing
Modified Fri Nov 26 18:53:39 2010 UTC (2 years, 5 months ago) by gage
merged with dg_dev -- added problem counter


Revision 6571 - Directory Listing
Modified Thu Nov 25 20:28:12 2010 UTC (2 years, 5 months ago) by gage
changing from use Safe.pm to use WWSafe.pm


Revision 6566 - Directory Listing
Modified Thu Nov 25 19:19:30 2010 UTC (2 years, 5 months ago) by gage
merge with trunk


Revision 6558 - Directory Listing
Modified Tue Nov 23 22:20:41 2010 UTC (2 years, 5 months ago) by gage
changed WWSafe.pm back to Safe.pm

updated library browser 2


Revision 6543 - Directory Listing
Modified Sun Nov 21 00:18:35 2010 UTC (2 years, 6 months ago) by gage
updates merged from Trunk


Revision 6522 - Directory Listing
Modified Fri Nov 12 13:43:17 2010 UTC (2 years, 6 months ago) by gage
comment out print statment


Revision 6511 - Directory Listing
Modified Thu Nov 11 16:19:36 2010 UTC (2 years, 6 months ago) by gage
moved Safe.pm to WWSafe.pm
added support for SetMaker2.pm


Revision 6461 - Directory Listing
Modified Tue Oct 12 00:20:23 2010 UTC (2 years, 7 months ago) by gage
protect against bug in CGI.pm -- one of these two lines should work depending on verison of CGI.

the symptom is that when editing a student their permission level reverts to guest.  It is because
the level of "student" is 0 and pop-up menu has difficulties dealing with that.


Revision 6447 - Directory Listing
Modified Tue Sep 28 12:32:18 2010 UTC (2 years, 7 months ago) by gage
updated changes in Save and Save AS button from trunk


Revision 6445 - Directory Listing
Modified Tue Sep 28 00:17:00 2010 UTC (2 years, 7 months ago) by gage
removed some warning messages that are no longer needed.


Revision 6443 - Directory Listing
Modified Tue Sep 28 00:03:21 2010 UTC (2 years, 7 months ago) by gage
Factored out some of the grading aspects in Grades.pm and StudentProgress.pm
The grade_sets routines in those two files are not quite compatible yet but they are getting closer.

In tandem with this I also created a module for WebworkSOAP.pm which ships grades for gateway quizzes
to Moodle in addition to grades from homework sets.  It chooses the last of the versioned sets 
if one has taken more than one auiz. (A useful enhancement would be to  change this to allow one to take the 
maximum of the tests taken.)

In the process I commented out the "Ind" Indicator column in the displays since this does little except
confuse people.

There is still room for more consolidation among the grading routines in Grades.pm, StudentProgress.pm, 
Scoring.pm and probably Statistics.pm and WebworkSOAP.pm



Revision 6358 - Directory Listing
Modified Mon Jul 12 04:10:52 2010 UTC (2 years, 10 months ago) by gage
merged the feature which allows instructor to archive his own course (from trunk).



Revision 6356 - Directory Listing
Modified Mon Jul 12 03:59:39 2010 UTC (2 years, 10 months ago) by gage
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 6299 - Directory Listing
Modified Tue Jun 22 14:46:58 2010 UTC (2 years, 11 months ago) by gage
test development branch

Revision 6287 - Directory Listing
Modified Mon May 31 15:35:33 2010 UTC (2 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Back out previous commit; the semicolon flags a field that's set in
tandem with another.

Revision 6286 - Directory Listing
Modified Mon May 31 14:26:21 2010 UTC (2 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Correct typo in set fields.

Revision 6270 - Directory Listing
Modified Wed May 19 01:44:05 2010 UTC (3 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added definition of sub  check_user_id

Revision 6269 - Directory Listing
Modified Tue May 18 23:26:04 2010 UTC (3 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a misplaced period in a flag name

Revision 6268 - Directory Listing
Modified Tue May 18 18:39:40 2010 UTC (3 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replace hard coded URL by $ce->{webworkURLs}{bugReporter}

Revision 6239 - Directory Listing
Modified Fri May 14 00:52:48 2010 UTC (3 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Try to catch user_id's with bad characters -- not sure this is successful yet.

Revision 6238 - Directory Listing
Modified Fri May 14 00:51:39 2010 UTC (3 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
remove commented out cruft

Revision 6198 - Directory Listing
Modified Mon Feb 1 02:22:34 2010 UTC (3 years, 3 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replace "Reduced Scoring" by "Reduced Credit"

Revision 6186 - Directory Listing
Modified Sat Jan 23 21:48:26 2010 UTC (3 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrects bug (uncovered by newer versions of CGI.pm after version 3.29 and before 3.42) which defaulted
students to "guests" in the permission popup menu used for editing the student record.   It showed up
only for student because there default value was 0 -- which can be treated ambiguously -- as opposed to
2 or 10 which is not.
Adding the override switch forces the default value generated in the perl code to override other default
values for the popupmenu and provides the expected behavior.

The default value is set as [$default] so that [0] is properly recognized. This notation is usually used to select several
defaults however  just using $default did not work in CGI.pm 3.42.

This should fix the bug where students were mysteriously reassigned as guests and lost their "submit answer" buttons.

sites with older versions of CGI.pm will not have observed this problem.CVS: ----------------------------------------------------------------------

Revision 6180 - Directory Listing
Modified Mon Jan 11 18:28:13 2010 UTC (3 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix to prevent the error messages that occur when the problem set has
not yet been assigned to a user.

Still a bit fragile and under tested but it at least stops the error
messages from being issued.

Revision 6173 - Directory Listing
Modified Thu Dec 17 03:55:01 2009 UTC (3 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Minor change to PGProblemEditor.pm to define DEFAULT_SEED

Major bug fix for ProblemSetDetail (but 1725)
Enforces all files assigned in ProblemSetDetail module to be accessible
through the course temp directory.

Fix is one line change near, line 1576

Revision 6158 - Directory Listing
Modified Mon Nov 2 16:58:43 2009 UTC (3 years, 6 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow reduced scoring to be enabled or disabled for individual assignments. Default is disabled.

Revision 6115 - Directory Listing
Modified Wed Sep 30 14:22:09 2009 UTC (3 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrects bug (uncovered by newer versions of CGI.pm after version 3.29 and before 3.42) which defaulted
students to "guests" in the permission popup menu used for editing the student record.   It showed up
only for student because there default value was 0 -- which can be treated ambiguously -- as opposed to
2 or 10 which is not.
Adding the override switch forces the default value generated in the perl code to override other default
values for the popupmenu and provides the expected behavior.

This should fix the bug where students were mysteriously reassigned as guests and lost their "submit answer" buttons.

sites with older versions of CGI.pm will not have observed this problem.

Revision 6099 - Directory Listing
Modified Tue Sep 1 18:46:41 2009 UTC (3 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixes a cosmetic bug reported in the forum.

http://webwork.maa.org/moodle/mod/forum/discuss.php?d=6266#p8224

Revision 6096 - Directory Listing
Modified Sat Aug 29 12:38:50 2009 UTC (3 years, 8 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow users to specify default values for max_attempts and value of a problem

Revision 6088 - Directory Listing
Modified Thu Jul 23 13:52:56 2009 UTC (3 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added buttons with onClick javaScript code that will
(1) Check all checkboxes in user list or in homework set list
or (2) uncheck all the checkboxes in user list or in homework set list

Revision 6084 - Directory Listing
Modified Sun Jul 12 23:56:16 2009 UTC (3 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added changes to the save modes:

prepend the suggested save string with local

add  the choice  of saving this to a new file and adding it on to the end of the current set.

Revision 6006 - Directory Listing
Modified Thu Feb 12 20:04:10 2009 UTC (4 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changes to interface imported from the 2-4-patches code that didn't make it into head

Revision 5946 - Directory Listing
Modified Wed Nov 19 16:49:20 2008 UTC (4 years, 6 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
PGProblemEditor.pm: protect against undefined globalSets, e.g., when
editing a problem in the Library Browser.

Revision 5932 - Directory Listing
Modified Thu Oct 9 02:18:38 2008 UTC (4 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Forward ports from rel-2-4-patches

Revision 5887 - Directory Listing
Modified Fri Aug 29 18:17:28 2008 UTC (4 years, 8 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
ProblemSetDetail: show ip restriction fields if set isn't assigned to
any users.

Revision 5868 - Directory Listing
Modified Tue Aug 12 16:27:51 2008 UTC (4 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
allow commas in directory names :P

Revision 5846 - Directory Listing
Modified Thu Jul 10 15:00:31 2008 UTC (4 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
ProblemSetDetail: correct typo in grouping set message, don't show
problem seeds for usersets of gateway assignments (because the seeds
there aren't used for anything; only the version's seeds matter).

Revision 5836 - Directory Listing
Modified Tue Jul 1 13:18:52 2008 UTC (4 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
SetMaker: update to make problems that are "tried" display according
to the assignment type of the selected set.  We may want to back this
change out at some point: because the set type is determined when the
page is built, changing the selected set doesn't change how viewed
problems are displayed until the page is reloaded.  I think the
behavior introduced by this patch is better than showing all problems
as homework problems, but it may be otherwise.

Revision 5835 - Directory Listing
Modified Tue Jul 1 13:13:27 2008 UTC (4 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
ProblemSetDetail: fix sourcefile handling for gateway assignments

Revision 5781 - Directory Listing
Modified Wed Jun 25 14:43:16 2008 UTC (4 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
PGProblemEditor: update to allow editing of gateway assignment problems.

Revision 5780 - Directory Listing
Modified Wed Jun 25 14:42:55 2008 UTC (4 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
ProblemSetDetail: update edit/try links to work for gateway assignments.

Revision 5739 - Directory Listing
Modified Tue Jun 24 03:40:48 2008 UTC (4 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
set default library to NPL
cosmetic changes

Revision 5727 - Directory Listing
Modified Mon Jun 23 20:43:04 2008 UTC (4 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Format preview email better.  Make COL[] info line up.  Also identify
preview user.

Revision 5726 - Directory Listing
Modified Mon Jun 23 20:01:21 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Stats: update to correctly read data for gateway assignments.

Revision 5725 - Directory Listing
Modified Mon Jun 23 19:59:54 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
StudentProgress: update test time display to reflect changes in
setting open_date/version_creation_time.

Revision 5724 - Directory Listing
Modified Mon Jun 23 19:59:01 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Instructor/Index: correct link sent when acting as a user on a
set to allow for gateway test assignments.

Revision 5722 - Directory Listing
Modified Mon Jun 23 19:57:02 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
UserDetail: finish set version editing code; correct handling of
template set and set versions.

Revision 5719 - Directory Listing
Modified Mon Jun 23 14:22:39 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Revise fields shown when editing set versions.

Revision 5711 - Directory Listing
Modified Fri Jun 20 19:53:58 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Show versions of gateway assignments that have been taken by a user,
providing a mechanism for instructors to edit specific versions of the
assignments.

Revision 5710 - Directory Listing
Modified Fri Jun 20 19:52:55 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow instructors to edit versions of an assignment.  This requires
that the input setID have ,vN appended, where N is the version number
to edit.  The ability to edit and try problems from gateway tests
remains problematic, however.

Revision 5705 - Directory Listing
Modified Thu Jun 19 19:34:31 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Correct message about time exceeded for gateway tests that are in
progress.

Revision 5704 - Directory Listing
Modified Thu Jun 19 19:05:00 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway cleanup: make mark correct function mark all set versions
correct for gateway tests, take max attempts option out of problem
selectors for gateways (this should be strictly a function of the
set-level versions_per_interval).

Revision 5679 - Directory Listing
Modified Fri May 23 14:54:46 2008 UTC (5 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Moved trim_spaces utility from AddUsers.pm to Utils.pm (data munger section)
CourseAdmin page now calls trim_spaces to clean up data entered when creating
a new course   (spaces at beginning and end of entry are trimmed).  This addresses
bug #1442

Revision 5652 - Directory Listing
Modified Tue Apr 29 19:29:54 2008 UTC (5 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
eliminate 'odd number of hash elements' error when showHints or
showSolutions are not checked.

Revision 5629 - Directory Listing
Modified Fri Apr 4 19:22:30 2008 UTC (5 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When viewing a file-based problem library, don't show to problem
library's prefix in the "select a problem collection" popup. This can
significantly shorten the length of the options in that popup, making
them more managable.

Revision 5599 - Directory Listing
Modified Mon Jan 14 18:09:31 2008 UTC (5 years, 4 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix dropped last value in problem definition lines when importing from
a set definition file.

Revision 5561 - Directory Listing
Modified Mon Oct 15 15:55:16 2007 UTC (5 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
support hints and solutions in the library browser

Revision 5466 - Directory Listing
Modified Sat Sep 8 21:15:16 2007 UTC (5 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix DOS and Mac line endings, and make the detection of non-text files
a little more strict (DOS files were being marked as non-text).
Also, localize the file handles.

Revision 5412 - Directory Listing
Modified Fri Aug 24 18:39:49 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Extended the set definition file format to support commas in the
source_file field (as well was the value and max_attempts fields).

Commas are backslash escaped: \,
To get a literal backslash:   \\

Revision 5411 - Directory Listing
Modified Fri Aug 24 18:09:46 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
ignore .svn directories in problem libraries (%ignoredir)

Revision 5325 - Directory Listing
Modified Tue Aug 14 18:34:35 2007 UTC (5 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Work around IE bug where pressing return submits a form but does not
set the submit button's value properly in some circumstances.

Revision 5324 - Directory Listing
Modified Tue Aug 14 16:23:27 2007 UTC (5 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow unpacking of .tar.gz and .tar files in addition to .tgz files.

Revision 5322 - Directory Listing
Modified Tue Aug 14 13:50:34 2007 UTC (5 years, 9 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
bug fix.  when updating to hide set header display I assumed that
the $db->getMergedSet($userToShow, $setID) would succeed, which isn't
the case for a set that isn't assigned to any users (in particular,
which isn't assigned to the instructor who is editing the set).  this
bug fix resolves that by instead using the global set to determine if
headers should be displayed when the call to get the merged set fails.

Revision 5319 - Directory Listing
Modified Mon Aug 13 22:59:59 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
updated copyright dates

Revision 5295 - Directory Listing
Modified Fri Aug 10 16:04:01 2007 UTC (5 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When problems are being displayed, add a second "Update Set" button, this
one at the bottom of the list of problems.

Revision 5254 - Directory Listing
Modified Thu Aug 9 14:55:23 2007 UTC (5 years, 9 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update ProblemSet editing to take out editing of set headers for
gateway tests; this is a bit of a hack to deal with the problem
that editing/trying the set header fails for a gateway test.  In
that the set header file isn't used for gateway tests I think this
is probably reasonable behavior.

Revision 5221 - Directory Listing
Modified Thu Jul 26 18:53:08 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Construct additional course environments using %WeBWorK::SeedCE, which
will always have all necessary values in it. The old way broke when we
moved the definitions of $webwork_courses_* and $webwork_htdocs_* out of
global.conf and into webwork.apache[2]-config (and therefore into
SeedCE).

Revision 5137 - Directory Listing
Modified Wed Jul 11 01:01:07 2007 UTC (5 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow several blank problems to be added at once to a set.

Revision 5136 - Directory Listing
Modified Wed Jul 11 01:00:38 2007 UTC (5 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Adding warnings when dates are not correctly defined

Revision 5002 - Directory Listing
Modified Tue Jun 12 11:45:33 2007 UTC (5 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix typo.

Revision 4971 - Directory Listing
Modified Wed May 30 19:56:01 2007 UTC (5 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
bug fix to avoid warnings when dealing null fields with setting hide_score
and hide_score_by_problem for users.

Revision 4932 - Directory Listing
Modified Thu Apr 19 22:17:13 2007 UTC (6 years, 1 month ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added directory listing when a directory is being deleted.  The
listing will show the total number of files in the direcotry, and the
top level contents of the directory (with numbers of items in the each
subdirectory listed, but not the contents).  This resolves bug #1246.

Revision 4929 - Directory Listing
Modified Tue Apr 17 18:28:24 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Check for defined values to avoid uninitialized multiplication errors.

Revision 4923 - Directory Listing
Modified Wed Apr 4 15:06:01 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add set-level proctor login password for proctored gateway/quiz
assignments, improve handling of proctor keys and permissions for
proctored assignments, bug fixes for recently added features.

This commit
 - adds the ability to specify a set-level proctor for proctored
   gateway/quiz assignments.  this is done by adding a proctor with
   a username "set_id:setName", where "setName" is the name of the
   set, adding a "restricted_login_proctor" field to the set tables
   in the database, and allowing Authen::Proctor and
   ContentGenerator::LoginProctor to appropriately deal with this
   possibility.
 - updates proctor permissions and status in global.conf.dist,
   changing the old "proctor_quiz" permission level (3) into two
   levels, "proctor_quiz_login" and "proctor_quiz_grade".
   wwdb_upgrade includes a stanza to make this change to proctors
   that already exist in courses.
 - adds a "Proctor" status in %statuses in global.conf, with no
   valid behaviors.  this allows the creation of proctor users
   in a course who have the permissionLevel to login (and thus
   proctor), but not to access the course.
 - improves GatewayQuiz explanatory messages when scores or work
   are hidden.
 - improves GatewayQuiz proctor key management, especially for
   tests with more than one allowed attempt.  this includes
   adding a deleteAllProctorKeys() method to DB.pm.
 - updates Instructor Tools, UserList.pm and ProblemSetDetail
   to deal with set-level proctoring.  c.f. the note below about
   the ramifications of these changes.
 - updates ProblemSetList to deal with new problem set fields
   set_locations and set-level proctors that are located in a
   different database table than the set data.
 - fixes bugs in UserList and ProblemSetDetail dealing with the
   setting of hide_score, hide_score_by_problem, and
   time_limit_cap.

This update hides set-level proctor users from the classlist
editor (UserList.pm) and instructor tools (Index.pm) interfaces.
They can be created, modified, and deleted at the homework sets
editor page (ProblemSetDetail.pm) only, and there only implicitly:
we never indicate that a user is being created or modified behind
the screen.

Revision 4922 - Directory Listing
Modified Mon Apr 2 20:58:49 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update ProblemSetDetail to set both hide_score and hide_score_by_problem
set fields with a single selector.  This is general, in the sense that
it should allow other combinations of fields to be set if that's
appropriate.  This is a tentative commit; we may choose to back out the
changes later, especially if the data model for hiding scores is
changed.

Revision 4921 - Directory Listing
Modified Mon Apr 2 19:57:39 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update to add preliminary support for hiding scores on problems only.

Revision 4920 - Directory Listing
Modified Mon Apr 2 19:56:47 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Patch to set default for time_cap set definition import and include
problem_randorder in set definition export.

Revision 4918 - Directory Listing
Modified Fri Mar 30 19:07:55 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Some bugfixes, preliminary commit of relax_restrict_ip function.  this
commit
 - adds relax_restrict_ip and hide_score_by_problem columns to the set
	and set_user tables
 - adds the corresponding fields to the Set and UserSet DB Records
 - patches 'no location' handling in the location management routine
	in CourseAdmin.pm
 - improves Authz->checkSet's handling of the case of location
	restriction when no addresses exist for a location, makes it
	use any cached set that may be available, and makes it honor
	relax_restrict_ip
 - corrects a typo and some comments in DB.pm
 - allows ip restriction fields in ProblemSetList when importing from
	or exporting to set definition files
 - updates ProblemSetDetail.pm to handle the relax_restrict_ip field

The relax_restrict_ip function has not been well tested.
hide_score_by_problem isn't yet used.

Revision 4915 - Directory Listing
Modified Fri Mar 30 12:39:47 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Back out error checking of input data fields.  This doesn't work with
the initial conversion of a set to a gateway/test assignment, because
at that point the fields have to be zero or empty.

Revision 4914 - Directory Listing
Modified Thu Mar 29 19:48:58 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More gateway fixes/additions.  This commit
  - moves javascript code for gateways into htdocs/js/gateway.js,
  - updates the gateway template to use that,
  - updates the gateway CSS file to use Louis Zulli's workaround
    for IE6 not honoring position:fixed, and adds CSS definitions
    for a score reporting box for multi-page, multi-attempt quizzes,
  - updates the GatewayQuiz module to print a score reporting box
    for multi-page, multi-attempt quizzes,
  - updates the Grades module to correctly sort problems for
    GatewayQuiz assignments that have randomly ordered problems, and
  - adds some error checking to ProblemSetDetail to avoid people
    doing things like submitting a zero time limit for a gateway.

Revision 4913 - Directory Listing
Modified Thu Mar 29 17:42:54 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Change permission levels to display and edit levels as user roles
(guest, student, proctor, ta, professor) rather than numerical values.

Revision 4910 - Directory Listing
Modified Wed Mar 28 18:32:11 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Follow up commit of IP address restriction code.  This adds IP address
location management to CourseAdmin.pm, corrects a typo for location
address management in DB.pm, and makes ProblemSetDetail.pm prettier
when displaying locations for restrictions.

Revision 4904 - Directory Listing
Modified Tue Mar 27 17:04:02 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Preliminary commit of code to restrict access to assignments by client
IP address.  This commit adds the database tables for IP address
restriction, updates check_modules.pl to require Net::IP for address
matching, adds database calls in DB.pm for manipulating locations and
addresses, and adds location restriction to the set editing in
ProblemSetDetail.

This commit does not add actual restriction to sets, nor the ability
to create locations to which to restrict access.

Revision 4901 - Directory Listing
Modified Mon Mar 26 20:26:57 2007 UTC (6 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
replace set ID underscores with spaces, not nonbreaking spaces (for IE6)

Revision 4885 - Directory Listing
Modified Thu Mar 15 22:07:37 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add export option for gateway set fields.  Include time_cap in the
list of fields in the set.

Revision 4882 - Directory Listing
Modified Wed Mar 14 23:52:43 2007 UTC (6 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
wrap message for preview. resolves bug #1147.

Revision 4881 - Directory Listing
Modified Wed Mar 14 23:38:11 2007 UTC (6 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
accidental commit of "die" that i added for testing (whoops).

Revision 4880 - Directory Listing
Modified Wed Mar 14 22:50:36 2007 UTC (6 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
error handler in the post-connection subroutine that sends the error to
the professor by email and also logs it to the apache log.
resolves bug #1120, sort of.

Revision 4879 - Directory Listing
Modified Wed Mar 14 17:29:49 2007 UTC (6 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added check on the number of addresses in the From and Reply-to fields.
this resolves bug #1131.

Revision 4874 - Directory Listing
Modified Tue Mar 13 15:46:02 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update for new values of hide_score and hide_work.

Revision 4868 - Directory Listing
Modified Mon Mar 12 19:43:06 2007 UTC (6 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Better messages when no recipients are selected -- resolves bug 1130.

Revision 4861 - Directory Listing
Modified Fri Mar 9 21:05:37 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update set editing to allow new gateway options, fix display of options
with labels when editing for users, make more gateway parameters editable
for users, add override checkboxes for drop down menus for parameters
when editing for users.

Revision 4851 - Directory Listing
Modified Wed Mar 7 17:34:42 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update for new NewSQL versioning API.

Revision 4846 - Directory Listing
Modified Tue Mar 6 21:57:44 2007 UTC (6 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
setting $this_set='' is unnecessary. getMergedSet returns undef in
scalar context if the record is not found. also fixed some indentation.

Revision 4812 - Directory Listing
Modified Fri Mar 2 21:36:00 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update for NewSQL new versioning API, make a lot of indenting more
uniform, make display of versioned sets that are assigned to a user
but haven't been taken better.

Revision 4796 - Directory Listing
Modified Tue Feb 27 16:16:41 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add conditional to check whether set assignment/unassignment needs to
be done before making a database call to do so.  Resolves a problem I
was having with duplicate entries in set_user being created before a
database error was returned warning about duplicate sets.

Revision 4782 - Directory Listing
Modified Wed Feb 14 19:29:32 2007 UTC (6 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Set SMTP envelope sender to $ce->{mail}{smtpSender} rather than user's
from address. This prevents some mailservers from rejecting the mail for
having a forged sender address.

Revision 4780 - Directory Listing
Modified Wed Feb 14 19:00:02 2007 UTC (6 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
revert file-based mail status changes (but keep formatting fixes)

Revision 4763 - Directory Listing
Modified Thu Feb 1 22:43:07 2007 UTC (6 years, 3 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make sure that something gets passed to renderProblems() for the userSet
even when a global set is being edited and it isn't assigned to any
users.  Gets rid of "odd number of elements in hash assignment" errors
in renderProblems.  Because renderProblems plugs in a fake set if it
gets a false value in for the userSet, sending in '' appears to solve
the problem.

Revision 4756 - Directory Listing
Modified Wed Jan 24 22:20:35 2007 UTC (6 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fix permission not getting set (introduced with prior changes) UGH!

Revision 4742 - Directory Listing
Modified Mon Jan 8 23:56:16 2007 UTC (6 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed lexical redefinition warning

Revision 4741 - Directory Listing
Modified Mon Jan 8 22:51:03 2007 UTC (6 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added code to display mail merge status from coursedir/DATA/mailmerge.
nothing writes/deletes the status files yet though, that is next. :)

Revision 4738 - Directory Listing
Modified Mon Jan 8 18:32:29 2007 UTC (6 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed unused import of WeBWorK::DB::Utils::initializeUserProblem.

Revision 4735 - Directory Listing
Modified Wed Jan 3 22:47:30 2007 UTC (6 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed incorrect lookup of which set to view when viewing problems
"From This Course".  The problem was introduced in version 1.69.
Similar errors were also in the other viewing modes, but were
corrected for "Local Problems" in 1.70 and for "Set Definitions Files"
in 1.73.2.1 (though I have updated the latter to be consistent with
the other cases).

Revision 4722 - Directory Listing
Modified Sat Dec 9 03:29:56 2006 UTC (6 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
use student ID for password if password field is defined but empty

Revision 4694 - Directory Listing
Modified Fri Dec 1 17:12:32 2006 UTC (6 years, 5 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add hide_score and hide_work fields to the homework list/editor, and to
the set definition file import.

Revision 4693 - Directory Listing
Modified Fri Dec 1 17:11:18 2006 UTC (6 years, 5 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add hide_score and hide_work fields to set editing.  Currently these are
sequestered in the Gateway Parameters section of the edit form, because
the fields are only used by gateway/quiz assignments.  In the long run
they want to be moved out to apply to assignments more generally.

Revision 4642 - Directory Listing
Modified Fri Nov 10 17:56:01 2006 UTC (6 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
complete the fix for the undefined problibs hash problem.

Revision 4638 - Directory Listing
Modified Tue Nov 7 18:27:47 2006 UTC (6 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
avoid error when the $courseFiles{problibs} hash is undefined.
see: <http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$4261>

Revision 4597 - Directory Listing
Modified Mon Oct 30 20:51:25 2006 UTC (6 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
remove commented-out non-apache2-compatible code

Revision 4596 - Directory Listing
Modified Mon Oct 30 20:47:57 2006 UTC (6 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
apache2 compatibility fixes

Revision 4561 - Directory Listing
Modified Tue Oct 10 10:58:54 2006 UTC (6 years, 7 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed problem where ShowPast Answers would incorrectly includes
answers for students whose login name have the current student's login
name as a suffix. (Fixes bug #1102)

Revision 4544 - Directory Listing
Modified Mon Oct 2 16:59:25 2006 UTC (6 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
remove spurrious use lines for Record classes

Revision 4527 - Directory Listing
Modified Tue Sep 26 15:57:41 2006 UTC (6 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
remove several useless "use Data::Dumper" lines

Revision 4518 - Directory Listing
Modified Mon Sep 25 22:14:54 2006 UTC (6 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
tons of "DBFIXME" notes -- how to make database access more efficient

Revision 4517 - Directory Listing
Modified Mon Sep 25 22:02:34 2006 UTC (6 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
it was not a good idea to put a literal ASCII NUL in this file.

Revision 4514 - Directory Listing
Modified Mon Sep 25 16:05:31 2006 UTC (6 years, 7 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway update: report tests graded in the grace period after the due
time as having been completed at exactly the maximum allowed time.
Thus, if a test allows 20 min and there is a grace period (defined in
global.conf) of 2 min, a test submitted after 21 min will be reported
here as having been completed in 20 min, not 21.  This avoids some
confusion for instructors who aren't aware of the grace period.

This update doesn't have any effect on the presentation of non-
versioned sets.

Revision 4509 - Directory Listing
Modified Mon Sep 18 21:31:46 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
superceded by ProblemSetDetail.pm

Revision 4508 - Directory Listing
Modified Mon Sep 18 21:23:57 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
replaced by FileManger.pm a while ago

Revision 4502 - Directory Listing
Modified Sun Sep 17 17:44:36 2006 UTC (6 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed button order to put "save" before "save as" as per Arnie's
suggestion in

   http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$4100

This avoids "save" disappearing off the right-hand side when the
browser windows isn't big enough to show it.

Revision 4490 - Directory Listing
Modified Tue Sep 12 17:07:56 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
indentation fixes: the outdenting of section headers was making this
file really hard for me to read, so i indented them all.

Revision 4467 - Directory Listing
Modified Sun Sep 10 01:59:19 2006 UTC (6 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Second attempt to trap the stderr output of bsdtar.

Revision 4465 - Directory Listing
Modified Sat Sep 9 01:40:30 2006 UTC (6 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Use shell_qupte and readpipe to handle tar commands, and include
stderr in the output so that we can report the correct number of files
archived via bsdtar.

Revision 4452 - Directory Listing
Modified Wed Sep 6 18:18:30 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
filter out students without "include_in_email" behavior - bug #938.

Revision 4450 - Directory Listing
Modified Wed Sep 6 16:25:56 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed bug #1057 -- read_set_def was getting the wrong param passed to it.

Revision 4416 - Directory Listing
Modified Sat Aug 26 12:56:40 2006 UTC (6 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed problem where blank status  in classlist.lst was not interpreted as enrolled.

Squashes bug 1058

Revision 4415 - Directory Listing
Modified Sat Aug 26 12:33:22 2006 UTC (6 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
made the definition of $auxiliaryFilesExist more robust.  This fixes bug 1056 and related bugs

Revision 4413 - Directory Listing
Modified Fri Aug 25 19:43:37 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
this file hasn't been used in a long time

Revision 4412 - Directory Listing
Modified Fri Aug 25 18:47:47 2006 UTC (6 years, 8 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway update of ProblemSetEditor; add problems_per_page verbiage.
I think this is moot, given that (barring an interpretive error
on my part) this file isn't being used, but hopefully it is at least
now consistently moot rather than inconsistently so.

Revision 4411 - Directory Listing
Modified Fri Aug 25 18:42:27 2006 UTC (6 years, 8 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway update of ProblemSetDetail: add some sensible defaults
for gateway parameters, remove confusing labels.

Revision 4410 - Directory Listing
Modified Fri Aug 25 18:40:01 2006 UTC (6 years, 8 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway update of problemsetlist; add problems_per_page fields,
allow input via problemsPerPage = N in set.def files.

Revision 4358 - Directory Listing
Modified Tue Aug 8 16:06:13 2006 UTC (6 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed vestigal gdbm code

Revision 4356 - Directory Listing
Modified Sun Aug 6 18:48:23 2006 UTC (6 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
change how the html table rows are computed so that only visible fields
are looked at. (pretty sure this works. could use some more testing
though.)

Revision 4306 - Directory Listing
Modified Thu Jul 27 15:49:23 2006 UTC (6 years, 9 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
GatewayQuiz preliminary commit adding multi-page test capability.
This requires updating the database to add the problems_per_page
record to the set tables of the database.

Revision 4290 - Directory Listing
Modified Thu Jul 20 23:21:44 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed syntax of call to radio_group -- leading dashes are required.

the rule is (as defined by CGI::Util::rearrange):

* if the first argument is a hashref, interpret its contents as named
parameters. leading dashes can be used, but are not required.

* otherwise, if the first parameter begins with a dash, interpret the
argument string as named parameters. a leading dash is technically only
required on the first item, but you'd be nuts to mix dash and no-dash.

* otherwise, treat the argument list as non-named parameters.

Revision 4285 - Directory Listing
Modified Tue Jul 18 15:58:09 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug #1037 where the option of adding a blank problem to an empty set was not allowed.

Revision 4276 - Directory Listing
Modified Mon Jul 17 21:50:26 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Another {} entry.

Revision 4272 - Directory Listing
Modified Sun Jul 16 02:40:41 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added {} to some HTML tags.  For some reason they seem to have disappeared?

Revision 4269 - Directory Listing
Modified Sat Jul 15 16:31:16 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added {} to force concatenation in some tables;

Revision 4258 - Directory Listing
Modified Fri Jul 14 21:22:04 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Minor formatting changes in CGI calls.  Mostly adding {} at the beginning of functions that
concatenate their inputs.

Revision 4252 - Directory Listing
Modified Thu Jul 13 18:56:39 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replaced "values" by "value" in call to radio_group.  Sorry about that. :-)

Revision 4245 - Directory Listing
Modified Thu Jul 13 14:48:00 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a glitch in moving auxiliary files.  There was an error when auxiliary files didn't need to be moved.

Revision 4241 - Directory Listing
Modified Wed Jul 12 04:37:43 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Apache2: use reply_with_redirect rather than ad-hoc method.

Revision 4240 - Directory Listing
Modified Wed Jul 12 04:36:07 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Apache2: use reply_with_file rather than ad-hoc method.

Revision 4234 - Directory Listing
Modified Wed Jul 12 01:19:15 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Mostly replace use CGI; with use WeBWorK::CGI

Files with additional changes to CGI calls are
SendMail, SetMaker PGProblemEditor Instructor::Index and FileManager

Revision 4229 - Directory Listing
Modified Tue Jul 11 16:26:20 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added end form statement

Revision 4216 - Directory Listing
Modified Tue Jul 11 03:59:08 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Apache2 compatibility for HTTP constants. (This may very well be broken,
but I wanted to get it comitted before bed.)

Revision 4209 - Directory Listing
Modified Sat Jul 8 22:23:46 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added -override to checkbox for problems already added to this course.  They were sticking when they should not have.

Revision 4208 - Directory Listing
Modified Sat Jul 8 17:29:16 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Finding local problems seems to work correctly now.

Revision 4207 - Directory Listing
Modified Sat Jul 8 17:00:28 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changes that make it possible to browse this course and the set definition files.  (I think I mislabeled the local_sets
parameter to library_sets)

There is still a problem with viewing local problems.    A directory labeled set0 is interpreted as 0, which in this instance is
not the right thing.  This might not be a new problem.

Revision 4206 - Directory Listing
Modified Sat Jul 8 16:26:34 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Have placed -override=>1  in every CGI::hidden().  So far this seems to fix the problem with misleading sticky behavior.
I have no clue why use CGI qw(-nosticky) didn't work for hidden.  Possibly a bug.  So far the fix continues to work for
apache1.3
without changing the behavior.

After further testing this file should have at least some of the annoying debug statements removed.

Revision 4205 - Directory Listing
Modified Sat Jul 8 14:49:26 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added -override =>1 back in to some of the CGI::hidden() tags.  Still won't remember which
library it's looking at.

Revision 4202 - Directory Listing
Modified Sat Jul 8 14:07:35 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Try using the -nosticky pragma to see if this fixes the problem.

Revision 4201 - Directory Listing
Modified Sat Jul 8 01:52:01 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed some of the param problems by adding   , override=>1  to the CGI::hidden() calls.
This means that CGI ignores any param() values when assigning value to the field.  We have been
assigning our own updated values in any case, so this is probably what should have been done
from the start.  I'm not 100% sure of this yet however, so I've only fixed a couple of places
in SetMaker.pm where the behavior is weird.  I'd like to here of other weird behavior that could
be attributed to values in forms sticking or not sticking correctly.

Revision 4198 - Directory Listing
Modified Fri Jul 7 22:27:33 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
debug() output for untangling CGI/param problems (remove later)

Revision 4168 - Directory Listing
Modified Mon Jun 26 18:16:26 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The last message was garbled.  I've added code that copies auxiliary files when you make a local copy or
an extra copy of a problem file of the form  prob4/prob4.pg

This copy mechanism is not yet used when viewing one of these problems from a temporary file in tmpEdit.  If you
have viewed a problem before you start editing it, your browser will probably use cached images and you
will not have any errors.  If you start editing a problem with auxiliary files before viewing it once in its original
state, then some of the auxiliary images might be missing.

Revision 4167 - Directory Listing
Modified Mon Jun 26 18:05:52 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
and copy auxilliary files when making a copy of a problem.  This does not do anything about the creation of temporary files
for viewing.  If you have already viewed the file before you start editing it youthen the temporary links will work.
Make
File::Copy available

Revision 4165 - Directory Listing
Modified Sat Jun 24 22:23:30 2006 UTC (6 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a couple more issues with blank problems.  Allow files to be
copied even when we can't write the original (this lets you make a
copy of the blank problem or default headers).

Attempt to overcome the copy/rename problem by making it not be a menu
and instead use a checkbox that says whether the problem or header
will replace the one in the current set.  This makes it clear that a
copy is still being made (not that the original is being renamed), but
that the homework set is being altered.  Those are really two
different actions, and it seems to make sense to separate them.  The
default is still to link into the homework set, if there is one.

Revision 4164 - Directory Listing
Modified Sat Jun 24 21:12:29 2006 UTC (6 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed messages that refer to 'Save as' to use 'Create a copy'
instead (which is the current wording for that function).

Problem:  Since the default in that pop-up menu us "Rename file"
rather than "Create a copy", it is not immediately clear what this
message refers to.

I still think "Create a copy" should be the default rather than
"Rename file", since the latter only makes sense when you got to the
editor from a file linked to a homework set, which is not always the
case (e.g., when you use the Library Browser).  It would also make
these error messages refer to something visible rather than a menu
item that is not showing.

Revision 4163 - Directory Listing
Modified Sat Jun 24 21:04:13 2006 UTC (6 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Handle blank problems correctly (they were being flagged as unsafe in
some cases, and produced as many as 3 error messages indicating that
the file had to be "Saved as" before editing).  Also fixed a typo with
hardcopy header checking.

Revision 4162 - Directory Listing
Modified Sat Jun 24 20:31:01 2006 UTC (6 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow viewing of the default header files (so they can be saved to
local files).

Revision 4161 - Directory Listing
Modified Sat Jun 24 20:08:30 2006 UTC (6 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed some typos.

Revision 4160 - Directory Listing
Modified Sat Jun 24 20:01:25 2006 UTC (6 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed some "Problem sets" to "Homework sets" and added an note when
a file is already included in the target homework set.

Revision 4126 - Directory Listing
Modified Sat Jun 10 01:50:54 2006 UTC (6 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
don't call formatDateTime unless the result is used (closes bug #830)

Revision 4096 - Directory Listing
Modified Tue May 23 17:38:29 2006 UTC (7 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed how activity is determined. previously, check_session was being
called with updateTimestamp=1, which would cause all active sessions to
be "touched" so as to prolong their validity. also, it's not really
approriate to call check_session in this way to begin with. we already
grabbed the key, and we know it matches, so we don't want to grab it
again. so instead i just put the timestamp comparison directly into this
file.

see also UserList.pm 1.79.

Revision 4065 - Directory Listing
Modified Mon May 8 19:38:40 2006 UTC (7 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed warn message used to debug changes.

Revision 4064 - Directory Listing
Modified Mon May 8 18:23:10 2006 UTC (7 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added an email link so that one can easily email student(s) after e.g.
giving then an extension.

Revision 4063 - Directory Listing
Modified Sun May 7 22:01:57 2006 UTC (7 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed minor problem where a field might not be defined (in addition to being empty) ==
now we check for defined, then check for non-empty.

-- Mike

Revision 4062 - Directory Listing
Modified Sun May 7 21:46:43 2006 UTC (7 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replaced the use of checkKey by check_session to conform to the new subroutines in Authen.pm

Revision 4061 - Directory Listing
Modified Tue Apr 25 17:05:27 2006 UTC (7 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
pass relative paths to Problem in sourceFilePath (see bug #1016)

Revision 4059 - Directory Listing
Modified Mon Apr 24 16:00:09 2006 UTC (7 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
accidentally used $self->ce rather than $self->r->ce in revert_handler

Revision 4057 - Directory Listing
Modified Tue Apr 18 23:27:32 2006 UTC (7 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
SECURITY: prevent reading/saving files outside of templates directory.

Revision 4042 - Directory Listing
Modified Sun Apr 2 12:32:02 2006 UTC (7 years, 1 month ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When a file is uploaded and there is an error opening the destination
file, the error message now includes the system error report and the
file is no longer printed (causing a WeBWorK error).

Revision 4019 - Directory Listing
Modified Thu Feb 9 23:20:20 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
forward-port from rel-2-2-dev: (Preserve gateway test display options in
colum header links.)

Revision 3999 - Directory Listing
Modified Wed Feb 1 19:24:36 2006 UTC (7 years, 3 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
List students last name first

Revision 3973 - Directory Listing
Modified Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)

Revision 3963 - Directory Listing
Modified Tue Jan 24 23:27:02 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
forward-port from rel-2-2-dev: (make webwork code output siblings div/h2
code, rather than template. this allows for the siblings box to be named
according to its contents.)

Revision 3907 - Directory Listing
Modified Wed Jan 11 23:08:44 2006 UTC (7 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Merge with HEAD (removal of commented-out messages)

Revision 3905 - Directory Listing
Modified Wed Jan 11 23:00:24 2006 UTC (7 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Merge to HEAD (remove DPVC comments).

Revision 3903 - Directory Listing
Modified Wed Jan 11 22:56:12 2006 UTC (7 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Merge to HEAD (Don't scan templates/tmpEdit for pg files in the Library Browser).

Revision 3901 - Directory Listing
Modified Wed Jan 11 22:41:51 2006 UTC (7 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Merge changes with HEAD (Re-target view and edit links to use the view
and edit windows)

Revision 3897 - Directory Listing
Modified Tue Jan 10 00:33:19 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Using Mike's fix for bug #942, because it was nicer.
Forward-ported from rel-2-2-dev revision 1.75.2.2 to HEAD.

Revision 3894 - Directory Listing
Modified Tue Jan 10 00:08:59 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Resolves bug #942, in which a missing permission level field causes a
warning:

This is in fact due to UserList assuming that $record{permission} is
defined when it is allowed to be undefined (as per the format of
classlist files).

I added a case that sets is to $default_permission_level if it is not
defined.

FIXED in branch rel-2-2-dev revision 1.75.2.1.
Forwarded-ported with no modifications to HEAD in this revision.

Revision 3890 - Directory Listing
Modified Mon Jan 9 19:15:01 2006 UTC (7 years, 4 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed the following bug: if you are importing multiple sets and (stupidly) include the line "the following file(s)" in your multiple selection (which can happen if you are trying to get everything), then you would get a cryptic error and nothing would be imported.

Revision 3888 - Directory Listing
Modified Sun Jan 8 18:18:17 2006 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Merging changes from rel-2-2-dev into HEAD

Revision 3883 - Directory Listing
Modified Sun Jan 8 01:29:13 2006 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changes to respond to bug report #936

Revision 3876 - Directory Listing
Modified Sat Jan 7 01:14:54 2006 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This fixes the bug specifically reported in bug report #935.

There are still problems with saving local copies of set headers.

Revision 3874 - Directory Listing
Modified Fri Jan 6 17:48:17 2006 UTC (7 years, 4 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway bugfix: correct (or work around) missing score/values.

Revision 3863 - Directory Listing
Modified Thu Dec 29 01:40:38 2005 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed error in POST url which caused user and key to become multiply defined.

This may also cure some other anomolies such as the can't call method "psvn" without a package or object error
because that error sometimes included a reference to the key.  ???  Not sure about this part, but it definitely
causes the multiple user and key definition.

Revision 3860 - Directory Listing
Modified Tue Dec 27 00:34:18 2005 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added popuplist widget to Config.pm.  Modified Constants.pm to
allow choice of theme from a pop up menu.

Revision 3857 - Directory Listing
Modified Mon Dec 26 22:04:31 2005 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This file replaces the SetsAssignedToUser.pm module.  It allows you to
change the dates on several homework sets for a single student from one page.
This is a common activity, particularly when adding students, and is now a
much faster procedure.

Revision 3856 - Directory Listing
Modified Mon Dec 26 22:02:58 2005 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The major change is to replace Sets assigned to user by UserDetail.pm.  (Originally
written by Rob Van Dam and completed by Mike Gage.)  It has undergone a significant
amount of testing, but has not yet been used in a course.  We can back out of
these changes  before creating a release if problems are found.

Revision 3854 - Directory Listing
Modified Thu Dec 22 18:51:27 2005 UTC (7 years, 5 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway update: correct handling of gateway data input from def file.

Revision 3853 - Directory Listing
Modified Thu Dec 22 18:50:40 2005 UTC (7 years, 5 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Gateway update: correct handling of gateway data when editing sets.

Revision 3827 - Directory Listing
Modified Sun Dec 18 22:37:18 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
get rid of submitError usage

Revision 3815 - Directory Listing
Modified Thu Dec 15 19:11:06 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
refactored copy-and-pasted code

Revision 3811 - Directory Listing
Modified Wed Dec 14 00:16:50 2005 UTC (7 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed a link for creating a blank problem that is not yet fully supported.

Commented out  cheerful green goodmessages announcing which subroutine handler of the PGProblemEditor
was being executed.  They seem to have fulfilled their role and are no longer needed. :-)

-- Mike

Revision 3810 - Directory Listing
Modified Tue Dec 13 19:33:33 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
remove dummy checkboxes for the time being, sort of closing bug #805.

Revision 3806 - Directory Listing
Modified Mon Dec 12 22:24:55 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added some notes at the bottom.

Revision 3805 - Directory Listing
Modified Mon Dec 12 21:30:33 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed divide-by-zero error when calculating index.

Revision 3803 - Directory Listing
Modified Fri Dec 9 15:51:31 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
note the "force renumber" is always enabled when problems are being
reordered.

Revision 3802 - Directory Listing
Modified Thu Dec 8 19:16:09 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow reordering to succeed even if some UserProblems are missing.
Addresses bug #878.

By the way, I found the reordering code really hard to read, so I added
a lot of comments and replaced multidimensional array accesses with a
shorter form. ($sortme[$j][0] rather than $sortme[$j]->[0].) I'd like to
maybe rewrite this code sometime to eliminate some indirection and make
things clearer.

There are two substantive changes:

(1) When a UserProblem has to get reordered, we only reorder it if a
UserProblem record actually exists. If it doesn't exist, we figure out
where it would have moved to, and delete that problem instead.

(2) When moving a UserProblem, the target location either contains or
doesn't contain a record. Previously, the code checked whether a
GlobalProblem existed in this location, assuming that if a global
problem existed the corresponding UserProblem would as well. Now, it
checks whether a UserProblem exists, which allows for missing
UserProblem records.

Lingering questions:

(1) When multiple problems are assigned the same number, this results in
the last one ending up first in the new ordering. I think it would be
more natural for the first one to end up first. This would be an easy
fix.

(2) $force always gets set if reordering needs to be done, so we aren't
able to delete a problem, reorder some other problems, and end up with a
hole where where the deleted problem was. We can either fix this by
mentioning this next to the force checkbox, or change it so that
particular holes (i.e. those left by deleted problems) are allowed when
reordering.

Revision 3790 - Directory Listing
Modified Sat Dec 3 21:18:35 2005 UTC (7 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modifying messages given when editing set detail.

Also changed the way blank problems are handled in editor.
You can save as  or   save a copy as

Revision 3787 - Directory Listing
Modified Fri Dec 2 18:37:44 2005 UTC (7 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This fixes bug #919   -- the "update user-sets" line remained
commented out.  I'm amazed this bug lasted as long as it did before
it caused trouble.

-- Mike

Revision 3779 - Directory Listing
Modified Tue Nov 22 01:44:55 2005 UTC (7 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modifications that set problems with path .../Library/setFoo/problemBar to reference the "Library" component in
bugzilla.

Also the problemSeed is added to the url sent to bugzilla e.g.

/webwork/shared-courses/gage_course_single_sql/templates/rochesterLibrary/setMAAtutorial/simplemultiplechoiceexample.pg_with_problemSeed=4655

this means that you can't click on the link, but it automatically includes a seed which might be helpful.
It is not guaranteed that this the seed that caused problems -- that depends on how the
bug is submitted -- but it is often the case that this seed caused the problem.

-- Mike

Revision 3766 - Directory Listing
Modified Fri Nov 18 15:49:31 2005 UTC (7 years, 6 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make notification message more explicit.

Revision 3744 - Directory Listing
Modified Mon Nov 7 21:21:01 2005 UTC (7 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
stop using CGI::Pretty, for speed and output size.

Revision 3736 - Directory Listing
Modified Tue Nov 1 01:51:32 2005 UTC (7 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added rudimentary link to report problems directly.  It does this by constructing a link
to the bugzilla CGI that includes information on the file name of the problem and the library
in which the problem is stored.  This is probably still pretty fragile.  A separate
module could be constructed to more intelligently report bugs.

-- Mike

Revision 3726 - Directory Listing
Modified Tue Oct 25 20:34:19 2005 UTC (7 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug #870 so that setHeaders can be viewed and edited.

Revision 3724 - Directory Listing
Modified Thu Oct 20 19:40:43 2005 UTC (7 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed an error where files of type 'source_path_for_problem_file' were
not redirected in the save_handler

Revision 3721 - Directory Listing
Modified Mon Oct 17 17:36:29 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
rearrange addition, deletion, change-saving, and "mark correct" code.
Order is now:

- save changes to existing problems
- mark specified problems correct
- delete specified problems
- add blank problem

This ensures consistencey if multiple operations are performed at once,
and also prevents the values set in the new problem from being
overwritten with empty values when changes to existing problems are
saved.

Revision 3720 - Directory Listing
Modified Mon Oct 17 14:01:00 2005 UTC (7 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed wording on link.

Revision 3719 - Directory Listing
Modified Mon Oct 17 13:58:07 2005 UTC (7 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Improved handling of case where a blank_problem is asked for in PGProblemEditor.pm
Also improved the random names for new local problems

Added ability to create a new blank problem in ProblemSetDetail.pm (without going to the PGProblemEditor.pm)
however something is not yet working when this problem record is saved.

 Sam -- could you look at
lines near 679 to see what the problem is?  There is a FIXME note there.   I suspect that the addProblemToSet
routine is failing somehow, but there is no error message.  Many of the record fields are not filled out --
including the sourceFile path and the number of attempts.  The same snippet of code works fine
in PGProblemEditor.pm

--Mike

Revision 3718 - Directory Listing
Modified Mon Oct 17 03:42:42 2005 UTC (7 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Refactored much of the action in PGProblemEditor.pm  This allows a user inteface
which mimics the interface for the Hmwk sets editor and for the Classlist editor.

It also allows all of the temporary edit files to be placed in one location.
This allows one to "temporarily" edit a library file to try to see what is wrong with it.

It is also now much easier to make a local copy of a library file for your current problem set
so that you can tweak it.

It has been fairly well tested by one person (me) but there may still be bugs.

-- Mike

Revision 3709 - Directory Listing
Modified Tue Oct 11 22:06:34 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added sorting of set definition files, fixing bug #809.
also added no_chdir=>1 flag to File::Find::find and modified
$get_set_defs_wanted accordingly.

Revision 3708 - Directory Listing
Modified Tue Oct 11 21:13:26 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added check to ensure that permission level is numeric, fixing bug #822.

Revision 3706 - Directory Listing
Modified Tue Oct 11 20:45:36 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
don't show "act as" link unless the user is actually allowed to.

Revision 3695 - Directory Listing
Modified Sat Oct 8 22:20:49 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fix for bug 815 "Emphasize set name on the Assign users to Set page (set
detail page)"

Revision 3692 - Directory Listing
Modified Sat Oct 8 22:02:39 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed typo.

Revision 3690 - Directory Listing
Modified Sat Oct 8 21:55:41 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
modify usage of user status to take advantage of new status system. the
most extensive change is in UserList, where the names of statuses are
now shown in the status column along with the abbreviation that's
actually set in the database, and the edit popup shows the actual names
that are defined in global.conf.

Revision 3688 - Directory Listing
Modified Wed Oct 5 18:16:52 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 3685 - Directory Listing
Modified Mon Oct 3 04:29:56 2005 UTC (7 years, 7 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow basic types to specify the width of their input fields, and changed the handling of the long doc strings.  The long string is no longer sent as a parameter where it might be truncated.

Revision 3684 - Directory Listing
Modified Mon Oct 3 00:52:02 2005 UTC (7 years, 7 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made a little more html use CGI::* methods.

Revision 3683 - Directory Listing
Modified Sun Oct 2 20:40:30 2005 UTC (7 years, 7 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added some todo items, and fixed minor bug with the minimum number of
displayModes (it was supposed to be a variable).

Revision 3682 - Directory Listing
Modified Sun Oct 2 19:51:45 2005 UTC (7 years, 7 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
New Config module.  It will put its course settings in a file simple.conf
along side course.conf.  Changes are:

  URLPath.pm: wiring so the Config module can be called

  ContentGenerator.pm: link in left panel to Config module

  CourseEnvironment.pm: evaluate simple.conf.  File name can be specified
    when creating a new CourseEnvironment.  This allows it to be bypassed
    (which is currently used), or to test a simple settings file (not
    used now, but it might be useful).

  Constants.pm: all data about configuration is stored here.  New values
    can just be added here, unless they are a new type.

  Config.pm: new module for limited course configuration.

Note, it might be better to move the new variable in Constants.pm to
another file.  Committing changes to Constants.pm can be an extra
hassle since it contains some site specific configuration.

Revision 3675 - Directory Listing
Modified Fri Sep 30 19:36:57 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 3667 - Directory Listing
Modified Thu Sep 29 01:57:56 2005 UTC (7 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow making a local copy of a library problem with a single button push.

The user interface is still cluttered.  I think I'll rewrite the bottom button rows
using radio buttons and a 'Take action' submit button as on the Classlist and Homework set editor
pages.

Revision 3660 - Directory Listing
Modified Wed Sep 28 01:07:59 2005 UTC (7 years, 7 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make email addresses active on the classlist page just as they are on
the student progress page.

Revision 3647 - Directory Listing
Modified Thu Sep 22 18:45:40 2005 UTC (7 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
restrict dates to < 10 years in the future -- see bug #829.

Revision 3641 - Directory Listing
Modified Tue Sep 20 23:42:22 2005 UTC (7 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a problem with reporting the directories where files with given
types should be uploaded.

Revision 3640 - Directory Listing
Modified Mon Sep 19 17:11:26 2005 UTC (7 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix bug 819.  This adds a method to DB for getting all merged problems
for a (student,set) combination so that the problem value can be
correct.  See bug 819 for additional comments on how this affects
scoring when an individual student is given an override value for
"weight".

Revision 3634 - Directory Listing
Modified Sat Sep 17 16:32:43 2005 UTC (7 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Use underscore2nbsp from higher up module.  Hopefully this fixes bug
841.

Revision 3611 - Directory Listing
Modified Sat Sep 10 18:21:46 2005 UTC (7 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Restored changes that were accidentally clobbered
when the gateway changes were checked in.

Email now uses post processing to email students.

Revision 3607 - Directory Listing
Modified Thu Sep 8 02:54:48 2005 UTC (7 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sam changed open(LOG,...) to open(my $log, ...), but didn't change the
usages of LOG to $log, so the show answers page was always reporting
no past answers available.  Now the values are being shown.  (I'm not
sure why it is necessary to make a local variable for LOG, but
at least it works now.)

Revision 3595 - Directory Listing
Modified Fri Sep 2 00:06:21 2005 UTC (7 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug in use of advanced display panel which prevented it from displaying
problems.  Default values like "All Textbooks" needed to be cleared so it
wouldn't be mistaken for actual textbook names.

Revision 3594 - Directory Listing
Modified Thu Sep 1 01:10:35 2005 UTC (7 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Implemented Mike's suggestion of combining a directory upward only
when the directory contains one pg file and the name of the file is
the same as the name of the directory containing it.  I have removed
the condition that there need to be other (non-pg) files in the
directory, as the check takes time, and is no longer necessary.

Revision 3592 - Directory Listing
Modified Tue Aug 30 13:11:49 2005 UTC (7 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed error message when answer log does not exist

Revision 3585 - Directory Listing
Modified Mon Aug 29 22:56:07 2005 UTC (7 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrected a mistake in a debugging message.

Revision 3584 - Directory Listing
Modified Sun Aug 28 23:09:27 2005 UTC (7 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a bug where a set named "0" would not be sticky in the Target Set
list (because it looked kind of like an empty/undefined name).

Revision 3583 - Directory Listing
Modified Sun Aug 28 20:54:51 2005 UTC (7 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 3563 - Directory Listing
Modified Wed Aug 24 19:41:59 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug 753.  The number of all users needs to be recomputed after action
handlers in case some users were imported or deleted.

Revision 3559 - Directory Listing
Modified Wed Aug 24 02:22:59 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed initialize function which did nothing.  Moved the actual assignments/unassignments to pre_header_initialize so they could use the messaging system.

Revision 3558 - Directory Listing
Modified Wed Aug 24 01:52:27 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added safety toggle for unassignment on this page (like other places where
sets can be unassigned).

Revision 3551 - Directory Listing
Modified Mon Aug 22 19:55:40 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Previously, the "Unassign selected sets from selected users" button did
not work.  Now it works.  To help avoid inadvertant unassignments, the button
was moved lower on the page and put in the "danger" background color.  I
also made the assign and unassign buttons the same length for better
aesthetics.

Some things still to do in this module:
  - maybe move unassign even lower
  - maybe have a safety radio button to unassignments like on other
    unassign pages
  - move the action from body() to pre_header_initialize() so that
    addgoodmessage/addbadmessage will work like on other pages
  - get return values from the assignment/unassignment commands in
    case something goes wrong.  Right now, the system can explode and it
    will still say "All assignments were made successfully".
  - it could also report some information on assignments/unassignments
    actually made vs. combinations which were skipped.

Revision 3549 - Directory Listing
Modified Mon Aug 22 03:27:59 2005 UTC (7 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed default directory shown to be the templates directory.
Changed GZIP and UNGZIP to 'Make Archive' and 'Unpack Archive'.

Revision 3548 - Directory Listing
Modified Mon Aug 22 02:40:26 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "current set" to target set to match terminology at the top of the
page.

Revision 3530 - Directory Listing
Modified Mon Aug 15 22:38:56 2005 UTC (7 years, 9 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Remove the no longer valid message:
This may take a long time. Even if your browser times
out, all the files will be exported

Revision 3519 - Directory Listing
Modified Sat Aug 13 21:35:56 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Print contents of COMMENT() commands in the Library Browser.

Revision 3485 - Directory Listing
Modified Fri Aug 12 02:47:30 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added HiRes timing data to WeBWorK::Debug, removed WeBWorK::Timing. all
existing calls to the WeBWorK::Timing methods now pass the same messages
to debug().

added an option to WeBWorK::Debug to allow only certain subroutines to
log debug messages, in addition to the existing option to bar certain
subroutines from doing so.

Revision 3478 - Directory Listing
Modified Thu Aug 11 21:40:55 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
revert to using mydisplayMode for the param name (whoops).

Revision 3476 - Directory Listing
Modified Thu Aug 11 20:32:15 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
hide options panel here too -- closes bug #802.

Revision 3475 - Directory Listing
Modified Thu Aug 11 20:27:07 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed view options panel, "try it" link preserves displayMode. closes
bug #802.

Revision 3461 - Directory Listing
Modified Wed Aug 10 18:02:31 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
make .def searching thread-safe (resolves bug #814).

changed @found_set_defs to be a lexical local to get_set_defs().
replaced get_set_defs_wanted() with a closure over @found_set_defs
defined in get_set_defs().

output is identical to the previous case, but no global(-ish) variables
are used.

Revision 3451 - Directory Listing
Modified Thu Aug 4 00:58:39 2005 UTC (7 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Can't separate the form into two separate forms (as in the previous
update) otherwise the values of the checkboxes in the lower section
are lost when a button in the upper section is clicked.  So we'll have
to assume that if a user selects a file, he really wants it to be
uploaded.  (He can always use the BACK button on the browser to back
out of it if necessary.)

Revision 3449 - Directory Listing
Modified Wed Aug 3 22:19:59 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added problem count to basic library panel, and text chapters/sections
to advanced library panel.

Revision 3447 - Directory Listing
Modified Mon Aug 1 19:23:58 2005 UTC (7 years, 9 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a hack to get around Netscape 7.1 bug with onChange event
handler not being called when an upload file has been selected.

Revision 3433 - Directory Listing
Modified Sat Jul 30 17:26:45 2005 UTC (7 years, 9 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added useful links to the macro list and the pod_docs
in addition to the incomplete manpages.

These are still temporary measures for improving the documentation
for those writing problems.

Revision 3431 - Directory Listing
Modified Sat Jul 30 00:13:44 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix glitch in keeping menus in sync in advanced search panel, and deal
better with undefined parameters.

Revision 3427 - Directory Listing
Modified Fri Jul 29 20:45:41 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More improvements on library - advanced panel.  Still a work in progress.

Revision 3424 - Directory Listing
Modified Thu Jul 28 21:12:53 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added advanced search panel for database library.  Still more features
to come.

Revision 3414 - Directory Listing
Modified Wed Jul 27 17:04:53 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed column label of Id to Login Name to be consistent with other pages.
Also aligned the headers to top, which looks nicer if needed for a narrow
browser window.

Revision 3413 - Directory Listing
Modified Wed Jul 27 16:43:19 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More changes for problem library version 2: changed interface for getting
lists of problems so variable amounts of data can be passed.  Also removed
an unneeded button.

Revision 3410 - Directory Listing
Modified Wed Jul 27 16:30:41 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Mainly improvements for problem library version 2.  Also removed comments
and added "Edit it" link back in for library problems.  These were not the
only read-only problems in a course, and being able to Edit it, and then
save as is pretty useful.

Revision 3409 - Directory Listing
Modified Tue Jul 26 22:28:56 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Initial support for version 2 of the problem library.

Revision 3406 - Directory Listing
Modified Tue Jul 26 20:49:09 2005 UTC (7 years, 9 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Update Scoring.pm to deal with versioned (gateway) sets.  For sets with
assignment_type of 'gateway' or 'proctored_gateway' we report the user's
score to be the score s/he attained on her or his most successful
version of the set.

Revision 3405 - Directory Listing
Modified Tue Jul 26 17:39:22 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The two middle parts of the top area really go together, so the line between
them is now less emphatic.

Revision 3402 - Directory Listing
Modified Mon Jul 25 17:29:31 2005 UTC (7 years, 10 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add browsing by set definition files.  It will do a full search for these
files, and do some work to find the actual pg files.  Also, a minor fix
in the lists of sets in the current course (the "Select ..." line was being
added twice in some cases), some indentation fixing in the souce, and
renamed a variable.  Long ago, SetMaker used set definition files, and
then that was replaced with database lookup but a variable still had
setdef in its name.  Now that it uses both, this needing fixing.

Revision 3399 - Directory Listing
Modified Fri Jul 22 22:54:57 2005 UTC (7 years, 10 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Say something useful if there is an error when creating a new set.  Also
fixed some indentation.

Revision 3397 - Directory Listing
Modified Fri Jul 22 22:34:53 2005 UTC (7 years, 10 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Rearrange top panels (change really from Bill Z.) plus some tiny cosmetic
changes.

Revision 3394 - Directory Listing
Modified Wed Jul 20 22:35:04 2005 UTC (7 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add a check box that determines whether the csv entries are padded
with spaces.  Padding with spaces makes the text easier to read
but it interfers with some spread sheets which expect the csv entries
to contain no extraneous spaces.

We are still not using the CPAN standard CVS input/output mechanisms.
The code is in this module but it is not being used.

-- Mike

Revision 3379 - Directory Listing
Modified Thu Jul 14 16:23:11 2005 UTC (7 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Correct commit of file with unresolved conflicts.

Revision 3377 - Directory Listing
Modified Thu Jul 14 13:15:27 2005 UTC (7 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 3358 - Directory Listing
Modified Tue Jul 5 20:49:16 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
A couple of other problem set -> homework set changes.

Revision 3357 - Directory Listing
Modified Tue Jul 5 18:56:12 2005 UTC (7 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
renamed "problem set" to "homework set" in page content.
closes bug #797.

Revision 3354 - Directory Listing
Modified Tue Jul 5 17:54:39 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed incorrect method call to SaveHiidenFlags (should have been
HiddenFlags).

Revision 3331 - Directory Listing
Modified Sat Jul 2 17:04:31 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed an error in creating the tarred archives (I had messed it up
when adding the report of how many files were archived).

Revision 3330 - Directory Listing
Modified Sat Jul 2 16:52:31 2005 UTC (7 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 3329 - Directory Listing
Modified Fri Jul 1 23:52:12 2005 UTC (7 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Moved the task of sending the emails to the students to a post_processing portion of the
request handling.

When you email a class, an HTML message is returned informing you that the messages will
be sent.  Once the process is completed an email notification is sent to the user (instructor)
sending the email.

This has been lightly tested.

Revision 3315 - Directory Listing
Modified Sat Jun 25 16:21:46 2005 UTC (7 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed an incorrect error message when using the revert button.

Revision 3312 - Directory Listing
Modified Thu Jun 23 17:53:32 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When sorting by clicking a label, concatonate visable user id's into a
string so that more my be sent without exceeding MSIE limit on URL's

Arnie

Revision 3304 - Directory Listing
Modified Tue Jun 21 19:43:59 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Put in hacks to get around: Maximum URL Length Is 2,083 Characters in Internet
Explorer.  When sorting by clicking labels we use the GET method and send the
user_id's of the visable users so that we only sort visable users but for over
about 110 students this is above MSIE's limit. If the total URL is under the
limit we will pass visable users. If it is over, we will not pass any and all
users will be displayed. The is almost enought to amke me use FireFox.
Maybe we should replace the GET method by POST but that requires a greater change.

Arnie

Revision 3303 - Directory Listing
Modified Tue Jun 21 14:48:02 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When exporting classlist to a file, tell the user the name and location of the
resulting file (e.g. templates/math1.lst) so they can find it in the File Mannager

Arnie

Revision 3302 - Directory Listing
Modified Tue Jun 21 02:13:06 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The classlist data can now be sorted by clicking on headings.

Revision 3300 - Directory Listing
Modified Mon Jun 20 22:38:16 2005 UTC (7 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
New module for comparing two pg files in webwork.  You get both rendered
versions of the files and diffs.  This initial version is pretty much
just bare-bones.

Revision 3299 - Directory Listing
Modified Fri Jun 17 15:39:26 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sorting by permission now works.

Revision 3287 - Directory Listing
Modified Fri Jun 10 18:02:24 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the ability to change passwords on the classlist page and fixed up sorting a bit.
For example commented out sorting by permission which didn't work.  I'll work on sorting
next fixing the above and allowing profs to sort by clicking on heading as on the
Student Progress page.

Arnie

Revision 3285 - Directory Listing
Modified Fri Jun 10 16:06:55 2005 UTC (7 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Bringing HEAD and rel-2-1-patches in line

Revision 3284 - Directory Listing
Modified Fri Jun 10 16:01:29 2005 UTC (7 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Bring HEAD and rel-2-1-patches in line with each other.

Revision 3255 - Directory Listing
Modified Thu Jun 2 18:22:58 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make all sorts case insensitive

Revision 3252 - Directory Listing
Modified Thu Jun 2 15:18:50 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
1. Don't put any spaces before any numerical data in .csv output.  Excel
doesn't have a problem with this but other spreadsheets do according to Mike.

2. Keep backups of all totals files and never overwrite a backup.  The File
Manager can be used to delete any unwanted backups.

Arnie

Revision 3251 - Directory Listing
Modified Wed Jun 1 17:22:23 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add the line
Any changes made below will be reflected in the set for ALL students.
to the top of the Hmwk Set Editor page

Arnie

Revision 3250 - Directory Listing
Modified Wed Jun 1 15:05:17 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sorting to three levels is obtained by clicking on headings.

Arnie

Revision 3247 - Directory Listing
Modified Tue May 31 19:53:44 2005 UTC (7 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow periods in set names.  This has been tested for a while without
ill effects.  Such sets already exist - they can be created
in the Library Browser, but when they were exported, they could not be
re-imported.

Revision 3246 - Directory Listing
Modified Tue May 31 16:54:14 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
On web page, display a pretty sort_mthod_name. E.g. remove underscores.

Arnie

Revision 3245 - Directory Listing
Modified Fri May 27 17:41:27 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
pad entries with appended (rather than prepended) spaces so that sorting
will work properly in Excel, etc.

Arnie

Revision 3244 - Directory Listing
Modified Fri May 27 16:34:29 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The sorting order in scoring files is now never random. It is by last name,
then first name, and then by user_id and is case insensitive.  Before it
was by last name only and case sensitive.

Arnie

Revision 3242 - Directory Listing
Modified Thu May 26 18:18:40 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow sorting by first name, last name, or email address.  Also default
sorting is by last name, then by first name, then by user_id where as before
it was by last name only.

Revision 3233 - Directory Listing
Modified Thu May 19 20:53:18 2005 UTC (8 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed problems with calculating the average grade correctly.

Regularized the code in Stats and StudentProgress
the next step is to a good chunk of the code which does the actual
arithmetic to a spot in Utils/  so that it can be called by
both Stats and StudentProgress.

This fixes bug 784

Revision 3215 - Directory Listing
Modified Sat Apr 16 02:31:20 2005 UTC (8 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Providing an initial fix for bug 784.  I'd like to
continue to work on this module and factor out some of
the calculation loops in order to place them in Utils.

For now this hack (which involves splitting
$num_of_attemts into two variables so it can be updated
and used for two different purposes) should work.

--Mike

Revision 3200 - Directory Listing
Modified Mon Mar 21 18:51:43 2005 UTC (8 years, 2 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
*** empty log message ***

Revision 3175 - Directory Listing
Modified Thu Feb 17 17:42:36 2005 UTC (8 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed error in PGProblemEditor.pm that prevented you from adding new problem in
a set.  Added comment to ProblemSetDetail.pm

Revision 3160 - Directory Listing
Modified Sun Feb 13 17:50:55 2005 UTC (8 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Initialize dates to be now+ one week for the open date and
now + two weeks for the due and answer dates.  This makes
it less likely that the date will be undefined.

Revision 3150 - Directory Listing
Modified Sun Feb 6 20:47:20 2005 UTC (8 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added links to problems to the stats page.

Revision 3135 - Directory Listing
Modified Sat Feb 5 01:47:49 2005 UTC (8 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed formatting when reporting success index.  Success index is now reported in %

Revision 3134 - Directory Listing
Modified Sat Feb 5 01:34:48 2005 UTC (8 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed commented out code.

Fixed a problem with calculating the success index. (the number of
attempts was inappropriately zeroed out with each problem.

Revision 3132 - Directory Listing
Modified Fri Feb 4 20:03:59 2005 UTC (8 years, 3 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added friendly message when no set is selected.
Fixes #750

Revision 3129 - Directory Listing
Modified Sat Jan 29 01:29:41 2005 UTC (8 years, 3 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removes starting and ending whitespace from most of the form field entries
when adding users.  Some instructors add students by doing copy/paste from
elsewhere.  This frequently picks up whitespace which causes the user id
field to fail in checkKeyFields.

Revision 3128 - Directory Listing
Modified Sat Jan 29 01:23:57 2005 UTC (8 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed problem with hardcopy editing.  This case had simply not been handled
in the code even though it's the same behavior for hardcopy headers as it is for
screen headers.

This fixes bug #763

Revision 3111 - Directory Listing
Modified Thu Jan 27 04:26:37 2005 UTC (8 years, 3 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added Text/Binary/Automatic buttons for conversion of line-breaks on
file uploads.  (Downloaded files are not modified, since we don't know
the user's platform.  Could try to use the HTTP_USERAGENT environment
variable to determine this.)

Also produce a warning message if a file is put in the wrong directory
(e.g., .def files should be put in templates).

Fixed some incorrect indenting.

Revision 3102 - Directory Listing
Modified Tue Jan 25 21:22:35 2005 UTC (8 years, 3 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
display mode was inadvertently reset with other problem/set elements
that are safe to reset (rather than keep sticky) since they will be updated
from the newly saved database record or thrown away as expected

Revision 3094 - Directory Listing
Modified Wed Jan 19 21:54:34 2005 UTC (8 years, 4 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix typo on button.

Revision 3089 - Directory Listing
Modified Fri Jan 14 03:15:33 2005 UTC (8 years, 4 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
new regexp matching can now match on permission level too

Revision 3086 - Directory Listing
Modified Sat Jan 8 16:42:10 2005 UTC (8 years, 4 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a bug with the file editor that did not process the file name
correctly in the top-level directory.

Fixed a bug in uploading a file where the name was given a sequence
number even when one was not needed.

Revision 3063 - Directory Listing
Modified Thu Dec 23 02:15:17 2004 UTC (8 years, 5 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Work around MSIE bug.  (Can't do height:100% for the size of the
scrolling list.  Every other browser in the world seems to be able to
handle this.)

Revision 3062 - Directory Listing
Modified Tue Dec 21 18:44:49 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed error when set number or problem number is not defined
Kept fix that keeps set 0 and problem 0 from being replaced by blanks.

Revision 3061 - Directory Listing
Modified Tue Dec 21 17:47:57 2004 UTC (8 years, 5 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed minor display problem where empty (not-overriden) date values
were being displayed as 12/31/1969

Closes #748

Revision 3060 - Directory Listing
Modified Tue Dec 21 15:29:55 2004 UTC (8 years, 5 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the following features:

* Searching on any user data field
* Sorting by any two fields
* Reports duplicate names on classlist import

Closes #654, #664, and #684

Revision 3057 - Directory Listing
Modified Mon Dec 20 16:21:50 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed double declaration of $user

Revision 3051 - Directory Listing
Modified Sat Dec 18 22:35:00 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Call  $r->param("user") only in scalar context

Revision 3049 - Directory Listing
Modified Sat Dec 18 22:20:42 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
make sure that $r->param("users") is only used in a scalar context.

Revision 3048 - Directory Listing
Modified Sat Dec 18 22:11:21 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make sure that $r->param("user") is only called in scalar context.

Revision 3046 - Directory Listing
Modified Sat Dec 18 21:22:20 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modifications to make sure that problems with weight 0
print weight as 0 rather than as a blank.

This addresses bug  #730

Revision 3044 - Directory Listing
Modified Sat Dec 18 20:31:46 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added summary column for the total value of webwork problems done (sum
of the weights of each of the problems correctly completed)

Added column for percentage correct (total weight of correct problems
divided by the total weight of all of the problems).

This set still needs major dehackifying!!!!!!
This fixes bug #747.  I hope that I've put in enough
checks to satisfy bug #746 as well.  I will close that bug.

Revision 3042 - Directory Listing
Modified Sat Dec 18 16:11:16 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed the student progress lines from the Stats.pm page.  They are
still available in the StudentProgress.pm module

Revision 3041 - Directory Listing
Modified Sat Dec 18 16:09:54 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed some UI features.  In particular the scrolling list is now
used both for selecting students to send mail to AND for selecting
the preview message (if multiple students are selected the first is used
as the preview).  The "command table" is now one line taller than it
was, but it it now effectively narrower (just two columns) -- the last
column has only the row and column options and is not used that much.

Revision 3040 - Directory Listing
Modified Fri Dec 17 18:06:38 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed a warn statement

Made sure that r->param('user') is only called in scalar
context.

Revision 3037 - Directory Listing
Modified Fri Dec 17 17:08:37 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Massive overhaul of this file to put dehackify the code, at least somewhat.

The cases for handling each file type and each action are pretty cleanly laid out.

The next reasonable step would be to reorganize the code by subclassing it.

Since in almost all cases the link knows what file type it wants to be edited
when it calls the editor, the links could specifically call the subclass editor.
This would either reduce or eliminate the need for the file_type parameter.

Properly done subclassing would make it easier to add a new file type.

Currently you need to add code in about four  places:  UI code in body,
action code in saveFileChanges,   path finding code in getFilePaths,
and redirect code in pre_header_initialize.

For a subclass this code could all be adjacent.

Revision 3036 - Directory Listing
Modified Fri Dec 17 17:03:43 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a link which allows one to add a blank problem to an existing set.

Revision 2994 - Directory Listing
Modified Wed Nov 10 21:17:38 2004 UTC (8 years, 6 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Enormous speed increase by not doing unneccesary
assignments or deletions when the user/set record already exists (or not).

Revision 2966 - Directory Listing
Modified Wed Oct 27 17:48:05 2004 UTC (8 years, 6 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Every problem after one that was marked as a repeat was being marked as a repeat

closes #725

Revision 2965 - Directory Listing
Modified Tue Oct 26 03:16:40 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Beautification of set names.

Revision 2964 - Directory Listing
Modified Tue Oct 26 03:14:01 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Beautification of set names in Student Progress page.

Revision 2961 - Directory Listing
Modified Tue Oct 26 00:04:28 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More fix on the Assigned Sets/User ID column heading so that they are right
both in and out of editMode.

Revision 2960 - Directory Listing
Modified Mon Oct 25 22:40:19 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When making a new set, leave the name as it was input.  Should resolve
confusion when making sets starting with "set".

Revision 2959 - Directory Listing
Modified Mon Oct 25 22:37:32 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Whitespace changes, mainly a few tabs to spaces.

Revision 2952 - Directory Listing
Modified Thu Oct 21 23:56:21 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Adjusted the headers for the dates

Revision 2948 - Directory Listing
Modified Thu Oct 21 01:44:14 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added "User Value" and "Global Value" headers (bug #719)

Revision 2947 - Directory Listing
Modified Thu Oct 21 01:34:40 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed bug #721.

Revision 2946 - Directory Listing
Modified Thu Oct 21 01:22:51 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
quick fix for errors while reading directories (bug #720).

Revision 2944 - Directory Listing
Modified Thu Oct 21 01:06:19 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
formatting fixes (sorry jj, dpvc).

Revision 2943 - Directory Listing
Modified Wed Oct 20 23:29:50 2004 UTC (8 years, 7 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Wrong column heading corrected.

Revision 2942 - Directory Listing
Modified Wed Oct 20 21:52:06 2004 UTC (8 years, 7 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The lines of data were being sorted incorrectly due to the time-stamp
that is being added to the line, and due to the correct/incorrect
answer data that was added in order to color-code the answer display.

Revision 2941 - Directory Listing
Modified Wed Oct 20 19:02:43 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed indentation -- please read the webwork coding standards.
http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/CodingStandards

Revision 2928 - Directory Listing
Modified Fri Oct 15 19:25:24 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed typo in "edit_set_for_user"  which should be "edit_set_for_users".  also
changed label to correspond.

Revision 2926 - Directory Listing
Modified Thu Oct 14 16:56:18 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
applied dpvc's index patch, use FileManager instead of FileXfer, fixed
indentation.

Revision 2913 - Directory Listing
Modified Wed Oct 13 01:55:15 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
optimizations in database access (makes a big difference).

My notes:

Here's the initial timing data for a set with 10 problems:

TIMING 57300 2 1097622363.881851 (16.734902) mth162: END (assumed)

$mergedRecord is never used in FieldHTML(). However, it is populated
with a merged set or problem, which requires two database calls and a
merge operation. It appears to be OK to get rid of these calls
altogether.

TIMING 57582 0 1097624803.340321 (11.219321) mth162: END (assumed)

i'm not as worried about the several DB calls in
handle_problem_numbers(), since that only happens when "Save Changes" is
clicked. not looking at those for now...

in initialize(), the global set is fetched from the database at the
beginning (and put into $setRecord). then it is fetched again in two
places, first in a conditional if the "submit_changes" param is defined,
and then in the following conditional, when "submit_changes" is defined
and there was no error. taking this out...

(those conditionals are pretty weird to begin with. i would have
expected something more like "if (submit_changes) { ... unless (error) {
... } }". probably from grafting code together?)

ok, the big one is getting pre-fetched records into FieldHTML. I added
$setRecord and $problemRecord parameters to FieldHTML (and $Set and
$Problem parameters to FieldTable to pass through to FieldHTML), and
pre-fetch GlobalProblems, UserProblems, and MergedProblems en masse
before going through the problem IDs in body().

TIMING 58456 0 1097632191.012939 (4.516615) mth162: END (assumed)

And it's only a little more than that when viewing for a particular
user:

TIMING 58453 0 1097632169.074723 (6.513201) mth162: END (assumed)

Revision 2904 - Directory Listing
Modified Tue Oct 12 18:13:58 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "refresh" to "refresh display" as name for button in
ProblemSetDetail
Added link to the
File Manager

Revision 2901 - Directory Listing
Modified Tue Oct 12 01:02:36 2004 UTC (8 years, 7 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added Mark Correct? option
Added date checking
fixed some issues with sticky values

Revision 2898 - Directory Listing
Modified Mon Oct 11 23:13:53 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
entabed (we like real tabs)

Revision 2897 - Directory Listing
Modified Mon Oct 11 23:13:22 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed call to start_multipart_form which caused authen params to be
included in form action.

Revision 2896 - Directory Listing
Modified Mon Oct 11 23:11:41 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added davide's filemanager

Revision 2894 - Directory Listing
Modified Mon Oct 11 19:37:42 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed error reporting when there is an error in date/time.  This

specifies what the subroutine thinks date and time are, making it
easier to discover the error in the format of the input

I also removed a line which tried to remove the "at" from a format --
such hehelpfuness being unappreciated by the unformatDateTime
subroutine.

Revision 2892 - Directory Listing
Modified Mon Oct 11 13:32:01 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Evaluate  $r->param("user") in a scalar context in case user has been
defined more than once.

It would also be nice to find where the double definitions are coming
from.

Revision 2890 - Directory Listing
Modified Sun Oct 10 21:45:43 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
support for password and permission level in classlist, bug #649. note
that passowrd is crypted!

Revision 2884 - Directory Listing
Modified Sun Oct 10 20:34:07 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
use WeBWorK::File::Classlist for classlist parsing and writing.

Revision 2876 - Directory Listing
Modified Sat Oct 9 03:07:23 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
protect against the possiblity that user has been defined twice in hidden fields
 or in the search args and a hidden field.

Revision 2872 - Directory Listing
Modified Fri Oct 8 19:58:18 2004 UTC (8 years, 7 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make Try it and Edit it buttons pass along the current problem seed
value, closing bug 682.

Revision 2854 - Directory Listing
Modified Thu Sep 30 14:53:15 2004 UTC (8 years, 7 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed ability to duplicate a set in edit mode
still possible in regular viewing mode

Revision 2846 - Directory Listing
Modified Wed Sep 29 16:23:58 2004 UTC (8 years, 7 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
On the edit set list view, make the set_id a link so that users can see
where to edit all set data, e.g. the header file info.

Arnie

Revision 2845 - Directory Listing
Modified Wed Sep 29 16:20:02 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
case-insensitive sorting

Revision 2841 - Directory Listing
Modified Wed Sep 29 15:26:28 2004 UTC (8 years, 7 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make sure that all request param data defaults to at least ""
Fixed Try it links

Closes #695, 697

Revision 2840 - Directory Listing
Modified Wed Sep 29 14:45:58 2004 UTC (8 years, 7 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed typo.

Arnie
CVS ----------------------------------------------------------------------

Revision 2839 - Directory Listing
Modified Wed Sep 29 00:37:18 2004 UTC (8 years, 7 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make open date, etc. boxes larger to accomodate time zones.

Arnie

Revision 2838 - Directory Listing
Modified Tue Sep 28 21:07:53 2004 UTC (8 years, 7 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Increase size of boxes for editing open date, etc. so that time zones
show up.

Arnie

Revision 2834 - Directory Listing
Modified Mon Sep 27 19:08:47 2004 UTC (8 years, 7 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Preserves sticky values on all form submissions
Added reset form button to delete any unsaved changes
Added file error messgaes for headers and problems with
non-existant, invalid, or duplicate filenames

Revision 2828 - Directory Listing
Modified Fri Sep 24 12:38:43 2004 UTC (8 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed titles of columns to include the word edit.

Revision 2826 - Directory Listing
Modified Fri Sep 24 12:15:01 2004 UTC (8 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Check to see that value is defined before using pattern match

Revision 2817 - Directory Listing
Modified Thu Sep 23 13:09:33 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
undefined value was causing unnecessary warns

Revision 2816 - Directory Listing
Modified Thu Sep 23 12:59:53 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added ComboBoxes for header information
Allows user to enter a user specified value
or to select from currently existing header files

Revision 2811 - Directory Listing
Modified Tue Sep 21 20:20:25 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
minor patch to previous update fully allows editing one set
for multiple users

Revision 2810 - Directory Listing
Modified Tue Sep 21 20:08:51 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added ability to duplicate a set.
Removed header files, now viewable/editable from ProblemSetEditor
Changed links to ProblemSetDetail
Lists skipped sets when importing.

Revision 2809 - Directory Listing
Modified Tue Sep 21 20:07:48 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added ability to edit Hardcopy Header

If passed make_local_copy with any true value, assumes
that the file being edited is some type of library or default file
that should not be overwritten and the Save button is greyed out.

Stopped editor from trying to edit blank files or edit directories as files.

Revision 2808 - Directory Listing
Modified Tue Sep 21 20:05:16 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed ProblemSetEditor calls to ProblemSetDetail
Added Davide Cervone's patches
   - Fixes formatting
   - Made usage more consistent
   - Added appropriate error messages

Closes #663.

Revision 2807 - Directory Listing
Modified Tue Sep 21 20:01:25 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added new setCountMessage so that ProblemSetDetail can say:
"User toenail has been assigned x sets"

Revision 2806 - Directory Listing
Modified Tue Sep 21 19:59:19 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed references from ProblemSetEditor to ProblemSetDetail
Added ability to edit a set for multiple users.  Closes #646 and #662.

Revision 2805 - Directory Listing
Modified Tue Sep 21 19:55:48 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed some references from ProblemSetEditor to ProblemSetDetail

Revision 2794 - Directory Listing
Modified Fri Sep 17 19:40:42 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replaces ProblemSetEditor.pm and ProblemList.pm as primary form of editing
set/problem information.

Revision 2793 - Directory Listing
Modified Fri Sep 17 18:46:35 2004 UTC (8 years, 8 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sort sudents by Last Name, First Name instead of bu user_id

Revision 2792 - Directory Listing
Modified Fri Sep 17 15:35:55 2004 UTC (8 years, 8 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
List students by their real names (in addition to studentID).

Arnie

Revision 2787 - Directory Listing
Modified Thu Sep 16 19:44:44 2004 UTC (8 years, 8 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Remove extraneous evals and also clean up email if no record exists in
merge file.

Arnie

Revision 2786 - Directory Listing
Modified Thu Sep 16 18:59:01 2004 UTC (8 years, 8 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed substitution as suggested by Sam

Arnie

Revision 2779 - Directory Listing
Modified Tue Sep 14 18:55:58 2004 UTC (8 years, 8 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make $COL[1], not $COL[0], the first column of the merge file.
Also stop negative indexes from cycling, e.g. $COL[-12] should
not give $COL[8] in a 10 column merge file.

Arnie

Revision 2778 - Directory Listing
Modified Mon Sep 13 19:35:12 2004 UTC (8 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
timezone support

Revision 2763 - Directory Listing
Modified Fri Sep 10 22:02:54 2004 UTC (8 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed unused

Revision 2755 - Directory Listing
Modified Fri Sep 10 02:35:19 2004 UTC (8 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
replaced hand-rolled header listing code with calls to
listFilesRecursive(). Libraries defined in $courseFiles{problibs} will
not be scanned, cutting down on time to list. Closes bug #623.

Revision 2737 - Directory Listing
Modified Sun Sep 5 14:47:24 2004 UTC (8 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Better authorization checks (should there be a "view_past_answers"
permission level?) and a fix for missing </TABLE> when no entries
are found.

Revision 2736 - Directory Listing
Modified Sun Sep 5 01:03:13 2004 UTC (8 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed a null character to \000 which caused the file to be
considered a binary file by CVS.  I don't know why it is there in the
first place, however.  Anyone know?

Revision 2735 - Directory Listing
Modified Sun Sep 5 00:54:31 2004 UTC (8 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 2734 - Directory Listing
Modified Sat Sep 4 23:31:46 2004 UTC (8 years, 8 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When a pg file has auxiliary files (like .gif images), it is often
stored in a separate directory in order to keep all the files
together.  In this case, the Library Browser will show the
subdirectory as a separate entry in the problem directory list, even
though the problem is logically part of its parent directory.

This patch modified the Library Browser so that these single-pg-file
directories are merged with their parents, as long as they also
include other non-pg-files.

It also provides a method of controling the library browser on a
directory-by-directory basis using specially named files.  If a
directory contains a file named "=library-ignore", then the directory
is never shown in the directory menu.  If it contains a file called
"=library-combine-up", then its contents are considered to be part of
the parent directory, even if it has more than one pg file.  If it
contains one called "=library-no-combine", then the directory is
always listed separately in the menu, even if it has only one pg file.

Revision 2703 - Directory Listing
Modified Mon Aug 30 19:32:57 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed bad logic that caused problems if user selected
"import multiple sets" but then chose only one set
(in this case handler erroneously expected a filename)
also tweaked sorting by name to be properly alphanumeric

Revision 2700 - Directory Listing
Modified Sat Aug 28 14:10:13 2004 UTC (8 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed sort of current sets to use sortByName.

Revision 2695 - Directory Listing
Modified Sat Aug 28 02:09:16 2004 UTC (8 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sort lists of set definition files alphabetically.

Revision 2686 - Directory Listing
Modified Thu Aug 26 02:38:08 2004 UTC (8 years, 8 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug in computation of average number of attempts (counter was not
being reset).  Also made display of average number of attempts display
tenths (these are small numbers as it is, it emphasizes that it is an
average, and it fits well below 2 digit percentages in the same table).

Revision 2652 - Directory Listing
Modified Thu Aug 19 15:45:52 2004 UTC (8 years, 9 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added special handling of ' Top' directory for problem templates
now selecting top will show files in top directory not literal "Top" directory
fixes bug #630

Revision 2636 - Directory Listing
Modified Tue Aug 17 18:52:10 2004 UTC (8 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Actually display answers of zero. showHTML() was returning an EMPTY
STRING if its argument didn't have a TRUE VALUE.

Revision 2591 - Directory Listing
Modified Wed Aug 11 22:16:14 2004 UTC (8 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Convention of null database fields being converted to blanks made
null/blank date entries for a single user appear to be overrides, which they
aren't.

Revision 2584 - Directory Listing
Modified Tue Aug 10 15:52:05 2004 UTC (8 years, 9 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added ability to unassign selected sets from selected users

Revision 2572 - Directory Listing
Modified Wed Aug 4 17:31:22 2004 UTC (8 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "me" to this problem and fixed bug which appeared if a set_id
started with "set".

Revision 2474 - Directory Listing
Modified Thu Jul 8 23:27:16 2004 UTC (8 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Handle case where setID and probNumber are undefined (e.g.
when editing course_info file.)

Revision 2465 - Directory Listing
Modified Thu Jul 8 14:53:47 2004 UTC (8 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added routines allowing the uploading, downloading and deletion of
.pg files under the templates directory.  Links are not followed.

It's probable that more checks and user interface messages will be
needed.

Revision 2462 - Directory Listing
Modified Wed Jul 7 22:45:40 2004 UTC (8 years, 10 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a space between words in message output to the screen.

Revision 2456 - Directory Listing
Modified Wed Jul 7 18:42:03 2004 UTC (8 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The bread crum path at the top leads back to the problem being edited, not to
the Instructor Tool.  This is at least reasonable behavior.

This fixes bug #596

--Mike

Revision 2450 - Directory Listing
Modified Wed Jul 7 14:37:32 2004 UTC (8 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed the misnamed problem_header to hardcopy_header which is a more accurate
description of the variables use.

Hardcopy.pm now consults hardcopy_header as opposed to set_header

This addresses some of the concerns in bug #556

Revision 2431 - Directory Listing
Modified Thu Jul 1 20:31:13 2004 UTC (8 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 2429 - Directory Listing
Modified Thu Jul 1 16:37:39 2004 UTC (8 years, 10 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Adjusted test for whether a value is really an override.  Before it was
just whether the value was defined, but now we automatically promote
undef to empty strings.

Revision 2427 - Directory Listing
Modified Wed Jun 30 20:23:47 2004 UTC (8 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed "last" variables that were not being passed back from
the table row routine (where they are changed).

Revision 2388 - Directory Listing
Modified Thu Jun 24 18:08:43 2004 UTC (8 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added default from, reply-to and subject values.

The subject probably needs improvement, but will do for now.

Revision 2387 - Directory Listing
Modified Thu Jun 24 18:07:13 2004 UTC (8 years, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Avoid error messages for problem values that are blank.

Revision 2355 - Directory Listing
Modified Mon Jun 21 19:51:49 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
redid permissions checks

stopped professor from deleting or altering own record
(to avoid accidentally locking oneself out of a course)

Added column for login status

Revision 2352 - Directory Listing
Modified Fri Jun 18 21:27:56 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
replaced bad use of next with an if-else block

Revision 2351 - Directory Listing
Modified Fri Jun 18 20:48:46 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added export functionality with new export mode
redid permissions checks with hash
took out links for users that don't have permissions to view the linked pages

Revision 2342 - Directory Listing
Modified Thu Jun 17 18:12:56 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed accidental submission of OptionList (not yet ready for use)

Revision 2341 - Directory Listing
Modified Thu Jun 17 17:40:51 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
re-added case for "edit_set_for_user", accidentally removed in last
revision.

Revision 2340 - Directory Listing
Modified Thu Jun 17 16:52:24 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
A better fix for the "add user" link problem.

this still calls AddUser module.  That will soon
be replaced by a call to UserList module once
Robert is done with his work.

--Mike

Revision 2339 - Directory Listing
Modified Thu Jun 17 16:36:32 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replaced hardwiring of mth143b by courseName in "add user" link.

this piece of code still needs work.  It should be a button not a link.

Revision 2338 - Directory Listing
Modified Thu Jun 17 14:35:05 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

it may be necessary to give someone (like a TA) that does not have
the ability to assign sets, the ability to view how sets/users are
assigned for troubleshooting purposes but for now, they cannot

Revision 2327 - Directory Listing
Modified Wed Jun 16 16:56:51 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2326 - Directory Listing
Modified Wed Jun 16 15:22:08 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2321 - Directory Listing
Modified Wed Jun 16 01:27:07 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added hack for allowing exporting of set definition files.

If there is a conflict the earlier files are backed up.  So set 0 is
always exported to set0.def  and a previous set0.def file moves to
set0.def.bak.    There is only one backup.

The messages need work and the utilities, particularly saveProblem should be
moved to the Utils files.

--Mike

Revision 2320 - Directory Listing
Modified Tue Jun 15 20:43:53 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2314 - Directory Listing
Modified Tue Jun 15 14:46:37 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Closed up the two lines of instruction at the top of the page
Added a link to "Add users".  will eventually modify this to
a button so that it matches the rest of the page.

Revision 2308 - Directory Listing
Modified Mon Jun 14 22:18:16 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2307 - Directory Listing
Modified Mon Jun 14 22:00:49 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2306 - Directory Listing
Modified Mon Jun 14 21:41:15 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks
newly formatted for readability

Revision 2305 - Directory Listing
Modified Mon Jun 14 20:58:17 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2304 - Directory Listing
Modified Mon Jun 14 20:30:30 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2303 - Directory Listing
Modified Mon Jun 14 20:23:32 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permissions checks

Revision 2302 - Directory Listing
Modified Mon Jun 14 19:51:09 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added permission checks

Revision 2301 - Directory Listing
Modified Mon Jun 14 18:04:33 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added authorization checks

Revision 2300 - Directory Listing
Modified Sun Jun 13 01:30:23 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make comparison of first
and last names fail silently if they don't exist.


Changed the formatting of the add course form

Revision 2291 - Directory Listing
Modified Fri Jun 11 15:47:01 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When editting a problem, you now have the option of adding it to an
existing set.

Revision 2290 - Directory Listing
Modified Fri Jun 11 15:05:16 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed problem header to paper header
fixed minor bug in importing a set

Revision 2288 - Directory Listing
Modified Thu Jun 10 16:30:46 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
reworked error messages

Revision 2285 - Directory Listing
Modified Wed Jun 9 21:40:36 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
minor UI tweaks
added icon for editing sets/users

Revision 2284 - Directory Listing
Modified Wed Jun 9 02:57:15 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Use new utility function for adding problems to a set (when importing a set).

Revision 2283 - Directory Listing
Modified Wed Jun 9 02:51:57 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make use of new utility function for adding a problem to a set.

Revision 2280 - Directory Listing
Modified Tue Jun 8 19:11:39 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
upped viewing threshold to 50
made new/imported sets default to unpublished

Revision 2279 - Directory Listing
Modified Tue Jun 8 17:13:45 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed ability to delete "visible" users
change red background to ResultsWithError class
CVS ----------------------------------------------------------------------

Revision 2278 - Directory Listing
Modified Tue Jun 8 17:07:33 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed visable to visible. Closes #554.

Revision 2272 - Directory Listing
Modified Mon Jun 7 20:38:01 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added scoring ability
fixed permission tests

Revision 2269 - Directory Listing
Modified Mon Jun 7 02:50:52 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added success message when creating a new set.  Also,
added requested feature - when creating a new set, allow the user to assign
it to themselves.  This is done through javascript.  Only users with js
turned on get it, but it is kind of a frill.  Non-js users see just the old
behavior.

Revision 2265 - Directory Listing
Modified Mon Jun 7 00:23:00 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed erronious == to eq. fixes bug #546.

Revision 2264 - Directory Listing
Modified Sun Jun 6 21:03:54 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed Current Set to Target Set (hopefully more intuitive), and changed Top
to My Problems, also hopefully more intuitive for non-unix users.

Revision 2250 - Directory Listing
Modified Fri Jun 4 19:10:30 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed the following bug: if you change a student's status on a problem to 1 and give them a correct attempt, but then go to the stats page or student progress page, you won't see the change.  The reason is that those pages check "attempted" which cannot be changed through this page directly.  Now this page updates attemted fields based on if (correct+incorrect attempts) > 0.

Revision 2249 - Directory Listing
Modified Thu Jun 3 21:20:07 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
minor changes to UI

Revision 2248 - Directory Listing
Modified Thu Jun 3 19:58:00 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
rewrote much of the HTML code
changed table layout

Revision 2246 - Directory Listing
Modified Thu Jun 3 18:54:51 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
complete rewrite based on UserList
next step is to abstract similarities

Revision 2244 - Directory Listing
Modified Wed Jun 2 20:28:23 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed display of published/unpublished text

Revision 2241 - Directory Listing
Modified Wed Jun 2 14:54:26 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Rearranged stats table.  "good" results are now always to the right
(high scores, low number of attempts).

Use dashes when numbers are repeated in order to prevent confusion.

Revision 2240 - Directory Listing
Modified Tue Jun 1 15:06:23 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This is currently a version of ShowAnswers.pm  the plan is to evolve this
so that one can view the Past answers log from a variety of views.

--Mike

Revision 2239 - Directory Listing
Modified Tue Jun 1 14:50:38 2004 UTC (8 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
I don't think that anything has changed with this submission.  I'm overriding
a binary temp file.

--Mike

Revision 2236 - Directory Listing
Modified Mon May 31 16:59:17 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When viewing a users problem, the rendered versions have the right seed, etc.

Revision 2233 - Directory Listing
Modified Mon May 31 16:02:28 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Just realigned some code and took out a couple commented lines.

Revision 2230 - Directory Listing
Modified Mon May 31 02:20:27 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "Act on" button to say "Update" in bold.  Also, added mark all button.  Also, added clear all marks button.  Also, "Add me" checkboxes are now sticky, unless you update and they are added.  Then you get an additional message by the add box.  Mayble we should flip the css class of the "Add me" line too to signal who was added.  Hidme boxes aren't sticky since their problems usually get hidden anyway.

Revision 2227 - Directory Listing
Modified Sun May 30 02:33:25 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Give the user a choice of which mode to use in displaying problems.  Defaults to none.

Revision 2226 - Directory Listing
Modified Fri May 28 23:16:27 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed calls to renderProblems to match the new interface.

Revision 2225 - Directory Listing
Modified Fri May 28 23:15:44 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added two more controls next to View Problems: choice of display mode, which includes none for those who don't like to see their problems displayed, and one to choose how many problems you get at once.  Also, problems who's rendering cause an error get their message displayed with ResultsWithError.

Revision 2220 - Directory Listing
Modified Thu May 27 22:28:21 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Filename extension of .pg should only be forced for problem files.

Revision 2219 - Directory Listing
Modified Thu May 27 17:04:40 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
If the user does a save as and forgets the .pg, we help them out and append it to the file name.

Revision 2218 - Directory Listing
Modified Thu May 27 03:48:04 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Get mode list from variable set in global.conf.

Revision 2212 - Directory Listing
Modified Mon May 24 20:36:25 2004 UTC (9 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Change message to visable to students, etc.

Arnie

Revision 2210 - Directory Listing
Modified Mon May 24 19:39:30 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added buttons for "Publish Selected" and "Unpublished Selected"

Revision 2207 - Directory Listing
Modified Mon May 24 18:05:26 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Edited Labels to make clear that "All students" meant all students in the course,
not all students shown after filtering.  This should eventually be fixed so that
"All students" only refers to those who pass the filtering.

Revision 2204 - Directory Listing
Modified Mon May 24 15:35:43 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Updated to autofilter using CE viewable_sections and viewable_recitations
Defaults to show all users if values are not defined

Revision 2203 - Directory Listing
Modified Mon May 24 15:32:11 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Updated to allow record filtering when selecting students

Revision 2198 - Directory Listing
Modified Mon May 24 01:51:13 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Tweak to make filters fail gracefully

Revision 2197 - Directory Listing
Modified Mon May 24 01:49:26 2004 UTC (9 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow sorting on allrelevany columns (added recitation and user_id).

Arnie

Revision 2196 - Directory Listing
Modified Mon May 24 01:43:36 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Updated to work with filters in scrolling lists

Revision 2195 - Directory Listing
Modified Mon May 24 01:34:51 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Additionaly tweaks to fail gracefully

Revision 2194 - Directory Listing
Modified Mon May 24 01:27:48 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Edited so that filters fail gracefully

Revision 2191 - Directory Listing
Modified Mon May 24 00:39:18 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrected typo in pre-screening for filter

Revision 2187 - Directory Listing
Modified Sun May 23 23:37:40 2004 UTC (9 years ago) by mschmitt
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Updated for filtering of scrolling lists

Revision 2185 - Directory Listing
Modified Sun May 23 23:27:30 2004 UTC (9 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug in previous version

Arnie

Revision 2183 - Directory Listing
Modified Sun May 23 23:18:27 2004 UTC (9 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Doubled the length of the save as textfield box.

Arnie

Revision 2169 - Directory Listing
Modified Sun May 23 01:09:48 2004 UTC (9 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cleaned up script

Arnie

Revision 2159 - Directory Listing
Modified Sat May 22 21:22:18 2004 UTC (9 years ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
New File to split Statistics page in two.

Revision 2154 - Directory Listing
Modified Sat May 22 16:46:03 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug which came up when adding problems located at the top of the
templates directory.

Revision 2152 - Directory Listing
Modified Sat May 22 01:50:35 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Put addbadmessage in Contentgenerator (to go with addgoodmessage),
and use it in SetMaker.

Revision 2147 - Directory Listing
Modified Sat May 22 00:38:44 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed typo: addgoodmsg -> addgoodmessage.

Revision 2140 - Directory Listing
Modified Fri May 21 23:38:53 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Extricating Problem Library from DB structure, part II.

Revision 2137 - Directory Listing
Modified Fri May 21 20:48:21 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Include cryptPassword in the functions exported from Utils.

Revision 2134 - Directory Listing
Modified Thu May 20 21:47:05 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
can't save as with specifying a filename
changed some warns to addmessage()

Revision 2130 - Directory Listing
Modified Wed May 19 18:24:50 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed bug in saving default set header, no more "Use System Default" files
closes #500
replace submission_error() with addmessage()

Revision 2128 - Directory Listing
Modified Tue May 18 18:39:40 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed incorrect handling of default set header

Revision 2127 - Directory Listing
Modified Tue May 18 18:22:25 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added "Use System Default" to dropdown list of set headers
Fixes bug #492.

Revision 2126 - Directory Listing
Modified Tue May 18 05:19:33 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
On refresh, make source file path relative to the templates directory.  This
is needed to match the behavior of alias on static gif files.

Revision 2122 - Directory Listing
Modified Mon May 17 05:06:36 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made regular expression for set names match that of in DB.pm (meant allowing
hyphens).

Revision 2117 - Directory Listing
Modified Sat May 15 19:13:43 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "success problems added" from resultwitherror to resultwithouterrer.

Revision 2116 - Directory Listing
Modified Sat May 15 19:10:18 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Lots of addmessage()s added, including success for adding problems.  This may
close bug 485.

Revision 2115 - Directory Listing
Modified Sat May 15 17:42:07 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Reorganized to use addmessage for messages.  Also minor cleanups of
variable names, and better handling when there are no pg files under
templates.

Revision 2113 - Directory Listing
Modified Fri May 14 21:20:56 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug 485.  The problem occured because with a gdbm database, the global_user is used for both global information, and appears as a user.  We have to avoid modifying its information twice.  This seems to work, but the "right" fix is probably to work on the database code.  With a gdbm database, the global_user should be filtered out of calls dealing with users and only be used on calls about global information.  That would mimic the sql behavior better.  It would also supress the global_user from appearing in user lists (which I think would be better).

Revision 2112 - Directory Listing
Modified Fri May 14 20:49:21 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When a new set is created, it is automatically selected.  This partially
resolves bug 485.

Revision 2109 - Directory Listing
Modified Fri May 14 18:26:11 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added text classes for students with status Audit, Drop, Enrolled

Revision 2103 - Directory Listing
Modified Thu May 13 20:42:35 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added pop up list of set header files
fixed false successful save message

Revision 2097 - Directory Listing
Modified Thu May 13 16:02:55 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added functionality for published/unpublished

Revision 2095 - Directory Listing
Modified Wed May 12 14:36:43 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
addmessage() used for success messages

Revision 2094 - Directory Listing
Modified Wed May 12 14:29:36 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
now passes success/failure messages to Problem.pm

Revision 2092 - Directory Listing
Modified Tue May 11 21:38:15 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed submitError to addmessage()

Revision 2091 - Directory Listing
Modified Tue May 11 21:31:04 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed submitError to addmessage()

Revision 2090 - Directory Listing
Modified Tue May 11 21:05:25 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed submitError to addmessaage()

Revision 2089 - Directory Listing
Modified Tue May 11 21:03:09 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed all submitError to addmessage()

Revision 2088 - Directory Listing
Modified Tue May 11 20:51:42 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
uses addmessage() instead of submitError

Revision 2087 - Directory Listing
Modified Tue May 11 20:47:44 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed all submitError to use addmessage() instead

Revision 2086 - Directory Listing
Modified Tue May 11 20:19:38 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed addmessage() to replace submitError

Revision 2085 - Directory Listing
Modified Tue May 11 20:13:22 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed submitError to addmessage()

Revision 2084 - Directory Listing
Modified Tue May 11 19:56:27 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
dded use of addmessage() instead of warn and submitError

Revision 2081 - Directory Listing
Modified Tue May 11 19:06:23 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a surePathToFile call when saving a .pg problem.  Now they can be saved in
a new directory.  This is a partial solution to having a read only library.
More to come.

Revision 2080 - Directory Listing
Modified Tue May 11 16:27:20 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
replaced error processing with call to addmessage()

Revision 2079 - Directory Listing
Modified Tue May 11 16:11:49 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
replace submitError with addmessage() call

Revision 2063 - Directory Listing
Modified Mon May 10 03:22:44 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added sibling links for the Statistics page.

Revision 2058 - Directory Listing
Modified Sun May 9 01:10:30 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added average number incorrect answers.  This closes bug number 264

Tweaked a few more user interface parameters.

Revision 2055 - Directory Listing
Modified Sat May 8 20:31:28 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cleared commented out code in Stats.pm

Fixed error arising when no scoring files were checked.
Nows gives a more useful message.
This fixes #379

Revision 2054 - Directory Listing
Modified Sat May 8 19:35:21 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Doing 'Save as' on a problem pops up a new PGProblemEditor window.  Now
the new window contains the newly saved file.  Also modified the name of
the target window since targets aren't supposed to start with _ (except
for the special reserved ones), and so that editting in the new window
and clicking on a button like Refresh will open yet another window.

Revision 2053 - Directory Listing
Modified Sat May 8 19:27:32 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added safety switch for unassigning sets.  This closes bug number #403

Added some messages reporting action taken.

Revision 2051 - Directory Listing
Modified Sat May 8 17:59:13 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More user interface work on SendMai.pm

Resolved bug #390  Now we simply report the number of students
to which we have attempted to send email, rather than list the email addresses.

Revision 2050 - Directory Listing
Modified Sat May 8 17:19:58 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modified user interface for choosing message to preview.

Unresolved is the issue of bringing the preview up in a new window.

Revision 2049 - Directory Listing
Modified Sat May 8 16:48:43 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modifications to remove extraneous error messages.

This resolves bug 410

Revision 2048 - Directory Listing
Modified Sat May 8 15:49:48 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sort sets by alphabetical order for the SetsAssignedToUser page.
Corrected typo on Stats.pm

Revision 2047 - Directory Listing
Modified Sat May 8 02:20:59 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed minor bug which occured when no student had yet tried the problem.

Revision 2046 - Directory Listing
Modified Sat May 8 02:03:19 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
References to problems in the statistics are linked so that you
can view the problems if you wish. Use right click to see them in a new window.

Revision 2044 - Directory Listing
Modified Fri May 7 23:14:05 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed it to sort by due date as well as showing due date

Revision 2040 - Directory Listing
Modified Fri May 7 21:04:07 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug in logic of when to show Edit it link.

Revision 2039 - Directory Listing
Modified Fri May 7 20:59:30 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed urlpath->new to urlpath->newFromModule.  Also added check for when
using the problem library, that the Library directory exists, and if not,
try to fix it ourselves.

Revision 2038 - Directory Listing
Modified Fri May 7 20:09:01 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
If the instructor sets the set header file to a file which doesn't
exist, then we copy the default to that file.  Having no set header
is an error, and it is easier to edit something than it is to start
from scratch.  Also, balanced the size of the two buttons on the page.

Revision 2035 - Directory Listing
Modified Fri May 7 18:49:40 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
failure messages now given with addmessage() -- fixes bug #447 (sort of)

Revision 2032 - Directory Listing
Modified Fri May 7 18:27:50 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make editing a file which doesn't exist stop being an error.   This gives
a way to create course info files and new set headers.

Revision 2031 - Directory Listing
Modified Fri May 7 18:21:34 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
use reply_with_file() instead of $self->{sendFile}

Revision 2029 - Directory Listing
Modified Fri May 7 18:18:54 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Nicer titles, especially for set header and course info editting.

Revision 2024 - Directory Listing
Modified Fri May 7 06:07:58 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bug #477 and similar problems when there are no local sets; fixed bug
where top level local files were not detected, made "Edit it" link come back
if you are not looking at a library file, and floated "Try it" and "Edit it"
to the right.

Revision 2021 - Directory Listing
Modified Thu May 6 23:20:49 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed edit it links.

Revision 2019 - Directory Listing
Modified Thu May 6 22:44:14 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
assign new users their student id as a password

Revision 2017 - Directory Listing
Modified Thu May 6 22:17:36 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed user interface on the instructors page.

Buttons are now shorter.

--Mike

Revision 2016 - Directory Listing
Modified Thu May 6 21:53:41 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added support for editting problems which are not presented as being
part of a real set.

Revision 2015 - Directory Listing
Modified Thu May 6 21:38:58 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Commented out features which are not used yet in the problem library.
Uncommented Try it and Edit it links.

Revision 2009 - Directory Listing
Modified Thu May 6 13:17:16 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed call for adding users which was issuing an incorrect url.
This squashes bug #473

Revision 2002 - Directory Listing
Modified Wed May 5 16:04:48 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed hard-wired path.

Revision 2001 - Directory Listing
Modified Wed May 5 01:53:51 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
re-fixed getRecord subroutine to properly handle blank fields at the end
of lines. (Adding a delimiter is not enough, perl deletes all terminal
blank elements at the end of a list -- as far as I can determine.) One
needs to add "$delimeter___" so that the last field is non-blank.

This appears to fix bug #471

Revision 2000 - Directory Listing
Modified Wed May 5 00:53:13 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added support for upload/download/delete of scoring files

Revision 1999 - Directory Listing
Modified Tue May 4 20:19:07 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When listing problems, show a rendered version.  Also, when dealing with the global data, reorganize where the data is shown.

Revision 1997 - Directory Listing
Modified Tue May 4 15:16:58 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
In user-specific override mode, dates are not directly editable
Fixes Bug #456.

Revision 1996 - Directory Listing
Modified Tue May 4 14:44:58 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
cosmetic change to title to include user name

Revision 1994 - Directory Listing
Modified Mon May 3 20:47:23 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Initial import.

Revision 1982 - Directory Listing
Modified Wed Apr 28 16:03:21 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed warning messages.

Revision 1980 - Directory Listing
Modified Wed Apr 28 15:51:25 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added code to give message when an edited problem file cannot be saved.

Some of the problems reported in bug #152 are addressed.

Instituting a submit result field was not done.

Revision 1979 - Directory Listing
Modified Tue Apr 27 23:30:03 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made field for name of exported problem set wider, to be the same width as for the
header file.

Revision 1978 - Directory Listing
Modified Tue Apr 27 14:23:45 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed implicit assumption that when exporting a set, a set definition file
for it already existed.

Revision 1973 - Directory Listing
Modified Tue Apr 27 02:10:56 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
allowed for undefined values in section and recitation

Revision 1970 - Directory Listing
Modified Sun Apr 25 01:20:40 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrected a calculation that allowed for division by zero if no student had tried a problem.

This squashes bug 460

Revision 1954 - Directory Listing
Modified Wed Apr 7 02:17:34 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed url so that it points to the time and date page for editing the
 set data for the student

Revision 1953 - Directory Listing
Modified Wed Apr 7 01:17:58 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed problem where a success message was issued even when
a mail merge file was not correctly saved.

Also made cosmetic modifications to the error message format
so that it doesn't look as frightening and the important
error message is highlited more than the boiler plate message

Revision 1951 - Directory Listing
Modified Tue Apr 6 01:58:25 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed link for edit button on ProblemSetList page.
This squashes bug #446

Revision 1950 - Directory Listing
Modified Mon Apr 5 20:52:54 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a line return that was causing troubles one webwork, but not on
webwork3.  "<br>\n" produced two line breaks within <pre> on webwork,
but only one on webwork3,  "\n" produced no line breaks on webwork3
and one on webwork.

It seems safest to go with "<br>" which seems to produce a single line
break on each machine.

Revision 1948 - Directory Listing
Modified Mon Apr 5 20:16:41 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed spacing in preview of merge file data

Revision 1947 - Directory Listing
Modified Mon Apr 5 19:33:03 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed errors in creating urls. (It is important to set authen=>0
when creating links for forms -- they already contain hidden
authentication variables.

Revision 1945 - Directory Listing
Modified Mon Apr 5 03:58:30 2004 UTC (9 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
preliminary web-based course creation support

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

Revision 1944 - Directory Listing
Modified Mon Apr 5 03:56:16 2004 UTC (9 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
css fix

Revision 1939 - Directory Listing
Modified Sun Apr 4 15:18:25 2004 UTC (9 years, 1 month ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
On a multiple checkbox question, the different checked boxes are separated
by ^@ in the log file.  They don't look nice on a web page, show they are
now switched to commas in showHTML.

Revision 1938 - Directory Listing
Modified Sun Apr 4 04:00:10 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More changes in construction of urls.

Changed parameter acquistion in ShowAnswers

Revision 1934 - Directory Listing
Modified Sat Apr 3 16:24:42 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Updated these files to generate urls from urlpath.

Revision 1930 - Directory Listing
Modified Sun Mar 28 04:46:13 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Converting to using URLPath.pm
Some difficulties with constructing path to
SetsAssignedToUsers.pm in ProblemSetEditor.pm

Revision 1928 - Directory Listing
Modified Sun Mar 28 03:25:47 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cleanup -- moving toward using the Apache:Request object and URLpath.

It remains to use URLpath to construct new paths in these files.

Revision 1924 - Directory Listing
Modified Tue Mar 23 22:59:53 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
urlpath/systemlink upgrades
LOTS of cleanup (but it still needs more)

Revision 1920 - Directory Listing
Modified Tue Mar 23 01:55:14 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
rewritten:

* no duplicated code (no copy-n-paste)
* error messages if the wrong objects are selected
* uses $self->reply_with_redirect()
* uses ScrollingRecordList
* more descriptive button names, values

Revision 1917 - Directory Listing
Modified Tue Mar 23 01:15:58 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
urlpath/request/systemlink updates

Revision 1916 - Directory Listing
Modified Tue Mar 23 01:11:59 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed appendixes, deny access if not has permission

Revision 1915 - Directory Listing
Modified Tue Mar 23 01:11:18 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
now using new urlpath stuff, etc.

Revision 1904 - Directory Listing
Modified Wed Mar 17 08:18:29 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed FormLayout style

Revision 1862 - Directory Listing
Modified Sat Mar 6 21:49:48 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
disabled path and title methods.

Revision 1859 - Directory Listing
Modified Sat Mar 6 21:41:44 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Use the student stat table in Grader to produce student detailed stats in Stats.pm.

Commented out, but did not yet remove Stats.pm code for this function.

Revision 1856 - Directory Listing
Modified Sat Mar 6 17:36:29 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
*** empty log message ***

Revision 1855 - Directory Listing
Modified Sat Mar 6 17:35:27 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Allow at most two digit
numbers

Revision 1854 - Directory Listing
Modified Sat Mar 6 17:32:36 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed unneeded
formatting code

Revision 1853 - Directory Listing
Modified Sat Mar 6 17:29:07 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
another typo

Revision 1852 - Directory Listing
Modified Sat Mar 6 17:25:32 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed threeSpaceFill
routine to work with
strings.

Revision 1851 - Directory Listing
Modified Sat Mar 6 17:21:22 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
typo

Revision 1850 - Directory Listing
Modified Sat Mar 6 17:16:00 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Make the percentages more accurate by dividing by the number of students who attempt the problem.

Revision 1849 - Directory Listing
Modified Sat Mar 6 16:04:06 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
need to calculate this
value as well.  oops.

Revision 1848 - Directory Listing
Modified Sat Mar 6 16:02:17 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added 0 bracket to
number of attempts.

Revision 1847 - Directory Listing
Modified Sat Mar 6 15:55:07 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added more statistics on how students are doing.

There is still a lot o code to be cleaned up.

Once the calculation and the display are better separated it will be easier to
create statistics that count studnets appropriately.  e.g. dropped stduents and professors aren't counted.

Revision 1843 - Directory Listing
Modified Fri Mar 5 05:01:37 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Some cosmetic changes in the table

Added a safety switch for deleting sets.

Added a call to Compatibility::update_global_user  to fill in
global_user records if no globa_user has yet been assigned.

Revision 1841 - Directory Listing
Modified Thu Mar 4 21:05:58 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.

Revision 1828 - Directory Listing
Modified Wed Mar 3 20:16:35 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
UI cleanup

Revision 1825 - Directory Listing
Modified Mon Mar 1 06:33:34 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
implemented UI using ScrollingRecordList

Revision 1819 - Directory Listing
Modified Thu Feb 19 22:47:02 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Roll back previous changes.  The user_id is no longer listed in the
scoring files.   sorry about that.

--Mike

Revision 1818 - Directory Listing
Modified Thu Feb 19 22:21:30 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added user_id (the login id) to the list in scoring.

Revision 1810 - Directory Listing
Modified Mon Feb 16 03:16:50 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added at table of
statistical results when
viewing the statistics
for a given set.
--Mike

Revision 1809 - Directory Listing
Modified Mon Feb 16 01:20:43 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed ordering problem with problems in a given set.  This squashes bug #405.
Also made a few clean up efforts on the code.

--Mike

Revision 1804 - Directory Listing
Modified Sat Feb 14 00:55:17 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added slowness warning

Revision 1799 - Directory Listing
Modified Thu Feb 12 21:38:24 2004 UTC (9 years, 3 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added nbsp() subroutine to clean up table appearance
this could still possibly be added to contentgenerator.pm

Revision 1790 - Directory Listing
Modified Thu Feb 12 04:26:51 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added timing code

Revision 1783 - Directory Listing
Modified Fri Feb 6 18:01:51 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
shows user-specific due date if overridden. closes bug #394.

Revision 1782 - Directory Listing
Modified Fri Feb 6 17:37:11 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed the "delete visible users" option, changed "show users selected
below" to "show users checked below".

Revision 1773 - Directory Listing
Modified Tue Feb 3 00:53:31 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrected sorting by user_id.  Code now works correctly.  Before the sorting for this case was occuring by accident
with the SQL database.

Made changes to the interface in SendMail.  The radio buttons are now horizontal to match the
radio buttons on the Instructor::Index page.  Changed Id to Login to make the sorting parameter clearer.

changed the format of the popmenu on the Instructor::Index page to match the format used on the SendMail page.

Revision 1770 - Directory Listing
Modified Mon Feb 2 23:11:13 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed the code that retrieves all problem records for a set. Now, the
only call made (per set) is getAllUserProblems(). The extraneous call to
listUserProblems() has been removed.

Revision 1769 - Directory Listing
Modified Sat Jan 31 14:47:44 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replaced "getuserProblems by getAllUserProblems when printing statistics for a single user (many sets)
The time when from 178 to 35 using GDBM.  It went from 15sec to 16sec (on a different course)
when using sql.

--Mike

Revision 1768 - Directory Listing
Modified Sat Jan 31 14:46:18 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed the size of the font for printing out the results of the scoring file.

This file needs to be reviewed carefully.  There is a lot of crufty code.
The use of s{tyle=>'.....'  should be replaced by items in the template in
this file and throughout the Instructor modules.

Revision 1767 - Directory Listing
Modified Sat Jan 31 04:28:48 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added tweak to handle
case where set is not
defined when acting as
student.

Revision 1766 - Directory Listing
Modified Sat Jan 31 04:08:57 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made major modifications to user interface on Instructor/Index page.

Added use of getAllUserProblems in main loop for Stats.pm problems when displaying
statistics for a given set.  This speeds GDBM from 8 sec to 2.  SQL stays at around 22-23 seconds.

Also addded code to sort_method which checks that the number of attempts has been defined.
If not it returns 0.

--Mike

Revision 1762 - Directory Listing
Modified Wed Jan 28 04:04:47 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrected formatting showing the due date if it has been over-ridden.

Revision 1761 - Directory Listing
Modified Wed Jan 28 03:41:31 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the due date when the problem has been assigned.

Revision 1760 - Directory Listing
Modified Wed Jan 28 03:31:44 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "open date" to "due date"  when

Revision 1754 - Directory Listing
Modified Sun Jan 25 19:46:54 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added ability to change the number of entry rows on the Addusers.pm page.
Minor modification to multiple=> to conform to bbedit's version of correct html

Revision 1753 - Directory Listing
Modified Sun Jan 25 19:46:11 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cosmetic modification changed "edit set" to "edit sets"

Revision 1750 - Directory Listing
Modified Sun Jan 25 18:20:14 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added rudimentary "Save as" function.  This duplicates
WW1.9 save as , but does not provide any extra functionality.


The following problems remain:

The redirect does not yet work correctly.  I believe the desired behavior is to view the
new saved problem from the editor.  There is no easy way to view the new problem
or whatever until the problem has been assigned to globalUser in the set.

Revision 1749 - Directory Listing
Modified Sun Jan 25 18:17:31 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cosmetic change   changed "edit" to "edit sets" for clarity in link name.

Revision 1747 - Directory Listing
Modified Sun Jan 25 15:53:23 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made modifications to PG problem editor to allow editing of course_info.

Future plans include allowing editing of login_info by the site manager (but not
by the course instructors).

All files to be edited must lie under the templates directory (for safety reasons.)

There are still issues with adequate warnings for saving files when permissions are not correctly set.

There is not yet a save as button.
--Mike

Revision 1746 - Directory Listing
Modified Fri Jan 23 23:01:49 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Only collect nonempty user IDs for assigning. Closes bug #373

Revision 1743 - Directory Listing
Modified Fri Jan 23 21:04:05 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added the option to assign sets to newly-created users.

Revision 1739 - Directory Listing
Modified Fri Jan 23 16:49:09 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
moved Assigner to UsersAssignedToSet. created new Assigner module, and
wired it to /$courseID/instructor/assigner/. It doesn't do anything yet,
but it will allow the assignment of multiple sets to multiple users, all
in one shot.

Revision 1736 - Directory Listing
Modified Thu Jan 22 00:25:17 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made modifications to header that make it clearer how to edit all
sets for one user.

--Mike

Revision 1735 - Directory Listing
Modified Wed Jan 21 20:53:32 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added more timing messages.

Revision 1733 - Directory Listing
Modified Wed Jan 21 19:57:05 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added some timing code

Revision 1730 - Directory Listing
Modified Wed Jan 21 01:16:15 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Mail merge does not report error when the merge file selected is "None".

--Mike

Revision 1729 - Directory Listing
Modified Wed Jan 21 00:31:51 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed warning message for unassign all on the Assigner page.
This closes bug number 352

--Mike

Revision 1728 - Directory Listing
Modified Wed Jan 21 00:17:23 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Corrected link to file transfer page.  This squashes bug #346

Revision 1727 - Directory Listing
Modified Tue Jan 20 18:56:03 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Edited headers for the problem set list page.
--Mike

Revision 1726 - Directory Listing
Modified Mon Jan 19 04:26:45 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modified the reading of set definition files
slightly to deal with the case where
some values haven't been defined.
--Mike

Revision 1723 - Directory Listing
Modified Sun Jan 18 00:12:30 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Placed the link to subpages back on top of the quick link tools, at least for now.
The quick link tools need to be presented better.
-- Mike

Revision 1720 - Directory Listing
Modified Sat Jan 17 19:30:22 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Can now sort recipient list by section and rectation.  A few other user interface
cosmetics added.  This should close bug 309

Revision 1716 - Directory Listing
Modified Fri Jan 16 04:15:46 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modified layout of the Instructor/Index.pm module.

Revision 1713 - Directory Listing
Modified Fri Jan 16 00:42:38 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added some cosmetic tweaks to these pages.

Revision 1712 - Directory Listing
Modified Thu Jan 15 22:45:34 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added warnings to Assigner so that folks don't unassign students
by accident.

You can now select the number of users you would like to add.

You still cannot immediately assign sets to students, but there
is written warning about this.

Revision 1711 - Directory Listing
Modified Thu Jan 15 19:42:44 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Add users will now handle 5 users at once.

Add a device for allowing this number to change.

The userlist pop-down now defaults to add users with matching ids.

--Mike

Revision 1702 - Directory Listing
Modified Mon Jan 5 00:48:33 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added checkboxes to the import forms to allow user to deicde whether to
assign a set to all users or not.

Revision 1691 - Directory Listing
Modified Sun Dec 28 21:02:49 2003 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More checking for incomplete records.  This time for entries in
@userRecords

--Mike

Revision 1687 - Directory Listing
Modified Fri Dec 26 15:00:02 2003 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Modified print out so that the problem totals and index totals
have %4.1f format.  The field width is 4 and the number of decimal points is 1.
This closes bug #284
--Mike

Revision 1686 - Directory Listing
Modified Fri Dec 26 01:29:14 2003 UTC (9 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added error checking to insure that the open_date, due_date and answer_date
are in correct order.

This closes bug #73
--Mike

Revision 1681 - Directory Listing
Modified Thu Dec 18 23:15:34 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
- Assigner and SetsAssignedToUser now refuse to unassign sets from the
GlobalTableEmulator's "global user". Closes bug #283.
- New "unassign from all users" button in Assigner.
- Cosmetic changes to path() and title() in several modules.

Revision 1680 - Directory Listing
Modified Thu Dec 18 03:37:33 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Multiple users with the same student ID no longer clobber each other.
(The users are still sorted by student ID.) Closes bug #285.

Revision 1679 - Directory Listing
Modified Thu Dec 18 03:02:19 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
add explicit "view" and "edit" links, closing bug #275

Revision 1677 - Directory Listing
Modified Thu Dec 18 02:18:37 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
users are now skipped if they don't have an email address.

Revision 1676 - Directory Listing
Modified Wed Dec 17 23:14:13 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
moved a comment

Revision 1675 - Directory Listing
Modified Wed Dec 17 21:45:17 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
I wrote a really great log message, and then I lost it.
So now I'm a little pissed off.

Added code to pre-fetch users, global problems and user problems outside
of the main processing loop of scoreSet(). This allows the use of
getAllGlobalProblems() and getAllUserProblems(), which is much more
efficient than what was being done before:

For a course with 154 problems in 9 sets, all of which are assigned to
all users, scoring all sets with "IncludeIndex" and "Record Scores for
Single Sets" took the following times:

Original code: 34.07 sec
     New code:  8.68 sec

This is around four times as fast.

I initially attemped to rewrite the main loop to allow the use of
getAll*Problems(), but this proved to be time consuming and error prone.
I eventually decided to leave the main loop alone, except to replace the
DB calls inside it with accesses to pre-fetched records.

Revision 1667 - Directory Listing
Modified Fri Dec 12 02:24:30 2003 UTC (9 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
As best I can determine all "get" commands to the database are now
checked and appropriate action (usually "die") is taken if no
object is returned.

One exception.  The multiple "gets"  such as getGlobalSets(@setNames)
are not checked -- if a given setName is not found is an empty object
returned? in the list or is nothing returned?

--Mike

Revision 1663 - Directory Listing
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 1661 - Directory Listing
Modified Mon Dec 8 23:07:46 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Implemented a schema-level "count" function in the WW1Hash schema.
Added countSetUsers and countProblemUsers to DB.
Replaced SCALAR calls to listSetUsers with calls to countSetUsers.
Update Schema documentation.

The immediate advantage of this is to make ProblemSetList MUCH faster.

Revision 1660 - Directory Listing
Modified Fri Dec 5 00:01:40 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
implemented an "Import Multiple Sets" feature.

Revision 1654 - Directory Listing
Modified Thu Dec 4 06:17:08 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed password creation

Revision 1651 - Directory Listing
Modified Wed Dec 3 20:31:49 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
fixed timers

Revision 1646 - Directory Listing
Modified Tue Dec 2 16:41:16 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
removed "use HTML::Entities", as it is not being used (commented out)
and no other modules use it.

Revision 1642 - Directory Listing
Modified Wed Nov 19 23:08:02 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
implemented assignAllSetsToUser and unassignAllSetsFromUser

Revision 1640 - Directory Listing
Modified Wed Nov 19 19:06:42 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added "Act As" link, user ID now links to "sets assigned to user"

Revision 1632 - Directory Listing
Modified Mon Nov 10 04:11:56 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Adding timing code for ProblemSets and for Stats.pm
--Mike

Revision 1631 - Directory Listing
Modified Sun Nov 9 23:21:34 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed references to ScoringTotals.pm   These capabilities
are handled by Scoring.pm
--Mike

Revision 1629 - Directory Listing
Modified Sun Nov 9 22:44:28 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed getMergedProblems to getUserProblems.  This seems to
have speeded things up somewhat.
--Mike

Revision 1628 - Directory Listing
Modified Sun Nov 9 21:29:48 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added timing code that measures how long it takes to get given
problem data for all users.  It's too long.

--Mike

Revision 1627 - Directory Listing
Modified Sat Nov 8 02:54:56 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
this module allows you to change which sets are assigned to a given
user. it is not yet accessible via the WW UI, but you can access it with
a URI like "/webwork2/$courseID/instructor/users/$userID/sets/"

Revision 1626 - Directory Listing
Modified Sat Nov 8 02:53:41 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
changed the name of the module in the path.

Revision 1625 - Directory Listing
Modified Sat Nov 8 02:53:15 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
There shall be ONE empty line between each subroutine. Not five, not
zero!

Revision 1619 - Directory Listing
Modified Tue Nov 4 23:18:40 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added problem numbers along top when viewing all sets for a given user.
unfortunately, this slows down display, since nothing can be sent to the
client until all sets are processed. closes bug #272.

Revision 1615 - Directory Listing
Modified Tue Nov 4 02:24:32 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
moved getCSVlist to superclass.
implemented FileXfer for set definition files and classlist files.

Revision 1609 - Directory Listing
Modified Mon Oct 27 01:23:07 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Slowly modifying scoring so that it will be easier to add features.
The modifications are mainly to the scoreSet function.
--Mike

Revision 1606 - Directory Listing
Modified Fri Oct 24 00:22:05 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Timing counters added.  Faster way to count the number of sets. (but not
fast enough for GDBM)
--Mike

Revision 1605 - Directory Listing
Modified Wed Oct 22 17:05:49 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
resolves bug #268:

This is a problem with the naming of the popup menu options.

"selected users" refers to the users checked in the user table, below
the action options. "users with matching user IDs:" refers to the list
of user IDs entered into the text field to the right of the popup menu.
(note the colon.)

The reporter was attempting to specify "selected users" by entering
their user IDs into the text field intended for "users with matching
user IDs".

I have changed the name of the "selected users" option to "users
selected below", which makes the distinction easier to grok.

Revision 1604 - Directory Listing
Modified Tue Oct 21 20:29:27 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
cvs-log test

Revision 1603 - Directory Listing
Modified Tue Oct 21 20:26:59 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
foo

Revision 1602 - Directory Listing
Modified Tue Oct 21 20:26:26 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
comments

Revision 1601 - Directory Listing
Modified Tue Oct 21 20:19:46 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
display can now be filtered by entering a user ID (or list of user IDs)
or selecting a section or recitation from popup menus.

Revision 1597 - Directory Listing
Modified Mon Oct 20 22:15:59 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added export functionality.

Revision 1596 - Directory Listing
Modified Mon Oct 20 18:59:58 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
use getGlobalSets instead of getMergedSets.   It speed things up a lot.

-- Mike

Revision 1595 - Directory Listing
Modified Mon Oct 20 15:29:37 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added timing code for Instructor::Index  to Instructor::Index.pm and
also to WeBWorK.pm.  We can remove this once we have finished testing
various database configs.

--Mike

Revision 1594 - Directory Listing
Modified Mon Oct 20 05:20:46 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
reworked UserList.pm to have a more modular structure:
1. all modification of user list happends in action_handler routines
2. the whole page is one form
3. view properties (what is shown? what is selected?) survive actions
4. can choose to apply actions to all/selected/visible users
this is more useful than the old UserList, and can be seen as a
prototype for additional refactoring.

also fixed Index.pm to work with the new UserList interface.

Revision 1591 - Directory Listing
Modified Sat Oct 18 20:46:01 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed problem in logic which kept an edited problem from reading the
.tmp file when the answer was submitted.  Now the editMode variable
and sourceFilePath variables are passed on as hidden variables by
Problem.pm if they exists in the input form.  This fixes bug #179
as well as bug #109.

The temporary file is now labeled   fileName.pg.user.tmp where user is
the login name of the person editing the file.  If that file exists
then pgProblemEditor will attempt to use that as a source file.
The revert button forces a read from fileName.pg

--Mike

Revision 1590 - Directory Listing
Modified Fri Oct 17 03:42:07 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added various sorting methods to the statistics page.  This makes
the sorting more flexible, but it also slows down the process somewhat.
This results bug #153

--Mike

Revision 1584 - Directory Listing
Modified Tue Oct 14 19:12:07 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
work on making the user list more flexible:
by default, edit fields are not shown
it is possible to select a subset of users for editing

Revision 1581 - Directory Listing
Modified Sun Oct 12 17:44:32 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added button to link to scoring of sets.

Removed some debugging warning messages.

--Mike

Revision 1579 - Directory Listing
Modified Sun Oct 12 04:09:14 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
A new version of the index page for instructor functions with a better
layout.  All of the buttons now do something appropriate, although
several of the functions should be rewritten to be more efficient.

For example it should be possible to change many students/dates at one
time.  There are other functions that should be added as well --
assigning students to sets for example.

--Mike

Revision 1578 - Directory Listing
Modified Sun Oct 12 04:07:16 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This will be removed soon.
--Mike

Revision 1577 - Directory Listing
Modified Sun Oct 12 04:03:08 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The beginnings of a module that will allow you to add new users
efficiently.  For now it is just a copy of the old index page,
including links to the webwork 1.9 tools
-- Mike

Revision 1576 - Directory Listing
Modified Sun Oct 12 02:43:12 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This module is a candidate to replace the Index.pm page and module.
The displayed "control panel" is set up.  Only the
"become student" control works right at the moment.

You can access it by replacing instructor by instructor2 in the url
for the instructor index page.

--Mike

Revision 1567 - Directory Listing
Modified Mon Oct 6 22:36:50 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added record filter

Revision 1566 - Directory Listing
Modified Mon Oct 6 22:36:18 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
cleanup

Revision 1562 - Directory Listing
Modified Sun Oct 5 22:01:38 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Protected against undefined strings.  They are replaced by empty
strings.
--Mike

Revision 1543 - Directory Listing
Modified Sat Sep 27 20:41:23 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Made "set header" field 32 chars long.  This fixses bug #168.
--Mike

Revision 1508 - Directory Listing
Modified Fri Sep 19 02:27:24 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Index2.pm is a temporary testing version of the instructor interface.
--Mike

Revision 1497 - Directory Listing
Modified Tue Sep 9 03:54:43 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Rounded of score, made link to act as student in the display of
statistics for a given user.  This retires bugs:
203 and #206.

Revision 1487 - Directory Listing
Modified Sat Sep 6 16:24:48 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Sort students by name, (only)
Add a link to the name which allows you to inspect the students
version of the problem set.
This partially fixes bug #201

Revision 1486 - Directory Listing
Modified Sat Sep 6 15:56:58 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the ability to enter a new student from this page.  It is much faster than from the class list.

Of course it doesn't have full functionality yet.
--Mike

Revision 1484 - Directory Listing
Modified Fri Sep 5 14:03:49 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added sorting code to Assigner.pm so that the list is sorted alphabetically and then by section.
--Mike

Revision 1474 - Directory Listing
Modified Thu Aug 28 15:00:12 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed sorting routine so that sorting by sections doesn't
screw up sorting by alphabet.

Revision 1473 - Directory Listing
Modified Thu Aug 28 14:45:29 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added sorting to class list.  Sorted alphabetically first
and then by section.  This is a temporary fix.  The code
should be cleaned up and increased functionality, such as
that provided in the listing of sets, should be added.
--Mike

Revision 1461 - Directory Listing
Modified Thu Aug 14 21:33:37 2003 UTC (9 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Actually added the printing of assignment counts and user-specific
identification.

Revision 1460 - Directory Listing
Modified Thu Aug 14 20:10:37 2003 UTC (9 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed "1.0" to "1.9" for consistency

Revision 1449 - Directory Listing
Modified Mon Aug 4 20:49:29 2003 UTC (9 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a bug that prevented scoring of sets assigned to fewer than all
users

Revision 1448 - Directory Listing
Modified Mon Aug 4 08:06:25 2003 UTC (9 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the scoringDownload module for downloading scoring data

Revision 1441 - Directory Listing
Modified Fri Jul 25 22:29:31 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added many functions for filtering data out for different files

Revision 1436 - Directory Listing
Modified Fri Jul 25 13:33:37 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Tweaked the instructor links callback
--Mike

Revision 1435 - Directory Listing
Modified Fri Jul 25 12:44:03 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This may not be necessary, but it is a parallel development
of creating scoring files.  The idea is to go directly to the
totals files with creating .csv files for each set.
--Mike

Revision 1434 - Directory Listing
Modified Fri Jul 25 12:41:19 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Increased cellpadding size in tables
--Mike

Revision 1433 - Directory Listing
Modified Fri Jul 25 12:38:17 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cosmetic modifications to the index pages of Stats and
the instructor pages
--MIke

Revision 1432 - Directory Listing
Modified Fri Jul 25 03:20:16 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added more capabilities to the stats module.

There is some overlapping code that needs to be factored out.
--Mike

Revision 1430 - Directory Listing
Modified Thu Jul 24 21:52:17 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a module that shows the raw stats for a single set.
We need a better index page for this and other views of the
same statistics.
--Mike

Revision 1428 - Directory Listing
Modified Thu Jul 24 14:32:30 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added import from set definition file function and
export to set definition file function
--Mike

Revision 1427 - Directory Listing
Modified Wed Jul 23 20:19:42 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Inconsequential changes

Revision 1416 - Directory Listing
Modified Tue Jul 22 20:45:12 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a bug preventing scoring data from being generated for sets
assigned to less than all users.

Revision 1415 - Directory Listing
Modified Tue Jul 22 20:40:37 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed a superfluous warning

Revision 1413 - Directory Listing
Modified Mon Jul 21 23:07:03 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Now generates scoring data files in response to requests from the set
list.  There is no confirmation that this has been done, yet, though.
If it returns an "empty" page, it worked, and you can see the scoring
files.

Revision 1410 - Directory Listing
Modified Mon Jul 21 22:08:58 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Redirect to the Scoring content generator if the scoreSelected button is
pressed

Revision 1404 - Directory Listing
Modified Fri Jul 18 21:42:14 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Another button that doesn't do anything (yet)

Revision 1403 - Directory Listing
Modified Fri Jul 18 20:49:32 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The set-scoring code generates all scoring file types available in WW1.9
(normal, full, total).

Revision 1402 - Directory Listing
Modified Thu Jul 17 20:28:31 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Now the "totals" column is working.

Revision 1401 - Directory Listing
Modified Wed Jul 16 21:11:05 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Generating a scoring file works except for totals, and it can be written
out to disk.  Still no UI.

Revision 1400 - Directory Listing
Modified Wed Jul 16 17:56:20 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added blank for entering the name of the imported set.
--Mike

Revision 1399 - Directory Listing
Modified Wed Jul 16 13:33:53 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a pop menu that displays the set definition files that could be
imported.
--Mike

Revision 1397 - Directory Listing
Modified Wed Jul 16 12:58:29 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Abstracted "read directory" functions in SendMail and moved them
to Instructor.  The instructor calls WeBWorK::Utils::readDirectory
and then filters the output according to a pattern match. Sorts as well.

Also move read_scoring_file to instructor since it will need to be used
in other scripts as well.
--Mike

Revision 1395 - Directory Listing
Modified Tue Jul 15 19:36:25 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added ShowAnswers.pm module which reads the log file of the students answers
Modifications to WeBWorK (dispatcher) and Problem (the Show Past Answer button
had to be redirected) were also made.
--Mike

Revision 1394 - Directory Listing
Modified Tue Jul 15 19:32:27 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Still more bug fixing.  I think that should do it for the auxiliary
functions.

Revision 1393 - Directory Listing
Modified Tue Jul 15 19:08:18 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Lots of bug-fixing to auxiliary routines

Revision 1391 - Directory Listing
Modified Tue Jul 15 17:58:48 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Lots of bug-fixes
replaced all instances of "column" with the (much) more accurate "row"

Revision 1389 - Directory Listing
Modified Tue Jul 15 01:19:49 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
And then I wrote comments

Revision 1388 - Directory Listing
Modified Tue Jul 15 01:15:58 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Finished the auxiliary functions.

Revision 1386 - Directory Listing
Modified Tue Jul 15 00:50:06 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Initial commit, containing support methods.

Revision 1381 - Directory Listing
Modified Mon Jul 14 15:29:40 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed error message for merge template display
--Mike

Revision 1376 - Directory Listing
Modified Sun Jul 13 19:22:50 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Some more initialization fixes.  Still problems with the
best error reporting if merge file hasn't been found
or doesn't exist.
--Mike

Revision 1375 - Directory Listing
Modified Sun Jul 13 18:56:27 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed some bugs where defaults were not always initialized.
--Mike

Revision 1373 - Directory Listing
Modified Sun Jul 13 18:32:46 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
SendMail now works -- probably with lots of bugs and certainly
without enough features, particularly error checks.  It's ready
for bug reports.
--Mike

Revision 1372 - Directory Listing
Modified Sun Jul 13 17:08:49 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Preview now works fairly well.  Only the actual send mail action
needs to be implemented
Followed by bug fixes and assignments.
--Mike

Revision 1371 - Directory Listing
Modified Sat Jul 12 21:31:03 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
backups work now.  The list of merge files can be found.
To do:
1.. Get better list of students (with entire names)
2.  Get view of merge file
3.  Get preview working
--Mike

Revision 1370 - Directory Listing
Modified Sat Jul 12 19:04:25 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Save procedures are working pretty well although there
is no backup mechanism yet.
--Mike

Revision 1369 - Directory Listing
Modified Sat Jul 12 03:13:32 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Massive changes -- formatting is now much better.
Functionality is not yet there.
--Mike

Revision 1368 - Directory Listing
Modified Fri Jul 11 21:40:38 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
First crack at writing a send mail script.  Not at all functional
--Mike

Revision 1363 - Directory Listing
Modified Fri Jul 11 19:52:42 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Cosmetic changes to title
--Mike

Revision 1357 - Directory Listing
Modified Fri Jul 11 18:40:34 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More graceful failure if permissionlevel record is not defined.
--Mike

Revision 1352 - Directory Listing
Modified Fri Jul 11 16:58:09 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
When editing a set header one can not save to a temporary file, (the
refresh button is gone) however you can make a permanent change and the
result is viewed from the ProblemSet.pm page listing the problems from
the set, together with the screen version of the set header.
--Mike

Revision 1348 - Directory Listing
Modified Fri Jul 11 13:47:27 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a link which allows editing of the setHeader
Refresh and Save don't yet work because they try to
access the set header as problem 0.  One fix would
be to have Problem.pm display the setHeader whenever
it was asked to show problem 0.  This involves a fair
amount of special case code. Is there are better way?
--Mike

Revision 1346 - Directory Listing
Modified Thu Jul 10 22:38:25 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added bread crumbs to Assigner.pm -- changed set:1 to just 1 in
ProblemSetEditor -- I think this looks cleaner.
--Mike

Revision 1340 - Directory Listing
Modified Thu Jul 10 19:08:39 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
You're not allowed to edit both the default and the user-specific fields
at the same time anymore.  It was just too hard to keep straight
efficiently.

Revision 1338 - Directory Listing
Modified Thu Jul 10 17:42:52 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a bug in changing overrides

Revision 1324 - Directory Listing
Modified Tue Jul 8 22:39:15 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed unecessary warning

Revision 1323 - Directory Listing
Modified Tue Jul 8 22:36:48 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a bug in submitting changes to user-specific data.

Revision 1302 - Directory Listing
Modified Fri Jun 27 21:54:21 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the ability to get from the assigner page to the UserSet editor,
and from the UserSet editor to the UserProblem editor.

Revision 1301 - Directory Listing
Modified Fri Jun 27 21:39:35 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added functionality to the assigner.  You can now assign a set to an
individual student.

Revision 1295 - Directory Listing
Modified Fri Jun 27 15:43:06 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added bread crumbs (path subroutine) along the top of each of these pages.
--Mike

Revision 1293 - Directory Listing
Modified Thu Jun 26 23:42:19 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The classlist editor now provides links to become each user.

Revision 1289 - Directory Listing
Modified Thu Jun 26 21:56:36 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
You can now delete users

Revision 1261 - Directory Listing
Modified Tue Jun 24 00:55:28 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
It is now possible to provide synonyms to drop-down lists associated
with database fields for backwards compatability.

Revision 1233 - Directory Listing
Modified Fri Jun 20 01:23:03 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Move towards more intelligent formatting and editing in Professor Pages,
starting with the UserList.  The only current manefestation is that the
classlist fields are now formatted based on what they will contain.

Revision 1220 - Directory Listing
Modified Thu Jun 19 18:55:05 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Reworded the warning from the previous commit

Revision 1219 - Directory Listing
Modified Thu Jun 19 18:50:48 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Die if a user doesn't have a permission record (which should never
happen)

Revision 1218 - Directory Listing
Modified Thu Jun 19 18:39:02 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Hopefully a bugfix for an error Mike was getting with undefined values.

Revision 1214 - Directory Listing
Modified Thu Jun 19 00:15:31 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
You can add new users.  (You still have to set their password on the
command line, and you can't delete them yet).

Revision 1213 - Directory Listing
Modified Wed Jun 18 23:24:45 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Getting prettier

Revision 1212 - Directory Listing
Modified Wed Jun 18 23:16:02 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Warn less, work more.

Revision 1211 - Directory Listing
Modified Wed Jun 18 23:08:18 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
You can now edit existing student records.  Coming soon are a prettier
display, password resetting, and adding of new students.

Revision 1209 - Directory Listing
Modified Wed Jun 18 23:00:22 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed _s to .s

Revision 1198 - Directory Listing
Modified Wed Jun 18 16:35:53 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
now sends editMode=savedFile if the "Save" button is pressed, and
doesn't send the "submit_button" parameter.

Revision 1186 - Directory Listing
Modified Tue Jun 17 19:28:04 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added formatting
--Mike

Revision 1183 - Directory Listing
Modified Tue Jun 17 19:00:32 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Small modifications to correct warning messages when opening the temp
file.
-- Mike

Revision 1174 - Directory Listing
Modified Mon Jun 16 19:07:44 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This is the module for assigning sets to users.
-Dennis

Revision 1110 - Directory Listing
Modified Tue Jun 10 22:40:36 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the beginings of a classlist editor.  It currently
only displays the class list in a form.
-Dennis

Revision 1106 - Directory Listing
Modified Tue Jun 10 18:37:39 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed a warning in WW1Hash.
Renamed a function with a confusing name: assignProblemToAllUsers =>
assignProblemToAllSetUsers.
-Dennis

Revision 1105 - Directory Listing
Modified Tue Jun 10 17:29:27 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Filter problem contents before saving to disk to handle line ending problems.
All occurences of \r\n and \r    are replaced by \n.

Began improving the error messages if files cannot not be read.

Revision 1044 - Directory Listing
Modified Fri Jun 6 19:03:14 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replacing hard coding of /webwork/ with  $ce->{webworkURLs}->{root}
-- Mike

Revision 1027 - Directory Listing
Modified Thu Jun 5 19:34:38 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Now I'm exporting InitializeUserProblem
-Dennis

Revision 1023 - Directory Listing
Modified Thu Jun 5 14:39:49 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
added =cut
near end of DB.pm file.
before
1;

(I thought I had already commited this????)
--Mike

Revision 1020 - Directory Listing
Modified Thu Jun 5 01:29:32 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed the way checking if a new set exists already happens.
-Dennis

Revision 1017 - Directory Listing
Modified Wed Jun 4 23:47:35 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
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 1015 - Directory Listing
Modified Wed Jun 4 20:19:27 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The UserList module now has a single button, "Assign to all users", that
does what it says it does.  This should allow people to create new
problems and problem sets and edit them without ever needing the old
system, assuming that they are importing an existing course into
webwork2.
-Dennis

Revision 1014 - Directory Listing
Modified Wed Jun 4 18:41:51 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed bugs.
-Dennis

Revision 1006 - Directory Listing
Modified Wed Jun 4 02:59:55 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added ProblemList (from Dennis' folder) and committed it to CVS
--Mike

Revision 1005 - Directory Listing
Modified Wed Jun 4 00:34:56 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
I split the instructor's Problem List editor off into a seperate page,
and added links to that page from a few others.
-Dennis

Revision 998 - Directory Listing
Modified Tue Jun 3 22:00:57 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
really /really/ fixed the instructor pages to use the new URL scheme
-Dennis

Revision 996 - Directory Listing
Modified Tue Jun 3 21:59:25 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Really fixed the Instructor links to use the new URL scheme this time
-Dennis

Revision 995 - Directory Listing
Modified Tue Jun 3 21:07:37 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Efforts towards doing the Right Thing with the instructor URLs.
-Dennis

Revision 991 - Directory Listing
Modified Tue Jun 3 20:12:42 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The pgProblemEditor now looks for a global problem record if it cannot
find a global_user problem record.
-- Mike

Revision 983 - Directory Listing
Modified Tue Jun 3 17:48:35 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed explicit references to "/webwork" to the abstract
$ce->{webworkURLs}->{root}.  If you've been hardcoding "/webwork" into
your URLs, you should take a look at the diff to this update to learn
the prefered method.
-Dennis

Revision 982 - Directory Listing
Modified Tue Jun 3 17:11:35 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Took out some hard-coded <tr>s.  Shame on me.
-Dennis

Revision 981 - Directory Listing
Modified Tue Jun 3 00:28:28 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Replaced temporary values placed in $self->{ce}->{foo}
by $self->{foo} in order to avoid editing the course environment
unnecessarily.  Fixes bug #35
--Mike

Revision 980 - Directory Listing
Modified Mon Jun 2 23:10:59 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Rearranged the order of functions in PGProblemEditor.pm
Removed an extraneous warning from ProblemSetEditor.pm
-Dennis

Revision 979 - Directory Listing
Modified Mon Jun 2 22:28:08 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix max in Util.pm
did some UI refactoring.
-Dennis

Revision 978 - Directory Listing
Modified Mon Jun 2 22:07:05 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
There's no longer a seperate "Add Set" content generator.  That form is
now right on the problem set list.
-Dennis

Revision 977 - Directory Listing
Modified Mon Jun 2 21:58:35 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Took out some unnecessary warns, both intentional and otherwise.
-Dennis

Revision 976 - Directory Listing
Modified Mon Jun 2 21:53:10 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
You can now add new problems using a NeXT-style column view.  Advanced.
-Dennis

Revision 968 - Directory Listing
Modified Mon Jun 2 18:58:42 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fix a stupid bug from the last commit.
-Dennis

Revision 967 - Directory Listing
Modified Mon Jun 2 18:40:29 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
You can delete problems now.  Problem sets are the next thing.
Also, performed and apendectimy.
-Dennis

Revision 963 - Directory Listing
Modified Mon Jun 2 08:18:51 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added the ability to add sets.
-Dennis

Revision 962 - Directory Listing
Modified Mon Jun 2 06:51:35 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added problem editor links.
took out an unnecessary warning.
-Dennis

Revision 960 - Directory Listing
Modified Sat May 31 00:02:46 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
A bug fix: the "attempted" record for a UserProblem is now calculated
from the num_correct and num_incorrect fields.

Send me feedback: should it be displayed in the table anyway, and just
not editable?

-Dennis

Revision 959 - Directory Listing
Modified Fri May 30 23:59:35 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The problem set editor now works for 0 users (global only) or 1 user.
Multi-user functionality is coming over the weekend.

To cause the editor to give you the ability to edit a student's record,
add editForStudent=name (where name is the student's login) to the
parameters sent to the ProblemSetEditor content generator.

Note that if you are using the GDBM backend, editing the "default"
professor records is the same as editing the global values, which can
surprise you if you're not ready for it.
-Dennis

Revision 957 - Directory Listing
Modified Fri May 30 21:37:03 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added columns for user-specific problem fields.  Saving back to the
database for user-specific data still doesn't happen yet.
-Dennis

Revision 955 - Directory Listing
Modified Fri May 30 18:52:48 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More speedup and consolidation.
-Dennis

Revision 954 - Directory Listing
Modified Fri May 30 18:17:06 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This time there aren't any of the bugs that there were before, and
probably not any new ones.
-Dennis

Revision 952 - Directory Listing
Modified Fri May 30 18:09:13 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a showstopping compile but that accidentally got into the last
commit.  and consolidated some code.
-Dennis

Revision 951 - Directory Listing
Modified Fri May 30 18:05:41 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More changes to prevent unneccesary database requests
-Dennis

Revision 950 - Directory Listing
Modified Fri May 30 17:50:57 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Took out many many unneccessary database accesses.
-Dennis

Revision 947 - Directory Listing
Modified Fri May 30 00:27:27 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The set-specific data now displays the per-user override if the
editForUser param is set.  It does not yet save changes back to the
database.
-Dennis

Revision 936 - Directory Listing
Modified Thu May 29 00:08:23 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Now you can save changes to problems
-dennis

Revision 935 - Directory Listing
Modified Wed May 28 21:28:08 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
A start on the final version of the problem set editor.  The code from
the previous version is still in the file as mike_body, becuase it will
be added in (with modifications) as the file progresses.
-Dennis

Revision 930 - Directory Listing
Modified Wed May 28 17:46:00 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
*** empty log message ***

Revision 929 - Directory Listing
Modified Wed May 28 12:46:12 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Commented out debugging code in pgProblemEditor
--Mike

Revision 928 - Directory Listing
Modified Wed May 28 12:45:03 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The pgProblemEditor module now handles the seed and displayMode correctly.
-- Mike

Revision 925 - Directory Listing
Modified Wed May 28 03:30:45 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Problem Editor now creates a temporary file to edit (
adding .tmp to the file name)
Refresh causes a redirect to the Problem.pm with a GET command.
Some of the arguments are unnecessary and need to be cleaned up.

The seed and display mode in the problem editor are not properly
initialized from the problem set.

Problem.pm has been modified to check for these arguments and to read
the temporary source file, seed and displayMode.  These are passed
through to a PG.pm object.

PG also needed to be modified so that the source_file and seed values
are overridden

Revision 924 - Directory Listing
Modified Wed May 28 01:38:55 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added a helpful comment to Authz
Fixed bug #15 in hardcopy
Gave ProblemSetList the proper db calls, now that SQL databases are
working.
-Dennis

Revision 902 - Directory Listing
Modified Fri May 23 21:10:57 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The problem editor will now edit existing problems in place.  You invoke it with

http://webwork3.math.rochester.edu:1102/webwork/mth143/instructor/pgProblemEditor/0/2/
and it will edit problem 2 in set 0.

It can't edit files directly or create new files.

The problems are CHANGED!!! there is no editing in a temporary file-- the problems
are changed at every step.  BEWARE

--Mike

Revision 892 - Directory Listing
Modified Fri May 23 13:14:51 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The script now reads takes the form data in problemContents
and displays it in a textarea form.  If there is no problemContents
it reads from the file in template directory.
The script is called with .../instructor/pgProblemEditor/set10/prob1
 I'm using the
current convention for labeling files in the template directory.
Using '10' for set10 will not work right at the moment.  .pg
and the course template directory are combined with the path components
to determine the path to the file.

It remains to add the rest of the editing buttons and provide a method
for saving to the template file.

-- Mike

Revision 891 - Directory Listing
Modified Thu May 22 21:53:36 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Code cleanups
--Dennis

Revision 889 - Directory Listing
Modified Thu May 22 21:40:23 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Stub for PGProblemEditor which edits a .pg file

-- Mike

Revision 888 - Directory Listing
Modified Thu May 22 20:46:06 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
More "fix me" -> "FIXME:" Changes.  It's what Sam + I grep for to see
what needs fixing.
-Dennis

Revision 887 - Directory Listing
Modified Thu May 22 20:44:03 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Changed the string "fix me." in a comment to the industry standard
"FIXME:"
-Dennis

Revision 884 - Directory Listing
Modified Thu May 22 20:16:31 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Editor now  fills a blank textarea from the named problem set if
it exists.

There are a number of user interface issues to be tackled here.
The behavior is: if the textarea is empty and a setName is defined
then the textarea is filled from the setNAme.def file (eventually
it will be filled from the database )  This behavior will probably
not be transparent to the user.

Revision 883 - Directory Listing
Modified Thu May 22 20:14:58 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added sorting capability.
Squashed a bug in bug-detection ;-)
-Dennis

Revision 877 - Directory Listing
Modified Wed May 21 21:37:33 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
The problem set list has it's basic functionality working.  It still
needs a lot of work, but it's usable as a gateway to the problem editor.
-Dennis

Revision 875 - Directory Listing
Modified Wed May 21 18:41:51 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Factored some code  into gatherInfo() method.
The three dates are now sticky
a problem address of the form  /prob1.pg  won't enter into the set def textarea
This solves the problem that the directory might not yet be defined (but not elegantly).
-- Mike

Revision 872 - Directory Listing
Modified Tue May 20 18:35:22 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added comments.  There is still an annoying problem
that it is possible for the user to insert a problem
that has an empty directory address (e.g /prob3.pg, 1)
if they use "Choose problem" before ever using "Select set"

Viewing the entire set, saving the set and viewing individual problems from the local library (as opposed to the problem library on webhost) remain to be implemented.

-- Mike

Revision 869 - Directory Listing
Modified Tue May 20 02:37:44 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
 The select set and the choose problem button now work fairly well.
There is a static link allowing you to view the last chosen problem
via the problem library at webhost.  This works for now, but will break
if the class template file is out of sync with the template file used
by the "problem library" program at webhost.

The save button, which involves checking the syntax of the problem list has not been implemented. (There is code in profBuildProbSets to help with this.)

The view entire problem set (in pdf form) is not been implemented.
It should be possible to redirect this to the hardcopy feature somehow?
or to the PDF feature of the "problem library".

Other aspects of the user inface are still problematic.  We'll need to
play with it for awhile to see which behaviors must be changed.

--Mike

Revision 868 - Directory Listing
Modified Mon May 19 21:02:19 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
 Considerable progress has been made.  The select definition button and
choose problem  buttons work now, although the code needs to be de-crufted.
For some reason Safari will not recognize \r\n (newlines) in the textarea
although iCab does.  What is the accepted way to enter text with newlines into
the data for a textarea?

The view problem button doesn't work yet.  i want this to come up in a new window.
Must I use javaScript for this or is there another way to force a new target window
for the result of pusing the view problem button?  How can one redirect to a particular
problem?

There is still considerable debugging code in this file.

--Mike

CVe: ----------------------------------------------------------------------

Revision 860 - Directory Listing
Modified Sun May 18 03:26:22 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
This is the shell of an editor which will construct a "set definition file".
It shows a list of the problems which are available in the templates
directory.

To do: 1 - Detect the selected setDirectory and display its problems. Currently
the setDirectory is permanently set to setAlgebra10Intervals.
2 - Implement the problem viewing action of the form
3 - Implement the save definition action of the form.

-- MIke

Revision 859 - Directory Listing
Modified Sun May 18 03:20:56 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
dded a link to the mock up of a problem set editor.

Revision 836 - Directory Listing
Modified Wed May 14 21:20:13 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Removed the Professor content generator and link.
Made a little progress on ProblemSetList.
-Dennis

Revision 835 - Directory Listing
Modified Wed May 14 21:02:49 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Fixed a typo
-Dennis

Revision 834 - Directory Listing
Modified Wed May 14 20:57:28 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added links to the old Professor pages.
-Dennis

Revision 832 - Directory Listing
Modified Wed May 14 20:28:18 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Added shell code for the UserList and ProblemSetList
-Dennis

Revision 831 - Directory Listing
Added Wed May 14 18:44:54 2003 UTC (10 years ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an
abstract superclass of all the instructor pages.
-Dennis

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9