| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Revision: |
This commit was manufactured by cvs2svn to create branch 'rel-2-3-dev'.
removed vestigal gdbm code
Mostly replace use CGI; with use WeBWorK::CGI Files with additional changes to CGI calls are SendMail, SetMaker PGProblemEditor Instructor::Index and FileManager
Try using the -nosticky pragma to see if this fixes the problem.
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006. this is probably overkill, since there are some files that were created after 2000 and some files that were last modified before 2006.)
Merge changes with HEAD (Re-target view and edit links to use the view and edit windows)
renamed "problem set" to "homework set" in page content. closes bug #797.
Adjusted test for whether a value is really an override. Before it was just whether the value was defined, but now we automatically promote undef to empty strings.
added permissions checks newly formatted for readability
Fixed the following bug: if you change a student's status on a problem to 1 and give them a correct attempt, but then go to the stats page or student progress page, you won't see the change. The reason is that those pages check "attempted" which cannot be changed through this page directly. Now this page updates attemted fields based on if (correct+incorrect attempts) > 0.
When viewing a users problem, the rendered versions have the right seed, etc.
Just realigned some code and took out a couple commented lines.
Give the user a choice of which mode to use in displaying problems. Defaults to none.
Changed calls to renderProblems to match the new interface.
Fixed bug 485. The problem occured because with a gdbm database, the global_user is used for both global information, and appears as a user. We have to avoid modifying its information twice. This seems to work, but the "right" fix is probably to work on the database code. With a gdbm database, the global_user should be filtered out of calls dealing with users and only be used on calls about global information. That would mimic the sql behavior better. It would also supress the global_user from appearing in user lists (which I think would be better).
changed submitError to addmessage()
When listing problems, show a rendered version. Also, when dealing with the global data, reorganize where the data is shown.
Fixed errors in creating urls. (It is important to set authen=>0 when creating links for forms -- they already contain hidden authentication variables.
More changes in construction of urls. Changed parameter acquistion in ShowAnswers
Updated these files to generate urls from urlpath.
Converting to using URLPath.pm Some difficulties with constructing path to SetsAssignedToUsers.pm in ProblemSetEditor.pm
Cleanup -- moving toward using the Apache:Request object and URLpath. It remains to use URLpath to construct new paths in these files.
changed template escape handler functions to grab data from $r->urlpath instead of @_ for compatability with dispatch_new.
add explicit "view" and "edit" links, closing bug #275
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. ################################################################################
Implemented a schema-level "count" function in the WW1Hash schema. Added countSetUsers and countProblemUsers to DB. Replaced SCALAR calls to listSetUsers with calls to countSetUsers. Update Schema documentation. The immediate advantage of this is to make ProblemSetList MUCH faster.
Actually added the printing of assignment counts and user-specific identification.
Changed "1.0" to "1.9" for consistency
You're not allowed to edit both the default and the user-specific fields at the same time anymore. It was just too hard to keep straight efficiently.
Fixed a bug in changing overrides
Removed unecessary warning
Fixed a bug in submitting changes to user-specific data.
Added bread crumbs (path subroutine) along the top of each of these pages. --Mike
Changed _s to .s
Removed a warning in WW1Hash. Renamed a function with a confusing name: assignProblemToAllUsers => assignProblemToAllSetUsers. -Dennis
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
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
Added ProblemList (from Dennis' folder) and committed it to CVS --Mike
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 |