Changeset 54:03ec57713c90 in ralphm-patches for roster_server.patch


Ignore:
Timestamp:
Nov 2, 2011, 9:36:54 AM (11 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Upstreamed Request patches, split out c2s patches in managable chunks, prepare for release of Wokkel 0.7.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roster_server.patch

    r51 r54  
    11Add server side support for the roster protocol.
    22
    3 diff -r 6604e0dc687c wokkel/im.py
    4 --- a/wokkel/im.py      Wed Jun 01 09:35:07 2011 +0200
    5 +++ b/wokkel/im.py      Wed Jun 01 21:13:19 2011 +0200
     3 * Implements roster get by calling `getRoster` and using the returned `list`
     4   of `RosterItem`s to send back the roster.
     5
     6TODO:
     7 * Add more docstrings.
     8 * Use `dict` instead of `list` as return value of `getRoster`.
     9 * Add support for roster sets?
     10
     11diff -r e3c41b054210 wokkel/im.py
     12--- a/wokkel/im.py      Wed Oct 05 09:32:22 2011 +0200
     13+++ b/wokkel/im.py      Wed Oct 05 09:38:26 2011 +0200
    614@@ -23,6 +23,7 @@
    715 NS_ROSTER = 'jabber:iq:roster'
     
    5361+    def getRoster(self, entity):
    5462+        raise NotImplementedError()
    55 diff -r 6604e0dc687c wokkel/test/test_im.py
    56 --- a/wokkel/test/test_im.py    Wed Jun 01 09:35:07 2011 +0200
    57 +++ b/wokkel/test/test_im.py    Wed Jun 01 21:13:19 2011 +0200
     63diff -r e3c41b054210 wokkel/test/test_im.py
     64--- a/wokkel/test/test_im.py    Wed Oct 05 09:32:22 2011 +0200
     65+++ b/wokkel/test/test_im.py    Wed Oct 05 09:38:26 2011 +0200
    5866@@ -844,3 +844,80 @@
    5967         d.addCallback(cb)
Note: See TracChangeset for help on using the changeset viewer.