Commit Graph

460 Commits

Author SHA1 Message Date
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
Yann Leboulanger 0c51e2fd09 remove unneede line 2005-08-01 20:54:26 +00:00
Dimitur Kirov 9183b73766 status message was not set in some other cases 2005-08-01 18:19:36 +00:00
Dimitur Kirov 79d2459d9f missing ':' 2005-08-01 16:17:32 +00:00
Dimitur Kirov 3c46c13d8d ':' spacing. always set a status message 2005-08-01 16:14:35 +00:00
Dimitur Kirov f4c6c41e5b not showing status in tray tooltip 2005-08-01 15:50:43 +00:00
Dimitur Kirov 0cd682f2ce file transfer progress notification 2005-08-01 15:00:27 +00:00
Dimitur Kirov 4e9942a5b1 typo 2005-07-30 15:30:38 +00:00
Dimitur Kirov 151844315a add disco info 2005-07-30 15:06:35 +00:00
Dimitur Kirov 35c8487325 file transfer don;t block GUI 2005-07-30 14:13:45 +00:00
Dimitur Kirov 46fbda6caa import socks5 from xmpp 2005-07-30 10:59:15 +00:00
Dimitur Kirov f1481ab4ff new jep-0096 handlers for FT 2005-07-30 10:19:52 +00:00
Yann Leboulanger 3ec2d68304 add missing _ 2005-07-25 07:52:04 +00:00
Nikos Kouremenos 26b5bee4d1 mark some strings for translation 2005-07-24 20:00:38 +00:00
Nikos Kouremenos 287902c9ec fix a var name 2005-07-24 19:56:47 +00:00
Yann Leboulanger a037ca8369 fix a TB 2005-07-23 11:54:01 +00:00
Nikos Kouremenos 4e31156bbd a is None is faster than a == None IIRC [it is for sure nicer :$] 2005-07-23 11:44:54 +00:00
Yann Leboulanger 3f9a52a177 we now don't log shat state 2005-07-22 20:27:24 +00:00
Yann Leboulanger 2862d63438 begin of the JEP 126 implementation, but it is disabled because it the JEP is wrong 2005-07-22 16:36:20 +00:00
Nikos Kouremenos 9fc1516522 we now have contact.chatstate ! 2005-07-22 00:34:08 +00:00
Nikos Kouremenos c851323c51 do not play sound when standalone chatstate message 2005-07-21 15:23:18 +00:00
Nikos Kouremenos 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +00:00
Nikos Kouremenos 51aa52683a we can now disbale chat state via GUI [a MUST in jep] 2005-07-20 20:00:57 +00:00
Nikos Kouremenos d6c9c7cbc6 [peralta] Chat State Notifications inital patch. I assume that every wm will focus-out before iconify. If that is not the case I am going to use window-state-changed too [to be tested] 2005-07-19 14:38:58 +00:00
Yann Leboulanger 3354201313 apply patch from dkirov to prevent TB when we create a new account 2005-07-18 21:16:31 +00:00
Nikos Kouremenos 06e87eebdf fix a typo 2005-07-16 17:12:11 +00:00
Nikos Kouremenos 623fb84c91 fix string 2005-07-16 10:53:15 +00:00
Nikos Kouremenos 28b9a37333 add some if connection: 2005-07-15 20:04:02 +00:00
Yann Leboulanger 3a8a6e4d8d new_account is back !
getRegInfo can be synchronous if we want
2005-07-07 20:45:24 +00:00
Nikos Kouremenos a581b8018d small cleanup 2005-07-07 17:20:43 +00:00
Nikos Kouremenos 949c105312 if we are english dont duplicate gpg strings 2005-07-06 12:13:54 +00:00
Nikos Kouremenos 2d14894f38 typo in comment 2005-07-05 21:44:01 +00:00
Nikos Kouremenos 94c01aeecc we can now receive normal and chat messages with subject and handle them ok. we can also reply to received normal message with RE: previous message and all the good stuff! hoooray! 2005-07-05 21:35:37 +00:00
Nikos Kouremenos 192ccf2075 General group marked for translation. pending: Transports and not in the roster 2005-07-04 23:18:29 +00:00
Nikos Kouremenos d32f6f864a forgot this file [sorry] 2005-07-04 21:30:00 +00:00
Nikos Kouremenos 7444c80552 This message is encrypted both in locale and in english 2005-07-04 16:27:26 +00:00
Yann Leboulanger 819954ff97 fix a TB 2005-07-04 07:28:42 +00:00
Yann Leboulanger aab7bb1807 fix a TB 2005-07-03 12:42:53 +00:00
Yann Leboulanger cffd7f9c66 fix a TB 2005-07-03 12:36:13 +00:00
Yann Leboulanger bb89871657 nicer patch 2005-07-02 23:07:26 +00:00
Nikos Kouremenos 5621397762 if the resource is empty do not add an extra / [we do not known the resource if we are lower than mod in a muc and we ask version info 2005-07-02 23:03:11 +00:00
Nikos Kouremenos 513a4c9f4f Gajim now asks reason for ban/kick (thanks liorithiel!) 2005-07-02 18:33:51 +00:00
Nikos Kouremenos 9b11b98af2 Gajim now can send type=normal messages [TODO: handle incoming normal better] 2005-07-02 15:49:25 +00:00
Nikos Kouremenos 64bfb68c22 send_message now accepts type of message 2005-06-30 22:37:33 +00:00
Yann Leboulanger a99c509b24 reset last_incoming value when we connect 2005-06-30 16:57:42 +00:00
Yann Leboulanger 52b0740834 no need for connect() to return the con_type 2005-06-29 15:09:10 +00:00
Yann Leboulanger b4c4d2b26b better debug print 2005-06-29 15:06:05 +00:00
Nikos Kouremenos e55e38b7db now gui can know connection_type ('tls', 'ssl', 'tcp')
roster now has another cellrenderer (that holds pixbuf) so does the treestore there
result: Gajim now shows an icon for accounts that were connected with ssl, tls and can show avatar of users too [that is TODO]
2005-06-29 12:57:46 +00:00
Yann Leboulanger acf31c1585 don't send more than 5 (by default) stanza per seconde 2005-06-29 08:28:12 +00:00
Yann Leboulanger 3c10f30f1f we can now send status (and connect) asynchronously thanks to threads 2005-06-28 19:03:00 +00:00
Yann Leboulanger 5e3a405329 we now have Contacts in gc, so we can ask information to everyone (even if we don't have the real jid) 2005-06-26 19:40:57 +00:00
Yann Leboulanger a0d4506533 disconnect only if we use keepalive 2005-06-26 09:19:37 +00:00
Nikos Kouremenos d29bbbee55 you can now disable keepalives; we know now if keepalive disconnected us; experts can change the seconds for keepalive stuff 2005-06-25 23:25:17 +00:00
Yann Leboulanger c19e0f0bd4 add an INFORMATION event from connection to gui 2005-06-24 16:46:45 +00:00
Yann Leboulanger 418c02de9a we now ignore unknown show 2005-06-23 18:27:14 +00:00
Yann Leboulanger d62b4e1ea2 NAT Timeout packet are now sent from connection.py so they will be configurable and won't be sent while we connect to a server 2005-06-22 14:54:02 +00:00
Yann Leboulanger a51c63ae35 don't send empty messages 2005-06-21 20:04:23 +00:00
Yann Leboulanger a05392dcde bugfix in new_account function 2005-06-21 14:24:15 +00:00
Yann Leboulanger 858702cb1e check if the vcard is correct to not TB 2005-06-20 20:58:57 +00:00
Yann Leboulanger 751ae44b7c little bugfix: missing arg to NOTIFY event 2005-06-20 07:50:50 +00:00
Nikos Kouremenos daacc7334d we can change nick by IRC command too (/nick foo); input dialog also has get_response() now 2005-06-18 23:44:33 +00:00
Yann Leboulanger 87f1dbcac8 we can now change our nick in gc 2005-06-18 22:09:31 +00:00
Yann Leboulanger 7538333c5d we now handle when the user doesn't give his OpenPGP passphrase and print an error message 2005-06-18 16:57:57 +00:00
Nikos Kouremenos 74fd03dc23 connection.py to take advantage of ssl patch 2005-06-18 11:37:29 +00:00
Yann Leboulanger 8b6bb3ef0c request_register_agent_info is now asynch in xmpp 2005-06-14 10:29:36 +00:00
Yann Leboulanger c6a53d8732 custom host/port now works 2005-06-14 10:26:01 +00:00
Nikos Kouremenos 5514387db7 gajim can now connect to custom hostname and port [TODO: patch xmpppy to do ssl in any port I ask] 2005-06-13 21:16:41 +00:00
Yann Leboulanger f1d1a0a07e we now have history for gc too 2005-06-13 14:46:08 +00:00
Nikos Kouremenos 75a598b938 say the same sec text for the same error 2005-06-13 12:35:53 +00:00
Yann Leboulanger 665d7b8a58 menu for bookmarks now works 2005-06-11 17:21:30 +00:00
Nikos Kouremenos fe2e69577e add an improved patch by delmonico on bookmarks 2005-06-11 14:14:50 +00:00
Yann Leboulanger e774467002 remove unneeded line 2005-06-10 15:46:53 +00:00
Yann Leboulanger 18fb90e349 we can now configure the bookmarks thanks to christoph 2005-06-10 15:45:09 +00:00
Yann Leboulanger b16653d414 check if we are conencted when we receive a roster (fix #418) 2005-06-10 11:26:37 +00:00
Nikos Kouremenos 0227302e05 fixing error reporting 2005-06-09 23:08:28 +00:00
Yann Leboulanger b1aa610c08 2 things:
avatar are printed in tabbed chat window
begining of the manage bookmark window (delmonico's patch)
2005-06-09 20:35:44 +00:00
Yann Leboulanger 316ca92083 proxy is fixed (TODO: mange proxies) 2005-06-08 15:48:53 +00:00
Nikos Kouremenos fba0185e89 Gajim does bookmarks and private storage [needs better UI-side] CONGRATS and thanks to delmonico 2005-06-07 18:21:36 +00:00
Yann Leboulanger 9a446f3e32 we can now receive the gc subject 2005-06-07 11:05:58 +00:00
Yann Leboulanger ce07cfe759 vcard is now fixed: we use lists for ADR, TEL EMAIL entry cause we can have several 2005-06-07 08:50:47 +00:00
Yann Leboulanger a1858c9517 ERROR messages are a message like all others with ONE data (that can be a tuple) 2005-06-07 07:40:15 +00:00
Nikos Kouremenos 030f77983b typo 2005-06-07 01:17:38 +00:00
Nikos Kouremenos 26b369b8ff fixing and string. previous commit is because of patch by Dennis Craven and me taking the strings/coding standrads review and stuff. fixing #382. Thanks Dennis once again 2005-06-07 01:14:08 +00:00
Nikos Kouremenos 78c7ca566f try again later 2005-06-07 01:10:24 +00:00
Yann Leboulanger 9e58a5b68c we can now add an avatar in our vcard 2005-06-06 22:58:06 +00:00
Yann Leboulanger 69a6aaff74 vcard is more complete (avatar is commig soon) 2005-06-06 15:29:27 +00:00
Nikos Kouremenos 8e29e0b39f bugfix 2005-06-06 00:11:48 +00:00
Nikos Kouremenos 942bcc75a5 read only the first line if more lines 2005-06-04 21:52:49 +00:00
Nikos Kouremenos 21f279a659 get to know sourcemage too 2005-06-04 20:54:21 +00:00
Yann Leboulanger 27869ea679 we now don't send online and offline show to be RFC complient 2005-06-04 14:27:09 +00:00
Nikos Kouremenos 9befab5cd7 typo in string (thanks dcrean), and mark that string for translation 2005-06-04 12:38:43 +00:00
Nikos Kouremenos f22c285641 proposed patch in #373 is applied. People test. I didnt even know киров@jabber.org can exist. thanks Dimitur Kirov 2005-06-04 00:37:49 +00:00
Yann Leboulanger a2e8c7da6d we don't send available presence anymore 2005-06-03 22:49:07 +00:00
Nikos Kouremenos 8506568722 fix a bug with some locales. start using unicode instance for strings 2005-06-01 21:40:33 +00:00
Yann Leboulanger 9ad357ab3d no more force_nonSASL option 2005-06-01 12:33:29 +00:00
Yann Leboulanger 19e7cd6fb5 catch exception when we disconnect 2005-05-31 16:47:05 +00:00
Yann Leboulanger 0758769092 don't use the force_nonSASL option (doesn't work in xmpp)
we can now be disconected while registering a new account, it won't TB
2005-05-31 13:53:22 +00:00
Nikos Kouremenos 92aa1838d1 mention account name on couldnt connect 2005-05-30 14:08:48 +00:00
Yann Leboulanger f9f341f104 we can now use SSL
(we can't force to not use TLS: bug in xmpp)
2005-05-30 11:01:08 +00:00
Yann Leboulanger efd470a44f chat window now print when encryption in enabled / disabled and automatically activate/desactivate the gpg_toggle button 2005-05-30 10:41:55 +00:00
Yann Leboulanger 088b3870dd we can now attach a GPG key to a contact 2005-05-29 21:34:01 +00:00
Yann Leboulanger 8a974c8af6 verbose is False by default
we can launch gajim with -v to enable verbose
2005-05-28 18:20:27 +00:00
Nikos Kouremenos 14985bf5d1 mention name and not hostanem when failing to connect to a account 2005-05-27 16:43:38 +00:00
Yann Leboulanger cb0368ae09 messages stanza without <body> field are not printed 2005-05-27 15:36:41 +00:00
Yann Leboulanger 4097578005 recipients must be a list 2005-05-27 14:16:34 +00:00
Nikos Kouremenos e92bb9ec38 fix a typo 2005-05-27 12:11:07 +00:00
Yann Leboulanger 74f0e11948 we are now warned when we are disconnected from a server 2005-05-27 12:07:20 +00:00
Yann Leboulanger 87d90e7aaf improved status messages 2005-05-27 05:56:17 +00:00
Nikos Kouremenos bc1a96e740 this should fix #329 2005-05-26 22:02:01 +00:00
Nikos Kouremenos 81b28a9cff Client's connect() does not raise exception on error as it was in jabberpy
in xmpppy it connect() returns connection type in a string
apparently that string can be 'tls', 'tcp' (simple without tls) and '' when it fails to connect
2005-05-26 13:35:58 +00:00
Yann Leboulanger 4338bc348f when we receive a 505 presence error we show the error pixmap 2005-05-24 21:32:52 +00:00
Yann Leboulanger 553b842972 fix vcard problems (we can receive iq without from field when we receive our vcard) 2005-05-24 19:18:32 +00:00
Yann Leboulanger 8a7a399288 we can now force to not use SASL for each account in advanced configuration editor 2005-05-24 18:19:53 +00:00
Yann Leboulanger 476cd9a9a0 we can receive empty message (for ex for gc_subjects) 2005-05-23 18:16:51 +00:00
Yann Leboulanger 517211b63f check if we have a connection before we send it sth 2005-05-23 10:46:22 +00:00
Yann Leboulanger 0f41e49758 set default timeout of xmpp to 45 instead of 25 2005-05-23 09:53:05 +00:00
Nikos Kouremenos 1c16aa578d better strings [not more clear but TYPOS in English and unknown words] {so I had to break the string being frozen} {sorry for that}
also introducing greek transl [half tooltips remain with english text, but 0.7 can live with it if I do not get to finish it before 0.7]
2005-05-21 01:28:18 +00:00
Yann Leboulanger 686a9a0bd9 when an error occure while Process()ing xmpp, we print the TB so it's easier to debug 2005-05-20 17:30:29 +00:00
Nikos Kouremenos 41e7d106d8 typo 2005-05-20 16:46:07 +00:00
Yann Leboulanger 58ab395501 <status> is not a must (except when using GPG) 2005-05-20 15:32:05 +00:00
Yann Leboulanger 2377437112 do not print empty message (fix #301) 2005-05-20 11:23:08 +00:00
Yann Leboulanger 894e38cc7f client.DisconnectHandler is no more called, so no TB will be raised when disconected
so no need to embrace every "send" call in try: except: block
2005-05-20 10:49:46 +00:00
Nikos Kouremenos 148fe12a2d removing () from ifs and foo==0 becomes not foo in an if 2005-05-19 17:50:19 +00:00
Yann Leboulanger 739021ec02 print error messages when we get Process() exception 2005-05-18 18:57:54 +00:00
Nikos Kouremenos 120fb4b3a0 suse is lsb compliant, but doesnot put lsb_release by default until 9.3 so readding scanning for suse file [now it is tested too] 2005-05-18 17:02:46 +00:00
Nikos Kouremenos 9a70ab0218 Some distros put to optional LSB vars n/a, so detect that and remove it.
SUSE uses lsb_release for quite a lot of versions I've been told so depend only on lsb for SuSE [the files things was untested in SUSE anyways]
2005-05-18 16:42:28 +00:00
Yann Leboulanger f92cdf02cb set self.connected to 0 before dispatching the status to the GUI so the connectiing icon should disapear if connection failed 2005-05-18 14:05:54 +00:00
Yann Leboulanger bb424fecf1 put xmpp.Process() in a try/except (see ticket #291) 2005-05-18 13:42:12 +00:00
Yann Leboulanger d479973e2c do not translate debug messages 2005-05-18 12:02:27 +00:00
Yann Leboulanger 35e6ac3de8 we can now join password protected groupchats 2005-05-18 09:18:29 +00:00
Yann Leboulanger 324e8b25bf save status in Connection class
send our show / status when we join a gc
2005-05-13 18:54:44 +00:00
Yann Leboulanger 5ebc240eeb tell xmpppy that stanza is treated when we send the version 2005-05-13 17:20:13 +00:00
Yann Leboulanger 88f4449fbb we now catch the errors when we connect and when we authentificat to the server 2005-05-11 16:37:01 +00:00
Yann Leboulanger c22e2c5f7a bugfix: when we have an error, we sane an error to the GUI, not a notify 2005-05-11 15:14:43 +00:00
Nikos Kouremenos d98a451764 send and show N/A if client or os is empty 2005-05-11 11:09:53 +00:00
Yann Leboulanger 225ca870f1 we now catch all errors and send them to the gc if it's open 2005-05-11 10:05:43 +00:00
Yann Leboulanger b5244d8a9c according to JEP-0100, no need to get the key of an agent to remove it 2005-05-11 09:08:06 +00:00
Yann Leboulanger 1926369859 don't send an error iq after we process the roster iq (thx Alexey) close #251 2005-05-11 07:55:17 +00:00
Yann Leboulanger 87f19fb638 print all errors in gc 2005-05-10 16:53:28 +00:00
Yann Leboulanger 6fa84c0dfe we now support user and password for proxy 2005-05-10 15:38:16 +00:00
Yann Leboulanger 61558b8942 we write the new account option in the config file only when the account has been successfully registered 2005-05-10 09:20:35 +00:00
Yann Leboulanger 3fd078dd0b we can now disable the use of TLS 2005-05-09 19:52:43 +00:00
Yann Leboulanger 0f66868a70 revert latest commit I did (sorry) 2005-05-09 10:34:47 +00:00
Yann Leboulanger 0c8b0bbde2 /me\n or /me /t is also valid ! 2005-05-09 10:30:34 +00:00
Yann Leboulanger c741fbef11 remove unneeded lines 2005-05-08 21:03:42 +00:00
Yann Leboulanger f4b05e51fa request_register_agent_info is now async 2005-05-08 20:56:11 +00:00
Yann Leboulanger 4985612036 remove unneeded line 2005-05-08 17:47:52 +00:00
Yann Leboulanger 1753a316e4 the removal of an agent is now async 2005-05-08 17:33:08 +00:00
Yann Leboulanger 2171def073 we get the roster asynchronously now 2005-05-08 17:00:41 +00:00
Yann Leboulanger fab74069c6 Gajim is JEP-0011 compliemt now 2005-05-07 12:24:19 +00:00
Yann Leboulanger 56d60f3fd5 xmpppy changes:
- Sync with latest CVS version + gajim patches.
- streamErrorHandler disabled. If you want enable it - unrem it at line 66 of
  dispatcher.py
- TLS re-enabled. Should work fine now
- disconnection TLS plugout re-enabled. Didn't successed in reproducing
  problem though so maybe not fixed.
- My temporary fixes replaced with CVS ones.

gajim connection.py changes (in chunks order):
- getTags is incorrect. Replaced with getChildren
- browseAgents is absent from xmpppy. Fixed with manual node send. Made use of
  buildReply method and con argument
- formatting fix
- crude fixed register problem. I do not know how to do it properly. It is
  client stuff. Honest! I have no idea how to make it non-blocking and yet make
  library to fallback to older protocols.
  getInstructions() moved to xmpppy
Thanks Alexey !
2005-05-07 10:57:40 +00:00
Yann Leboulanger e8965ae8b4 send keepalive every minute 2005-05-04 19:20:02 +00:00
Nikos Kouremenos 7d26b7db8c config value log --> verbose. perhaps in the future debug (coz in the future we will have an xml window) or just stick with verbose :P 2005-05-03 16:26:30 +00:00
Yann Leboulanger 4005f944c7 no xmpppy debug when log = False 2005-05-03 08:06:59 +00:00
Nikos Kouremenos 4779c800b7 removing \ where not needed 2005-04-30 08:48:50 +00:00
Nikos Kouremenos 0b331139ed connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing 2005-04-29 14:15:16 +00:00
Yann Leboulanger cd771c22ef add a new child for each option instead of always rewrite over the same 2005-04-27 22:14:28 +00:00
Yann Leboulanger eef71fcb27 xmpppy gives us the UTC time, we convert it to localtime 2005-04-27 18:26:31 +00:00
Yann Leboulanger 5ee1f2b29a fix a typo 2005-04-26 22:19:18 +00:00
Yann Leboulanger 3cd6922815 fix some typos 2005-04-26 21:33:01 +00:00
Yann Leboulanger c85273d556 switch from jabberpy to xmpppy 2005-04-26 18:45:54 +00:00
Yann Leboulanger 581b387bd9 print the error when we try to configure a room and we don't have permission 2005-04-25 22:22:23 +00:00
Yann Leboulanger bafbd5a5de when we send configuration of a gc, we only send values (we don't send label, descriptions etc...) 2005-04-25 09:30:24 +00:00
Yann Leboulanger a2b6a44079 ask and show os info from each resource 2005-04-24 22:58:41 +00:00
Yann Leboulanger e2b6b84694 '1' is also valid in the forms 2005-04-24 16:14:50 +00:00
Yann Leboulanger 544bbb1206 AGENT_INFO_INFO now send the node 2005-04-24 15:47:08 +00:00
Vincent Hanquez 6dafb51c37 change do_not_send_os_info to send_os_info and do_not_check_for_new_version
to check_for_new_version
2005-04-24 00:31:48 +00:00
Yann Leboulanger eb83c5dd5e node support (JEP 0030). Has to be tested 2005-04-23 21:54:12 +00:00
Yann Leboulanger 0cfb3f5249 code to unregister an account 2005-04-20 12:23:41 +00:00
Yann Leboulanger ebef428ae1 we now have groupchat configuration !! (and a Data Form Parser JEP 0004) 2005-04-20 10:21:33 +00:00
Nikos Kouremenos ba272a9553 glade and code fixes. still code for unregistering is missing 2005-04-19 23:43:58 +00:00
Nikos Kouremenos c5aa9f0e81 remove account allows unregistering too (xml code is missing atm) 2005-04-19 22:29:38 +00:00
Nikos Kouremenos 08f7c21fe8 adding LFS detection in get_os_info 2005-04-19 13:14:41 +00:00
Nikos Kouremenos 6b0e7d0908 adding free for chat for the user 2005-04-18 22:25:22 +00:00
Yann Leboulanger 7934a71024 typo 2005-04-18 17:49:31 +00:00
Nikos Kouremenos 00b13f2eff typos all over and " --> ' 2005-04-18 12:17:43 +00:00
Yann Leboulanger 4b5e2381e1 delete the connection when we go offline 2005-04-18 09:18:50 +00:00
Yann Leboulanger e3f53dd3c6 idle now works 2005-04-17 11:49:39 +00:00
Yann Leboulanger 117da83bd5 typo 2005-04-17 09:05:26 +00:00
Yann Leboulanger a4c47e661e update from trunk 2005-04-16 23:15:03 +00:00