Commit graph

4440 commits

Author SHA1 Message Date
Zhenchao Li
ae97a3ed83 wrap IO operations on SSL.Connection objects in try, catch SSL exceptions caused by SSL rehandshake request and simply ignore, retrying the IO should succeed. 2010-07-29 21:40:40 +08:00
Yann Leboulanger
79297d919c Fix wrong event name 2010-07-28 21:00:39 +02:00
Yann Leboulanger
05a1af2c55 merge plugin system to trunk 2010-07-28 14:11:46 +02:00
Zhenchao Li
2b603fd7e1 add some code to allow testing using some pre-existing certificates.
TODO: manually handle handshake states to allow non-blocking I/O
2010-07-27 21:29:12 +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
e9af72e944 add jingle_xtls.py, get_context helper function 2010-07-27 13:02:44 +08:00
Zhenchao Li
216c370c1f add fingerprint argument, we shall use it to retrieve certificates later on. 2010-07-26 20:57:11 +08:00
Yann Leboulanger
0c14e5c266 prepare 0.14 beta1 2010-07-24 22:08:21 +02:00
Zhenchao Li
797b3fe6a9 remove unnecessary branch 2010-07-24 10:12:54 +08:00
Yann Leboulanger
1d0ed41d15 improve connection time. Fixes #5764 2010-07-22 20:56:50 +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
30cbdce234 if the peer supports jingle XTLS, send session-initiate with security element 2010-07-22 15:05:06 +08:00
Yann Leboulanger
33c155d889 use nec / ged to dispatch gmail event 2010-07-21 23:14:50 +02:00
Alexander Cherniuk
314342ada2 Added an ability to execute a command when a new Gmail event arrives. Thanks to umonkey. Fixes #5818 2010-07-20 20:15:44 +03:00
Yann Leboulanger
8595638cb4 use nec / ged to handle time, version and last received event 2010-07-20 16:53:07 +02:00
Yann Leboulanger
01d486ec60 use Network Event Dispatcher in connection_handler to handle HttpAuth events. 2010-07-20 10:35:38 +02:00
Yann Leboulanger
796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Zhenchao Li
4583482246 add namespace for XTLS 2010-07-19 14:21:01 +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
Zhenchao Li
7d0029879a send proxy activated stanza to peer 2010-07-15 13:38:53 +08:00
Zhenchao Li
2938838f54 remove "pass" 2010-07-13 10:43:14 +08:00
Zhenchao Li
c29fbdb617 enable FT over proxy 2010-07-13 10:38:31 +08:00
Zhenchao Li
2fec9f56f3 generate proxy host correctly 2010-07-12 10:20:31 +08:00
Yann Leboulanger
337b09d389 create ~/.config and ~/.cache folder if they don't exist 2010-07-10 11:03:46 +02:00
Zhenchao Li
d55ba9269e fix bug: assign jingle session id as sid in file_props, so that file transfer window gets updated correctly for the sender. 2010-07-08 16:05:19 +08:00
Yann Leboulanger
dd38dcee5e don't send a canceld filetransfer. Fixes #3586 2010-07-06 22:11:43 +02:00
Yann Leboulanger
e5eb62e12b correctly get connection object in JingleTransportSocks5 2010-07-06 12:29:21 +02:00
Zhenchao Li
92988cf2ba fix bug: use jid without resource 2010-07-05 19:54:59 +08:00
Zhenchao Li
fbc4144c82 remove debug tweak 2010-07-05 13:47:47 +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
Yann Leboulanger
7716423b27 support XEP-0231 : BoB (without cache as it's useless for captcha) 2010-07-02 00:25:08 +02:00
Thibaut Girka
c6dc1b8b20 [Jingle] refactor a bit and ignore non-critical errors. Fixes #5794 2010-07-01 18:30:35 +02: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
Alexander Cherniuk
b7bff44494 Minor fixes for CAPTCHA 2010-06-30 05:38:21 +03:00
Yann Leboulanger
f9e8b46e6c iability to show captcha when joining a groupchat with captcha. (TODO: download image when it's not in the message itself) 2010-06-27 23:09:07 +02:00
Yann Leboulanger
af804641b6 stop message archiving for encrypted sessions. Fixes #5792 2010-06-27 22:31:55 +02:00
Yann Leboulanger
60d9b234a7 Fix some mino things about archiving preference window. see #5792 2010-06-27 21:50:00 +02:00
Yann Leboulanger
eb6f09e51c fix traceback when we get a <stream:error> from server. 2010-06-23 14:54:50 +02:00
Yann Leboulanger
77a6a02dc3 delete bookmarks from pubsub if server doesn't support publish-options. Fixes #5787 2010-06-21 19:15:46 +02:00
Yann Leboulanger
4ab308d855 stop saving bookmarks in pubsub if server doesn't support #publish-options. see #5787 2010-06-21 19:15:08 +02:00
Yann Leboulanger
e8f61ddfd5 fix missing ) 2010-06-20 22:56:20 +02:00
Yann Leboulanger
3adbc74edf change print into log.debug 2010-06-20 22:46:25 +02:00
Zhenchao Li
b85e7849e8 contruct transport candidates for jingle socks5 bytestream 2010-06-19 22:52:17 +08:00
Yann Leboulanger
44d53c40cc ability to fix framerate and video size for jingle video. 2010-06-19 15:44:10 +02:00
Yann Leboulanger
50653e2a10 [Zash] fix traceback when sending messages over zeroconf. Fixes #5784. 2010-06-18 07:45:07 +02:00
Yann Leboulanger
f6e45c18ef prevent traceback when disconnecting while a jingle session is active. 2010-06-16 10:13:23 +02: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