Commit graph

4451 commits

Author SHA1 Message Date
Yann Leboulanger
6c5565bfe2 add hg revision in Gajim version for hg users too 2010-08-09 14:42:55 +02:00
Yann Leboulanger
05f90734ee fix missing function call 2010-08-09 01:54:40 +02: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
Yann Leboulanger
546d1af937 typo in protocol.py 2010-07-31 00:54:13 +02:00
Yann Leboulanger
88c84e26f4 fix wrong var name. Fixes #5827 2010-07-30 16:42:51 +02:00
Yann Leboulanger
84982aaf30 prevent duplicate bookmarks 2010-07-30 15:16:09 +02:00
Yann Leboulanger
18f03edd62 use a nec Event to dispatch RIE events 2010-07-30 01:30:59 +02: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
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