| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Revision: |
Bringing these files up to date with the patches made to the release version of 2.0
This commit was manufactured by cvs2svn to create branch 'rel-2-1-a1'.
changed visable to visible. Closes #554.
fixed code order to avoid invalid call to published field on a non-existant set Fixes #543.
Made the list of problems more readable by using center alignment in the columns.
fixed display of published/unpublished text
Allready done so this should fail Arnie
added "This problem does not count towards your grade." messages if the weight of a problem has been set to 0. Fixes #464.
added functionality for published/unpublished
Removed debugging code
added error checking for invalid set numbers
Made a small change to the subroutine problemListRow which now handles the case where the problem status has not been defined as a number.
support for previewing temp files
URLpath compliance, some cleaning up of code. much more cleanup remains.
I have made changes to the list of problems that uses the full path instead of the relative call used previously. Hope this will fix the error described below. I don't know whether this is the proper fix or whether something fancier using urlPath is appropriate. There is an error with the links for Set 7. Clicking on problems in the problem set will not link to the selected problem- it will link to the problem set of the same number. (i.e. Selecting problem #2 will link me to Homework set #2 instead) --Mike
changed template escape handler functions to grab data from $r->urlpath instead of @_ for compatability with dispatch_new.
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
Cleaning up commented out code. Added a "due date is...." message to the top of the ProblemSet page.
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
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. ################################################################################
I wasn't using WeBWorK::PG here, but it was getting loaded anyway before I changed the way the dispatcher loads things.
Fixed typo (set should have been self)
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
More cosmetic tweaks to the siblings macro --Mike
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
Added link to edit set header. Available only to instructors --Mike
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
housekeeping in siblings()
removed debugging output -sam
Fixed a bug in ordering the siblings. (again :-) ) --Mike
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
Fixed bug in sorting in siblings subroutine --Mike
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
*** empty log message ***
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
the % done status indicators now round to the nearest whole percent. Fixes Bug #47 -Dennis
changed ->id to ->whatever_id -sam
modev more content generators over to the new WWDBv2 API. fixed some bugs. -sam
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
Hit the #nav macro with a cluebat RE: webworkURLs->htdocs vs. imageprefix="" -Dennis
Matched the calling semantics for navMacro -dennis
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
ProblemSet and Problem no longer allow problem sets that are "not yet open" to be viewed. oopsies. -sam
merged changes from rel-2-0-pr1-hardcopy-changes -sam
effectiveUser audit complete on all the content generators except Hardcopy -Dennis
&info now respects screen set header file in database. -sam
added feedback links to a bunch of modules. -sam
fixed image centering, added head escape. -sam
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam
updated copyright header. -sam
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
pretty much implemented the whole thing. yeah. -sam
"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
converted CGI calls to "CGI->" style to avoid import conflicts with &title and &body. -sam
Added use strict and use warnings, then cleaned up much of the mess that revealed. --Dennis
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.
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |