Commit Graph

339 Commits

Author SHA1 Message Date
Nikos Kouremenos 6899985d5c we now cache avatar, so we only ask once. TODO: ask, store and show in roster; TODO2: on new sha reask vcard to get new avatar 2005-10-03 16:14:41 +00:00
Yann Leboulanger c0ccc81252 detect gc presences in a batter way 2005-09-28 15:24:26 +00:00
Yann Leboulanger a8117faf2d [gjc] "interrupt system call" are now handled and cause the function to be retried 2005-09-28 15:00:01 +00:00
Yann Leboulanger 42ffc5d810 remove the contact_mutual_removal advanced option and add a checkbutton in remove_contact dialog to ask if we want to remove both subscriptions 2005-09-28 14:35:06 +00:00
Yann Leboulanger 1942ac9e73 get var before using it 2005-09-27 11:14:39 +00:00
Nikos Kouremenos 1fff71ad87 refactor to allow changing our nick after nick conflict but first #967 needs to be fixed so I can test 2005-09-26 22:29:52 +00:00
Yann Leboulanger 7ea237d8ea typo 2005-09-19 16:27:10 +00:00
Yann Leboulanger 97b75de35b split NOTIFY event into NOTIFY and GC_NOTIFY 2005-09-19 16:13:45 +00:00
Yann Leboulanger 6d0bf25adc SRV lookup moved from xmpp to connection.py 2005-09-18 19:52:06 +00:00
Yann Leboulanger 67c9312d37 SRV lookup is now an option and is turned off when we use SSL 2005-09-16 15:19:01 +00:00
Yann Leboulanger 948d0a93e4 log outgoing subject when sending single message 2005-09-14 16:51:08 +00:00
Yann Leboulanger de2fe68d40 don't send sha in gc presences 2005-09-14 16:19:42 +00:00
Alex Mauer 4c990ccb1e Tooltip for account line in roster 2005-09-13 18:46:21 +00:00
Yann Leboulanger 2af3116b9d fix TB 2005-09-13 10:52:51 +00:00
Alex Mauer 867dc64798 Fix my roster breakage from cs3613 -- accounts need to be referenced by
name, not name stored in jid field.
Use the new get_jid_from_account in a few places.
2005-09-12 22:46:41 +00:00
Nikos Kouremenos 43aef76dd9 [sef and me] now we also handle receiving invitations 2005-09-11 15:02:22 +00:00
Yann Leboulanger 25dfa506cd reconnect is now launched in a thread 2005-09-10 12:05:48 +00:00
Yann Leboulanger e8b3a5898c remove unneeded print 2005-09-10 09:31:29 +00:00
Yann Leboulanger d271c29a24 we are now informed when vcard publication faild / succeed 2005-09-10 09:25:06 +00:00
Nikos Kouremenos a648d44fd3 add support for sending invite stanza /invite jid [reason]. I improved patch by Sef 2005-09-09 22:00:01 +00:00
Nikos Kouremenos 0bf0c36323 use gajim.get_jid_from_account in some places 2005-09-09 21:15:41 +00:00
Dimitur Kirov 50ac7f932b fix blocker bug: tb on Resource binding 2005-09-08 18:16:38 +00:00
Yann Leboulanger bceb6ad19e typo 2005-09-08 08:33:35 +00:00
Yann Leboulanger 26e78f0a53 we now wait to receive the roster before continuing connection (send presence, get vcard / bookmarks) 2005-09-08 07:36:37 +00:00
Yann Leboulanger f1fb1a13b6 do not send "I'm status" status message when we don't use gpg 2005-09-08 07:10:59 +00:00
Dimitur Kirov 6c5e687960 get server resource after auth (resource
binding is performed there)
2005-09-07 16:20:40 +00:00
Yann Leboulanger ee64aa72ee remove an unusefull option 2005-09-07 15:57:01 +00:00
Dimitur Kirov 3676f7f80b keep resource that come from server 2005-09-07 15:32:31 +00:00
Yann Leboulanger fec1eb1c5c don't send sha-presence when we are invisible 2005-09-07 14:41:14 +00:00
Nikos Kouremenos c535a06e13 imrpove suse string for download 2005-09-06 19:29:25 +00:00
Nikos Kouremenos d90801de18 remove a print 2005-09-06 13:00:48 +00:00
Yann Leboulanger ac5e1897b5 disco cleanup:
we don't use old jabber:iq:browse and jabber:iq:agents
we ask info only when we select the row
2005-09-06 11:54:23 +00:00
Nikos Kouremenos 5f5e54ffac reviewed strings: HIG fix, transl comment, improvement on reconnect string 2005-09-06 09:44:34 +00:00
Yann Leboulanger 72393ac068 autoreconnect of account is ready 2005-09-05 13:28:09 +00:00
Nikos Kouremenos a29c12a8b6 add a comment 2005-09-04 17:47:36 +00:00
Nikos Kouremenos 650bbdca39 catch all error codes for MUC JEP and issue translatable strings so non english user does not see english. 2005-09-03 17:18:07 +00:00
Nikos Kouremenos d0ecafdcc2 add comments for some advanced settings, fix some stuff in glade too for that 2005-09-03 13:48:25 +00:00
Nikos Kouremenos 49b4eff2cc [andreasvc] fix a string 2005-09-03 12:54:45 +00:00
Nikos Kouremenos d26696bbe5 [Laurent Sartran] catch exception when SSL connection is reset during handshake 2005-09-01 17:44:57 +00:00
Yann Leboulanger 924b1e3df2 do not send online show in presence 2005-09-01 17:16:35 +00:00
Nikos Kouremenos 7d2a698fc9 [Hawke patches Lukas patch :D] now Gajim can use gpg-agent 2005-08-30 21:10:14 +00:00
Nikos Kouremenos 408aae5084 [nicfit] do keepalive without iq:last but just send " "
good because google talk (and other servers) do not support iq:last
good because we do not disconnect ourselves if time changes
good because we do not disconnect ourselves on modal dialogs
good because even stpeter thinks that is the best way to do keepalives
good because we do not flood the server with iq:last
bad because I say it is good :D
2005-08-27 00:07:43 +00:00
Nikos Kouremenos cec336112d [Stéphan K.] make most strings we use unicode instacnes 2005-08-26 00:52:44 +00:00
Dimitur Kirov 8adeb33fa1 fixed tb on server connect 2005-08-25 14:07:17 +00:00
Nikos Kouremenos 61f1c8c5d4 better message for nick conflict 2005-08-25 10:06:33 +00:00
Dimitur Kirov fd83a95032 prevent TB on removing online account 2005-08-24 15:59:51 +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
Nikos Kouremenos bd0a5230d9 xs:boolean is '0', '1', 'true', 'false'. so update bookmark to handle the last two 2005-08-18 19:06:24 +00:00
Yann Leboulanger 903941fe03 send priority on EVERY presences 2005-08-18 08:33:51 +00:00
Dimitur Kirov 98273d7aec removed the last affinix non jep tag 2005-08-17 15:48:14 +00:00
Yann Leboulanger 54645ae409 temporary fix for the Event dispatcher to work with TLS connections 2005-08-16 16:10:36 +00:00
Dimitur Kirov 5f0b36004d TB on connection timeout 2005-08-14 22:29:16 +00:00
Nikos Kouremenos db97d20aec do not set as status I'm invisible 2005-08-14 14:32:10 +00:00
Nikos Kouremenos 86443c4934 fix bad string, add comment for transl, pot/po 2005-08-13 15:06:04 +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 ba4e81095d gethostbyname for the override host 2005-08-12 14:59:28 +00:00
Nikos Kouremenos 0855c48d08 better name: ft_override_host_to_send 2005-08-12 13:40:42 +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
Nikos Kouremenos ea704fc426 fix english typos 2005-08-10 19:10:58 +00:00
Dimitur Kirov 73c5eb3dd2 proper disconnect routines 2005-08-10 15:59:55 +00:00
Yann Leboulanger c61c33765f here is a mutex for events_for_ui:
threads and main thread won't conflict
2005-08-09 18:45:16 +00:00
Yann Leboulanger d0eb029f74 connection.pt doesn't send events to ui: it just put it in gajim.events_for_ui[account]
gui read this queue
(mutex will come)
2005-08-09 17:21:35 +00:00
Yann Leboulanger 5a9bb51f97 threads don't send event to gui if connection succeed, thay are in a queue 2005-08-09 15:28:32 +00:00
Dimitur Kirov 4df50b17ee adedde prefix ft_ for proxy65 options 2005-08-09 14:53:33 +00:00
Dimitur Kirov 2bc8bcf482 fixed logic errors in FT and proxies 2005-08-09 11:38:11 +00:00
Nikos Kouremenos 341e060a91 use is_in_path 2005-08-09 11:34:16 +00:00
Nikos Kouremenos c6166f3cc2 some last minute fixes in strings 2005-08-08 21:11:59 +00:00
Yann Leboulanger 0c64b91de4 no need to knowthe ID to know if it's our vcard 2005-08-08 13:34:48 +00:00
Yann Leboulanger ac36bbf306 presence when we get our vcard also contain our status message 2005-08-08 12:23:51 +00:00
Yann Leboulanger ce71639c4f no need to send this event 2005-08-08 07:05:00 +00:00
Yann Leboulanger a7572c4352 we not send sha of our VCARD (JEP 153) in every presences 2005-08-07 21:42:32 +00:00
Dimitur Kirov e9d28c9703 show error message on proxy timeout 2005-08-07 18:43:53 +00:00
Dimitur Kirov d313420dda mising 's' 2005-08-07 13:26:03 +00:00
Dimitur Kirov 67319b7008 fix a TB in proxy_auth 2005-08-07 13:24:21 +00:00
Dimitur Kirov f82af54d0c don;t try to refresh the cache during FT 2005-08-07 12:05:36 +00:00
Dimitur Kirov 023a8c6f4b secont hosts list don;t need proxy and fast
tags
2005-08-06 21:43:04 +00:00
Dimitur Kirov d23bb1ffee possible TB on active reply 2005-08-06 21:40:01 +00:00
Dimitur Kirov ed91010872 silly typo 2005-08-06 20:50:47 +00:00
Dimitur Kirov ccb0485717 removed partly written code 2005-08-06 20:44:04 +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
Yann Leboulanger 5177472406 here is the OLD way to implement MOTD. It's not the JEP-133 way 2005-08-06 12:33:20 +00:00
Yann Leboulanger e05c6de71f add a debug message 2005-08-06 10:11:02 +00:00
Yann Leboulanger 37a315ac9d xml console now print everything that is sent/received 2005-08-05 23:43:28 +00:00
Yann Leboulanger 6f6d5c0dcc JEP70 support (thx nicfit !) 2005-08-05 13:29:39 +00:00
Nikos Kouremenos 53428f85ad remove a fixme 2005-08-04 23:29:41 +00:00
Yann Leboulanger d6e02e5839 typo 2005-08-04 20:33:00 +00:00
Yann Leboulanger 899396bc90 all incomming stanza are printed in xml console
need much more work (out going stanza ...)
2005-08-04 20:32:38 +00:00
Dimitur Kirov 1b1d56d4cb removed debug strings 2005-08-04 11:18:26 +00:00
Nikos Kouremenos 834f90ff5a disconnection is a heavy thing. we should always inform the user. so informing him on keepalive-related disconnection 2005-08-04 10:56:47 +00:00
Dimitur Kirov d56ba58149 added debug messages 2005-08-04 08:59:03 +00:00
Dimitur Kirov 284160c5b2 use non blocking sockets everywhere in FT 2005-08-04 07:23:14 +00:00
Dimitur Kirov 9aae8dadbb file transfer port is kept inthe config 2005-08-03 21:10:59 +00:00
Dimitur Kirov fb512e63be bind to any 2005-08-03 16:53:29 +00:00
Dimitur Kirov e7536c0679 show disconnected, when recipient rejects
transfer
2005-08-03 16:21:23 +00:00
Dimitur Kirov e9daf09fe5 send file is now functional 2005-08-03 14:04:54 +00:00
Dimitur Kirov 760453870f moved socks5 module outside xmpp 2005-08-01 22:58:14 +00:00
Nikos Kouremenos dd821ac164 use better strings (adhere to HIG, try to describe better what is going on), make code by dkirov adhere to our coding standards, fix comments and FIXME in comments 2005-08-01 22:48:58 +00:00
Dimitur Kirov 8ede65961f moved socks5queue to gajim.py 2005-08-01 22:45:29 +00:00