[system] / trunk / webwork-modperl Repository:
ViewVC logotype

Log of /trunk/webwork-modperl

View Directory Listing Directory Listing


Sticky Revision:

Revision 396 - Directory Listing
Modified Thu Jun 20 20:43:39 2002 UTC (16 years, 1 month ago) by malsyned
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 (16 years, 1 month ago) by sh002i
removed the "die" in readFile()
-sam

Revision 394 - Directory Listing
Modified Thu Jun 20 16:37:59 2002 UTC (16 years, 1 month ago) by sh002i
fixing eval thingies.
-sam

Revision 393 - Directory Listing
Modified Thu Jun 20 16:02:12 2002 UTC (16 years, 1 month ago) by sh002i
removed PerlModule line -- unnecessary.
-sam

Revision 392 - Directory Listing
Modified Thu Jun 20 13:46:05 2002 UTC (16 years, 1 month ago) by gage
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 (16 years, 1 month ago) by malsyned
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 (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by gage
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 383 - Directory Listing
Modified Tue Jun 18 22:47:05 2002 UTC (16 years, 1 month ago) by sh002i
removed by accident.
-sam

Revision 380 - Directory Listing
Modified Tue Jun 18 21:06:45 2002 UTC (16 years, 1 month ago) by gage
....
.

Revision 378 - Directory Listing
Modified Tue Jun 18 20:06:15 2002 UTC (16 years, 1 month ago) by sh002i
added dbInfo{psvn_digits} = 5
-sam

Revision 377 - Directory Listing
Modified Tue Jun 18 19:25:08 2002 UTC (16 years, 1 month ago) by sh002i
promote undef to "" in encode()
-sam

Revision 376 - Directory Listing
Modified Tue Jun 18 19:24:38 2002 UTC (16 years, 1 month ago) by sh002i
small changes.
-sam

Revision 369 - Directory Listing
Modified Tue Jun 18 16:17:15 2002 UTC (16 years, 1 month ago) by sh002i
renamed Webwork.pm to WW.pm
-sam

Revision 368 - Directory Listing
Modified Mon Jun 17 23:16:21 2002 UTC (16 years, 1 month ago) by sh002i
added login_id field. silly me.

Revision 367 - Directory Listing
Modified Mon Jun 17 23:09:08 2002 UTC (16 years, 1 month ago) by sh002i
writing DB::Webwork.pm ...

Revision 362 - Directory Listing
Modified Wed Jun 12 21:56:29 2002 UTC (16 years, 1 month ago) by sh002i
wrote all the prototypes. no implementations yet tho. :(
-sam

Revision 361 - Directory Listing
Modified Tue Jun 11 23:33:03 2002 UTC (16 years, 1 month ago) by sh002i
started the Webwork database interface.
fun, fun, fun...
-sam

Revision 360 - Directory Listing
Modified Tue Jun 11 23:32:08 2002 UTC (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by malsyned
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 (16 years, 1 month ago) by malsyned
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 352 - Directory Listing
Modified Fri Jun 7 22:12:31 2002 UTC (16 years, 1 month ago) by sh002i
fixed some typos

Revision 351 - Directory Listing
Modified Fri Jun 7 21:43:07 2002 UTC (16 years, 1 month ago) by sh002i
not ready for use yet. heh heh.
-sam

Revision 350 - Directory Listing
Modified Fri Jun 7 21:42:29 2002 UTC (16 years, 1 month ago) by sh002i
fixed implementation of getUsers -- untested

Revision 349 - Directory Listing
Modified Fri Jun 7 21:37:33 2002 UTC (16 years, 1 month ago) by malsyned
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 (16 years, 1 month ago) by malsyned
Added an instructional comment.  no biggy.

Revision 347 - Directory Listing
Modified Thu Jun 6 20:08:14 2002 UTC (16 years, 1 month ago) by malsyned
Adds support for the debugPracticeUser (formerly the hardcoded "practice666")

Revision 346 - Directory Listing
Modified Thu Jun 6 19:23:56 2002 UTC (16 years, 1 month ago) by sh002i
added @usernames = getUsers()

Revision 345 - Directory Listing
Modified Thu Jun 6 18:51:59 2002 UTC (16 years, 1 month ago) by sh002i
(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 (16 years, 1 month ago) by malsyned
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 (16 years, 1 month ago) by malsyned
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 (16 years, 1 month ago) by malsyned
Sam should have fixed this before he committed ;)
--Dennis

Revision 341 - Directory Listing
Modified Wed Jun 5 19:27:06 2002 UTC (16 years, 1 month ago) by sh002i
added sessionKeyTimeout value
-sam

Revision 340 - Directory Listing
Modified Wed Jun 5 19:12:47 2002 UTC (16 years, 1 month ago) by sh002i
trying to fix Auth.pm when hash keys don't exist.
-sam

Revision 339 - Directory Listing
Modified Wed Jun 5 19:09:31 2002 UTC (16 years, 1 month ago) by sh002i
try this too
-sam

Revision 338 - Directory Listing
Modified Wed Jun 5 19:07:21 2002 UTC (16 years, 1 month ago) by sh002i
try this

Revision 337 - Directory Listing
Modified Wed Jun 5 18:32:12 2002 UTC (16 years, 1 month ago) by sh002i
more improvements, i think.

Revision 335 - Directory Listing
Modified Fri May 31 22:39:17 2002 UTC (16 years, 1 month ago) by malsyned
-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 (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by sh002i
fixed the tie call to not be wrong.
-sam

Revision 330 - Directory Listing
Modified Fri May 31 04:30:42 2002 UTC (16 years, 1 month ago) by sh002i
finished it!

Revision 329 - Directory Listing
Modified Thu May 30 22:12:51 2002 UTC (16 years, 1 month ago) by malsyned
-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 (16 years, 1 month ago) by sh002i
added hash2string and array2string for debugging!
-sam

Revision 323 - Directory Listing
Modified Thu May 30 20:34:46 2002 UTC (16 years, 1 month ago) by malsyned
-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 (16 years, 1 month ago) by sh002i
takes symbols defined in config files (which are now perl code) as
course environment. ha HA!
-sam

Revision 317 - Directory Listing
Modified Thu May 30 19:14:40 2002 UTC (16 years, 1 month ago) by sh002i
written, not debugged.
-sam

Revision 316 - Directory Listing
Modified Thu May 30 19:13:47 2002 UTC (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by sh002i
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 (16 years, 1 month ago) by malsyned
- 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 (16 years, 2 months ago) by sh002i
comments to global.conf, fixed new() in courseenv.
-0sam

Revision 310 - Directory Listing
Modified Sat May 25 00:35:54 2002 UTC (16 years, 2 months ago) by sh002i
roar!
-sam

Revision 306 - Directory Listing
Modified Thu May 23 21:02:40 2002 UTC (16 years, 2 months ago) by malsyned
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 (16 years, 2 months ago) by malsyned
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 (16 years, 2 months ago) by malsyned
Added courseName to the $self hash.  That value is obtained from the parameter
passed to new().

Revision 303 - Directory Listing
Modified Thu May 23 17:09:56 2002 UTC (16 years, 2 months ago) by sh002i
testing...

Revision 302 - Directory Listing
Modified Thu May 23 16:50:20 2002 UTC (16 years, 2 months ago) by sh002i
sklfhlkshflksfh

Revision 301 - Directory Listing
Modified Thu May 23 16:49:19 2002 UTC (16 years, 2 months ago) by sh002i
nine

Revision 300 - Directory Listing
Modified Thu May 23 16:42:17 2002 UTC (16 years, 2 months ago) by sh002i
eight

Revision 299 - Directory Listing
Modified Thu May 23 16:41:40 2002 UTC (16 years, 2 months ago) by sh002i
seven

Revision 298 - Directory Listing
Modified Thu May 23 16:40:16 2002 UTC (16 years, 2 months ago) by sh002i
five

Revision 297 - Directory Listing
Modified Thu May 23 16:40:03 2002 UTC (16 years, 2 months ago) by sh002i
four

Revision 296 - Directory Listing
Modified Thu May 23 16:10:41 2002 UTC (16 years, 2 months ago) by sh002i
three

Revision 295 - Directory Listing
Modified Thu May 23 16:09:55 2002 UTC (16 years, 2 months ago) by sh002i
two

Revision 294 - Directory Listing
Modified Thu May 23 15:52:30 2002 UTC (16 years, 2 months ago) by sh002i
test one

Revision 290 - Directory Listing
Modified Wed May 22 20:44:45 2002 UTC (16 years, 2 months ago) by malsyned
Mostly changes to WeBWorK.pm, making it actually be a dispatcher, instead of a dummy

Revision 289 - Directory Listing
Modified Wed May 22 19:55:44 2002 UTC (16 years, 2 months ago) by sh002i
*** empty log message ***

Revision 287 - Directory Listing
Modified Wed May 22 19:24:43 2002 UTC (16 years, 2 months ago) by sh002i
*** empty log message ***

Revision 286 - Directory Listing
Modified Wed May 22 19:22:17 2002 UTC (16 years, 2 months ago) by sh002i
*** empty log message ***

Revision 285 - Directory Listing
Modified Wed May 22 19:19:03 2002 UTC (16 years, 2 months ago) by sh002i
*** empty log message ***

Revision 284 - Directory Listing
Modified Wed May 22 19:17:00 2002 UTC (16 years, 2 months ago) by sh002i
fixed it

Revision 283 - Directory Listing
Added Wed May 22 18:44:14 2002 UTC (16 years, 2 months ago) by malsyned


Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9