Commit graph

3329 commits

Author SHA1 Message Date
Yann Leboulanger
fb41b65368 no need to go through GUI to handle cert request / reply 2010-08-11 08:44:49 +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
42f6580d1d move cert directory to ~/.local/share/gajim/certs 2010-08-10 21:10:45 +08:00
Zhenchao Li
91a68d30be add code to send/request certificates 2010-08-10 20:34:46 +08:00
Zhenchao Li
048d875b3b fix bug, os.path.exist -> os.path.exists. Define certificate path 2010-08-08 22:04:50 +08:00
Zhenchao Li
e810727002 create certs path if it does not exist 2010-08-08 21:55:32 +08:00
Zhenchao Li
02c1eaf930 load multiple certificate files 2010-08-08 21:25:29 +08:00
Zhenchao Li
4fa60f9b3d define pubkey callbacks 2010-08-08 16:42:30 +08:00
Zhenchao Li
a3e5e42375 add code to generate self signed certificates 2010-08-06 21:57:13 +08:00
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
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
01c1465dfb add namespace for jingle file transfer
add jingle FT to gajim.gajim_optional_features
2010-06-01 15:09:42 +08: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
bcee7c2125 indicator API changes too much, remove it's support. Fixes #5694 2010-05-11 17:20:23 +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
93d15da2b3 remove fixed TODO 2010-05-04 10:46:47 +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
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
Thibaut Girka
06c7f2bdd5 [Jingle] Don't send transport-info before the content itself 2010-05-03 15:27:56 +02:00
Thibaut Girka
af7238f4e7 [Jingle] Sends bad-request when receiving jingle action on unknown content 2010-05-03 15:17:02 +02:00
Alexander Cherniuk
93e895dde1 Micro code improvement 2010-05-03 06:42:37 +03:00
Yann Leboulanger
c6044ca60a request full roster if we have no contacts in our current database, in case we cleaned database but not roster_version option. Fixes #5729 2010-05-02 19:33:16 +02:00