Robin Gloster
afc939708f
cleanup semicolons, whitespace and mutable default arguments
2014-08-23 12:47:29 +02:00
Lance Stout
aabec8b993
Fix some more Unicode in **kwargs issues in Py2.6
2014-08-21 10:05:42 -07:00
Robin Gloster
3dd379cdf1
Revert "cleanup semicolons, whitespace and mutable default arguments"
...
This reverts commit 7265682a4d
.
2014-08-18 15:15:14 +02:00
Robin Gloster
7265682a4d
cleanup semicolons, whitespace and mutable default arguments
2014-08-18 00:52:24 +02:00
Lance Stout
d8c9662302
Resolve most Python3.3 related issues.
...
Tests now run successfully. Occasionally get single error related to
duplicated payload data in pubsub items when copying stanza values.
2013-02-14 01:24:09 -08:00
Lance Stout
63b58edda1
Allow passing form instructions as a list of strings.
2012-10-19 00:06:45 -07:00
Lance Stout
116bb6e1b9
Use OrderedDicts instead of regular dictionaries when returning values from forms.
2011-12-13 09:00:45 -08:00
Lance Stout
9c6dde5d22
Ensure that item fields have the proper type.
...
The item fields were not setting their type based on the reported
field's type attribute, so values were not being encoded properly.
Fixes issue #121
2011-12-13 08:59:39 -08:00
Lance Stout
331db30f8f
Add form.field back in for backwards compatibility.
2011-08-13 08:34:23 -07:00
Lance Stout
9b7ed73f95
Reorganize XEP-0004.
...
Changes:
May now use underscored method names
form.field is replaced by form['fields']
form.get_fields no longer accepts use_dict parameter, it always
returns an OrderedDict now
form.set_fields will accept either an OrderedDict, or a list
of (var, dict) tuples as before.
Setting the form type to 'submit' will remove extra meta data
from the form fields, leaving just the 'var' and 'value'
Setting the form type to 'cancel' will remove all fields.
2011-08-11 21:59:55 -07:00