Commit Graph

160 Commits

Author SHA1 Message Date
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Emmanuel Gil Peyrot a4387e8489 Use “… is not …” everywhere instead of “not … is …”. 2017-02-11 02:40:10 +00:00
Emmanuel Gil Peyrot fb221a692b Remove wrong usage of the list(range(…)) pattern. 2017-02-08 02:26:21 +00:00
Emmanuel Gil Peyrot 32db80c7ef Replace NameError SSL with correctly-imported OpenSSL.SSL. 2016-11-05 15:07:08 +00:00
Yann Leboulanger 499bbd9fcd correctly compute FT speed and ETA. Fixes #8216 2016-04-04 21:10:57 +02:00
Yann Leboulanger e80b0ba9b3 remove debug print 2016-04-03 14:50:47 +02:00
Yann Leboulanger c903b9d5d1 fix sending file over XTLS encrypted socket 2016-04-03 14:28:08 +02:00
Yann Leboulanger 9287ad96b0 fix some warnings 2015-07-30 15:18:03 +02:00
Yann Leboulanger 75b94ca864 fix file transfer. Files can be something else that utf8 2015-07-28 20:32:14 +02:00
Yann Leboulanger c4e1f2389a [noonien] Fix using receiver candidate when sending a file via jingle. Fixes #7987 2015-04-05 21:26:16 +02:00
Yann Leboulanger a21f6ba561 don't use mutable arguments as default value. Fixes #7971 2015-02-16 12:55:10 +01:00
Yann Leboulanger ae8c6a644e fix sending file without jingle when localcert is not yet generated. 2014-08-22 14:23:05 +02:00
Yann Leboulanger f5e7b812bf add new function to close socket 2014-06-01 15:42:06 +02:00
Denis Fomin 4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger d337aeed4e py2 -> py3 2013-12-30 21:19:15 +01: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 f888f57d1c fix computing hash once socket is correctly closed 2013-11-02 16:09:12 +01:00
Yann Leboulanger 4da8a480d0 file_props.size is an integer 2013-11-02 09:00:16 +01:00
Yann Leboulanger e50dad792f fix typo 2013-10-30 11:58:18 +01:00
Jefry Lagrange f8868280b1 allow to connect to network ip but not loopback. Fixes #7403 2013-10-29 21:26:49 +00:00
Yann Leboulanger c02d122be3 fix encoding issue 2013-08-01 15:54:07 +02:00
Yann Leboulanger 8c7ee7a12b fix encoding issue 2013-07-28 20:50:11 +02:00
Yann Leboulanger 9cbf796ae1 fix connection to FT proxies. Fixes #7349 2013-07-07 14:22:37 +02:00
Yann Leboulanger ba80ea181f fix IPv6 issues under window 7 for file transfer. Fixes #4452, #7240 2013-07-05 21:10:16 +02:00
Yann Leboulanger 9c8c1de03f update my copyright 2013-04-05 21:35:39 +02:00
Yann Leboulanger 3a84a5de26 correctly close file when we cancel a transfer. Fixes #7281 2013-01-24 21:23:57 +01:00
Yann Leboulanger e03b3c35b6 fix traceback handling
fix struc and sha1 usage (use bytes instead of string)
2013-01-05 00:03:36 +01:00
Yann Leboulanger 3fdefe20b7 xrange() -> list(range()) 2013-01-02 18:17:51 +01:00
Yann Leboulanger 912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00
Yann Leboulanger d27591076f fix exception handling 2013-01-01 23:18:36 +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 589c3081bb socks5 proxy supports file request. Raise OutOfOrder exception when we get a candidate and we are not expecting it 2012-09-21 17:42:16 -04:00
Jefry Lagrange 6f9c540392 refactoring 2012-09-18 00:12:07 -04:00
Yann Leboulanger f22a889845 don't forget to send candidate-error when we get only a local IP 2012-08-30 23:45:35 +02:00
Jefry Lagrange 401f19282a dont connect to local host if ip is the same or if is loopback 2012-08-28 15:10:19 -04:00
Yann Leboulanger 2bcc753c67 fixsending through a proxy 2012-08-28 19:10:13 +02:00
Jefry Lagrange 4585c85458 coding standards 2012-08-23 17:45:38 -04:00
Yann Leboulanger fb5d58de11 don't do SSL over SSL and correctly shutdown SSL sockets. 2012-08-23 11:36:51 +02:00
Jefry Lagrange 1dc1adf073 only delete file_props in the ft_window 2012-08-22 15:30:12 -04:00
Yann Leboulanger 5178543517 add a try/except 2012-08-22 14:49:44 +02:00
Yann Leboulanger f832900d2b coding standards 2012-08-22 12:55:57 +02:00
Yann Leboulanger 5d7ce867b4 fix indentation 2012-06-20 23:58:08 +02:00
Jefry Lagrange 2af1af2011 file_props refactoring 2012-06-14 12:27:23 -04:00
Jefry Lagrange 2b8890bf51 dont cancel when we cant bind to port. Fixes #7173 2012-06-08 20:02:45 -04:00
Yann Leboulanger 0c36f50196 merge from trunk 2012-04-12 22:07:30 +02:00
Yann Leboulanger 3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Jefry Lagrange c491bd3f59 create a new session for every new file transfer; enable OpenSSL 2011-12-27 23:47:00 -05:00
Jefry Lagrange b85f96b929 fix sending multiple files at the same time 2011-12-26 21:18:45 -05:00
Jefry Lagrange 952ea6a9b6 fix closing listening port 2011-12-24 18:12:05 -05:00
Jefry Lagrange c9f2176ccb fix bad refactoring 2011-12-22 21:52:37 -05:00