Methanal 0.2.1

Milestone information

Project:
Methanal
Series:
trunk
Version:
0.2.1
Released:
 
Registrant:
Jonathan Jacobs
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
17 Jonathan Jacobs
Blueprints:
1 Implemented
Bugs:
1 Invalid, 16 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon methanal-0.2.1.tar.gz (md5) Methanal 0.2.1 source code 49
last downloaded 4 days ago
Total downloads: 49

Release notes 

Methanal 0.2.1 (2010-07-23)
===================================

The new release brings some bug fixes, usability improvements (row striping,
dependency styling, a modification indicator) and some useful new features
(enhanced tab management in TabViews, pushing new content to DynamicTabs from
the server, visual grouping of tab labels in a TabView) but most importantly it
deprecates all the Grouped and Object ChoiceInput subclasses.

The correct way to perform grouping or passing arbitrary Python objects to
ChoiceInputs is to use an Enum. To group values in a ChoiceInput simply give
them all the same value (a Unicode string) for the "group" enumeration extra.
To use arbitrary Python objects the ObjectEnum type should be used to contain
EnumItem instances whose "value" is the Python object.

The following example demonstrates creating a SelectInput with two groups each
containing two values:

    values = Enum(
        'Grouped values',
        [EnumItem(u'1', u'Item 1', group=u'Group 1'),
         EnumItem(u'2', u'Item 2', group=u'Group 1'),
         EnumItem(u'3', u'Item 3', group=u'Group 2'),
         EnumItem(u'4', u'Item 4', group=u'Group 2')])
  SelectInput(..., values=values)

The following example demonstrates creating a MultiCheckboxInput backed by
arbitrary Python objects:

    ham = Ham(...)
    cheese = Cheese(...)
    tomato = Tomato(...)
    values = ObjectEnum(
        'Delicious sandwich ingredients',
        [EnumItem(ham, u'Ham'),
         EnumItem(cheese, u'Cheese'),
         EnumItem(tomato, u'Tomato')])
    MultiCheckboxInput(..., values=values)

Changelog 

View the full changelog

Methanal 0.2.1 (2010-07-23)
===================================

Features
--------
 - Tab labels can now be visually grouped into containers with labels. (#534431)
 - Numeric inputs will now accept user-specified bounds for the values they
   will accept, defaulting to the bounds that Axiom / SQLite can accomodate.
   (#605638)
 - Input dependencies now have styling to indicate that they are a parent,
   parent-child or child in a dependency. (#534450)
 - Form rows are now striped in alternating colors to make them more easily
   distinguishable. (#534458, #604272)
 - TabView widgets now support removing, updating and adding tabs on both the
   server and client side. DynamicTabs now support pushing content refreshes
   from the server side. (#558711)
 - TextInput will now, by default, return a value that excludes leading and
   trailing whitespace. (#603295)
 - LiveForms that have had any of their inputs modified, and have not been
   submitted or reset, will now indicate this with an icon and short message
   next to the submit button. (#604566)
 - ChoiceInput now supports both grouping and arbitrary Python objects, with
   the help of Enum, enhancing all ChoiceInput subclasses to support these
   features and deprecating all Grouped and Object ChoiceInput subclasses.
   (#536982, #557675, #557679).

Bugfixes
--------
 - ModalDialogForm now only closes a ModalDialog on successful submission.
   (#600364)
 - Validators now disregard the values of inactive inputs, e.g. those hidden by
   dependency handlers. (#603978)
 - Numeric inputs will now check, on both the client and server side, that
   their value is within the bounds of the integer types that Axiom / SQLite is
   able to store. (#518606)
 - LiveForm.setValid will no longer re-enable actions, that were disabled
   because of submission, before submission has completed successfully.
   (#604969)

Other
-----
 - #604980

1 blueprint and 17 bugs targeted

Blueprint Priority Assignee Delivery
Tab groups Tab groups 3 Medium Jonathan Jacobs  11 Implemented
Bug report Importance Assignee Status
534924 #534924 Numeric inputs should only allow relevant characters to be input 6 Wishlist   3 Invalid
536982 #536982 ObjectMultiChoiceMixin subclasses break when param value is None 3 High Jonathan Jacobs  10 Fix Released
557675 #557675 ObjectGroupedSelectInput is broken 3 High Jonathan Jacobs  10 Fix Released
600364 #600364 ModalDialogForm closes dialog on submission error 3 High Jonathan Jacobs  10 Fix Released
603978 #603978 Validators are run against values in hidden fields 3 High Jonathan Jacobs  10 Fix Released
518606 #518606 Form validation for really large numbers 4 Medium Jonathan Jacobs  10 Fix Released
534431 #534431 Tab grouping 4 Medium Jonathan Jacobs  10 Fix Released
604272 #604272 Control striping considers all controls when it should only consider rows 4 Medium Jonathan Jacobs  10 Fix Released
604969 #604969 LiveForm.setValid enables actions even if the form is busy submitting 4 Medium Jonathan Jacobs  10 Fix Released
605638 #605638 Numeric inputs should be able to specify minimum and maximum acceptable values 4 Medium Jonathan Jacobs  10 Fix Released
534450 #534450 Visually identify form input dependencies 5 Low Jonathan Jacobs  10 Fix Released
534458 #534458 Form inputs are hard to separate visually 5 Low Jonathan Jacobs  10 Fix Released
604980 #604980 MockHTMLSelectElement and MockHTMLOptionElement should behave like real browser inputs 5 Low Jonathan Jacobs  10 Fix Released
557679 #557679 Grouped MultiCheckboxInput 6 Wishlist Jonathan Jacobs  10 Fix Released
558711 #558711 Expand server-side API for TabView 6 Wishlist Jonathan Jacobs  10 Fix Released
603295 #603295 TextInput should have a mode to transparently strip whitespace from user input 6 Wishlist Jonathan Jacobs  10 Fix Released
604566 #604566 Visually indicate that a form has changed since last successful submission 6 Wishlist Jonathan Jacobs  10 Fix Released
This milestone contains Public information
Everyone can see this information.