Log of /tags/rel-2-0-b1/webwork2
Directory Listing
Revision
1263 -
Directory Listing
Modified
Tue Jun 24 14:51:43 2003 UTC (9 years, 11 months ago) by
This commit was manufactured by cvs2svn to create tag 'rel-2-0-b1'.
Revision
1262 -
Directory Listing
Modified
Tue Jun 24 14:51:42 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Changes made to insure that WeBWorK2.0 will run when it is
not optimized for time. I'm planning to commit a "stable" version,
not feature complete, from which optimization branches can be derived.
--Mike
Revision
1261 -
Directory Listing
Modified
Tue Jun 24 00:55:28 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
It is now possible to provide synonyms to drop-down lists associated
with database fields for backwards compatability.
Revision
1260 -
Directory Listing
Modified
Tue Jun 24 00:54:51 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added information about the synonyms system
Revision
1257 -
Directory Listing
Modified
Mon Jun 23 19:57:59 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
disabled &backtrace, which depends on Apache::DB. DB has been causing
segfaults with some modules (like File::Temp, XMLRPC::Lite...)
Revision
1249 -
Directory Listing
Modified
Mon Jun 23 14:24:13 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added caching code for reading PGbascimacros and PGanswermacros as well
as PG.pl, dangerousMacros and IO.pl into a cached safe compartment and
sharing the subroutines with the current safe compartment
It speeds up each problem significantly (about .2 seconds on webwork3).
Changes are required in PGbasicmacros and PGanswermacros to fix
assumptions that are not met when a file is compiled and run in
different name spaces.
The caching code is turned off by default. It must be turned on by
by changing commenting in lines 133 to 147 in WeBWorK::PG:Local.pm
--Mike
Revision
1248 -
Directory Listing
Modified
Sat Jun 21 02:34:10 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
changed value of PRINT_FILE_NAMES_FOR
from array (back) to a reference to an array
--Mike
Revision
1247 -
Directory Listing
Modified
Sat Jun 21 02:32:33 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added PG:Local and PG:Remote (from Sam's directory)
Complete updated system now works.
--Mike
Revision
1244 -
Directory Listing
Modified
Sat Jun 21 00:53:45 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
PG now serves as a factory, consulting $ce->{pg}->{renderer} for the
module to actually create.
Revision
1242 -
Directory Listing
Modified
Sat Jun 21 00:53:09 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed the renderer from WeBWorK::PG to WeBWorK::PG::Local
Revision
1241 -
Directory Listing
Modified
Sat Jun 21 00:37:52 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added instructions and sample configs for limiting access to the
development servers.
Revision
1240 -
Directory Listing
Modified
Fri Jun 20 23:08:39 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed $webworkDirs{macros}, added $pg{renderer} (currently selected
macros) and $pg{renderers} (renderer-specific options).
Revision
1239 -
Directory Listing
Modified
Fri Jun 20 23:06:17 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed occurences of $courseEnv to $ce. uses
$ce->{pg}->{directories}->{macros} instead of the (now removed)
$ce->{webworkDirs}->{macros}.
Revision
1236 -
Directory Listing
Modified
Fri Jun 20 17:04:03 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
new{Password,PermissionLevel,Key,User,GlobalSet,UserSet,...} now pass an
optional prototype object to the record class's constructor. this allows
you to use these methods in place of global2user and user2global (which
you should):
my $userSet = $db->getUserSet($userID, $setID);
my $gloalSet = $db->newGlobalSet($userSet);
You can even do weird things like:
my $gloalSet = $db->newGlobalSet($userProblem);
The WeBWorK::DB::Record class just copies the values of ANY matching
fields from the old object to the new object.
Revision
1235 -
Directory Listing
Modified
Fri Jun 20 16:38:52 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed logic error for setting refresh flag
Revision
1234 -
Directory Listing
Modified
Fri Jun 20 16:38:32 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
now uses imagegenerator instead of calling dvipng directly.
Revision
1233 -
Directory Listing
Modified
Fri Jun 20 01:23:03 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
1230 -
Directory Listing
Modified
Fri Jun 20 01:20:59 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed unneeded info for deprecated hash2records/records2hash
functions -- these are not used by WW1Hash anymore, but they are used by
Classlist1Hash. Fix that.
Revision
1227 -
Directory Listing
Modified
Fri Jun 20 01:18:33 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
misc warning elimination, added message to tell you if your score was
recorded.
Revision
1226 -
Directory Listing
Modified
Fri Jun 20 01:17:45 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added (commented-out) timing code, checkFields now requires ^\d*$ in
problem_id field and assers that ID fields not be undef or blank.
Revision
1223 -
Directory Listing
Modified
Fri Jun 20 00:36:47 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
nav() now uses problem IDs instead of getting a the whole problem.
Revision
1221 -
Directory Listing
Modified
Thu Jun 19 19:09:43 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
if permission level does not exist in database, has_permissions will
return a false value.
Revision
1220 -
Directory Listing
Modified
Thu Jun 19 18:55:05 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
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
Hopefully a bugfix for an error Mike was getting with undefined values.
Revision
1215 -
Directory Listing
Modified
Thu Jun 19 00:19:49 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Changed PGtranslator to Translator in warning messages.
--Mike
Revision
1214 -
Directory Listing
Modified
Thu Jun 19 00:15:31 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
You can add new users. (You still have to set their password on the
command line, and you can't delete them yet).
Revision
1211 -
Directory Listing
Modified
Wed Jun 18 23:08:18 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
You can now edit existing student records. Coming soon are a prettier
display, password resetting, and adding of new students.
Revision
1204 -
Directory Listing
Modified
Wed Jun 18 20:03:03 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Oops. Removed the remaining conflict line.
--Mike
Revision
1202 -
Directory Listing
Modified
Wed Jun 18 19:58:18 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
These files have timing code in them. You have to change
the variable $timer* from 0 to 1 in order to have the times
reported.
--Mike
Revision
1201 -
Directory Listing
Modified
Wed Jun 18 19:13:53 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added methods to create new instances of record classes.
Revision
1200 -
Directory Listing
Modified
Wed Jun 18 18:21:40 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed default name of error log to error.log (better for tab
completion!)
Revision
1199 -
Directory Listing
Modified
Wed Jun 18 18:20:17 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
small fix to Timing.pm.
key fields are now checked to match m/^\w*$/.
Revision
1198 -
Directory Listing
Modified
Wed Jun 18 16:35:53 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
now sends editMode=savedFile if the "Save" button is pressed, and
doesn't send the "submit_button" parameter.
Revision
1197 -
Directory Listing
Modified
Wed Jun 18 16:35:22 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
cleaned up mike's editor support functionality. it now stores the source
file override and seed override in the $problem object. this eliminates
special logic further down the line. (eventually, i would like to have a
separate frontend to PG for the editor, like Instructor::PGPreview.pm)
Revision
1196 -
Directory Listing
Modified
Wed Jun 18 16:33:47 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
PG again gets source file and seed from $problem object,
unconditionally.
Revision
1194 -
Directory Listing
Modified
Wed Jun 18 00:07:18 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
These ideas, soon to be implemented once the wrinkles are gone, will
greatly simplify the writing of professor pages, and avoid the immense
duplication of code and scatter-shot logic that currently characterizes
the system.
Revision
1193 -
Directory Listing
Modified
Tue Jun 17 22:16:57 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
(.*)GlobalUser(.*) replaced with \1Merged\2.
-Dennis
Revision
1192 -
Directory Listing
Modified
Tue Jun 17 22:07:59 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a field for elapsed time ($diff). Changed how the
fields are concatenated (for now).
--Mike
Revision
1190 -
Directory Listing
Modified
Tue Jun 17 21:39:56 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Improved sorting speed for siblings.
--Mike
Revision
1189 -
Directory Listing
Modified
Tue Jun 17 21:37:23 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Changed the format of some messages, added docs.
-sam
Revision
1187 -
Directory Listing
Modified
Tue Jun 17 19:59:59 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Removed an error in this file that caused the message
"Answer evaluators must be subroutines."
This is the default set header file if none is specified.
--Mike
Revision
1185 -
Directory Listing
Modified
Tue Jun 17 19:26:23 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
"That's what happens when you put in error checking code, is that your
error checking code is full of errors" --Sam Hathaway
-Dennis
Revision
1183 -
Directory Listing
Modified
Tue Jun 17 19:00:32 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Small modifications to correct warning messages when opening the temp
file.
-- Mike
Revision
1181 -
Directory Listing
Modified
Tue Jun 17 16:17:07 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
This fragmented should be edited and then inserted in an existing
httpd.conf file to enable WeBWorK2.0
-Mike
Revision
1180 -
Directory Listing
Modified
Tue Jun 17 02:20:15 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Hardcopy now moves the pdf file to the tempDir/hardcopy
and sends the browser a redirect to pick it up.
Cleaned up the logic of latex2pdf and generateHardcopy to
some extent. More remains to be done. In particular
tempDir can be generated within latex2pdf. Possibly
it could be passed a file name as well, rather than a tex
string.
this process is a good candidate for testing the timing
mechanisms once they are done. How much faster is
redirect? How much faster is passing a long tex string
rather than a pointer? etc.
--Mike
Revision
1179 -
Directory Listing
Modified
Mon Jun 16 23:58:55 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added WeBWorK::Timing timer/logger and "timing" script to analyze timing
logs.
-sam
Revision
1178 -
Directory Listing
Modified
Mon Jun 16 23:58:04 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
wwapachectl now checks for existence of httpd.pid file.
-sam
Revision
1177 -
Directory Listing
Modified
Mon Jun 16 23:57:28 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed "webwork" to "webwork2" in comments
-sam
Revision
1176 -
Directory Listing
Modified
Mon Jun 16 22:23:29 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
permission level must be greater than 0 in order to
choose to download TeX.
--Mike
Revision
1175 -
Directory Listing
Modified
Mon Jun 16 21:51:59 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added ability to get TeX output .
Still to do.
(1) Make tex output only available to instructors and TA's
(2) Streamline some code
(3) Store pdf code and redirect instead of outputting the pdf
code directly -- hopefully this will speed up the output?
--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
This is the module for assigning sets to users.
-Dennis
Revision
1173 -
Directory Listing
Modified
Mon Jun 16 19:05:01 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Rearranged the URL to ContentGenerator mappings for user-specific data
editors.
-Dennis
Revision
1171 -
Directory Listing
Modified
Mon Jun 16 18:18:02 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added Driver.pm, a superclass for all DB drivers.
-sam
Revision
1170 -
Directory Listing
Modified
Mon Jun 16 18:11:51 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
An index file used for testing and for requests to
/webwork2 which don't specify a course name.
--Mike
Revision
1169 -
Directory Listing
Modified
Sat Jun 14 06:03:15 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed Bug #92 and problem with equations with \n in them.
-sam
Revision
1167 -
Directory Listing
Modified
Fri Jun 13 23:35:54 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Several changes to the DB system:
Made all schemas subclasses of WeBWorK::DB::Schema, factored common
constructor code out into Schema.pm. Made all drivers subclasses of
WeBWorK::DB::Schema, factored common constructor code out into
Driver.pm.
Removed superfluous style() and tables() functions from schemas and
drivers. (You can treat the constants in which these are defined as
functions, and call them like $object->STYLE or $object->STYLE().)
WeBWorK::DB now tries to build all tables defined in %dbLayout, instead
of using its own internal list. (TODO: add warnings if known tables are
not built or unknown tables are built.)
Made the error messages given during DB instantiation a little more
intelligent.
Changed the behavior of the exists() and delete() schema methods in all
schemas (and updated the docs) s.t. not all elements of @keyparts have
to be defined.
Changed WeBWorK::DB to allow undefined values to be passed instead of
IDs in delete* method calls, but only if the call was made from
WeBWorK::DB itself (to protect you from accidentally passing an
undefined value and clobbering your whole database).
Changed delete functions to be more efficient. For example,
deleteGlobalSet no longer has to say:
$self->deleteUserSet($_, $setID)
foreach $self->listSetUsers($setID);
$self->deleteGlobalProblem($setID, $_)
foreach $self->listGlobalProblems($setID);
Instead it says:
$self->deleteUserSet(undef, $setID);
$self->deleteGlobalProblem($setID, undef);
This is somewhat more efficient with hash-style schemas, and MUCH more
efficient with the SQL schema.
As usual, be wary of lingering bugs. w00t!
-sam
Revision
1159 -
Directory Listing
Modified
Fri Jun 13 17:26:40 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed unneeded code from WeBWorK::PG, WeBWorK::PG::ImageGenerator::add
now supports both add($in_delim) and add($in, $mode).
-sam
Revision
1157 -
Directory Listing
Modified
Fri Jun 13 14:26:10 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Hardcopy now appends a copy of the tex output to error message.
Clean up of temp files is pretty good.
The output needs some cosmetic work.
It still seems a little slow to me.
This answers the bulk of bug #82. Resubmit cosmetic details,
feature requests, etc. as new bug.
--Mike
Revision
1156 -
Directory Listing
Modified
Fri Jun 13 13:53:19 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
This is a fairly stable version of Hardcopy. It reports
part of the TeX log errors along with whater pdf was
produced. This partially satisfies the requests in
bug #82
--Mike
Revision
1154 -
Directory Listing
Modified
Fri Jun 13 02:30:45 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Rewrote ImageGenerator to work with WeBWorK2. Its arguments are now
passed in via an options hash instead of getting a whole %envir. Also,
the options are passed to the constructor and there is no initialize()
method. add() has the same interface, and render() has been changed
slightly. (This closes Bug #80!)
To make this work with 1.8, take a look at how I'm creating
ImageGenerator in &WeBWorK::PG::defineProblemEnvironment and make the
necessary modifications to processProblem8.pl.
I made changes to WeBWorK::PG to have "images" mode trigger HTML_dpng
rather than HTML_img, and also to create an ImageGenerator before
initializing and call render() after translation.
Also in PG, I shortened the names of the equation image files. They're
now "equation-$PSVN-$probnum-$seed.png". This has the added benefit of
forcing image regeneration if the problem seed changes, closing Bug
#70.
Equation files are now dumped directly into the $courseDirs{HTML_temp}
directory. This means that no one has to worry about whether "m2i"
exists any more.
global.conf.dist was changed to not include the switches to dvipng on
the command line (they're currently hardcoded into ImageGenerator).
I still have to get this to work with dvipng 0.3. I should also take
advantages of 0.3's new features, like pipelining (using the -follow
switch) and specifying the output file name (to avoid the "move" of
resulting images).
This is MUCH FASTER than the way I was calling dvipng, and I think it's
safe to say that it's a better method. Thanks JJ!
-sam
Revision
1153 -
Directory Listing
Modified
Fri Jun 13 02:20:06 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Hardcopy now does a reasonable job of reading the TeX log file, cutting
off the initial errors.
If there are tex errors then these are reported and one can optionally
download a pdf file if this was created.
Have not yet added the TeX file output -- Need to see how this is
handled in 1.8 first.
Good stopping point. Good night.
--Mike
Revision
1152 -
Directory Listing
Modified
Fri Jun 13 02:17:32 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Changed some error H2 headings to H3 -- it wastes less space.
--Mike
Revision
1150 -
Directory Listing
Modified
Fri Jun 13 02:13:35 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added removeTempDirectory() routine. instead of calling rmtree($dir, 0,
0) directly, you should use this :)
-sam
Revision
1149 -
Directory Listing
Modified
Thu Jun 12 20:06:20 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
replaced tempdir() with makeTempDirectory()
-sam
Revision
1147 -
Directory Listing
Modified
Thu Jun 12 19:34:18 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed calls to tempdir to calls to makeTempDirectory
-sam
Revision
1146 -
Directory Listing
Modified
Thu Jun 12 19:33:28 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
made some small improvements in error handling. changed calls to tempdir
to calls to makeTempDirectory
-sam
Revision
1145 -
Directory Listing
Modified
Thu Jun 12 19:32:51 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added makeTempDirectory function.
-sam
Revision
1144 -
Directory Listing
Modified
Thu Jun 12 19:31:44 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
replaced call to tempdir with call to makeTempDirectory
-sam
Revision
1143 -
Directory Listing
Modified
Thu Jun 12 19:31:16 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
commented out backtrace call (still causing problems).
-sam
Revision
1142 -
Directory Listing
Modified
Thu Jun 12 19:30:37 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Changed error and warning output to replace <pre> with <p><tt>.
Error/warning text now wraps!
-sam
Revision
1141 -
Directory Listing
Modified
Thu Jun 12 19:27:36 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed calls to Apache::DB::backtrace with calls to
Apache::DB->backtrace to eliminate warning about that.
-sam
Revision
1138 -
Directory Listing
Modified
Thu Jun 12 19:02:59 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
The GatewayQuiz can be reached by using the url
courseName/quiz_mod/setNumber
It will produce the entire set as a quiz. Recording functions, and the
ability to limit the number of entries have not yet been implemented.
--Mike
Revision
1137 -
Directory Listing
Modified
Thu Jun 12 18:13:04 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added pretty_print_rh utility function for printing warnings lines from
a hash.
-- Mike
Revision
1136 -
Directory Listing
Modified
Thu Jun 12 14:01:40 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Removed warning message used in debugging.
--Mike
Revision
1135 -
Directory Listing
Modified
Thu Jun 12 12:53:36 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Quizzes are now called using quiz_mode instead of quiz
Revision
1133 -
Directory Listing
Modified
Wed Jun 11 20:41:56 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Fixed a bug in ordering the siblings. (again :-) )
--Mike
Revision
1132 -
Directory Listing
Modified
Wed Jun 11 20:40:56 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
turned off PG warning catching in conf/global.conf.dist
-sam
Revision
1131 -
Directory Listing
Modified
Wed Jun 11 20:40:11 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Made many changes:
- turned off PG warning catching in conf/global.conf.dist
- added warning reporting to conf/templates/ur.template (but not to
other templates!)
- modified a couple of error messages in WeBWorK.pm
- made failure to create course environment and failure to find course
directory fatal errors in WeBWorK.pm
- added warning queueing and call stack storing to Apache::WeBWorK
- added "warnings" and "if_warnings" template escapes to
WeBWorK::ContentGenerator
- removed warning handling from WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::PG::ImageGenerator
-sam
Revision
1130 -
Directory Listing
Modified
Wed Jun 11 19:32:31 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added GatewayQuiz.pm module. It can be accessed by courseName/quiz/setNumber
--Mike
Revision
1129 -
Directory Listing
Modified
Wed Jun 11 19:30:51 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
This presents an entire set as a quiz. to be done:
(1) The answer presentation has to be filled in.
(2) Changes to PG.pl and the environment variables have to be made so that different
answers don't collide. The idea is to prefix all answers with something indicating the
problem number e.g. pRoBlEm04-AnSwEr05 I think it better to pass in an explicit
variable rather than rely on problem numbers.
(3) should this work automatically for NAMED_ANS as well? Pro: --it's done for you.
Con: You can't refer to answers in other parts of the quiz. (Put perhaps you
shouldn't to promote atomic behavior.)
--Mike
Revision
1128 -
Directory Listing
Modified
Wed Jun 11 19:24:38 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Use instead of blanks inside tables.
This squashes bug #72 (which Sam thinks is beter unsquashed. What do you think?)
--Mike
Revision
1119 -
Directory Listing
Modified
Wed Jun 11 14:11:41 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Fixed error in match pattern in include
routine (the .. should be \.\.)
Added some error messages (sent only to the
log unfortunately) if the config file can't
be evaluated.
One problem with do is that it does not
return error messages. eval does. I don't
know if it takes more time.
--Mike
Revision
1118 -
Directory Listing
Modified
Wed Jun 11 14:09:39 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Set the default globalUserID to "practice1"
to promote least hassle for "out of the
box" users migrating from WeBWorK1.8.
--Mike
Revision
1116 -
Directory Listing
Modified
Wed Jun 11 03:59:00 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a feature to process_answers. Each answer evaluator is given the
answer AND the answer label (e.g. AnSWer1) of the answer. The label
is placed in the answer hash at $hash{ans_label} for use by filters
that need to know the label of the answer they are evaluating.
A corresponding change has been made in AnswerEvaluator in AnswerHash.pm
--Mike
Revision
1114 -
Directory Listing
Modified
Wed Jun 11 02:18:04 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a "snippets" entry for hardcopyUerDivider.tex file
--Mike
Revision
1113 -
Directory Listing
Modified
Wed Jun 11 02:04:13 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
(1) Moved order in which snippets are assembled. Only one preamble and one postamble are used
for a single download (also a single run of TeX). The postamble ends the document and nothing
else in the file will be read by TeX.
(2) Modified the getSetTeX and getProblemTeX subroutines to include a username (for sets)
and a user object (for problems) so that problems and sets can be made for different students.
The new identifier is the first arguement.
$self->getSetTeX($effectiveUserName, $setName);
and
$self->getProblemTeX($effectiveUser,$setName, 0, $setHeader);
It seems to work pretty well, but perhaps a bit slow still.
--Mike
Revision
1112 -
Directory Listing
Modified
Wed Jun 11 01:58:43 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Modified these tex files so that the \newpage command does not occur in the middle
of a column environment where it does no good. In other words use
\end{multicols}
\newpage
\begin{\multicols}
etc. This fixes part of bug #13
--Mike
Revision
1111 -
Directory Listing
Modified
Tue Jun 10 23:05:57 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Added sortByName($field, @items) to WeBWorK::Utils. It uses the method
named $field to sort the objects in @items. Modified ProblemSets to call
it.
-sam
Revision
1110 -
Directory Listing
Modified
Tue Jun 10 22:40:36 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added the beginings of a classlist editor. It currently
only displays the class list in a form.
-Dennis
Revision
1109 -
Directory Listing
Modified
Tue Jun 10 20:34:08 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Fixed bug in sorting in siblings subroutine
--Mike
Revision
1108 -
Directory Listing
Modified
Tue Jun 10 19:58:28 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed global.conf.dist to include one of sql.conf or gdbm.conf. added
sql.conf.dist and gdbm.conf.dist. continuted documenting WeBWorK::DB
-sam
Revision
1107 -
Directory Listing
Modified
Tue Jun 10 19:40:45 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Siblings for problem set are sorted by date. Those sets which
are still open are listed first, followed by sets which are now
closed. Within each group the problems are sorted by due date in
increasing order.
This responds to bug #57bis (request for ordering by due-date)
--Mike
Revision
1106 -
Directory Listing
Modified
Tue Jun 10 18:37:39 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
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
1104 -
Directory Listing
Modified
Tue Jun 10 17:25:26 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Fixed a bug in error reporting that was preventing answer submission.
Say your final goodbyes to bug #69
-Dennis
Revision
1103 -
Directory Listing
Modified
Tue Jun 10 16:27:26 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Some cleanups to global.conf.dist
-Dennis
Revision
1100 -
Directory Listing
Modified
Tue Jun 10 00:18:14 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
in the interest of alleviating crowding:
moved snippets to conf/snippets.
moved templates to conf/templates.
updated global.conf.dist to match.
-sam
Revision
1099 -
Directory Listing
Modified
Mon Jun 9 23:41:43 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a section for special variables to be passed to the safe
environment:
%pg=(....
specialPGEnvironmentVars => {
PRINT_FILE_NAMES_FOR =>
['gage','apizer','voloshin','lr003k','professor'],
CAPA_Tools =>
"$courseDirs{macros}/CAPA_Tools/",
CAPA_MCTools =>
"$courseDirs{macros}/CAPA_MCTools/",
CAPA_Graphics_URL =>
"$courseDirs{html}/CAPA_Graphics/",
CAPA_GraphicsDirectory =>
"$courseDirs{html}CAPA_Graphics/",
},
...
);
this fixes bug #66 (actually a feature request).
It allows professors to see the file names of the problems they
are looking at. It allows the interpretation of CAPA problems as well.
-- MIke
Revision
1098 -
Directory Listing
Modified
Mon Jun 9 23:32:25 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Environment variables added for
PRINT_FILE_NAMES_FOR
CAPA_Tools
CAPA_MCTools
CAPA_Graphics_URL
CAPA_GraphicsDirectory
These are all set in the anonymous hash
$pg{specialPGEnvironmentVars} = {
PRINT_FILE_NAMES_FOR =>
['gage','apizer','voloshin','lr003k','professor'],
CAPA_Tools =>
"$courseDirs{macros}/CAPA_Tools/",
CAPA_MCTools =>
"$courseDirs{macros}/CAPA_MCTools/",
CAPA_Graphics_URL =>
"$courseDirs{html}/CAPA_Graphics/",
CAPA_GraphicsDirectory =>
"$courseDirs{html}CAPA_Graphics/",
};
set in global.conf or in course.conf
--Mike
Revision
1095 -
Directory Listing
Modified
Mon Jun 9 23:24:37 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed encodeAnswer to never allow the last character to be a backslash.
closes bug #67.
-sam
Revision
1092 -
Directory Listing
Modified
Mon Jun 9 22:05:01 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
&include now works like it's supposed to in the course environment
config files. Sam will be happy.
-Dennis
Revision
1089 -
Directory Listing
Modified
Mon Jun 9 21:10:03 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Modified directory so that
lib => $webworkroot/lib
becomes
lib => $pgRoot/lib since this is where the *.pm macro files for the pg language go.
Should this lib be changed to pglib? (there might have to be a lot of changes to make this work.)
-- Mike
Revision
1085 -
Directory Listing
Modified
Mon Jun 9 18:28:46 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
I made an &include subroutine available to the global.conf and
course.conf evaluation environments. It allows the inclusion of files
within the webworkRoot.
-Dennis
Revision
1081 -
Directory Listing
Modified
Mon Jun 9 17:59:16 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Allow commas, [ ] and | in answers
(changes to Safety filter.)
--MIke
Revision
1063 -
Directory Listing
Modified
Sun Jun 8 21:15:30 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Modified sibiling macro to sort alphabetically by name of the set.
(this may not be the best permanet solution but itis useful
for those editing this summer.)
--Mike
Revision
1054 -
Directory Listing
Modified
Fri Jun 6 23:52:13 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added params required for global table emulation.
-Dennis
Revision
1051 -
Directory Listing
Modified
Fri Jun 6 21:47:51 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
moved PG modules and macro files from webwork-modperl to pg
-sam
Revision
1050 -
Directory Listing
Modified
Fri Jun 6 21:39:42 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
moved PG modules and macro files from webwork-modperl to pg
-sam
Revision
1049 -
Directory Listing
Modified
Fri Jun 6 21:21:28 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Calculate percent correct the same everywhere.
fixes bug 60
Revision
1048 -
Directory Listing
Modified
Fri Jun 6 21:16:09 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Fixed a bug that I just introduced that was corrupting
$ce->{webworkURLs}->{root};
-Dennis
Revision
1047 -
Directory Listing
Modified
Fri Jun 6 20:36:44 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Multiple forward slashes in URLs are now collapsed into one before being
examined, so that we follow the usual Apache behavior of accepting paths
with // in them.
-Dennis
Revision
1045 -
Directory Listing
Modified
Fri Jun 6 19:13:51 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Took out the redundant "confirm email address" from user options.
Also, added a Util function "backtrace", which can be passed one of
"die", "warn", "print", or "return". I'm just showing off, but it might
prove useful in debugging.
-Dennis
Revision
1044 -
Directory Listing
Modified
Fri Jun 6 19:03:14 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Replacing hard coding of /webwork/ with $ce->{webworkURLs}->{root}
-- Mike
Revision
1042 -
Directory Listing
Modified
Fri Jun 6 17:48:11 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Template escapes can return a list again, and now it's a sanctioned
activity.
-Dennis
Revision
1041 -
Directory Listing
Modified
Fri Jun 6 16:14:38 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Replaced the hardcoded path /webwork with $ce->{webworkURLs}->{root} in
the link from Problem.pm to PGProblemEditor.pm. This fixes bug 52.
-Dennis
Revision
1040 -
Directory Listing
Modified
Fri Jun 6 12:54:41 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a CGI::end_form() to the options section of Problem.pm.
I believe this is is the root cause of the multiple key parameters. I
haven't done all of the testing needed to verify this for sure.
Bug #50 is probably comotose, but needs to be watched.
--Mike
Revision
1039 -
Directory Listing
Modified
Fri Jun 6 02:28:13 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
replaced $r->param('key') with my $key = $r->param('key'); and then used $key in call
to PG. $r->param('key') was returning a two item list in list context. I don't know
where the extra entry into the key param was coming from.
This stuns bug #50, but doesn't kill it.
-- Mike
Revision
1035 -
Directory Listing
Modified
Thu Jun 5 22:58:42 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Fixed (again) the GlobalTableEmulator.
-sam
Revision
1034 -
Directory Listing
Modified
Thu Jun 5 22:41:47 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
the % done status indicators now round to the nearest whole percent.
Fixes Bug #47
-Dennis
Revision
1032 -
Directory Listing
Modified
Thu Jun 5 20:48:39 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed per-course logs from the initial definition of the
$webworkFiles{logs} hash, and put them below, where the
$courseDirs{logs} variable is defined.
(This is sort of an issue -- I want only files/dirs/URLs that are
necessarily tied to a course to be "course" files/dirs/URLs. The
transaction log (for example) could be in a location that wasn't
course-dependant just as easily. Perhaps this whole business of
"webwork" versus "course" locations is arbitrary? Should it be
rethought?)
Also fixed some formatting problems. (Mike -- I would LOVE it if you
would use spaces for aligning your equals signs, instead of tabs!)
-sam
Revision
1029 -
Directory Listing
Modified
Thu Jun 5 19:47:38 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Changed another occurence of /webwork to /webwork2
-Dennis
Revision
1028 -
Directory Listing
Modified
Thu Jun 5 19:43:43 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Changed all relavent occurences of /webwork* in default URLs to
/webwork2*
-Dennis
Revision
1027 -
Directory Listing
Modified
Thu Jun 5 19:34:38 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Now I'm exporting InitializeUserProblem
-Dennis
Revision
1026 -
Directory Listing
Modified
Thu Jun 5 19:26:31 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added a function "initializeUserProblem" to WeBWorK::DB::Utils and
changed my code to use it.
-Dennis
Revision
1025 -
Directory Listing
Modified
Thu Jun 5 15:37:54 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Modified the address to the webwork image
(used webwork2_files instead of webwork_files)
--Mike
Revision
1024 -
Directory Listing
Modified
Thu Jun 5 15:26:59 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Fixed bug in navMacro and a bug in path.
This squashes bug #46.
The problem was a comma in the return, instead of a period.
return "foo"."\n";
returns foo with a return after it
return "foo","\n";
returns just the \n probably because the comma operation comes into
play and only the result of the last operation is returned.
Apparently return doesn't grab everything to the right of it in the same
way that print does.
I'd bet that
return("foo","\n") would return a list however.
--Mike
Revision
1023 -
Directory Listing
Modified
Thu Jun 5 14:39:49 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
added =cut
near end of DB.pm file.
before
1;
(I thought I had already commited this????)
--Mike
Revision
1022 -
Directory Listing
Modified
Thu Jun 5 14:06:10 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added ImageGenerator to CVS to help with compatibility
with WeBWorK1.8
-- Mike
Revision
1021 -
Directory Listing
Modified
Thu Jun 5 11:48:23 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Updated global.conf.dist so that it will work out of the box
on webwork1.8 courses using GDBM.
The urls
http://machine/webwork2_files will point to the webwork-modperl/htdocs
http://machine/webwork2_courses should be redirected by apache to
a folder containing links the the html directories of each course.
In other words apache directs .../webwork2_courses to the folder
/ww/htdocs/ which should contain links of the form
gage_course@ -> ../webwork/courses/gage_course/html
--Mike
Revision
1020 -
Directory Listing
Modified
Thu Jun 5 01:29:32 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
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
1016 -
Directory Listing
Modified
Wed Jun 4 21:04:15 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
preview equation images now go in the m2i directory (in the
$courseDirs{HTML_tmp} directory) instead of the png directory.
-sam
Revision
1015 -
Directory Listing
Modified
Wed Jun 4 20:19:27 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
1013 -
Directory Listing
Modified
Wed Jun 4 18:36:23 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
I wrote functions to facilitate the assignment of problems to students.
-Dennis
Revision
1012 -
Directory Listing
Modified
Wed Jun 4 18:36:17 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
began to document and add sanity checks.
-sam
Revision
1011 -
Directory Listing
Modified
Wed Jun 4 18:35:59 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
wrote a bunch of notes about the URL issues.
!!!!! READ THIS - doc/devel/URL-notes !!!!!
-sam
Revision
1007 -
Directory Listing
Modified
Wed Jun 4 03:04:07 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a section to handle the case where the problem has not yet been
assigned to a user. This might occur when the problem template is
called form the problem editor before the sets have been assigned
to students. The problem is obtained as a global problem
then converted to a user_problem with default values. The problem
is not saved. This code should be reviewed to make sure there are no
hidden behaviors. Perhaps a group reading is in order once things
settle down. This squashes bug #34.
--Mike
Revision
1006 -
Directory Listing
Modified
Wed Jun 4 02:59:55 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
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
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
1004 -
Directory Listing
Modified
Wed Jun 4 00:25:04 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added some notes on the URL organization.
-sam
Revision
1003 -
Directory Listing
Modified
Wed Jun 4 00:23:40 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
finished moving doc/headers-footers, added the GPL and Artistic license.
-sam
Revision
1002 -
Directory Listing
Modified
Wed Jun 4 00:21:49 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Added a license file and readme skeleton.
-sam
Revision
1001 -
Directory Listing
Modified
Wed Jun 4 00:19:38 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Fixed (again) error handling. Now we're simply catching any uncaught
exceptions and emitting an HTML error message.
(also, added a "my" in Problem.pm)
-sam
Revision
1000 -
Directory Listing
Modified
Tue Jun 3 22:27:16 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
The conversion of set and problem from global to global-user now works.
You will get "pink screen" errors for now because not all of the vaules
in problem have been given correct defaults.
I'll do that next.
--Mike
Revision
998 -
Directory Listing
Modified
Tue Jun 3 22:00:57 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
really /really/ fixed the instructor pages to use the new URL scheme
-Dennis
Revision
997 -
Directory Listing
Modified
Tue Jun 3 21:59:49 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Beginning to add defaults to problem class (when it is constructed
from a global problem instance).
--Mike
Revision
996 -
Directory Listing
Modified
Tue Jun 3 21:59:25 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
Efforts towards doing the Right Thing with the instructor URLs.
-Dennis
Revision
994 -
Directory Listing
Modified
Tue Jun 3 20:49:10 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added example Set->UserSet conversion.
-sam
Revision
993 -
Directory Listing
Modified
Tue Jun 3 20:20:16 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Made small modifications to allow Problem.pm to read a problem that has
not yet been assigned.
TO DO (and I'll need help with this)
Convert a global set to a global user set (and the global problem to a
global user problem). I need to know how to specify the appropriate
classes.
Once we are guaranteed a record of the type returned by getGlobalUser
....
stuff missing defaults (e.g. psvn for set, and num_correct (answers) for
problem) in the newly created global_user record objects.(this part I
can do.)
At that point the rest of Problem.pm should be able to proceed as before
without any changes.
--Mike
Revision
991 -
Directory Listing
Modified
Tue Jun 3 20:12:42 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
The pgProblemEditor now looks for a global problem record if it cannot
find a global_user problem record.
-- Mike
Revision
990 -
Directory Listing
Modified
Tue Jun 3 19:32:29 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
moved doc/template-escapes to doc/devel/template-escapes
-sam
Revision
989 -
Directory Listing
Modified
Tue Jun 3 19:27:21 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
moved more docs into doc/devel/
-sam
Revision
988 -
Directory Listing
Modified
Tue Jun 3 19:23:03 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
moved doc/TODO -> doc/devel/pre-bugzilla-TODO-file
-sam
Revision
987 -
Directory Listing
Modified
Tue Jun 3 19:22:01 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
moved development documentation into doc/devel/
-sam
Revision
986 -
Directory Listing
Modified
Tue Jun 3 18:25:00 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Created the top-level module WeBWorK, which now contains the dispatch
code. Apache::WeBWorK now only contains the installation of the error
handling code and a call to WeBWorK::dispatch(). This error handling
code is installed before the WeBWorK module is compiled.
-sam
Revision
985 -
Directory Listing
Modified
Tue Jun 3 18:19:12 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed some old, commented out code.
-sam
Revision
984 -
Directory Listing
Modified
Tue Jun 3 18:18:38 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
improved the implementation of refBaseType.
-sam
Revision
983 -
Directory Listing
Modified
Tue Jun 3 17:48:35 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
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
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
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
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
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
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
You can now add new problems using a NeXT-style column view. Advanced.
-Dennis
Revision
973 -
Directory Listing
Modified
Mon Jun 2 20:17:19 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed annoying debug output.
-sam
Revision
972 -
Directory Listing
Modified
Mon Jun 2 20:08:53 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
The delete() method now uniformly returns a false value (instead of
dying) if no matching record exists.
-sam
Revision
971 -
Directory Listing
Modified
Mon Jun 2 20:03:04 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Added CGI::Carp error reporting.
-sam
Revision
970 -
Directory Listing
Modified
Mon Jun 2 20:01:59 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added two functions, list2hash and max.
-Dennis
Revision
969 -
Directory Listing
Modified
Mon Jun 2 19:57:17 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
took out some debugging output.
-sam
Revision
968 -
Directory Listing
Modified
Mon Jun 2 18:58:42 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
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
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
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
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
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
Added columns for user-specific problem fields. Saving back to the
database for user-specific data still doesn't happen yet.
-Dennis
Revision
956 -
Directory Listing
Modified
Fri May 30 21:09:19 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Added the capability to the GlobalTableEmulator to designate a user
whose records will be used as global records. To specify this, set the
globalUserID param for the tables using the GlobalTableEmulator (in
%dbLayout). It's probably good to do this on a per-course basis. Put the
following in your course.conf:
$dbLayout{set}->{params}->{globalUserID} = "professor";
$dbLayout{problem}->{params}->{globalUserID} = "professor";
If globalUserID is not present, GlobalTableEmulator will use consensus
(which is very slow!).
-sam
Revision
955 -
Directory Listing
Modified
Fri May 30 18:52:48 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
This time there aren't any of the bugs that there were before, and
probably not any new ones.
-Dennis
Revision
953 -
Directory Listing
Modified
Fri May 30 18:14:14 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Made listGlobalProblems more efficient. (I have to go back and look at
the rest of DB and see if there are any more optimizations that can be
made.)
-sam
Revision
952 -
Directory Listing
Modified
Fri May 30 18:09:13 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
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
Took out many many unneccessary database accesses.
-Dennis
Revision
949 -
Directory Listing
Modified
Fri May 30 17:45:52 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed some debugging output.
-sam
Revision
948 -
Directory Listing
Modified
Fri May 30 17:44:04 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed </hr /> to <hr /> (after the bugzilla link)
-sam
Revision
947 -
Directory Listing
Modified
Fri May 30 00:27:27 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
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
946 -
Directory Listing
Modified
Fri May 30 00:27:02 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
now supports NULL as undef.
FIXME: update the docs.
-sam
Revision
945 -
Directory Listing
Modified
Fri May 30 00:04:23 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
psvn is now auto-increment, for real.
-sam
Revision
944 -
Directory Listing
Modified
Thu May 29 23:42:24 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added GlobalTableEmulator.pm
added global2user and user2global to Utils.pm
small changes to WW1Hash.pm
-sam
Revision
943 -
Directory Listing
Modified
Thu May 29 23:25:53 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
made psvn auto-increment, restored !!COURSENAME!!
-sam
Revision
942 -
Directory Listing
Modified
Thu May 29 20:30:56 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Display options are now sticky (they are repeated as hidden options in the main problem body).
Changed name of submit button from redisplay to "save options"
fixes bug #27 at least to some extent.
these saved options may not persist from one problem to another. In order to solve that problem
we need a storage place for user options, or else many more hidden inputs to save state as one
moves from one request to another.
this fix will work for now.
-- Mike
Revision
941 -
Directory Listing
Modified
Thu May 29 20:03:12 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Modified ur.template to use the "options" link for display options.
--Mike
Revision
940 -
Directory Listing
Modified
Thu May 29 20:02:35 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Added a new template hook "options" which allows one to reset the display options.
Modified viewOptions to conform to a "vertical" look for the radio buttons in the redisplay options.
Modified some of the labels for the same reason.
The horizontal spacing is a bit of kludge (I can't guarantee no line breaks for each of the radio button
labels). Using underbars instead of spaces in the labels would fix this, but...
--Mike
Revision
939 -
Directory Listing
Modified
Thu May 29 19:02:44 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Turned on answer previewing every time an answer is submitted
(either answer check or answer submit or preview answer)
Revision
936 -
Directory Listing
Modified
Thu May 29 00:08:23 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Now you can save changes to problems
-dennis
Revision
935 -
Directory Listing
Modified
Wed May 28 21:28:08 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
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
933 -
Directory Listing
Modified
Wed May 28 19:53:14 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Here are some default images for previous, next and problem list
buttons, taken from the WeBWorK1.8 images file. They help prevent
some browser anomolies (particularly in Safari) which accompany
missing images.
--Mike
Revision
932 -
Directory Listing
Modified
Wed May 28 19:26:10 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Changed the link to bugzilla to bring you directly to the page for
reporting a webwork2.0 bug. No url is entered automatically -- that
would require, I believe, implementing this link inside a link method
in content generator. We'll see if that is needed.
-- Mike
Revision
931 -
Directory Listing
Modified
Wed May 28 19:21:04 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
changed the Schema interface (to include a reference to $db) and changed
DBI connect to connect_cached.
-sam
Revision
929 -
Directory Listing
Modified
Wed May 28 12:46:12 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Commented out debugging code in pgProblemEditor
--Mike
Revision
928 -
Directory Listing
Modified
Wed May 28 12:45:03 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
The pgProblemEditor module now handles the seed and displayMode correctly.
-- Mike
Revision
927 -
Directory Listing
Modified
Wed May 28 03:31:28 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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
926 -
Directory Listing
Modified
Wed May 28 03:31:07 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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
925 -
Directory Listing
Modified
Wed May 28 03:30:45 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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 (10 years ago) by
malsyned
Original Path:
trunk/webwork2
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
923 -
Directory Listing
Modified
Wed May 28 01:27:38 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
additional work on DB system and SQL backend.
Record:: classes now support a can() method.
fixed some other stuff.
-sam
Revision
921 -
Directory Listing
Modified
Wed May 28 00:45:40 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
problem.problem_id is no longer a PRIMARY KEY.
-sam
Revision
912 -
Directory Listing
Modified
Tue May 27 23:00:06 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
authen now eats "key not found" errors when deleting keys.
-sam
Revision
909 -
Directory Listing
Modified
Tue May 27 20:11:18 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
added:
* listSetUsers($setID) - lists users to whom a set has been assigned
* listProblemUsers($setID, $problemID) - lists users to whom a problem
has been assigned
Both return userIDs.
-sam
Revision
907 -
Directory Listing
Modified
Tue May 27 00:41:43 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Added target window "_bugzilla" to the links in these two templates
Revision
906 -
Directory Listing
Modified
Tue May 27 00:31:32 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
The "edit this problem" link now appears only if you have a
permission level greater than or equal to 10 (instructor)
--Mike
Revision
905 -
Directory Listing
Modified
Tue May 27 00:30:06 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Added "Report bugs" link to these two templates. These link
to webwork3.math.rochester.edu
-- Mike
Revision
904 -
Directory Listing
Modified
Mon May 26 22:13:34 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
More SQL work. Appears to be working, after very limited testing. See
forthcoming email for details.
-sam
Revision
903 -
Directory Listing
Modified
Fri May 23 21:36:35 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Added a link to the editor.
This link always prints, (at the moment) even if the
user doesn't have instructor permissions. (FIXME)
-- Mike
Revision
892 -
Directory Listing
Modified
Fri May 23 13:14:51 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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
890 -
Directory Listing
Modified
Thu May 22 21:43:27 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Added the case where instructor/pgProblemEditor/ is dispatched to
an Instructor/ PGProblemEditor.pm object.
Revision
889 -
Directory Listing
Modified
Thu May 22 21:40:23 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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
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
Changed the string "fix me." in a comment to the industry standard
"FIXME:"
-Dennis
Revision
886 -
Directory Listing
Modified
Thu May 22 20:40:38 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Changed the "probset editor" link to "probset list"
-Dennis
Revision
884 -
Directory Listing
Modified
Thu May 22 20:16:31 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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
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
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
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
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
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
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
861 -
Directory Listing
Modified
Sun May 18 03:28:05 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Added an entry for problemSetEditor pointing to
Instructor::ProblemSetEditor
Revision
860 -
Directory Listing
Modified
Sun May 18 03:26:22 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
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
dded a link to the mock up of a problem set editor.
Revision
843 -
Directory Listing
Modified
Thu May 15 00:58:44 2003 UTC (10 years ago) by
sh002i
Original Path:
trunk/webwork2
bin/authedit is no longer useful, now that we have bin/wwdb
Revision
836 -
Directory Listing
Modified
Wed May 14 21:20:13 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Removed the Professor content generator and link.
Made a little progress on ProblemSetList.
-Dennis
Revision
834 -
Directory Listing
Modified
Wed May 14 20:57:28 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Added links to the old Professor pages.
-Dennis
Revision
833 -
Directory Listing
Modified
Wed May 14 20:55:07 2003 UTC (10 years ago) by
gage
Original Path:
trunk/webwork2
Modified links subroutine so that it returns a string rather than an
array.
Revision
832 -
Directory Listing
Modified
Wed May 14 20:28:18 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Added shell code for the UserList and ProblemSetList
-Dennis
Revision
831 -
Directory Listing
Modified
Wed May 14 18:44:54 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an
abstract superclass of all the instructor pages.
-Dennis
Revision
830 -
Directory Listing
Modified
Wed May 14 18:44:25 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Progress towards making the feedback system work more cleanly and
allowing a back-link. Except now it's broken.
-Dennis
Revision
829 -
Directory Listing
Modified
Wed May 14 18:11:45 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Added the beginnings of the instructor pages.
--Dennis
Revision
827 -
Directory Listing
Modified
Tue May 13 18:14:27 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork2
Made the key expiration error message more user-friendly
--Dennis
Revision
820 -
Directory Listing
Modified
Fri Apr 25 05:10:08 2003 UTC (10 years, 1 month ago) by
malsyned
Original Path:
trunk/webwork2
Added the instructor URL dispatching.
-dennis
Revision
819 -
Directory Listing
Modified
Fri Apr 25 05:07:59 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
$db gets passed into the ContentGenerator constructor (rather than being
needlessly recreated inside).
-sam
Revision
818 -
Directory Listing
Modified
Fri Apr 25 04:51:37 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
modev more content generators over to the new WWDBv2 API. fixed some
bugs.
-sam
Revision
817 -
Directory Listing
Modified
Wed Apr 23 06:39:03 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
rewrote these modules to use the WWDBv2 library. rewrote the Authen.pm
verify function to (hopefully) be more readable.
-sam
Revision
815 -
Directory Listing
Modified
Wed Apr 23 06:37:42 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
removed unused references to WWDBv1 libraries.
-sam
Revision
814 -
Directory Listing
Modified
Wed Apr 23 06:37:19 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
implemented getGlobalUser{Set,Problem}.
-sam
Revision
813 -
Directory Listing
Modified
Wed Apr 23 06:36:55 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
removed unused WEBWORK_HOME variable.
-sam
Revision
812 -
Directory Listing
Modified
Wed Apr 23 06:36:30 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
* changed $course_env to $ce
* added code to instantiate database and pass it to Authen and Authz.
-sam
Revision
811 -
Directory Listing
Modified
Wed Apr 23 06:35:06 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
Added $sessionKeyLength and @sessionKeyChars variables (for Authen.pm).
-sam
Revision
810 -
Directory Listing
Modified
Tue Apr 22 20:49:31 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
added bin/wwsh - a rudimentary webwork shell which (currently) allows
access to CourseEnvironment and DB objects. This could be extended to
provide a full shell for the WeBWorK system. (Uses PSH.pm.)
-sam
Revision
809 -
Directory Listing
Modified
Thu Apr 17 21:30:57 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
changed the name of the "courseEnvironment" field in the
ContentGenerator object to "ce", to match the style and conciesness of
the existing "r" and new "db" fields.
-sam
Revision
808 -
Directory Listing
Modified
Thu Apr 17 21:01:17 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
Lots of work on WWDBv2... WW1Hash is done! A complete dbLayout (as
detailed on global.conf.dist) works now.
-sam
Revision
807 -
Directory Listing
Modified
Wed Apr 16 06:32:36 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
now supports sparse problem IDs.
-sam
Revision
806 -
Directory Listing
Modified
Wed Apr 16 04:43:40 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork2
added a dummy driver and schema.
-sam
Revision
805 -
Directory Listing
Modified
Fri Apr 11 22:25:10 2003 UTC (10 years, 1 month ago) by
malsyned
Original Path:
trunk/webwork2
Added Instructor.pm, the main menu for the instructor pages.
-dennis
Revision
800 -
Directory Listing
Modified
Tue Mar 25 20:16:26 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
updated usage() to reflect actual accepted syntax.
-sam
Revision
798 -
Directory Listing
Modified
Fri Mar 21 23:30:16 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
initial support for WWDBv2:
- DB.pm finished (except for getGlobalUser{Set,Problem} methods)
- schema modules for password, permission, key, and user with
WWDBv1 hash-bashed backends
- GDBM driver
- wwdb command-line frontend
-sam
Revision
797 -
Directory Listing
Modified
Fri Mar 21 21:43:04 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed Permission.pm to PermissionLevel.pm.
because i am stupid.
-sam
Revision
796 -
Directory Listing
Modified
Fri Mar 21 21:41:31 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed PermissionLevel.pm to Permission.pm
-sam
Revision
795 -
Directory Listing
Modified
Fri Mar 21 21:40:01 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
Hit the #nav macro with a cluebat
RE: webworkURLs->htdocs vs. imageprefix=""
-Dennis
Revision
794 -
Directory Listing
Modified
Wed Mar 19 15:07:16 2003 UTC (10 years, 2 months ago) by
gage
Original Path:
trunk/webwork2
Added code for logging student answers and allowing instructors to inspect previous
answers from students.
Revision
783 -
Directory Listing
Modified
Fri Mar 7 21:30:10 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
dded Record modules for the new database. these replace the
WeBWorK::{User,Set,Problem} modules currently used.
-sam
Revision
782 -
Directory Listing
Modified
Fri Mar 7 21:04:09 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
This file contains information learned after the release of
webwork-2.0pr1 that is necessary in order to get a webwork-2.0pr1 system
up and running.
--Dennis
Revision
779 -
Directory Listing
Modified
Fri Mar 7 19:44:14 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
added the GDBM driver.
some changes to doc/new-DB-*
-sam
Revision
775 -
Directory Listing
Modified
Fri Mar 7 07:03:57 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
added DB.pm -- DB API implemented.
(however, no Schema or Driver modules have been written!)
-sam
Revision
774 -
Directory Listing
Modified
Fri Mar 7 02:22:41 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
conf/global.conf.dist: fixed %dbLayout
doc/new-DB-architecture: removed a meta-note.
-sam
Revision
773 -
Directory Listing
Modified
Fri Mar 7 02:20:45 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
updated new-DB-notes, finished new-DB-architecture.
-sam
Revision
772 -
Directory Listing
Modified
Fri Mar 7 01:58:50 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed schema-mod_perl to new-DB-notes.
-sam
Revision
771 -
Directory Listing
Modified
Fri Mar 7 01:57:39 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
added a couple database notes files.
-sam
Revision
768 -
Directory Listing
Modified
Thu Mar 6 19:12:38 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
1. added %dbLayout (for the new DB.pm database system)
2. moved some stuff around
-sam
Revision
766 -
Directory Listing
Modified
Fri Feb 28 23:56:55 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
more database schema notes *sigh*
-sam
Revision
765 -
Directory Listing
Modified
Fri Feb 28 23:56:35 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
removed "nowrap" from barebones.template because it wasn't doing
anything anyway, and every byte counts ;-)
Changed "Logged in as:" to "User:" in ContentGenerator and killed the
CGI::br calls in that message and the "Acting as:" message
Added more context to the context URL in Feedback, and properly
obfuscated some code.
--Dennis
Revision
764 -
Directory Listing
Modified
Fri Feb 28 23:26:29 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed a small bug in the prototype of deletePSVN().
-sam
Revision
761 -
Directory Listing
Modified
Fri Feb 28 21:26:54 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
I made a few cosmetic changes to classic.template and reworked
barebones.template to reduce the amount of vertical screen real-estate
used by the header information.
-Dennis
Revision
760 -
Directory Listing
Modified
Fri Feb 28 20:46:44 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
Added CSS rules to arrange the answer result feedback so as to reduce
vertical screen space usage
-Dennis
Revision
759 -
Directory Listing
Modified
Fri Feb 28 20:37:04 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
I made a special template that is very similar to the look of WeBWorK
1.8
-Dennis
Revision
758 -
Directory Listing
Modified
Fri Feb 28 20:32:25 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
Matched the calling semantics for navMacro
-dennis
Revision
757 -
Directory Listing
Modified
Fri Feb 28 20:29:56 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
Changed the calling semantics to navMacro
-dennis
Revision
756 -
Directory Listing
Modified
Fri Feb 28 20:27:19 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork2
changed the way canCheckAnswer() is calculated
-sam
Revision
755 -
Directory Listing
Modified
Fri Feb 28 20:02:29 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
Began adding CSS escapes to some generated HTML structures.
Addressed some bug reports that came in from the mailing list.
-Dennis
Revision
750 -
Directory Listing
Modified
Thu Feb 27 12:31:06 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork2
Added the <!--#nav--> macro to ProblemSet.pm. When I made a template
that didn't include the <!--#path--> macro to satisfy some old timers on
the mailing list, I noticed that there was no other way to get back to
the problem sets page from a problem set.
-Dennis
Revision
748 -
Directory Listing
Modified
Wed Feb 26 18:39:07 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork2
Added the <!--#if loggedin="1"--> template escape. It evaluates to true
on every content generator except Login.pm and Logout.pm. Used it to
make the barebones template look cleaner on the login page.
-Dennis
Revision
746 -
Directory Listing
Modified
Wed Feb 26 17:58:16 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
updated httpd.conf snippet quoted in WeBWorK.pm
-sam
Revision
744 -
Directory Listing
Modified
Mon Feb 24 11:19:42 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
added a file that has been in doc/ for a while.
-sam
Revision
743 -
Directory Listing
Modified
Mon Feb 24 11:17:24 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
Documented the new database schema and API to be written for the
professor pages.
-sam
Revision
740 -
Directory Listing
Modified
Fri Feb 21 21:16:48 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
1. the new global.conf key {mail}->{feedbackVerbosity} controls the
verbosity level of Feedback.pm messages.
2. Feedback includes a URL when ever the user is logged in.
-sam
Revision
739 -
Directory Listing
Modified
Fri Feb 21 20:49:49 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
1. fixed some formatting in Problem
2. hardcopy allows correct answers, hints, solutions to be shown
3. privileged users are allowed to view/download "not yet open" sets
-sam
Revision
738 -
Directory Listing
Modified
Fri Feb 21 19:09:28 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
ProblemSet and Problem no longer allow problem sets that are "not yet
open" to be viewed. oopsies.
-sam
Revision
737 -
Directory Listing
Modified
Tue Feb 18 07:04:13 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
merged changes from rel-2-0-pr1-hardcopy-changes
-sam
Revision
722 -
Directory Listing
Modified
Fri Jan 31 22:29:19 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork2
effectiveUser audit complete on Hardcopy.pm. That means all the
ContentGenerators are all checked and clear.
-Dennis
Revision
721 -
Directory Listing
Modified
Fri Jan 31 22:28:37 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
motd is only read if defined and true.
-sam
Revision
720 -
Directory Listing
Modified
Fri Jan 31 20:38:44 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork2
effectiveUser audit complete on all the content generators except
Hardcopy
-Dennis
Revision
719 -
Directory Listing
Modified
Fri Jan 31 20:36:38 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork2
added a "check answers" button if the user has the apropriate permissions
-sam
Revision
718 -
Directory Listing
Modified
Fri Jan 31 20:02:46 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork2
Fixed soem ugliness I introduced into the formatting. Nothing major.
-Dennis
Revision
717 -
Directory Listing
Modified
Fri Jan 31 20:00:47 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork2
There was one more spot that needed effectiveUser fixing. I did it.
-Dennis
Revision
716 -
Directory Listing
Modified
Fri Jan 24 22:38:52 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
hardcopy new respects effectiveUser
-sam
Revision
706 -
Directory Listing
Modified
Tue Jan 21 20:25:51 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
commented out allowedRecipients -- this should probably be set in
course.conf.
-sam
Revision
705 -
Directory Listing
Modified
Tue Jan 21 20:24:03 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
added stuff that had been previously added to global.conf
-sam
Revision
704 -
Directory Listing
Modified
Mon Jan 13 19:44:20 2003 UTC (10 years, 4 months ago) by
malsyned
Original Path:
trunk/webwork2
Finally committing a clean version of my mostly-done Problem.pm
effectiveUser audit.
-Dennis
Revision
701 -
Directory Listing
Modified
Fri Jan 10 21:39:29 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam
Revision
700 -
Directory Listing
Modified
Fri Jan 10 17:28:21 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
"Home" (i.e. no course specified) now redirects to %webworkURLs{home}
-sam
Revision
698 -
Directory Listing
Modified
Thu Jan 9 16:41:54 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
took out some old commented out lines in PG.pm.
-sam
Revision
697 -
Directory Listing
Modified
Wed Jan 8 19:03:30 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
added ALLOW_MAIL_TO to the environment.
-sam
Revision
696 -
Directory Listing
Modified
Wed Jan 8 16:36:43 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
added $formatedDueDate variable (spelled wrong in many header files)
-sam
Revision
695 -
Directory Listing
Modified
Wed Jan 8 16:23:52 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam
Revision
694 -
Directory Listing
Modified
Wed Jan 8 15:48:24 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
added gif2png script to the repository.
-sam
Revision
693 -
Directory Listing
Modified
Wed Jan 8 15:41:39 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
&info now respects screen set header file in database.
-sam
Revision
692 -
Directory Listing
Modified
Tue Jan 7 21:19:38 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
DONE effectiveUser for at least Problem.pm
DONE write a template escape for printing $user, $effectiveUser, &c. nicely
also added additional timing log points: timing is now logged:
1. when WeBWorK::PG::new starts
2. after all the initialization-type stuff happens
3. when WeBWorK::PG::new ends
Getting it to log the entire request time might be a little harder.
-sam
Revision
685 -
Directory Listing
Modified
Mon Jan 6 19:41:44 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
DONE results table
part(or blank)/entered/preview/result/messages
don't show messages unless there are some
-sam
Revision
684 -
Directory Listing
Modified
Mon Jan 6 19:34:36 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
removed user name propogation from Logout -> Login
disabled "show hint/solution" when there's no hint/solution
Revision
683 -
Directory Listing
Modified
Mon Jan 6 19:17:28 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed formatting in &tth (dangerousMacros.pl)
ProblemSets.pm allows sorting by Name or Status (due date)
-sam
Revision
682 -
Directory Listing
Modified
Mon Jan 6 18:10:47 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork2
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam
Revision
676 -
Directory Listing
Modified
Fri Dec 13 21:49:58 2002 UTC (10 years, 5 months ago) by
malsyned
Original Path:
trunk/webwork2
Added an informative comment
-dennis
Revision
675 -
Directory Listing
Modified
Fri Dec 13 21:14:54 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2
made some improvements to Feedback, added loginStatus escape.
-sam
Revision
672 -
Directory Listing
Modified
Mon Dec 9 19:57:33 2002 UTC (10 years, 5 months ago) by
malsyned
Original Path:
trunk/webwork2
Added two new tasks to the TODO list for the December prerelease
-Dennis
Revision
671 -
Directory Listing
Modified
Mon Dec 9 18:40:04 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2
did some work on Feedback, etc. Added mike and arnie's comments to TODO.
-sam
Revision
670 -
Directory Listing
Modified
Fri Dec 6 17:50:24 2002 UTC (10 years, 5 months ago) by
malsyned
Original Path:
trunk/webwork2
Added a Professor Tools stub module that provides redirection links to
the WeBWorK 1.8 system
-Dennis
Revision
669 -
Directory Listing
Modified
Fri Dec 6 17:42:02 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2
added feedback links to a bunch of modules.
-sam
Revision
668 -
Directory Listing
Modified
Wed Dec 4 19:08:10 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2
okay, added Feedback.pm this time.
-sam
Revision
667 -
Directory Listing
Modified
Wed Dec 4 19:07:12 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork2
added a bunch of "***" comments.
implemented Feedback module.
-sam
Revision
661 -
Directory Listing
Modified
Mon Nov 25 22:37:55 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
removed unused WEBWORKUSER variable
-sam
Revision
660 -
Directory Listing
Modified
Mon Nov 25 19:18:28 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork2
Changed the naming of the per-user config file
-dennis
Revision
658 -
Directory Listing
Modified
Mon Nov 25 08:39:38 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed wwapachectl.sample -> wwapachectl.dist
-sam
Revision
657 -
Directory Listing
Modified
Mon Nov 25 08:32:36 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
removed unused $path_translated variable, had $path_info set to "" by
default instead of undef, added some warnings.
-sam
Revision
656 -
Directory Listing
Modified
Mon Nov 25 08:31:11 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed httpd-wwmp-header.conf -> httpd-wwmp-header.conf.dist
-sam
Revision
655 -
Directory Listing
Modified
Mon Nov 25 08:29:55 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed httpd-wwmp-sample.conf -> httpd-wwmp.conf.dist
fixed a value in global.conf.dist
-sam
Revision
654 -
Directory Listing
Modified
Mon Nov 25 08:23:29 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
renamed global.conf -> global.conf.dist
-sam
Revision
653 -
Directory Listing
Modified
Sun Nov 24 07:34:01 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
DocumentRoot has to be an absolute path.
-sam
Revision
650 -
Directory Listing
Modified
Sun Nov 24 03:21:12 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
added !WEBWORK_PORT! -- use 10000 + your UID!
-sam
Revision
649 -
Directory Listing
Modified
Sun Nov 24 03:10:54 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
replaced instances of "malsyned" with !WEBWORK_USER! and documented it
at the top of the file.
-sam
Revision
648 -
Directory Listing
Modified
Sun Nov 24 03:08:02 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
moved a comment that was at the end of a line (comments have to be on
their own lines in httpd config files.)
-sam
Revision
646 -
Directory Listing
Modified
Sat Nov 23 00:25:40 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
added REAL logout support. keys now get invalidated at logout.
also, fixed a bug in classlist (see the diff).
also, added a sub to Utils (see the diff).
-sam
Revision
644 -
Directory Listing
Modified
Fri Nov 22 20:30:20 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
Added "Options" handler, modified the dispatcher to support it, fixed
the link to it in the &links routine.
-sam
Revision
643 -
Directory Listing
Modified
Fri Nov 22 20:26:26 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork2
Removed some debugging code
-dennis
Revision
641 -
Directory Listing
Modified
Wed Nov 20 21:47:25 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed hardcopy generation for sets named "0" (a false, but defined value)
added error and warning reporting.
-sam
Revision
640 -
Directory Listing
Modified
Wed Nov 20 21:46:37 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed the "Download Hardcopy for Selected Sets" button
-sam
Revision
639 -
Directory Listing
Modified
Wed Nov 20 20:26:27 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork2
Added configuration files for apache that will allow each user to control
his own seperate Apache process with a different webwork-modperl installation
-Dennis
Revision
638 -
Directory Listing
Modified
Wed Nov 20 20:22:08 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork2
Added a template for controlling the per-user apache process
-Dennis
Revision
637 -
Directory Listing
Modified
Wed Nov 20 20:02:55 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
moved PG modules from lib/WeBWorK/PG/ to pglib/
-sam
Revision
636 -
Directory Listing
Modified
Wed Nov 20 19:22:01 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed test for hardcopy argument to not throw away "0".
0sam
Revision
635 -
Directory Listing
Modified
Wed Nov 20 19:13:25 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed __WARN__ handler. somehow it broke itself and needed some
massaging.
-sam
Revision
624 -
Directory Listing
Modified
Sat Nov 9 15:50:38 2002 UTC (10 years, 6 months ago) by
gage
Original Path:
trunk/webwork2
Changed warning messages when dvipng doesn't work from die to warn.
This gives more infformation back to the webbrowser and still prints the
same information to the log.
Removed the workaround for dvipng's problems with labeling its dvi
output. This problem was fixed in the latest version of dvipng which is
now being used on webwork-db and webwork.
There is still a problem that dvipng is being used to display answers at
all times (even if the mode switch is set to tth mode )
Revision
623 -
Directory Listing
Modified
Fri Nov 8 22:14:18 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
yo shout! answer previewing is working.
-sam
Revision
620 -
Directory Listing
Modified
Fri Nov 1 22:57:25 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed up IO.pm and IO.pl so that only the necessary functions are in
IO.pl.
-sam
Revision
617 -
Directory Listing
Modified
Wed Oct 30 22:09:54 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed a logic error in Problem.pm affecting $can{submitAnswers}
-sam
Revision
616 -
Directory Listing
Modified
Wed Oct 30 20:16:56 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
finished some stuff up. hardcopy deletes its temp files.
-sam
Revision
614 -
Directory Listing
Modified
Mon Oct 28 21:26:35 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
small changes to support hardcopy work.
-sam
Revision
613 -
Directory Listing
Modified
Mon Oct 28 21:22:11 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
getImageDimmensions now uses GD instead of Image::Info.
-sam
Revision
612 -
Directory Listing
Modified
Mon Oct 28 21:21:26 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
added texDisposition problem environment variable -- always set to "pdf"
cleaned up unrestricted_load code, made IO.pl get loaded first
-sam
Revision
611 -
Directory Listing
Modified
Mon Oct 28 21:20:06 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
specified 'pdftex' option to graphicx
-sam
Revision
610 -
Directory Listing
Modified
Mon Oct 28 21:19:25 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork2
added gif2png external program path.
-sam
Revision
609 -
Directory Listing
Modified
Fri Oct 25 22:25:34 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed a little problem with the warning control.
-sam
Revision
608 -
Directory Listing
Modified
Fri Oct 25 22:16:01 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2
added $courseEnv->{pg}->{options}->{catchWarnings} to control if PG
warnings are caught and stored in the self hash, or uncaught and
spit out on stderr (or error_log or whatever).
-sam
Revision
607 -
Directory Listing
Modified
Fri Oct 25 20:56:49 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2
re-formatted &alias (in dangerousMacros) so that it's more readable.
mostly just made sure indentations where correct and tabs and spaces
were used where apprropriate.
-sam
Revision
603 -
Directory Listing
Modified
Fri Oct 25 17:19:04 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2
added screen set header file.
-sam
Revision
596 -
Directory Listing
Modified
Fri Oct 18 19:09:53 2002 UTC (10 years, 7 months ago) by
malsyned
Original Path:
trunk/webwork2
Added some ifs to the barebones template to prevent it from drawing the hard rule unless necessary.
Removed init.pl. It is no longer used.
--Dennis
Revision
562 -
Directory Listing
Modified
Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
The translator no longer shares IO.pm's functions with the safe compartment.
This is a BAD THING, and should be reconsidered when the Translator is
revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
&dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
of uninitialized value in null operation" warning in template(), tho.
Still to come:
- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password
Revision
561 -
Directory Listing
Modified
Fri Sep 27 20:23:48 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork2
removed deprecated stuff from the bin directory.
added gif2eps and png2eps from the old system.
-sam
Revision
558 -
Directory Listing
Modified
Fri Sep 20 22:47:22 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork2
* fixed multiple-calls-to-&handler problem
* fixed if-else-endif code in &template
* added code to catch warnings in PG evaluation
* added "pink screen" and warning reporting
* started work on logging code (see Utils.pm, commented out)
-sam & dennis
Revision
555 -
Directory Listing
Modified
Wed Sep 18 19:25:42 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed image centering, added head escape.
-sam
Revision
547 -
Directory Listing
Modified
Fri Sep 13 20:54:59 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed hardcopy generation (errors in EV3_math_general and the
hardcopySetHeader.
-sam
Revision
526 -
Directory Listing
Modified
Thu Aug 29 19:56:24 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork2
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam
Revision
525 -
Directory Listing
Modified
Thu Aug 29 19:45:18 2002 UTC (10 years, 8 months ago) by
malsyned
Original Path:
trunk/webwork2
Added the new &if_$key infrastructure
-dennis
Revision
522 -
Directory Listing
Modified
Thu Aug 29 17:42:39 2002 UTC (10 years, 8 months ago) by
malsyned
Original Path:
trunk/webwork2
Debugging of the templating system and some other misc. changes.
--dennis
Revision
512 -
Directory Listing
Modified
Fri Aug 23 22:19:51 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork2
Added the <!--#if--> escape and the can="" clause, to hide features of the
page if the escape they contain is invalid in the current content generator.
Other things can be added to the &if later (such as checking if warnings have
occurred and changing the background color accordingly).
--Dennis
Revision
509 -
Directory Listing
Modified
Fri Aug 23 18:30:03 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
added more hardship to our lives.
-sam
Revision
508 -
Directory Listing
Modified
Fri Aug 23 00:12:52 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork2
HAHAHA!!!! I finally figured out a good way to do quoted strings with
backslash-escapes! Had to draw a damn Deterministic Finite-state Automaton on
the chalkboard, but it's all in the name of science, right?
--Dennis
Revision
506 -
Directory Listing
Modified
Thu Aug 22 22:04:07 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork2
Matches the template escapes again
-dennis`
Revision
504 -
Directory Listing
Modified
Thu Aug 22 21:15:12 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork2
Added that file that it says I added
-dennis
Revision
502 -
Directory Listing
Modified
Thu Aug 22 21:11:53 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam
Revision
501 -
Directory Listing
Modified
Thu Aug 22 04:32:00 2002 UTC (10 years, 9 months ago) by
gage
Original Path:
trunk/webwork2
Bringing IO.pm and IOglue.pl (in xmlrpc webwork) in line with each
other.
Revision
499 -
Directory Listing
Modified
Wed Aug 21 23:43:17 2002 UTC (10 years, 9 months ago) by
gage
Original Path:
trunk/webwork2
Modifying files to allow xmlrpc and webwork-modperl to share the same code
base
Revision
493 -
Directory Listing
Modified
Wed Aug 21 16:32:11 2002 UTC (10 years, 9 months ago) by
gage
Original Path:
trunk/webwork2
Beginning the process of combining the various versions of
PG translator.
Revision
492 -
Directory Listing
Modified
Wed Aug 21 15:34:35 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
made progress towards working hardcopy generation. next, i have to fix
the call to pdflatex. screw pip. it's not working right, and it doesn't
give me any speed gain, since latex has to goofily write the WHOLE DAMN
FILE in whatever order it pleases before letting me have it.
-sam
Revision
491 -
Directory Listing
Modified
Wed Aug 21 15:30:34 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
added erroniously even though it was a zero-length file.
-sam
Revision
490 -
Directory Listing
Modified
Wed Aug 21 15:28:06 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
added TeX/PG snippets for hardcopy generation.
-sam
Revision
489 -
Directory Listing
Modified
Wed Aug 21 15:27:07 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
paper* files are getting their names changed (to protect the guilty?)
-sam
Revision
488 -
Directory Listing
Modified
Wed Aug 21 15:26:03 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
adapted pdf_latex to work with pdflatex. call it pip_pdflatex. it
doesn't exactly work yet. it might not be worth it.
-sam
Revision
478 -
Directory Listing
Modified
Tue Aug 20 01:10:31 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
added Hardcopy.
TODO:
&getMultiSetTeX
figure out what to do about making several sets into 1 TeX \doc
make PDF generation code (minimize temp file use!)
(to this end, module-ize pip? haha.)
-sam
Revision
476 -
Directory Listing
Modified
Tue Aug 20 01:07:18 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed problem with deciding when to generate images in math2img mode
finished adding template escapes to ProblemSets, ProblemSet, and Problem
fixed a problem where modules were removed from the courseEnv while
being loaded (whups.)
-sam
Revision
475 -
Directory Listing
Modified
Tue Aug 20 01:04:57 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
added information about PG/TeX snippet naming
update TODO
-sam
Revision
474 -
Directory Listing
Modified
Tue Aug 20 01:04:25 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
added PG/TeX snippets and corresponding lines in global.conf
added a new template -- barebones.template
-sam
Revision
469 -
Directory Listing
Modified
Fri Aug 16 20:43:38 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
pretty much implemented the whole thing.
yeah.
-sam
Revision
455 -
Directory Listing
Modified
Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
"normalized" files:
- (c) header on all files
- standard order of preamble lines:
1. (c) header
2. package PACKAGENAME;
3. short summary of the package (pod's NAME section)
4. use - pragmatic modules
5. use - standard perl modules
6. use - CPAN modules
7. use - webwork modules
- ALWAYS use strict and use warnings
- use "use base" rather than "our @ISA"
so now we can be happy.
-sam
Revision
453 -
Directory Listing
Modified
Mon Aug 5 20:20:32 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork2
Added a bunch of the final escapes that will be a part of the templating system
-dennis
Revision
452 -
Directory Listing
Modified
Thu Aug 1 23:56:29 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
dont-forget: a bunch of development issues to think about.
TODO for the rest of the summer.
-sam
Revision
451 -
Directory Listing
Modified
Thu Aug 1 22:26:55 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork2
Made great progress towards a final template
-dennis
Revision
450 -
Directory Listing
Modified
Thu Aug 1 22:05:55 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
list of standard template escapes.
-sam
Revision
449 -
Directory Listing
Modified
Thu Aug 1 20:23:22 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
more CGI fixes, started playing around with ProblemSets.
-sam
Revision
445 -
Directory Listing
Modified
Wed Jul 31 19:33:46 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed "odd number of elements in hash" problem when decoding form
fields.
-sam
Revision
444 -
Directory Listing
Modified
Wed Jul 31 19:32:00 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed some cgi stuff. apparently, it doesn't like the "CGI->" style very
much (it prints "CGI" all over the place), so i switched to "CGI::"
style.
-sam
Revision
443 -
Directory Listing
Modified
Wed Jul 31 18:14:05 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork2
converted CGI calls to "CGI->" style to avoid import conflicts with
&title and &body.
-sam
Revision
441 -
Directory Listing
Modified
Thu Jul 25 21:58:22 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork2
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis
Revision
439 -
Directory Listing
Modified
Thu Jul 25 21:21:13 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
rewrote in a newer style.
switched to use CGI qw() / CGI->function() syntax.
-sam
Revision
435 -
Directory Listing
Modified
Fri Jul 19 17:30:32 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
turned off debugging in Problem.pm
-sam
Revision
434 -
Directory Listing
Modified
Fri Jul 19 06:19:34 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
added refreshMath2img to the problem environment (PG.pm) and modified
Problem.pm to set it when showHints or showSolutions is on. THIS IS NOT
THE BEST THING TO DO -- we only need to refresh when the value of
showHints or showSolutions CHANGES. Also, we should be refreshing if the
problem seed changes. So, we need somewhere to store those three values
between invocations of the script. HHHHHMMMMMMMM......... &math2img in
dangerousMacros.pl has been modified to respect refreshMath2img and also
refresh if the image file is older than the PG source file.
-sam
Revision
433 -
Directory Listing
Modified
Fri Jul 19 02:41:25 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
added HTML_img display mode. it currently generates image files using
math2img (which in turn uses latex, dvips and pstoimg (which in turn
uses gs, netpbm, and possibly otheres)). doesn't do any cacheing...
which means it's s--l--o--w. but it works.
-sam
Revision
432 -
Directory Listing
Modified
Fri Jul 19 02:39:16 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
added: math2img and support files... probably shouldn't distribute pip
with WeBWorK, but no one's going to complain, since it's in the public
domain (and that's one less dependancy ;)
-sam
Revision
431 -
Directory Listing
Modified
Thu Jul 18 20:12:02 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
finished initial version of PG.pm and Problem.pm
-sam
Revision
430 -
Directory Listing
Modified
Thu Jul 18 19:02:10 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork2
Changed a comment to be a little more accurate
--Dennis
Revision
428 -
Directory Listing
Modified
Fri Jul 12 19:02:14 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
removed &encode and &decode. replaced calls with those to
WeBWorK::Utils's &dbDecode and &dbEncode
-sam
Revision
427 -
Directory Listing
Modified
Fri Jul 12 19:01:28 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
moved &encode and &decode from WW.pm and Classlist.pm. Renamed to
&dbEncode and &dbDecode.
-sam
Revision
426 -
Directory Listing
Modified
Fri Jul 12 18:48:47 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
added 'g' to the s/// expressions that escape/unescape & and =
Revision
425 -
Directory Listing
Modified
Thu Jul 11 23:27:10 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
continued to work on Problem.pm. see diffs.
-sam
Revision
424 -
Directory Listing
Modified
Thu Jul 11 19:09:08 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
Problem.pm/PG.pm/Translator.pm now compile and work (to some degree)
changed the format of pg/modules in global.conf
diddled with the format of system.template (i believe i moved an <HR>)
added ref2string function to Utils.pm, removed hash2string/array2string
fixed a package name in IO.pm
Revision
423 -
Directory Listing
Modified
Wed Jul 3 23:24:26 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork2
Fixed the hash2string call to use the new WeBWorK::Utils interface
Revision
422 -
Directory Listing
Modified
Wed Jul 3 23:22:29 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
moved hash2string and array2string from CourseEnvironment to Utils.
-sam
Revision
421 -
Directory Listing
Modified
Wed Jul 3 23:10:46 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork2
Removed some stuff that's better off in WeBWorK::Upload, fixed some comments,
cleaned up some code
Revision
420 -
Directory Listing
Modified
Wed Jul 3 23:09:28 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork2
ContentGenerator.pm: Changed names based on new course environment keys
Form.pm: New addition, handles anything param-able
Upload.pm: Will eventually make file uploads nice and easy vis-a-vis the
transparent relogin functionality
--Dennis
Revision
419 -
Directory Listing
Modified
Wed Jul 3 22:33:55 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork2
moved pg/displayMode and pg/grader into pg/options
-sam
Revision
414 -
Directory Listing
Modified
Tue Jun 25 20:33:13 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
created PG::init_translator, which takes care of bootstrapping a
PG::Translator object. It is very sexy on the outside, and very hairy on
the inside.
-sam
Revision
413 -
Directory Listing
Modified
Tue Jun 25 20:31:41 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Copied PG modules over from old system.
-sam
Revision
412 -
Directory Listing
Modified
Tue Jun 25 20:29:22 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
global: added some new hashes. learn how to use diff.
CourseEnv: new uses WeBWorK::Utils
WW: commented out a silly debugging function
IO: fixed package name
Translator: changed behavior of evaluate_modules and
load_extra_packages: they now update the instance variable directly to
avoid sharing modules that weren't asked for "this time".
-sam
Revision
410 -
Directory Listing
Modified
Tue Jun 25 16:49:11 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Utils.pm now contains &runtime_use (from RuntimeUse.pm) and &readFile
(from CourseEnvironment.pm).
-sam
Revision
408 -
Directory Listing
Modified
Mon Jun 24 18:42:20 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
implements a runtime "use"-- require ; import
-sam
Revision
404 -
Directory Listing
Modified
Mon Jun 24 17:05:13 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Renamed files to reflect their package prefix:
IOGlue.pm -> IO.pm (WeBWorK::PG::IO)
PGtranslator.pm -> Translator.pm (WeBWorK::PG::Translator)
-sam
Revision
403 -
Directory Listing
Modified
Mon Jun 24 16:34:30 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Removed the CARP code (for now?), and made sure that an actual problem was
reachable (even though PG evaluation is commented out in the dispatcher
right now)
Revision
402 -
Directory Listing
Modified
Mon Jun 24 16:32:30 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Moved PGTranslator and IOGlue into WeBWorK::PG
Revision
401 -
Directory Listing
Modified
Mon Jun 24 15:46:36 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
for now, readFile returns false on failure to open file. this is to get
around the $SIG{__DIE__} interception problem.
-sam
Revision
399 -
Directory Listing
Modified
Thu Jun 20 21:26:16 2002 UTC (10 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Copied in a version of safety_filter subroutine from
PGtranslator5.pm in order to quite an "undefined" message.
-- Mike
Revision
397 -
Directory Listing
Modified
Thu Jun 20 21:18:37 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
fixed interface to template() function.
-"dennis"
Revision
396 -
Directory Listing
Modified
Thu Jun 20 20:43:39 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Some edits to make it work on my system, and some code cleanups. You'll
probably have to edit it on the top (right now) to get it to work on your
system. /this will change/ in the future. But it's nice to have a working
demo.
--Dennis
Revision
395 -
Directory Listing
Modified
Thu Jun 20 16:41:17 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed the "die" in readFile()
-sam
Revision
393 -
Directory Listing
Modified
Thu Jun 20 16:02:12 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
removed PerlModule line -- unnecessary.
-sam
Revision
392 -
Directory Listing
Modified
Thu Jun 20 13:46:05 2002 UTC (10 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
Problem.pm now works (kindof) to serve PG problems. There are configuration
variables at the top that have to be customized to an individuals directory.
(They could be placed in a config file to avoid having to update them constantly,
but soon these values should be set by information from the course and
problem environments.)
The code is still rather delicate. It seems to work with some problems and not
with others. I suspect that the macro files are not being properly read in
and that perhaps the warning mechanisms are not yet working properly.
Also beware the line ending problem. Some of these files were created on a
mac (using unix). I've had completely mysterious errors that were fixed
by checking the line endings.
There is also a lot of code, particulary the error reporting code which should be put
in its own module.
Revision
390 -
Directory Listing
Modified
Wed Jun 19 22:45:47 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
This commit brings several packages up to date and working. I wish I could
be more specific, but it's been a while since I've committed. You'll have
to check the CVS diffs for more info.
--Dennis
Revision
389 -
Directory Listing
Modified
Wed Jun 19 21:46:03 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Finished debugging. This might be somewhere near working order. The API
won't change from now on, so go ahead and start using it.
-sam
Revision
388 -
Directory Listing
Modified
Wed Jun 19 20:03:53 2002 UTC (10 years, 11 months ago) by
gage
Original Path:
trunk/webwork2
I've added code for defining the problemEnvironment, at least for now.
Many of the values which will be pulled from the database have simply
been hardcoded into the subroutine.
There is also code to pretty print these values to aid in debugging.
Revision
378 -
Directory Listing
Modified
Tue Jun 18 20:06:15 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added dbInfo{psvn_digits} = 5
-sam
Revision
377 -
Directory Listing
Modified
Tue Jun 18 19:25:08 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
promote undef to "" in encode()
-sam
Revision
362 -
Directory Listing
Modified
Wed Jun 12 21:56:29 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
wrote all the prototypes. no implementations yet tho. :(
-sam
Revision
361 -
Directory Listing
Modified
Tue Jun 11 23:33:03 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
started the Webwork database interface.
fun, fun, fun...
-sam
Revision
360 -
Directory Listing
Modified
Tue Jun 11 23:32:08 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added documentation to public functions.
THIS IS THE DOCUMENTATION STYLE THAT I WANT TO USE FROM NOW ON! :)
-sam
Revision
359 -
Directory Listing
Modified
Tue Jun 11 17:10:30 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Renamed WeBWorK::DB::User to WeBWorK::User, since it's not strictly tied
to the database layer. WeBWorK::Set and WeBWorK::Problem will be handled
the same way.
-sam
Revision
358 -
Directory Listing
Modified
Mon Jun 10 22:40:34 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
Implemented classlist database access using the User class for data
storage. Implements "classlist_DBglue.pl" style locking.
-sam
p.s.: don't you with that usernames could be included in the cvs mail
log? too bad cvs only exposes the UNIX username to the logging script. i
should patch cvs... bah...
Revision
357 -
Directory Listing
Modified
Mon Jun 10 20:08:41 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Updated the comments to make it easier to install WeBWorK-modperl with nothing
but them to work with (since that's what we have right now ;)
Revision
353 -
Directory Listing
Modified
Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
All of the content generators now work with the template system
Moved the content generators into the WeBWorK::ContentGenerator namespace
Added the default template and a few global.conf entries
Revision
351 -
Directory Listing
Modified
Fri Jun 7 21:43:07 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
not ready for use yet. heh heh.
-sam
Revision
350 -
Directory Listing
Modified
Fri Jun 7 21:42:29 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed implementation of getUsers -- untested
Revision
349 -
Directory Listing
Modified
Fri Jun 7 21:37:33 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
The framework for the template system has been laid in ContentGenerator.
Login.pm is the first module converted to work with that framework.
--Dennis
Revision
348 -
Directory Listing
Modified
Thu Jun 6 20:09:10 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added an instructional comment. no biggy.
Revision
347 -
Directory Listing
Modified
Thu Jun 6 20:08:14 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Adds support for the debugPracticeUser (formerly the hardcoded "practice666")
Revision
345 -
Directory Listing
Modified
Thu Jun 6 18:51:59 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
(14:44:58) LordSammy:
getKey($user) - returns current session key for $user or false if none exists
setKey($user, $key) - sets $user's key to $key
verifyKey($user, $key) - true if $key eq getKey($user)
deleteKey($user) - removes session key for $user
Revision
344 -
Directory Listing
Modified
Thu Jun 6 18:34:44 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Added $practiceUserPrefix to global.conf, which works just like $practiceUser
in Global.pm from CGI WeBWorK.
Revision
343 -
Directory Listing
Modified
Wed Jun 5 20:20:38 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
GDBM Authorization works fully.
More specifically:
Users must authenticate if they don't provide user/key data.
Fast login is requested automatically if a key has timed out.
A framework is in place to add other auth backends easily.
Revision
342 -
Directory Listing
Modified
Wed Jun 5 19:28:52 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
Sam should have fixed this before he committed ;)
--Dennis
Revision
341 -
Directory Listing
Modified
Wed Jun 5 19:27:06 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added sessionKeyTimeout value
-sam
Revision
340 -
Directory Listing
Modified
Wed Jun 5 19:12:47 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
trying to fix Auth.pm when hash keys don't exist.
-sam
Revision
335 -
Directory Listing
Modified
Fri May 31 22:39:17 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
-Replaced the "sample" code with actual calls into the database code. This
would be very close to finished code, except that it suffers from a bug
that has so far proved intractable to Sam and myself. An email will be
forthcoming detailing the bug. Quite likely, the bug is not specifically
in this file, and in the best case this file won't need to be changed much
for a long time, unless I decide to change the interface for style reasons.
Revision
334 -
Directory Listing
Modified
Fri May 31 20:46:20 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
developers, developers, developers, developers, developers, developers,
developers, developers, developers, developers, developers, developers.
Revision
332 -
Directory Listing
Modified
Fri May 31 17:37:20 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
in GDBM.pm, connect() now behaves when attempting to connect to a
nonexistent database. Auth.pm now respects the return values from
GDBM::connect
Revision
331 -
Directory Listing
Modified
Fri May 31 16:39:38 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
fixed the tie call to not be wrong.
-sam
Revision
329 -
Directory Listing
Modified
Thu May 30 22:12:51 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
-Just a quick end of the day commit. No big changes to report.
--Dennis
Revision
324 -
Directory Listing
Modified
Thu May 30 20:35:13 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
added hash2string and array2string for debugging!
-sam
Revision
323 -
Directory Listing
Modified
Thu May 30 20:34:46 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork2
-Fixed a few interfaces so that they make more sense (I hope)
-Added preliminary templating code to ContentGenerator
-Added a lot of logic to the dispatcher (WeBWorK.pm). More to come, too.
-Moved lots of things over to CGI.pm, for my convenience while prototyping
-Added preliminary examples of ProblemSets, ProblemSet, and Problem.
Problem.pm will some day go on to do what ProcessProblem8 does right now,
so keep your eyes on that one.
--Dennis
Revision
319 -
Directory Listing
Modified
Thu May 30 19:17:02 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
takes symbols defined in config files (which are now perl code) as
course environment. ha HA!
-sam
Revision
316 -
Directory Listing
Modified
Thu May 30 19:13:47 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed GDBM's interface a little -- you now specify the access mode
when connecting rather than when constructing.
-sam
Revision
314 -
Directory Listing
Modified
Thu May 30 19:11:52 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork2
changed format of global.conf: it's now perl code which gets eval'd in a
safe compartment.
-sam
Revision
313 -
Directory Listing
Modified
Tue May 28 21:23:45 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork2
- ContentGenerator.pm is now officially the superclass to all modules called
by the dispatcher to generate content.
- Authen.pm now has a single point of exit, which makes it easier to read,
debug, and modify
- Login.pm is now a subclass of ContentGenerator, and apart from the HTML,
is in it's final form.
- All code has been commented up
- The authentication wrapper is now a working demonstration. Anyone could
stick it on a webserver and try it out. The database code isn't written,
so it authenticates against hardcoded strings (username: dennis,
passwd: helloworld), but this at least proves that the system is workable.
--Dennis
Revision
311 -
Directory Listing
Modified
Sat May 25 00:40:54 2002 UTC (11 years ago) by
sh002i
Original Path:
trunk/webwork2
comments to global.conf, fixed new() in courseenv.
-0sam
Revision
306 -
Directory Listing
Modified
Thu May 23 21:02:40 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork2
Just making sure all the files are synched at the end of the day. This is
probably mostly typo cleanups and stuff.
Revision
305 -
Directory Listing
Modified
Thu May 23 20:23:10 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork2
Login.pm is mostly done, except that the embedded HTML has to be replaced at
some point wiht code from HTML_glue or whatever new templating we implement.
Authen.pm and Test.pm are useful stubs to demonstrate how authentication wraps
around every request transparently.
ContentGenerator.pm may become a superclass of all classes instantiated by
the dispatcher, or it my whither away. Right now, it doesn't do anything,
including compile.
Revision
304 -
Directory Listing
Modified
Thu May 23 18:35:16 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork2
Added courseName to the $self hash. That value is obtained from the parameter
passed to new().
Revision
290 -
Directory Listing
Modified
Wed May 22 20:44:45 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork2
Mostly changes to WeBWorK.pm, making it actually be a dispatcher, instead of a dummy