|Links to HEAD:||(view) (download) (as text) (annotate)|
More improvements on library - advanced panel. Still a work in progress.
Added advanced search panel for database library. Still more features to come.
More changes for problem library version 2: changed interface for getting lists of problems so variable amounts of data can be passed. Also removed an unneeded button.
Mainly improvements for problem library version 2. Also removed comments and added "Edit it" link back in for library problems. These were not the only read-only problems in a course, and being able to Edit it, and then save as is pretty useful.
Initial support for version 2 of the problem library.
The two middle parts of the top area really go together, so the line between them is now less emphatic.
Add browsing by set definition files. It will do a full search for these files, and do some work to find the actual pg files. Also, a minor fix in the lists of sets in the current course (the "Select ..." line was being added twice in some cases), some indentation fixing in the souce, and renamed a variable. Long ago, SetMaker used set definition files, and then that was replaced with database lookup but a variable still had setdef in its name. Now that it uses both, this needing fixing.
Say something useful if there is an error when creating a new set. Also fixed some indentation.
Rearrange top panels (change really from Bill Z.) plus some tiny cosmetic changes.
Correct commit of file with unresolved conflicts.
Preliminary commit of changes to add Gateway module. This adds to WeBWorK - the ability to create versioned, timed problem sets ("gateway tests") for which all problems are displayed on a single page ("versioned" means that students can get multiple versions of the problem set), - the ability to create sets that draw problems from groups of problems, and - the ability to create sets that require a proctor login to start and grade. Sets can be defined as gateway tests or proctored gateway tests from the ProblemSetDetail page. Not quite bug-free yet. Known bugs include handling of problem values on the Student Progress page (I think this may be a problem with changing from sql database format where all entries were 'text' to sql_single in ver 2.1, where they are integer), and a division by zero error on the grades page (which may be the same problem). Tests with a number of attempts per version greater than one haven't been carefully tested, nor has scoring of gateway tests.
renamed "problem set" to "homework set" in page content. closes bug #797.
When making a new set, leave the name as it was input. Should resolve confusion when making sets starting with "set".
Whitespace changes, mainly a few tabs to spaces.
quick fix for errors while reading directories (bug #720).
formatting fixes (sorry jj, dpvc).
fixed indentation -- please read the webwork coding standards. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/CodingStandards
Evaluate $r->param("user") in a scalar context in case user has been defined more than once. It would also be nice to find where the double definitions are coming from.
Make Try it and Edit it buttons pass along the current problem seed value, closing bug 682.
Changed some references from ProblemSetEditor to ProblemSetDetail
When a pg file has auxiliary files (like .gif images), it is often stored in a separate directory in order to keep all the files together. In this case, the Library Browser will show the subdirectory as a separate entry in the problem directory list, even though the problem is logically part of its parent directory. This patch modified the Library Browser so that these single-pg-file directories are merged with their parents, as long as they also include other non-pg-files. It also provides a method of controling the library browser on a directory-by-directory basis using specially named files. If a directory contains a file named "=library-ignore", then the directory is never shown in the directory menu. If it contains a file called "=library-combine-up", then its contents are considered to be part of the parent directory, even if it has more than one pg file. If it contains one called "=library-no-combine", then the directory is always listed separately in the menu, even if it has only one pg file.
Changed sort of current sets to use sortByName.
Sort lists of set definition files alphabetically.
Changed "me" to this problem and fixed bug which appeared if a set_id started with "set".
Changed the misnamed problem_header to hardcopy_header which is a more accurate description of the variables use. Hardcopy.pm now consults hardcopy_header as opposed to set_header This addresses some of the concerns in bug #556
Provide mechanism for adding extra problem library buttons to the Library Browser. These changes allow you to specify (via course.conf or global.conf) that certain subdirectories of the templates directory are to have separate buttons in the top panel of the Set Maker. These buttons only appear if the directories actually exist, and any other directories are listed in the "Local Problems" button as usual. If the list of these directories is empty (the default), then the results are just like they currently are, but it allows one more level of separation of the hierarchy for those who want it. The idea is to make symbolic links to the problem libraries from Rochester, ASU, etc., and have separate buttons for these. This avoids having one monster menu with all the problems in it. (Of course, you could make buttons for any directories you want.) There are instructions in global.conf.dist that exmplain how to do configure this.
Make use of new utility function for adding a problem to a set.
Changed Current Set to Target Set (hopefully more intuitive), and changed Top to My Problems, also hopefully more intuitive for non-unix users.
Changed "Act on" button to say "Update" in bold. Also, added mark all button. Also, added clear all marks button. Also, "Add me" checkboxes are now sticky, unless you update and they are added. Then you get an additional message by the add box. Mayble we should flip the css class of the "Add me" line too to signal who was added. Hidme boxes aren't sticky since their problems usually get hidden anyway.
Added two more controls next to View Problems: choice of display mode, which includes none for those who don't like to see their problems displayed, and one to choose how many problems you get at once. Also, problems who's rendering cause an error get their message displayed with ResultsWithError.
Fixed bug which came up when adding problems located at the top of the templates directory.
Put addbadmessage in Contentgenerator (to go with addgoodmessage), and use it in SetMaker.
fixed typo: addgoodmsg -> addgoodmessage.
Extricating Problem Library from DB structure, part II.
Changed "success problems added" from resultwitherror to resultwithouterrer.
Lots of addmessage()s added, including success for adding problems. This may close bug 485.
Reorganized to use addmessage for messages. Also minor cleanups of variable names, and better handling when there are no pg files under templates.
When a new set is created, it is automatically selected. This partially resolves bug 485.
Fixed bug in logic of when to show Edit it link.
Changed urlpath->new to urlpath->newFromModule. Also added check for when using the problem library, that the Library directory exists, and if not, try to fix it ourselves.
Fixed bug #477 and similar problems when there are no local sets; fixed bug where top level local files were not detected, made "Edit it" link come back if you are not looking at a library file, and floated "Try it" and "Edit it" to the right.
Removed edit it links.
Commented out features which are not used yet in the problem library. Uncommented Try it and Edit it links.
Removed hard-wired path.
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|