Commit Graph

96 Commits

Author SHA1 Message Date
Philipp Hörist 385d6c3081 On IBB cancel set correct 'to' attr 2017-04-29 16:58:41 +02:00
Philipp Hörist 21700051f8 Read/Write file in binary mode 2017-04-29 16:12:41 +02:00
Philipp Hörist fde2ac731b Close IBB Stream correctly 2017-04-29 16:07:48 +02:00
Yann Leboulanger 3bc6173a11 Close IBB stream with correct SID. See #8555 2017-04-29 16:01:59 +02:00
Stephen Paul Weber c110d8af60 Allow IBB FT to bare JIDs again
Currently works on released gajim, but not on nightly.

This explicit check for resource in the to-jid just returns if there is no
resource. It doesn't even cancel the file transfer or anything, it just
stops... which looks to the user like a file transfer hang.  Removing
the check makes Gajim work as expected.

Closes #8581
2017-03-28 19:11:18 -05:00
Emmanuel Gil Peyrot 1f9ac730ce Replace long() in remaining python2 code with int(). 2017-02-11 02:40:07 +00:00
Emmanuel Gil Peyrot 289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +00:00
Yann Leboulanger 8a3d743b6f fix error reply when S5B cannot be established. Fixes #8315 2016-03-28 20:52:24 +02:00
Yann Leboulanger 7740f8ccf4 [gdr_gdr] Prevent traceback. Fixes #8265 2016-02-20 21:16:16 +01:00
Yann Leboulanger cb36bc7abe don't try to use GUPnP-IGD when we use an IPv6 address 2015-12-15 22:25:39 +01:00
Yann Leboulanger a764cb5384 remove useless test 2014-09-15 14:03:52 +02:00
Yann Leboulanger 2e48120e0c correctly get account name 2014-06-01 15:42:28 +02:00
Yann Leboulanger 0eef85f776 ignore attention (XEP-224) when messages is delayed 2014-03-10 21:47:21 +01:00
Yann Leboulanger 845d8a445d fix using transport sid in jingle IBB instead of jingle sid
fix double iq-result sending
2014-02-24 22:13:25 +01:00
Denis Fomin 4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger df11617ddb both sender and receiver request remote SSL certificate, but only if it's a new one.
Correctly verify remote SSL certificate.
2013-12-04 18:43:28 +01:00
Yann Leboulanger 137ae2b54a GObject -> GLib 2013-07-29 18:35:49 +02:00
Yann Leboulanger 5a59654fea fix using FT proxies. Fixes #7382 2013-07-15 16:03:07 +02:00
Yann Leboulanger 9c8c1de03f update my copyright 2013-04-05 21:35:39 +02:00
Jefry Lagrange 3451548d86 Also cancel the jingle session when initiator for IBB transfer cancellation 2013-01-19 21:40:19 -04:00
Yann Leboulanger 3a84a5de26 correctly close file when we cancel a transfer. Fixes #7281 2013-01-24 21:23:57 +01:00
Jefry Lagrange b223d8c99f Cancel an IBB transfer 2012-12-26 18:41:31 -04:00
Emmanuel Gil Peyrot ab7ce2b42e Use log.warning instead of the deprecated log.warn. 2013-01-05 11:26:22 +01:00
Yann Leboulanger 2c21353a8b remove has_key()
fix base64 calls (requires and returns bytes, not str)
2013-01-02 17:53:42 +01:00
Yann Leboulanger 912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00
Yann Leboulanger 069bddbbcb remove call to unicode() 2013-01-01 21:06:16 +01:00
Yann Leboulanger 8f71d9f219 start porting Gajim to gobject introspection and GTK3 2012-12-23 16:23:43 +01:00
Yann Leboulanger 77775cf0af Gajim now uses python-nbxmpp library instead of embedding it. 2012-12-09 21:37:51 +01:00
Jefry Lagrange 88194e02bc get right info in file_props when we receive a request for a file 2012-09-02 12:59:55 -04:00
Yann Leboulanger 2bcc753c67 fixsending through a proxy 2012-08-28 19:10:13 +02:00
Jefry Lagrange 5bec8c7a09 make file_props use session sid as the default sid 2012-08-25 12:09:50 -04:00
Yann Leboulanger 35b9f5da6c fix is_transfer_stopped() function. Fixes #7170 2012-08-23 12:12:19 +02:00
Jefry Lagrange 1dc1adf073 only delete file_props in the ft_window 2012-08-22 15:30:12 -04:00
Jefry Lagrange a73bf46dd2 replace Socks5Receiver with Socks5ReceiverClient 2012-06-26 17:20:24 -04:00
Jefry Lagrange f4fa70576b fix connect error 2012-06-21 13:56:15 -04:00
Yann Leboulanger 1c895779ce fix sockes5 transfer 2012-06-20 23:58:23 +02:00
Yann Leboulanger ee05914b30 fix typo
remove "fast" support
try to connect to streamhosts when we get them
2012-06-20 23:16:18 +02:00
Yann Leboulanger c4953b1e11 some typo + disable Jingle FT for the moment 2012-06-14 18:43:47 +02:00
Yann Leboulanger 1fdf6b7e35 jingle IBB and normal IBB are different 2012-06-14 18:34:07 +02:00
Jefry Lagrange 2af1af2011 file_props refactoring 2012-06-14 12:27:23 -04:00
Yann Leboulanger 0c36f50196 merge from trunk 2012-04-12 22:07:30 +02:00
Jefry Lagrange c412a6a55f decline jingleFT correctly 2012-03-19 15:52:33 -04:00
Jefry Lagrange c51fb07d09 merge 2012-01-15 19:53:40 -05:00
Yann Leboulanger 3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Yann Leboulanger 61a039d894 fix sending result iq in IBB 2012-01-08 20:29:24 +01:00
Jefry Lagrange 76bc866a98 handle errors in IBB 2012-01-07 20:49:07 -05:00
Jefry Lagrange 5017c7e17c fixes ibb transfer 2012-01-07 14:38:59 -05:00
Yann Leboulanger 49bc202421 merge from trunk 2011-12-29 11:39:02 +01:00
Yann Leboulanger 6c605cad41 add some missing import 2011-11-22 20:08:08 +01:00
Yann Leboulanger 2582720366 handle ERROR and INFORMATION events through NEC 2011-11-22 19:25:15 +01:00