Commit graph

11180 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
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
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
Zhenchao Li
797b3fe6a9 remove unnecessary branch 2010-07-24 10:12:54 +08: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
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
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
Zhenchao Li
6f5b6f2612 use the 'in' operator on a dict instead of has_key 2010-07-07 23:14:29 +08:00
Zhenchao Li
8b66c1e69d send session-terminate on file transfer completion 2010-07-07 22:39:01 +08: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
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
Zhenchao Li
182a448630 receive jingle file transfer session initiate message, shout 'FILE-REQUEST' event to connection object. 2010-06-08 21:24:41 +08:00
Zhenchao Li
d62dd5a521 construct well-formed jingle FT session-initiate stanza 2010-06-08 16:39:44 +08:00
Zhenchao Li
048feb5528 added JingleFileTransfer for managing jingle ft content
code added to trigger jingle ft session when needed
2010-06-06 23:22:52 +08:00
Zhenchao Li
b7048aa0da fix typo. 'contacts' -> 'contact' 2010-06-01 15:14:18 +08:00
Zhenchao Li
01c1465dfb add namespace for jingle file transfer
add jingle FT to gajim.gajim_optional_features
2010-06-01 15:09:42 +08:00
Zhenchao Li
1880d3ec41 branche for jingle file transfer 2010-05-24 18:59:36 +08:00
Yann Leboulanger
b7d6441846 move "Do not ask me again" accelerator to D. Fixes #5755 2010-05-21 09:38:09 +02:00
Yann Leboulanger
e9e54f2c9f uncomment lines commented for tests 2010-05-20 20:51:07 +02:00
Yann Leboulanger
493dbce89d don't show more than one error dialog for a given groupchat. Fixes #5753 2010-05-20 18:45:09 +02:00
Yann Leboulanger
469d496dcb fix indentation and 80 char width 2010-05-20 09:17:56 +02:00
Yann Leboulanger
fc5e91a039 [eMerzh and me] ability to restart a new adhoc command without closing / reopening the window. Fixes #5698 2010-05-12 10:18:52 +02:00
Yann Leboulanger
bcee7c2125 indicator API changes too much, remove it's support. Fixes #5694 2010-05-11 17:20:23 +02:00
Yann Leboulanger
f8ab01b418 check birthday date format when editing profile window. Fixes #5692 2010-05-11 16:58:53 +02:00
Yann Leboulanger
ed28b14b82 prevent some traceback when receiving an error when we want to configure pep. Fixes #5737 2010-05-05 19:32:18 +02:00
Yann Leboulanger
e6a4eb7c17 fix a bit of indentation 2010-05-05 08:56:36 +02:00
Yann Leboulanger
93d15da2b3 remove fixed TODO 2010-05-04 10:46:47 +02:00
Thibaut Girka
c775b7eb36 Merge local changes 2010-05-04 10:32:10 +02:00
Thibaut Girka
5960ec3bce [Jingle] Handle description-info 2010-05-04 10:31:05 +02:00
Thibaut Girka
50482f7c2a [Jingle] Don't end the session on a content failure, only remove the content 2010-05-04 10:04:53 +02:00
Ceyhan Molla
4ce2b4b913 l10n: Updated Turkish (tr) translation to 47%
New status: 977 messages complete with 537 fuzzies and 529 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-05-03 21:17:30 +00:00
Ceyhan Molla
bb9d41bc65 l10n: Updated Turkish (tr) translation to 47%
New status: 972 messages complete with 537 fuzzies and 534 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-05-03 21:09:06 +00:00
Thibaut Girka
10554ff067 [Jingle] Introduce RTP stream fallback 2010-05-03 21:59:46 +02:00
Thibaut Girka
800e87d5e9 [Jingle] Reduce CPU and bandwidth usage with videotestsrc by fixing framerate 2010-05-03 18:09:55 +02:00
Thibaut Girka
bf8347e931 [Jingle] Fix detection of multiple devices 2010-05-03 17:23:06 +02:00