Difference between revisions of "Release notes for WeBWorK 2.5.0"
Jump to navigation
Jump to search
Line 80: | Line 80: | ||
* Applied Kevan Carstensen's patch for more granular LDAP failover (bug #1926) |
* Applied Kevan Carstensen's patch for more granular LDAP failover (bug #1926) |
||
* MathJax has been updated. Our svn update pulls the latest updates from the MathJax central site. |
* MathJax has been updated. Our svn update pulls the latest updates from the MathJax central site. |
||
+ | * added to PGbasicmarocs |
||
+ | ** refreshEquations(1); |
||
+ | Prevents equations generated in "image mode" from being cached. |
||
+ | This can be useful for debugging. |
||
+ | It has no effect in the other modes. |
||
==Potential Gotchya's== |
==Potential Gotchya's== |
Revision as of 21:55, 7 July 2011
WeBWorK Online Homework Delivery System Version 2.5.0 Copyright 2000-2011, The WeBWorK Project All rights reserved. Details ------- Release date: July 12, 2011 SVN tag: rel-2-5-0 SVN url/branch: http://svn.webwork.maa.org/system/trunk module Modules: webwork2 pg
IMPORTANT!! Be sure to inspect changes in the configuration files when upgrading to this release.
VERY IMPORTANT!! Transfer changes from database.conf.dist to your database.conf file. In particular there are changes in the schema for "depths", "set", "set_user". In most cases you can simply copy the new database.conf.dist file to your database.conf file (unless you have made local changes, which is rare). Without these changes you will get errors regarding "visible" and "published" for older courses and can add extraneous fields to your course database.
ALWAYS check the error log (often at webwork/webwork2/logs/error_log ) when something goes wrong --- there may be extra error information there. An alternate location is /var/log/apache/error_log
Contents
Latest News
- July 7, 2011 -- as of a few days ago the "trunk" version at http://svn.webwork.maa.org/system/trunk/webwork2 coincides with the release described here. It is a stable release and is currently being used on tested.webwork.maa.org to host courses.
New features 2.5.0
- The new Library Browser 2 with drag and drop capabilities -- try it out -- will still need some graphic design tweaks. The basic search feature works, but the advanced search features are not yet ready. (The buttons are there but they don't work yet.)
- This is a good time to make user interface (UI) suggestions about the library browsers since development is continuing with the results due for version 2.5.1
- When creating a new homework set from the library, from scratch or when importing it from a set definition file, the set is automatically assigned to the instructor creating it. You are no longer asked for permission. This prevents other extraneous errors that would sometimes occur later if the set is viewed before being assigned to someone.
- Correct and incorrect answers are now color coded! The answer box borders are highlighted with red and green colors.
New features for PG 2.5.0
- Updated AnswerFormatHelp.pl and its POD documentation. (thanks to Paul Pearson)
- Completely redone: POD documentation added, help documents now appear as a mask over the current page rather than in a separate window, all help documents are contained in macro file so no external files need to be maintained, detects whether log=ln or log=logten and delivers appropriate help message, allows for custom help documents using text specified in the PG file (no external files needed).
- add three new specialized macro packages (Davide Cervone)
- contextTypeset.pl and its supporting file parserQuotedString.pl are used for PGML
- the answerDiscusson.pl is a proof of concept for allowing student written feedback.
- Matrix MathObjects now have the calculational abilities of the "RealMatrix" objects. In particular one can take determinants and calculate LR decompositions. Macros which depend on these objects work but are still being updated to take full advantage of the new capabilities. There should no longer be any need to call RealMatrix objects directly (via the command "new Matrix;") (Davide Cervone)
- Known bug: color coding of answer blanks in matrices works only for the first answer blank -- this will be fixed as soon as possible.
- Updates to contextReaction.pl macros for chemical formulae. (Davide Cervone)
- Three simple set header files created in modelCourse (Arnie Pizer)
- webwork2/courses.dist/modelCourse/templates/ASimpleCombinedHeaderFile.pg
- webwork2/courses.dist/modelCourse/templates/ASimpleHardCopyHeaderFile.pg
- webwork2/courses.dist/modelCourse/templates/ASimpleScreenHeaderFile.pg
- added AddToTexPreamble($str ) to PGbasicmacros to allow short macro definitions (see POD docs)
- addToTeXPreamble("\newcommand{\myVec}[1]{\vec{#1}} ");
Defines C<\myVec > for all the equations in the file. You can change the vector notation for an entire PG questionby changing just this line. For consistent behavior with hardcopy place this macro before any text is generated for the question. This should work for short TeX macro definitions such as the one above. It is very likely to break if you try to use it for complicated TeX commands. YMMV.
If you place this macro in PGcourse.pl remember to use double backslashes because it is a .pl file. In .pg files use single backslashes. This is in accordance with the usual rules for backslash in PG.
National Problem Library
- Many, many bug fixes for individual problems. Too numerous to mention. (thanks Gavin larose, John Jones and many other
Under the hood
- The names "published" and "unpublished" have been changed to "visible" and "hidden" throughout the code. Having the terms in the application code different than those presented to the user was eventually going to cause trouble (when the original programmers moved on :-) )
- Removed some causes of the "non-numeric compare" error in GatewayQuiz.pm
- Error message for DateTime errors made slightly more user friendly.
- Resolved issues with ip_mask in LocationAddresses.pm
- Applied Kevan Carstensen's patch for more granular LDAP failover (bug #1926)
- MathJax has been updated. Our svn update pulls the latest updates from the MathJax central site.
- added to PGbasicmarocs
- refreshEquations(1);
Prevents equations generated in "image mode" from being cached. This can be useful for debugging. It has no effect in the other modes.
Potential Gotchya's
- The RFT5746 warning message -- not all servers are up to date with a patch that fixes this exploit. Some of the newer browsers display this message. I've been mislead into thinking that it was the cause of a more serious browser hang problem when in fact the message is only a warning. It is a security error so the maintainer of the apache server should install patches to fix it.
- After updating your software via svn go to the admin page and update at least one course. This insures that the "depths" table and the "locations_address" table are created properly.
- If your browser hangs or seems to be behaving in a funny way when using library browser 2 you may need to do "shift reload" on your browser a few times to get rid of cached javaScripts which are causing trouble.
- If your browser hangs try to see if it work in other browsers. For example while library browser 2 will work with the newest versions of FireFox 3 and the brand new Firefox 4 it will hang on older Firefox 3 browsers. It uses a structure called "formData" which the older browsers don't support. One tweak that will be done for version 2.5.1 is to make the library browser 2 either work or fail more gracefully on these older browsers.