summaryrefslogtreecommitdiff
path: root/tests/twisted/ns.py
AgeCommit message (Collapse)AuthorFilesLines
2012-12-06Test all this receipt stuff.Will Thompson1-0/+1
I did write this test as I went along, but I forgot to commit it. Whoops.
2012-11-23jingle: correctly send back unknown-session errorsWill Thompson1-0/+1
I broke this in c1be75d9 but it wasn't tested. Luckily WOCKY_JINGLE_ERROR_UNKNOWN_SESSION (2) is a valid WockyXmppError too so we didn't crash before, we just sent <gone> instead. https://bugs.freedesktop.org/show_bug.cgi?id=33789 is relevant.
2012-11-14Update Wocky snapshot to validate stanza namespacesWill Thompson1-0/+1
This breaks the console plugin, which checks if an entered stanza is of a known type, but <message xmlns=''> is not the same as <message xmlns='jabber:client'> so Wocky now says the former has type UNKNOWN. The plugin already had some code to fix up empty namespaces, but it's after the type check. For a better fix, I added API to give non-streaming WockyXmppReaders a default namespace, and used it here. In the course of fixing this, I found that telling the console to send this: <message> <body> hai </body> </message> would send this: <message xmlns='jabber:client'> <body xmlns=''> hai </body> </message> which is wrong: the empty namespace was not being fixed up recursively. This is fixed as a side-effect of the default-namespace property, but this patch also adds a test. https://bugs.freedesktop.org/show_bug.cgi?id=57016
2011-11-09namespaces: update metadata namespacesJonny Lamb1-2/+2
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-10-31namespaces: change FT metadata namespaceJonny Lamb1-2/+2
"and… im: is not a URI scheme. http://telepathy.im/..." Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-10-26ft-channel: include metadata in file transfer offerJonny Lamb1-0/+2
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-10-12RoomConfig: hook up reading most fieldsWill Thompson1-0/+1
This doesn't cover emitting PropertiesChanged (impossible until we expunge old-style properties), nor the current room password, nor changing any fields.
2011-06-27Support XEP-0012: Last ActivityMichael Scherer1-0/+1
Patch largely rewritten by Will, since Gabble has changed a lot in the two years since he rejected it on (in retrospect, shaky and unnecessarily hostile) grounds. Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=11688> Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
2011-02-14Add a test for jabber:iq:versionWill Thompson1-0/+1
2010-11-19tests: Support session establishment.Will Thompson1-0/+1
XMPP IM defines a "session establishment" stream feature: <http://xmpp.org/rfcs/rfc3921.html#session>. This is optional, and Wocky deals correctly with it being unsupported, but prpl-jabber assumes it's supported and just blindly sends it. We should send *a* reply to the IQ, whether success or an error, per XMPP Core; we may as well implement it properly. (I'm filing a bug against prpl-jabber just as soon as I recover my Pidgin Trac account, but still.)
2010-10-31Added tests for shared status.Eitan Isaacson1-0/+1
2010-09-14Add tests for TLS channelsCosimo Cecchi1-0/+3
2010-07-08Added invisibility tests.Eitan Isaacson1-0/+3
2010-06-10Merge branch 'igoogle-merge-test'Sjoerd Simons1-0/+2
2010-06-08Merge branch 'plugins'Will Thompson1-0/+1
Reviewed-by: André Moreira Magalhães <andre.magalhaes@collabora.co.uk> Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2010-06-08Merge branch 'iGoogled' into masterSjoerd Simons1-0/+2
Conflicts: extensions/all.xml src/Makefile.am src/debug.c src/debug.h src/ft-channel.c
2010-06-07Add a test for MCE device idleness supportWill Thompson1-0/+1
2010-06-04Added code to test sidecar own caps functionality.Andre Moreira Magalhaes (andrunko)1-0/+1
2010-06-03Add a (failing) test case for fd.o#27913Will Thompson1-0/+1
2010-04-12Fix the namespace for google share-v1 in the unit tests tooYouness Alaoui1-1/+1
2010-04-01Merge remote branch 'upstream/master' into muc-callsSjoerd Simons1-0/+1
Conflicts: src/call-channel.c
2010-03-30make sure that we do send a jingle-share session when providing the fileYouness Alaoui1-0/+1
2010-03-30Add a test for jingle share capabilitiesYouness Alaoui1-0/+1
2010-02-18Adding unit test for Google mail notificationNicolas Dufresne1-0/+1
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
2010-02-18Test that muc call channels pop up when requiredSjoerd Simons1-0/+1
2010-01-27Use XEP-0276 Temporary Presence Sharing, instead of our prototype versionSimon McVittie1-1/+1
Also improve jingle/decloak-peer.py to make better assertions about the presence stanza we use to decloak a peer.
2010-01-11presence/decloak.py: regression test for de-cloaking (or not)Simon McVittie1-0/+1
2009-10-06tests: use ns.VCARD_TEMP_UPDATE instead of hard coding 'vcard-temp:x:update'Alban Crequy1-0/+1
2009-09-11Merge branch 'telepathy-gabble-0.8' into master.Will Thompson1-2/+2
Conflicts: NEWS configure.ac
2009-09-10Bump raw-udp and ice-udp namespaces to :1Will Thompson1-2/+2
We never supported the <trying/> element, whose removal prompted the namespace bump in raw-udp. The namespace bump in ice-udp is due to the id='' attribute (which we support) and to keep the numbers the same across Jingle specs. There's no particularly pressing reason to support the old version: we prefer to use gtalk-p2p if possible anyway, so we're backwards-compatible with older Gabbles. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2009-09-04add PUBSUB_EVENT to ns.pyGuillaume Desmottes1-0/+1
2009-08-19Fetch non-xforms search fields from serverWill Thompson1-0/+1
2009-08-10test-location.py: use ns.pyGuillaume Desmottes1-0/+1
2009-08-10ns.py: add XML namespaceGuillaume Desmottes1-0/+1
2009-07-27ns: add raw UDPSimon McVittie1-0/+1
2009-06-27test for outgoing calls using ICE-UDPSenko Rasic1-0/+1
2009-06-26Actually look for jingle:rtp:{audio,video} capsWill Thompson1-0/+2
Previously, Gabble assumed that anyone who could do Jingle RTP could make video calls.
2009-06-25Bump Jingle namespacesWill Thompson1-2/+3
This will not break backwards compatibility with older Gabbles, since they will just fall back to the v0.15 draft of Jingle.
2009-06-25ns.py-ify jingletest2Will Thompson1-2/+9
2009-05-27Add google audio/video session namespacesSjoerd Simons1-0/+2
2009-05-21Define 'jabber:iq:roster' in ns.pyWill Thompson1-0/+1
2009-05-19Constants-ify test-alias-pepWill Thompson1-0/+1
2009-04-25Test disconnecting on <conflict/>Will Thompson1-0/+1
2009-04-08Add jabber:{x:oob,iq:register} to ns.pyWill Thompson1-0/+2
2009-04-07Merge branch 'hold-notification'Will Thompson1-0/+1
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2009-04-02Test sending <hold/> and <active/> notificationsWill Thompson1-0/+1
2009-03-26Merge branch 'master' into file-transferGuillaume Desmottes1-0/+1
2009-03-23Port test-save-alias-to-vcard.py to newer test apiWill Thompson1-0/+1
2009-02-26Merge branch 'socks5' into file-transferGuillaume Desmottes1-0/+2
Conflicts: tests/twisted/ns.py
2009-02-25ns.py: add Google roster and jingleinfo namespacesSimon McVittie1-0/+2