Commit Graph

93 Commits

Author SHA1 Message Date
Yann Leboulanger 76ad29175a fix traceback with new fileprops. 2013-08-26 20:34:58 +02:00
Yann Leboulanger 936d538eba correctly open / close file when computing hash 2013-01-05 10:09:15 +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 912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +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 d3048a0ac7 only compare file hashes when we actually have a hash 2012-10-13 14:31:16 -04:00
Jefry Lagrange a8922c32a8 coding standards 2012-09-22 22:16:03 -04:00
Jefry Lagrange f94a8cec1b only accept file request from peers that we already sent the file to 2012-09-22 13:25:55 -04: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 62da971381 commenting DEBUG code 2012-09-18 00:13:31 -04:00
Jefry Lagrange 6f9c540392 refactoring 2012-09-18 00:12:07 -04:00
Jefry Lagrange c22f5db122 IBB supports file request 2012-09-15 10:39:35 -04:00
Jefry Lagrange d16ee652c6 send session-accept for file request 2012-09-05 19:39:07 -04: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 2bb8bb3838 for the receiver: start to linten only when we accept connection. Stop listening when we get a candidate-error or a candidate-used of type proxy. 2012-08-30 11:09:39 +02:00
Jefry Lagrange b20e054d55 set and retrieve information about the files transfered 2012-08-29 15:06:04 -04:00
Jefry Lagrange 67c28501af only send hash if contact supports it 2012-08-25 23:54:39 -04:00
Jefry Lagrange 5bec8c7a09 make file_props use session sid as the default sid 2012-08-25 12:09:50 -04:00
Jefry Lagrange ce1bdb7b63 calculate hash after we get session accept 2012-08-25 11:14:38 -04:00
Jefry Lagrange b1d206d2ec refactoring 2012-08-24 20:13:25 -04:00
Jefry Lagrange 6d95385102 commenting debugging code 2012-08-23 23:24:43 -04:00
Jefry Lagrange 4585c85458 coding standards 2012-08-23 17:45:38 -04:00
Yann Leboulanger 96dd70050b Jingle FT is now functionnal!! Thanks Jefry for the long time debugging with me 2012-08-23 13:10:30 +02:00
Jefry Lagrange 1dc1adf073 only delete file_props in the ft_window 2012-08-22 15:30:12 -04:00
Yann Leboulanger 1a3e4508ff make using receiver proxy work 2012-08-22 18:09:40 +02:00
Yann Leboulanger f832900d2b coding standards 2012-08-22 12:55:57 +02:00
Yann Leboulanger 133593e1ca coding standards 2012-08-22 12:21:45 +02:00
Yann Leboulanger f801d33b53 fix coding standards 2012-08-22 11:54:21 +02:00
Jefry Lagrange ccb53c7c08 send files to gc peer. Fixes #7171 2012-06-16 18:41:33 -04:00
Jefry Lagrange 2af1af2011 file_props refactoring 2012-06-14 12:27:23 -04:00
Jefry Lagrange 3a5d6d2173 start listening when we get session initiate. Fixes #7175 2012-06-09 15:17:16 -04:00
Jefry Lagrange e195cfb188 send hash in session-init when the file is less than 10 mb 2012-05-28 19:54:59 -04:00
Jefry Lagrange e8df81ab31 sends file request after hash mismatch 2012-05-27 21:05:43 -04:00
Jefry Lagrange be3a948838 small fix 2012-04-17 20:57:34 -04:00
Jefry Lagrange e63674bfb9 add missing argument 2012-04-17 20:47:52 -04:00
Jefry Lagrange 038ea0fe66 minor fixes 2012-04-07 00:56:44 -04:00
Jefry Lagrange 026e5b44f1 refactoring: implemented state machine pattern 2012-04-04 21:04:23 -04:00
Jefry Lagrange ca1eadaa2d refactoring 2012-02-12 19:36:20 -05:00
Jefry Lagrange b2897e36bb better way to handle non supported hash algorithms 2012-01-24 16:51:26 -05:00
Jefry Lagrange c02b43f88f coding standards 2012-01-24 10:04:14 -05:00
Jefry Lagrange 5142ebd626 check file integrity when transfer is completed 2012-01-23 22:28:07 -05:00
Jefry Lagrange c51fb07d09 merge 2012-01-15 19:53:40 -05:00
Jefry Lagrange 376777091e support for xep-300 2012-01-15 19:37:00 -05:00
Yann Leboulanger 69544d5f5c coding standards 2012-01-08 20:44:15 +01:00
Jefry Lagrange 930c71cc04 complete IBB jingle support, fixes #6998 2012-01-06 23:18:50 -05:00
Yann Leboulanger 41b7bd7b41 fix sending jingle ack 2011-12-29 14:08:35 +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 c9f2176ccb fix bad refactoring 2011-12-22 21:52:37 -05:00
Jefry Lagrange bc78e35d55 refactoring 2011-11-17 23:55:44 -05:00