Changeset 31:45f3d59431c2
- Timestamp:
- Aug 5, 2008, 7:56:13 PM (14 years ago)
- Branch:
- default
- Children:
- 32:55864b12be3d, 106:7db576ce0ac7
- Convert:
- svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@61
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
NEWS
r21 r31 1 0.4.0 (2008-08-05) 2 ================== 3 4 - Refactoring of Data Forms support (#13). 5 - Added support for Stanza Headers and Internet Metadata (SHIM) (#14). 6 - API change for PubSubClient's methods called upon event reception (#14). 7 - Added client-side support for removing roster items. 8 - Implement type checking for data forms (#15). 9 - Added support for publish-subscribe collections: 10 - Correct handling for the root node (empty node identifier). 11 - Send out SHIM 'Collection' header when appropriate. 12 - New Subscription class for working with subscriptions. 13 - API change for PubSubService: 14 - The subscribe method returns a deferred that fires a Subscription 15 - The subscriptions method returns a deferred that fires a list of 16 Subscriptions. 17 - notifyPublish's notifications parameter now expects a list of tuples 18 that includes a list of subscriptions. 19 - Added PubSubService.notifyDelete to allow sending out node deletion 20 notifications. 21 22 1 23 0.3.1 (2008-04-22) 2 24 ================== -
README
r21 r31 1 Wokkel 0. 3.11 Wokkel 0.4.0 2 2 3 3 What is this? -
setup.py
r21 r31 7 7 8 8 setup(name='wokkel', 9 version='0. 3.1',9 version='0.4.0', 10 10 description='Twisted Jabber support library', 11 11 author='Ralph Meijer', -
wokkel/disco.py
r30 r31 1 1 # -*- test-case-name: wokkel.test.test_disco -*- 2 2 # 3 # Copyright (c) 2003-200 7Ralph Meijer3 # Copyright (c) 2003-2008 Ralph Meijer 4 4 # See LICENSE for details. 5 5 -
wokkel/iwokkel.py
r30 r31 262 262 to. 263 263 @type nodeIdentifier: C{unicode} 264 @param notifications: The notifications as tuples of subscriber and 265 the list of items to be notified. 264 @param notifications: The notifications as tuples of subscriber, the 265 list of subscriptions and the list of items to be 266 notified. 266 267 @type notifications: C{list} of (L{jid.JID}, C{list} of 267 L{domish.Element}) 268 """ 269 270 def notifyDelete(service, nodeIdentifier, recipients): 268 L{Subscription<wokkel.pubsub.Subscription>}, 269 C{list} of L{domish.Element}) 270 """ 271 272 def notifyDelete(service, nodeIdentifier, subscriptions): 271 273 """ 272 274 Send out node deletion notifications. … … 276 278 @param nodeIdentifier: The identifier of the node that was deleted. 277 279 @type nodeIdentifier: C{unicode} 278 @param recipients: The entities that the notification is sent to. 279 @type notifications: C{list} of L{jid.JID} 280 @param subscriptions: The subscriptions for which a notification should 281 be sent out. 282 @type subscriptions: C{list} of L{jid.JID} 280 283 """ 281 284 … … 308 311 @param subscriber: The entity to be subscribed. 309 312 @type subscriber: L{jid.JID} 310 @return: A deferred that fires with a C{str} representing the311 subscription state, C{'subscribed'} or C{'pending'}.313 @return: A deferred that fires with a 314 L{Subscription<wokkel.pubsub.Subscription>}. 312 315 @rtype: L{defer.Deferred} 313 316 """ … … 338 341 @param service: The entity the request was addressed to. 339 342 @type service: L{jid.JID} 340 @return: A deferred that fires with a C{list} of suscriptions as 341 C{tuple}s of (node identifier as C{unicode}, subscriber as 342 L{jid.JID}, subscription state as C{str}). The subscription 343 state can be C{'subscribed'} or C{'pending'}. 343 @return: A deferred that fires with a C{list} of subscriptions as 344 L{Subscription<wokkel.pubsub.Subscription>}. 344 345 @rtype: L{defer.Deferred} 345 346 """ -
wokkel/test/test_disco.py
r30 r31 1 # Copyright (c) 2003-200 7Ralph Meijer1 # Copyright (c) 2003-2008 Ralph Meijer 2 2 # See LICENSE for details. 3 3
Note: See TracChangeset
for help on using the changeset viewer.