*** This file is closed. For details on newer releases, look in HISTORY.txt *** 2005-09-23 Sidnei da Silva * FormController.py (FormController.validate): Avoid waking up REQUEST.SESSION. 2005-07-24 Hanno Schlichting (hannosch) * Added a runalltests.py to tests folder 2005-07-03 Geoff Davis (plonista) * Added missing manage_purgeForm * 1.0.5 beta release 2005-06-30 Martin Aspeli (optilude) * (Actions/TraverseToAction.py, Actions/RedirectToAction.py) Fixed action handling for CMF 1.5 method aliases. 2005-06-11 Leonard Norrgard * (Actions/TraverseTo.py): Corrected docs for traverse_to. 2004-11-27 Geoff Davis (plonista) * 1.0.4 release 2004-11-07 Geoff Davis (plonista) * Fixed handling of image buttons 2004-10-17 Geoff Davis (plonista) * Added tutorial from the Plone Conference to /documentation * Fixed copying of actions and validators when objects are renamed / copied / pasted. * Added a new tab on portal_form_controller to handle outdated overrides. * Added a few unit tests. * Updated the version to 1.0.4 alpha 2004-07-10 Geoff Davis (plonista) * Made previous fixes play nicely with Python 2.1 * Got rid of some code in manage_afterAdd that caused problems during site imports 2004-06-15 Geoff Davis (plonista) * Modified filesystem objects so that they check for updates to .metadata files in debug mode. A change in a .metadata file causes the file to be reloaded and reparsed. The new methods are in FSControllerBase.py. * Added a check for a common action/validator bug: In IE, you can submit a form using the Return key. The result is that no button is clicked. If you specify actions for, say, success..Button1 and success..Button2, but the user submits the form using the Return key, you will get an exception because no next action is found. The new check makes sure that you specify a default next action in the event of no button pressed. 2004-03-12 Geoff Davis (plonista) * Added some error handling to better deal with validators that don't return the state object. * Fixed the version number * Released 1.0.1 2004-03-09 Geoff Davis (plonista) * Cleaned up the example code, fixed license info, released 1.0! 2004-03-05 Geoff Davis (plonista) * Got rid of some spurious warnings about "Unknown context type" when installing new templates with .metadata specifying actions/validators for all types. 2004-03-03 Geoff Davis (plonista) * Fix default scripts 2004-03-03 Geoff Davis (plonista) * Minor cleanup, release RC3. 2004-03-02 Geoff Davis (plonista) * Fixes for 2773 (handling of image buttons) and 2779 (xml import problems) 2003-01-30 Geoff Davis (plonista) * Minor cleanup, release RC2. 2004-01-16 Jim Roepcke (jimroepcke) * Remove acquisition wrappers from keys and values before putting them in the action and validator containers. 2003-12-19 Geoff Davis (plonista) * Moved warning for actions / validators with unknown context types to ControllerBase so that it is invoked only when metadata files are loaded. 2003-12-16 Geoff Davis (plonista) * Added more descriptive error message for "No controller state available" * Added license. 2003-12-03 Geoff Davis (plonista) * Changed exception for actions / validators with unknown context types to a warning, since there appear to be times at which the complete list of types is unavailable (e.g. during site copying / moving) 2003-12-02 Geoff Davis (plonista) * Strip acquisition layers from actions and validators before doing ZODB clone 2003-11-12 Geoff Davis (plonista) * FormController.py: Fixed bug in addFormValidators (thanks alienoid) * Added code to report file in which metadata errors occur. 2003-10-29 Geoff Davis (plonista) * Fixed code that tests for existence of validators and objects being traversed to. You'll get a helpful ValueError now instead of a cryptic Unauthorized exception when things aren't found. * Dump the full file name to the log when a .metadata file's [actions] or [validators] sections can't be read properly. * Fixed the version number. D'oh. 2003-10-25 Geoff Davis (plonista) * Fixed validation for scripts so that it will work when scripts are called programmatically and/or from unit tests (e.g. without a REQUEST) * Added missing initial self.validators and self.actions to ControllerPythonScripts 2003-10-24 Geoff Davis (plonista) * Modified the getError/setError methods in FormControllerState to be more tolerant of non-i18ned error messages. * Updated info about CMF 1.3 installation thanks to more info from Laurent Mallet (Ellis). * Documented CallProfiler patch (thanks to Andy McKay = andym) * Added patch to make debugging work properly in Wing IDE (may require patches to CMFCore, too). Thanks to Stephan Deibel. 2003-10-23 Geoff Davis (plonista) * Laurent Mallet informs me that to make CMFFormController work with CMF 1.3.x, you need to copy FSPythonScript from CMF 1.4.x's CMFCore directory to CMF 1.3.x's CMFCore directlry. Updated README.txt 2003-10-21 Geoff Davis (plonista) * Added better error handling for validation. Make sure validators are really CMFFormController validators (weird things happen if not), make sure validators can be found. 2003-10-20 Geoff Davis (plonista) * Added nicer methods for programmatically adding actions and validators 2003-10-18 Geoff Davis (plonista) * Improved error handling for errors in traverse_to 2003-10-17 Geoff Davis (plonista) * Added documentation into ZMI tab * Moved documentation text on ZMI forms to reduce need to scroll 2003-10-15 Geoff Davis (plonista) * Fixed metadata type for Controller Validators * Added validators and UI for validators to python scripts 2003-10-08 Geoff Davis (plonista) * Added a missing import to Script.py * Fixed the way redirect actions handle items in the query string. There may still be problems with anchors in the redirect -- need to check on this. 2003-10-07 Geoff Davis (plonista) * Added more detailed error messages when next action can't be found. Hopefully this will make people less mystified when they screw up their .metadata files. 2003-09-27 Geoff Davis (plonista) * Bound the state to the global variable 'state' in controller scripts and validators. One less line of code to write! 2003-09-27 Geoff Davis (plonista) * Added a forgotten import statement in ControllerPythonScript * ControllerValidators don't use actions or validators so the actions tab has been removed * Fixed the customize function so that it copies actions and validators when you customize an FSControllerPageTemplate or an FSControllerPythonScript 2003-09-23 Geoff Davis (plonista) * Renamed classes (ControlledX to ControllerX) * Created separate ControllerValidator and FSControllerValidator classes * Made new defaults for ControllerValidator and for ControllerPythonScript classes 2003-08-17 Geoff Davis (plonista) * Modified the validation of validators in FormValidator to allow for validators in which a directory path is specified. 2003-08-08 Geoff Davis (plonista) * Modified the way that ControllerState objects store the context. For reasons I don't completely understand, the old way I was storing them trashed the stored object's acquisition context (even when they were properly unwrapped via aq_inner). The fix is kind of evil: I store the context in a list, so the acquisition context is unchanged by the container. This will wreak havoc if we ever try to persist ControllerState objects, but this shouldn't have to happen, since we just pass around the state objects in the REQUEST. * Added a default.html file that has some useful default content for ControlledPageTemplates that are created in the ZMI. 2003-08-06 Kevin Teague (Wheat) * Minor corrections and edits to the documentation within the ZMI Validation and Actions tabs. Added an example of setting portal_status_message from a script using state.setKwargs() in the docs. 2003-08-01 Kevin Teague (Wheat) * Updated the documentation to reflect the new .metadata file method. 2003-07-30 Geoff Davis (plonista) * Things now work if the validators section of the .metadata file is empty. Also fixed problem with ControlledPageTemplateFile not getting the right path to the .metadata file. 2003-07-30 Geoff Davis (plonista) * Added instructions for making CMFFormController work with CMF 1.3 to the README file. 2003-07-30 Geoff Davis (plonista) * .metadata files didn't load properly if they didn't contain both an actions section and a validators section. Fixed. 2003-07-30 Kevin Teague (Wheat) * Prettied up the ZMI tables for Default Actions and Default Validators 2003-07-27 Geoff Davis (plonista) * Complete refactoring. Default properties are now specified in .metadata files when appropriate. 2003-07-04 Geoff Davis (plonista) * Initial check-in