Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
Parent Directory
Revision
1841 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 4 21:05:58 2004 UTC (9 years, 3 months ago) by
sh002i
File length: 10424 byte(s)
Diff to
previous 1833
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.
Revision
1833 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 4 17:40:04 2004 UTC (9 years, 3 months ago) by
gage
File length: 10118 byte(s)
Diff to
previous 1829
Rolled back previous addition of the due date.
The due date can be specified in the setHeader message. It does not
need to be hard coded into ProblemSet.pm
--Mike
Revision
1667 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 12 02:24:30 2003 UTC (9 years, 6 months ago) by
gage
File length: 9928 byte(s)
Diff to
previous 1663
As best I can determine all "get" commands to the database are now
checked and appropriate action (usually "die") is taken if no
object is returned.
One exception. The multiple "gets" such as getGlobalSets(@setNames)
are not checked -- if a given setName is not found is an empty object
returned? in the list or is nothing returned?
--Mike
Revision
1663 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 9 01:12:32 2003 UTC (9 years, 6 months ago) by
sh002i
File length: 9032 byte(s)
Diff to
previous 1624
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.
Here is the new header:
################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
# Artistic License for more details.
################################################################################
Revision
1624 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 8 02:52:35 2003 UTC (9 years, 7 months ago) by
sh002i
File length: 8375 byte(s)
Diff to
previous 1503
I wasn't using WeBWorK::PG here, but it was getting loaded anyway
before I changed the way the dispatcher loads things.
Revision
1502 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 11 02:03:06 2003 UTC (9 years, 9 months ago) by
gage
File length: 8357 byte(s)
Diff to
previous 1364
Made changes to ProblemSet.pm that replace the feedback button
which did not work with the "email instructor" button.
Also changed some probable typos in Feedback.pm which
was trying to find set_id from problem rather than from set.
This doesn't work when problem is not defined.
--Mike
Revision
1359 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 11 19:02:23 2003 UTC (9 years, 11 months ago) by
gage
File length: 7664 byte(s)
Diff to
previous 1354
I've trade speed for usefulness and convenience. The sibling links are
now sorted by name and all links are active. On webwork3 this cuts the
loading time for the page by a factor of 5 (11 seconds to 2)
We can reverse this when the process of collecting all of the relevant
sets is faster (this process took 8 seconds).
--Mike
Revision
1347 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 11 13:11:26 2003 UTC (9 years, 11 months ago) by
gage
File length: 6397 byte(s)
Diff to
previous 1228
Changed the variable pointing to the text accompanying the list of
problems from problem_header to set_header. I believe this is what was
intended originally, since the default is snippets/setHeader.pg
I don't believe we have a use for problem header yet.
--Mike
Revision
1111 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 10 23:05:57 2003 UTC (10 years ago) by
sh002i
File length: 6482 byte(s)
Diff to
previous 1109
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
1107 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 10 19:40:45 2003 UTC (10 years ago) by
gage
File length: 6413 byte(s)
Diff to
previous 1096
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
1063 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 8 21:15:30 2003 UTC (10 years ago) by
gage
File length: 6122 byte(s)
Diff to
previous 1034
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
809 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 17 21:30:57 2003 UTC (10 years, 2 months ago) by
sh002i
File length: 6178 byte(s)
Diff to
previous 795
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
750 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 27 12:31:06 2003 UTC (10 years, 3 months ago) by
malsyned
File length: 6275 byte(s)
Diff to
previous 738
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
526 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 29 19:56:24 2002 UTC (10 years, 9 months ago) by
sh002i
File length: 4707 byte(s)
Diff to
previous 494
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam
Revision
476 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 20 01:07:18 2002 UTC (10 years, 10 months ago) by
sh002i
File length: 3108 byte(s)
Diff to
previous 469
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
455 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 5 21:34:18 2002 UTC (10 years, 10 months ago) by
sh002i
File length: 1098 byte(s)
Diff to
previous 443
"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
353 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Fri Jun 7 23:35:59 2002 UTC (11 years ago) by
malsyned
File length: 724 byte(s)
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
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.