Jefry Lagrange
543e0265de
refactoring
2011-11-18 15:07:25 -05:00
Jefry Lagrange
bc78e35d55
refactoring
2011-11-17 23:55:44 -05:00
Yann Leboulanger
e4fa96cce3
make jingleFT work when receiver's proxy is used
2011-11-02 00:09:33 +01:00
Yann Leboulanger
f35c3d9143
send a candidate-error when we get a session-accept with no streamhost
2011-10-29 11:34:05 +02:00
Jefry Lagrange
212f33cafa
socks5 proxy fixed
2011-10-29 00:09:45 -04:00
Yann Leboulanger
a3d772e505
coding standards
2011-08-24 10:36:00 +02:00
Jefry Lagrange
609ee79791
connect to candidate with highest priority
2011-08-21 19:02:58 -04:00
Jefry Lagrange
60df476506
Wait until candidate negociation ends; Socks5 connection problem fixed
2011-08-14 23:59:39 -04:00
Jefry Lagrange
9f3d472564
bidirectional jingle FT with socks5
2011-08-08 19:43:07 -04:00
Jefry Lagrange
af2e7c89af
move plug_idle into socks5queue
2011-08-01 23:12:30 -04:00
Jefry Lagrange
8fbaaba356
Fixes jingleFT IBB fallback
2011-07-05 14:05:16 -04:00
Yann Leboulanger
dc3b203168
use event system for jingle FT
2011-06-24 18:24:42 +02:00
Yann Leboulanger
38dce6e2c1
prevent traceback
2010-08-26 13:52:40 +02:00
Yann Leboulanger
99981e57b8
ability to send several files at the same time. We need to accept them all before transfer starts for the moment.
2010-08-26 11:56:12 +02:00
Yann Leboulanger
286d788da0
Name of filetransfer content is now random to be able to have 2 transfer in the same session. send and handle content-add in filetranfer
2010-08-26 10:36:58 +02:00
Yann Leboulanger
6911821a28
fix a typo
2010-08-25 12:21:12 +02:00
Yann Leboulanger
833983eab8
- use transport sid to compute hash sent to proxies
...
- Don't use XTLS when using proxies
2010-08-25 12:05:14 +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
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
216c370c1f
add fingerprint argument, we shall use it to retrieve certificates later on.
2010-07-26 20:57:11 +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
2be53c4aac
update my copyright to 2010
2010-03-11 16:52:36 +01:00
Éric Araujo
357d7db07d
fixed some whitespace thanks to 2to3 -f ws_comma
2010-02-10 19:24:11 +01:00
Éric Araujo
fedd7dc8e2
convert tabs to spaces in source code thanks to reindent.py
...
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger
64da0b0671
correctly get error numbre from error object.
2010-02-02 20:02:47 +01:00
Yann Leboulanger
88bb5ab8fc
fix missing import. see #5327
2010-01-03 11:31:22 +01:00
Alex V. Myltsev
0699e2e3a1
catch "address family not supported" errors when sending files. Fixes #5327
2010-01-02 22:47:36 +01:00
Alexander Cherniuk
6bf2246de5
A big portion of doc-string refactoring
2009-11-26 13:58:12 +02:00
Yann Leboulanger
1c7b265c9c
better file transfer error handling. Fixes #5064
2009-07-28 23:13:34 +02:00
Yann Leboulanger
765336b4fb
when sending file, try to bind ipv6 first. see #1969
2009-07-05 11:57:12 +02:00
Stephan Erb
e00f871b26
Use hashlib module in favor of sha and md5.
2009-01-08 16:51:26 +00:00
Yann Leboulanger
944a3124c1
add missing import
2008-12-07 13:23:27 +00:00
Yann Leboulanger
200a29e06c
Under vista, we can listen on both ipv4 and ipv6. Fixes #4452
2008-12-04 20:44:42 +00:00
Yann Leboulanger
c163e90b10
[thorstenp] fix unused variables
2008-12-02 15:53:23 +00:00
Yann Leboulanger
7701f29beb
[thorstenp] fix undefined variables
2008-12-02 15:10:31 +00:00
Yann Leboulanger
04e88bab3c
coding standards
2008-11-24 17:00:20 +00:00
Yann Leboulanger
06ab4a7b6d
revert thorstenp patches for now. They introduce bugs.
2008-10-20 21:38:06 +00:00
Yann Leboulanger
f801a50260
[thorstenp] fix unused variables
2008-10-20 21:17:48 +00:00
Yann Leboulanger
dc5d7bcf7c
[thorstenp] fix undefined variables
2008-10-20 18:05:33 +00:00
Yann Leboulanger
464f62d580
[thorstenp] remove statements without effect
2008-10-20 15:20:51 +00:00
Yann Leboulanger
2ffad66473
[thorstenp] replace reduce instances
2008-10-11 09:49:30 +00:00
Yann Leboulanger
73aee40542
[thorstenp] replace none equality test with identity test
2008-10-11 09:44:12 +00:00
Yann Leboulanger
567f1e17c1
[thorstenp] di not use emtpy except clauses
2008-10-11 09:37:13 +00:00
Yann Leboulanger
9d7c80d522
[thorstenp] replace has_key by key in dict. Fixes #4392
2008-10-07 20:41:59 +00:00
Yann Leboulanger
95b6855aa3
remove test thing
2008-08-27 10:09:38 +00:00
Yann Leboulanger
1e8e0f6067
no need of GUI classes in connection_handlers.py, socks5.py and secrets.py
2008-08-27 07:53:12 +00:00
Julien Pivotto
de4a23e751
See #4200 .
...
* remove js from some headers
* set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto
8bc9bc29ae
* Big headers review
...
* Remove some licencing problems
* To do: same for images
* See #4200
2008-08-15 03:20:23 +00:00
js
8605cd3f38
For historical reasons, we have a tab width of 3. This is strange, but
...
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
js
04725e830c
Fix file transfers on win32.
2008-05-10 15:40:27 +00:00
Jean-Marie Traissard
968b2acc4f
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
...
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
...
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Jean-Marie Traissard
8be83102b7
Checker tells it's better not to use == True
2007-12-30 12:44:30 +00:00
Yann Leboulanger
605caae2b8
My name has changed
2007-10-22 11:33:50 +00:00
Yann Leboulanger
22c1aeda29
next release will be GPL v3. fixes #3290
2007-10-22 11:13:13 +00:00
Yann Leboulanger
9f3fe8490b
[Santiago Gala] IPv6 filetransfert. see #1969
2007-06-09 07:07:05 +00:00
Jean-Marie Traissard
9c046b6e5b
Removed unused imports, /common part. Correct a call. Thanks pyflakes
2006-11-15 02:19:33 +00:00
Nikos Kouremenos
9002b3d293
put my email (and jid), not one of my JIDs
2006-09-28 11:31:25 +00:00
Dimitur Kirov
470e668ea2
This remove unused keyword
...
--line, and those below, will be ignored--
M socks5.py
M connection_handlers.py
2006-09-15 11:57:03 +00:00
Dimitur Kirov
5764374e5d
set proxy as invalid if hostname cannot be
...
resolved
2006-09-14 08:40:09 +00:00
Jean-Marie Traissard
9ed43cf6d1
Show a real error box when unable to bind to port
...
Fixes #1941 .
2006-06-05 17:07:48 +00:00
Dimitur Kirov
927b6d09bc
destroy dialogs on delete event
...
don't send streamhosts if they have been
already sent
2006-04-13 18:00:04 +00:00
Dimitur Kirov
14c5213a58
Jim: typo
2006-04-06 10:58:19 +00:00
Dimitur Kirov
b42bd75a25
EISCONN error is raised in FreeBSD to indicate
...
that connection is already established
2006-03-27 15:28:29 +00:00
Dimitur Kirov
8448be52f5
paused and stalled states now work
2006-02-12 02:25:21 +00:00
Dimitur Kirov
29ab60eaa7
add connect timeout and reconnect to
...
some other streamhosts when already
established connection has failed
2006-02-11 21:32:48 +00:00
Dimitur Kirov
7815fe8219
use glib current time instead of time.time()
2006-02-06 00:36:33 +00:00
Dimitur Kirov
f52144c803
socks5 classes now use Gajim idlequeue
...
still there are several TODOs
2006-02-06 00:11:45 +00:00
Dimitur Kirov
f62db4acfe
Switched to non-blocking connections.
...
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00
Travis Shirk
f52afdcbe8
Merged revisions 5017-5020,5022-5029 via svnmerge from
...
svn://svn.gajim.org/gajim/trunk
........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines
use escape for pango markup
........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines
missing new contacts function
........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines
handle the click on toggle_gpg_encryption menuitem
........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines
use the saved size even if a chat window is already opened
........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines
we can now resume filetransfert
........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines
[Knuckles] Google E-Mail Notification
........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines
better string
........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines
fix a TB
........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines
we can now drag a file on a contact in the roster to send him a file
........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines
contact.groups is always a list, even if emtpy
........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines
make all buttons insensitive on a category row in disco
........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines
auto open groupchat configuration window when we create a new room
........
2006-01-07 17:25:35 +00:00
Yann Leboulanger
612716e2db
change copyright from "Gajim Team" to real people
2005-12-09 23:30:28 +00:00
Yann Leboulanger
cae7ce3bac
"Gajim Team" in all hearders become "Contributors for this file"
2005-12-09 17:15:30 +00:00
Yann Leboulanger
34255e5682
Vincent left us a long time ago
2005-12-07 23:09:10 +00:00
Nikos Kouremenos
b66862d27e
minor
2005-11-21 10:34:10 +00:00
Nikos Kouremenos
1c9f70638d
fix major tb
2005-11-07 13:26:22 +00:00
Nikos Kouremenos
bf4a1b28ac
xrange and tupple instead of range and list in common/
2005-10-27 13:22:42 +00:00
Dimitur Kirov
8be85027f0
read nl after auth (if sender is 0.8.2)
2005-09-10 13:43:43 +00:00
Dimitur Kirov
676b7600cf
catch file read errors
2005-09-10 11:56:25 +00:00
Nikos Kouremenos
e34f99cd30
more pythonic
2005-09-09 17:35:07 +00:00
Dimitur Kirov
d9e95eceeb
removed useless check. Faster sender speed
2005-09-09 14:53:19 +00:00
Dimitur Kirov
9c35bcd78a
don't send/read nl after auth
2005-09-08 23:14:09 +00:00
Dimitur Kirov
ba4fadc5cc
add estimated time and speed to FT
2005-09-08 22:12:14 +00:00
Dimitur Kirov
9f91b28e12
FT works on win32
2005-08-25 20:31:58 +00:00
Dimitur Kirov
9e044cbd4c
removed not-in-the-right-place line,
...
replaced os.path.slpit with basename when only
file_name is needed
2005-08-25 11:12:37 +00:00
Dimitur Kirov
a51c320245
prevent transfer to offline contact, remove
...
listener when last there are no more senders
2005-08-23 21:52:56 +00:00
Dimitur Kirov
ec20af6941
open file only once on sending
2005-08-17 15:38:57 +00:00
Dimitur Kirov
2f0f52e49f
checks for 2 more socket exceptions..
...
open/close file on each read
2005-08-17 15:10:37 +00:00
Dimitur Kirov
5f0b36004d
TB on connection timeout
2005-08-14 22:29:16 +00:00
Dimitur Kirov
8eb530b91c
send error to stderr if another instance of
...
gajim is running on the same ft port
2005-08-12 19:09:20 +00:00
Dimitur Kirov
4c24be16ed
added ft_custom_host for translated/forwarded
...
ports
2005-08-12 09:34:30 +00:00
Dimitur Kirov
5d3f81a9c3
removed the fast extention
2005-08-11 20:26:17 +00:00
Dimitur Kirov
73c5eb3dd2
proper disconnect routines
2005-08-10 15:59:55 +00:00
Dimitur Kirov
016d70d7da
show correct status in toooltip, display name,
...
instead of jid in popup notification
2005-08-09 17:15:45 +00:00
Dimitur Kirov
2bc8bcf482
fixed logic errors in FT and proxies
2005-08-09 11:38:11 +00:00
Dimitur Kirov
e9d28c9703
show error message on proxy timeout
2005-08-07 18:43:53 +00:00
Dimitur Kirov
f82af54d0c
don;t try to refresh the cache during FT
2005-08-07 12:05:36 +00:00
Dimitur Kirov
d23bb1ffee
possible TB on active reply
2005-08-06 21:40:01 +00:00
Dimitur Kirov
e8c27c036d
added proxies65_cache for faster work of FT
...
set file_transfers_proxy to proxy.jabber.org
2005-08-06 20:18:44 +00:00
Dimitur Kirov
650440fc1d
rewritten socks5.py, added support for proxy65
...
connect to host don;t block, FT in both
directions if only one real ip, or proxy
2005-08-06 16:31:41 +00:00
Dimitur Kirov
3ab41b7e87
removed prints, reformated code,
...
decreased write intencity
2005-08-04 11:16:28 +00:00