Changeset 31:45f3d59431c2


Ignore:
Timestamp:
Aug 5, 2008, 7:56:13 PM (13 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Children:
32:55864b12be3d, 106:7db576ce0ac7
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@61
Message:

Release Wokkel 0.4.0.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    r21 r31  
     10.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
    1230.3.1 (2008-04-22)
    224==================
  • README

    r21 r31  
    1 Wokkel 0.3.1
     1Wokkel 0.4.0
    22
    33What is this?
  • setup.py

    r21 r31  
    77
    88setup(name='wokkel',
    9       version='0.3.1',
     9      version='0.4.0',
    1010      description='Twisted Jabber support library',
    1111      author='Ralph Meijer',
  • wokkel/disco.py

    r30 r31  
    11# -*- test-case-name: wokkel.test.test_disco -*-
    22#
    3 # Copyright (c) 2003-2007 Ralph Meijer
     3# Copyright (c) 2003-2008 Ralph Meijer
    44# See LICENSE for details.
    55
  • wokkel/iwokkel.py

    r30 r31  
    262262                               to.
    263263        @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.
    266267        @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):
    271273        """
    272274        Send out node deletion notifications.
     
    276278        @param nodeIdentifier: The identifier of the node that was deleted.
    277279        @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}
    280283        """
    281284
     
    308311        @param subscriber: The entity to be subscribed.
    309312        @type subscriber: L{jid.JID}
    310         @return: A deferred that fires with a C{str} representing the
    311                  subscription state, C{'subscribed'} or C{'pending'}.
     313        @return: A deferred that fires with a
     314                 L{Subscription<wokkel.pubsub.Subscription>}.
    312315        @rtype: L{defer.Deferred}
    313316        """
     
    338341        @param service: The entity the request was addressed to.
    339342        @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>}.
    344345        @rtype: L{defer.Deferred}
    345346        """
  • wokkel/test/test_disco.py

    r30 r31  
    1 # Copyright (c) 2003-2007 Ralph Meijer
     1# Copyright (c) 2003-2008 Ralph Meijer
    22# See LICENSE for details.
    33
Note: See TracChangeset for help on using the changeset viewer.