Commit graph

93 commits

Author SHA1 Message Date
Denis Fomin
a39f09bb46 Add missing import 2010-12-09 18:32:53 +03:00
Yann Leboulanger
2c1f20b773 use NEC to handle file request (error) events 2010-12-08 21:17:08 +01:00
Yann Leboulanger
6a2651ebd5 use NEC to handle agent info / items events 2010-11-29 12:53:50 +01:00
Yann Leboulanger
c104199f6c handle presences before caps. Fixes #6046 2010-11-24 09:19:38 +01:00
Yann Leboulanger
d94a85f5a2 use NEC to handle caps events 2010-11-17 17:27:36 +01:00
Yann Leboulanger
35039100ff fix changing account name. Fixes #5891 2010-09-08 22:26:04 +02:00
Yann Leboulanger
f951df7ead ability to accept correct content by its name, not only by it's media 2010-08-26 11:09:35 +02:00
Yann Leboulanger
286d788da0 Name of filetransfer content is now random to be able to have 2 transfer in the same session. send and handle content-add in filetranfer 2010-08-26 10:36:58 +02:00
Yann Leboulanger
833983eab8 - use transport sid to compute hash sent to proxies
- Don't use XTLS when using proxies
2010-08-25 12:05:14 +02:00
Yann Leboulanger
a63d16fa20 uncommenta line commented for tests. Fixes #5861 2010-08-20 20:24:03 +02:00
Yann Leboulanger
092bde6389 merge from trunk 2010-08-17 15:45:34 +02:00
Yann Leboulanger
cbd384ed31 send IBB data in Iq instead of Message 2010-08-17 15:42:34 +02:00
Yann Leboulanger
a3863703f0 merge from trunk 2010-08-16 17:32:23 +02:00
Yann Leboulanger
1e0448af35 announce both IBB and bytestream 2010-08-16 16:11:53 +02:00
Yann Leboulanger
eb589020ed ability to send / receive file using IBB based on xmpppy implementation. Fixes #2331 2010-08-16 14:33:50 +02:00
Zhenchao Li
08c854aefa put local certificates in ~/.config/gajim/ , accept session once key exchange completes 2010-08-11 00:50:14 +08:00
Zhenchao Li
91a68d30be add code to send/request certificates 2010-08-10 20:34:46 +08:00
Yann Leboulanger
6f22aa9d54 don't show in console that computed caps hash is incorrect 2010-07-27 10:37:10 +02:00
Zhenchao Li
84debaabca if peer does not include a security element in content node, set use_security to false 2010-07-22 16:20:14 +08:00
Zhenchao Li
e75dc0c408 fix incorrect use of jid where account name should be used as parameter 2010-07-15 14:32:34 +08:00
Yann Leboulanger
dd38dcee5e don't send a canceld filetransfer. Fixes #3586 2010-07-06 22:11:43 +02:00
Zhenchao Li
92988cf2ba fix bug: use jid without resource 2010-07-05 19:54:59 +08:00
Zhenchao Li
14fe189b00 send transport info, start "send_file" after receiving transport-info.
TODO: implement file transfer complete callback, various session management code for abnormal FT interactions.
2010-07-05 13:46:53 +08:00
Zhenchao Li
d0adcb1a05 dispatch iq-result for a jingle iq stanza, start listener after iq-result on session-initiate. 2010-07-03 16:22:47 +08:00
Zhenchao Li
2203755734 parse transport, construct streamhosts 2010-07-01 15:48:44 +08:00
Zhenchao Li
2b745570ec add file_props structure to socks5queue 2010-07-01 13:25:33 +08:00
Zhenchao Li
b85e7849e8 contruct transport candidates for jingle socks5 bytestream 2010-06-19 22:52:17 +08:00
Zhenchao Li
e61e5db0b7 fix coding style: use 'is' operator when comparing object to None. put space around '%' operator. remove redundant str() on arguments. 2010-06-14 21:21:22 +08:00
Zhenchao Li
5f96675d56 send session-accept stanza if user approve file transfer 2010-06-14 20:41:24 +08:00
Yann Leboulanger
2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger
72f10672e5 split XEP-0096 (FT negociation) and XEP-0066 (Socks5 bytestream) into 2 clases 2010-02-22 16:29:01 +01:00
Éric Araujo
fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Stephan Erb
54ad65c744 Show warning if calculated and received caps hash are different. 2009-12-27 16:23:31 +01:00
Alexander Cherniuk
d7cefc1e43 Removed trailing space 2009-12-19 13:49:10 +02:00
Yann Leboulanger
4b9e7f19a5 add missing import to common/protocol/bytestream.py. Fixes #5520 2009-12-19 10:26:03 +01:00
Stephan Erb
a48087aae7 Don't traceback when receiving entity capabilties. Fixes #5492
This is a workaround until the whole update_contact method is gone. It should not be needed.
2009-12-13 00:55:04 +01:00
Stephan Erb
9eb35dcf18 Split send_socks5_info monster method into smaller methods. (Extract Method Refactoring)
(I don't think what we have here is good, but it is atleast readable)
2009-12-11 01:00:29 +01:00
Stephan Erb
9bfb5753c2 Move three methods from filetransfer_window to protocol/bytestream.
One of the methods was duplicated. Additionally, apply a very few coding standards.
2009-12-10 23:53:39 +01:00
Stephan Erb
24e2047fe3 Remove obvious code duplication. 2009-12-10 23:22:51 +01:00
Stephan Erb
bb50871bce Remove logging of callback method calls. Such cross-cutting concerns are better directly implemented in the xmpp dispatcher. 2009-12-10 23:01:48 +01:00
Stephan Erb
f846d51f07 Follow the most basic coding standards. 2009-12-10 22:09:37 +01:00
Stephan Erb
d48202d221 Move ConnectionBytestream to common/protocols. 2009-12-10 21:52:32 +01:00
Stephan Erb
e9caf06992 Split common/caps.py. We now have common/protocol/ to contain XMPP connection related classes.
Plan is to move our ConnectionX classess to the protocol package one by one. Each move should be more than a simple copy paste. It should be preceeded by cleanups and the like.
2009-12-10 20:06:46 +01:00