| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Revision: |
This commit was manufactured by cvs2svn to create branch 'rel-2-3-dev'.
Minor formatting changes in CGI calls. Mostly adding {} at the beginning of functions that
concatenate their inputs.
Mostly replace use CGI; with use WeBWorK::CGI Files with additional changes to CGI calls are SendMail, SetMaker PGProblemEditor Instructor::Index and FileManager
Apache2 compatibility for HTTP constants. (This may very well be broken, but I wanted to get it comitted before bed.)
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.)
The major change is to replace Sets assigned to user by UserDetail.pm. (Originally written by Rob Van Dam and completed by Mike Gage.) It has undergone a significant amount of testing, but has not yet been used in a course. We can back out of these changes before creating a release if problems are found.
added manage_course_files activity. changed FileManger to use new activity. added hasPermissions() checks to Index and Contentgenerator to only show File Manger when user has permission.
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.
fixed typo in "edit_set_for_user" which should be "edit_set_for_users". also changed label to correspond.
applied dpvc's index patch, use FileManager instead of FileXfer, fixed indentation.
protect against the possiblity that user has been defined twice in hidden fields or in the search args and a hidden field.
minor patch to previous update fully allows editing one set for multiple users
Changed references from ProblemSetEditor to ProblemSetDetail Added ability to edit a set for multiple users. Closes #646 and #662.
re-added case for "edit_set_for_user", accidentally removed in last revision.
A better fix for the "add user" link problem. this still calls AddUser module. That will soon be replaced by a call to UserList module once Robert is done with his work. --Mike
Replaced hardwiring of mth143b by courseName in "add user" link. this piece of code still needs work. It should be a button not a link.
Closed up the two lines of instruction at the top of the page Added a link to "Add users". will eventually modify this to a button so that it matches the rest of the page.
added permissions checks
Additionaly tweaks to fail gracefully
Edited so that filters fail gracefully
Corrected typo in pre-screening for filter
Updated for filtering of scrolling lists
replaced error processing with call to addmessage()
Changed user interface on the instructors page. Buttons are now shorter. --Mike
rewritten: * no duplicated code (no copy-n-paste) * error messages if the wrong objects are selected * uses $self->reply_with_redirect() * uses ScrollingRecordList * more descriptive button names, values
changed template escape handler functions to grab data from $r->urlpath instead of @_ for compatability with dispatch_new.
Corrected sorting by user_id. Code now works correctly. Before the sorting for this case was occuring by accident with the SQL database. Made changes to the interface in SendMail. The radio buttons are now horizontal to match the radio buttons on the Instructor::Index page. Changed Id to Login to make the sorting parameter clearer. changed the format of the popmenu on the Instructor::Index page to match the format used on the SendMail page.
Added tweak to handle case where set is not defined when acting as student.
Made major modifications to user interface on Instructor/Index page. Added use of getAllUserProblems in main loop for Stats.pm problems when displaying statistics for a given set. This speeds GDBM from 8 sec to 2. SQL stays at around 22-23 seconds. Also addded code to sort_method which checks that the number of attempts has been defined. If not it returns 0. --Mike
Corrected link to file transfer page. This squashes bug #346
Placed the link to subpages back on top of the quick link tools, at least for now. The quick link tools need to be presented better. -- Mike
Modified layout of the Instructor/Index.pm module.
- Assigner and SetsAssignedToUser now refuse to unassign sets from the GlobalTableEmulator's "global user". Closes bug #283. - New "unassign from all users" button in Assigner. - Cosmetic changes to path() and title() in several modules.
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. ################################################################################
display can now be filtered by entering a user ID (or list of user IDs) or selecting a section or recitation from popup menus.
use getGlobalSets instead of getMergedSets. It speed things up a lot. -- Mike
Added timing code for Instructor::Index to Instructor::Index.pm and also to WeBWorK.pm. We can remove this once we have finished testing various database configs. --Mike
reworked UserList.pm to have a more modular structure: 1. all modification of user list happends in action_handler routines 2. the whole page is one form 3. view properties (what is shown? what is selected?) survive actions 4. can choose to apply actions to all/selected/visible users this is more useful than the old UserList, and can be seen as a prototype for additional refactoring. also fixed Index.pm to work with the new UserList interface.
Added button to link to scoring of sets. Removed some debugging warning messages. --Mike
A new version of the index page for instructor functions with a better layout. All of the buttons now do something appropriate, although several of the functions should be rewritten to be more efficient. For example it should be possible to change many students/dates at one time. There are other functions that should be added as well -- assigning students to sets for example. --Mike
cleanup
Added the ability to enter a new student from this page. It is much faster than from the class list. Of course it doesn't have full functionality yet. --Mike
Changed "1.0" to "1.9" for consistency
Increased cellpadding size in tables --Mike
Cosmetic modifications to the index pages of Stats and the instructor pages --MIke
Added bread crumbs (path subroutine) along the top of each of these pages. --Mike
added =cut near end of DB.pm file. before 1; (I thought I had already commited this????) --Mike
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
really /really/ fixed the instructor pages to use the new URL scheme -Dennis
Really fixed the Instructor links to use the new URL scheme this time -Dennis
Fixed a typo -Dennis
Added links to the old Professor pages. -Dennis
Added shell code for the UserList and ProblemSetList -Dennis
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an abstract superclass of all the instructor pages. -Dennis
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 |