Commit Graph

1013 Commits

Author SHA1 Message Date
Stephan Erb 8d4a0dd203 Indentation error. Fixes #3768 2008-03-14 12:37:02 +00:00
Yann Leboulanger e572a0cd65 warn user when emoticon theme can't be loaded. fixed #3696 2008-03-14 08:46:10 +00:00
Jean-Marie Traissard 67f69fe688 History log checkbutton cleanings :
* Fix a bug when accessing by nickname
* Restore usability for rooms (opened ones) and offlines contacts (but if in roster)
* Don't search account of contact if we already have it
* Disable checkbutton if we don't log for the whole account
2008-03-13 01:15:57 +00:00
Yann Leboulanger 64c2fb1667 fix some strings 2008-03-11 16:50:35 +00:00
Yann Leboulanger d17b5b7bad new way to create emoticons.py file. fixes #3696 2008-03-10 23:26:04 +00:00
Jean-Marie Traissard 6e84de1fbe Fix indentation error in [9348]. 2008-03-10 22:40:46 +00:00
Yann Leboulanger 1b90552446 ability to remove a PEP node 2008-03-02 23:56:39 +00:00
Yann Leboulanger d0aa21eb24 commit back MSN transport workaround 2008-03-01 09:56:00 +00:00
Yann Leboulanger e0a4ab05b4 remove useless else 2008-02-26 09:46:27 +00:00
Yann Leboulanger cb51401903 [shivan] don't trat emoticons created with parenthesis arround status message. fixes #3368 2008-02-26 08:31:48 +00:00
Yann Leboulanger 62f8937fae no need to draw muc in roster each time we get a presence or each time we get a message. 2008-02-25 20:41:41 +00:00
Yann Leboulanger c8b25f37a5 [shtrom] $S and $T in autoaway status message. fixes $3741 2008-02-25 14:09:47 +00:00
Yann Leboulanger 13541c0425 ability to configure pubsub nodes. see #3053 2008-02-15 22:55:21 +00:00
Yann Leboulanger 494ae444b6 ability to ignore SSL errors until certificate changes. Fixes #3710 2008-02-15 10:11:17 +00:00
Yann Leboulanger 7c49600135 use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734, #3736 2008-02-14 19:18:07 +00:00
Brendan Taylor c8cae71099 merged trunk 2008-02-14 02:20:07 +00:00
Jean-Marie Traissard 894e752292 Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
Reverting [9324]. Reopen #3734.
2008-02-13 18:03:29 +00:00
Yann Leboulanger ad3935d9e9 [Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734 2008-02-13 07:14:06 +00:00
Stephan Erb 4974773895 Remove workaround old, non xep-complient MSN transports. 2008-02-08 22:15:03 +00:00
Brendan Taylor 0b574d2360 move message handling into ChatControlSession 2008-02-06 01:40:51 +00:00
Yann Leboulanger e8b7778521 detect jabber:iq:last and jabber:iq:version errors by IDs. fixes #3711 2008-02-05 14:50:21 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger 848c492926 add checkbutton to YesNoDialog. Ability to fall back from tls to ssl and then plain. Warn user when using insecure connection. fixes #1923 2008-02-04 21:38:36 +00:00
Yann Leboulanger e695dddf24 better text when fingerprint change. fixes #3712 2008-02-01 16:22:32 +00:00
Yann Leboulanger dbaac78ef5 the on_yes handler of YesNoDialog don't take any argument. fixes #3712 2008-02-01 07:56:16 +00:00
Yann Leboulanger 7d5602c4b1 add a new event to allow not playing sound when chat window is focused. fixes #2907 2008-01-27 20:15:17 +00:00
Stephan Erb 4bb29675a8 padlock icon in merged accounts mode: show when all connected accounts are connected securely, don't show it when one is not secured, do no care about offline accounts. 2008-01-23 16:10:28 +00:00
Yann Leboulanger d27f9a9c85 * YesNo dialog now destroy itself when we click on a button
* yes YesNo dialog when a contact removes us to as if user wants to remove it too
 * fix some coding standards
2008-01-22 16:06:16 +00:00
Stephan Erb 6fdd7c0f88 Rework GPG behaviour:
Only encrypt when the receiver is trusted. You have to sign its key or it has to be signed by someone you trust. Fixes #109

Make checkbox insensitive when GPG is disabled on an account (or no passphrase given).

Auto assign trusted keys on received presence. Deny encryption on missmatch of assigned key and signing key. Fixes #3376

Do not disable encrypted when receiving an unencrypted message. Print whether a received message was encrypted or not.

TODO: Remove togglebutton, its useless now
2007-12-29 23:28:27 +00:00
Yann Leboulanger d846f28a0e fix argument type. statusCode is a list, cannot be None 2007-12-29 00:24:56 +00:00
Yann Leboulanger ec91275255 ask GPG passphrases one by one for each account. fix #3644 2007-12-28 10:20:41 +00:00
Jean-Marie Traissard 14bf5ed62c pyflakes checks, remove unused imports, mainly 2007-12-27 21:52:45 +00:00
Travis Shirk 7539d5b70e Since KeyboardInterrupt is "common" then catch the exception, print to stderr, and exit. No traceback, which says "error" to me... 2007-12-27 01:30:40 +00:00
Yann Leboulanger 6247de33da don't propose to add certificate to cacerts.pem file if it's useless, and don't add it if it is already in. fixes #720 2007-12-26 23:59:54 +00:00
Yann Leboulanger 9d068dc322 [shprotx] save config when gnome sessions ends. fixes #3618 2007-12-15 09:04:10 +00:00
Yann Leboulanger a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Brendan Taylor b8882ba48e merged realtime cancellation patch 2007-12-08 09:09:06 +00:00
Brendan Taylor 88f017a20d realtime notification of esession begin/end 2007-12-08 05:49:38 +00:00
Yann Leboulanger 00ad2846c0 import release diff from 0.11.4, svn version is now 0.11.4.0-svn 2007-12-06 20:38:41 +00:00
Yann Leboulanger 002556db7e [mgol] better latex detection regex. fixes #3598 2007-12-04 09:45:51 +00:00
Yann Leboulanger 46aac301c8 SSL certificate verification, certificate fingerprint verification. fixes #720, #2499 2007-12-04 09:38:39 +00:00
Yann Leboulanger f409450998 re-create gpg instance in connection.py at each connection son use_gpg_agent current value of use_gpg_agent option is used
warn user when he configured gajim to use gpg-agent but it returns a wrong passphrase. see #3592
2007-12-01 13:22:39 +00:00
Brendan Taylor 1cd5b3da39 fixed use of common.xmpp namespace in a place it wasn't imported 2007-11-28 19:26:40 +00:00
Yann Leboulanger 3ee18c20c8 handle unicode chars in emoticons. fixes #3227 2007-11-26 12:03:09 +00:00
Yann Leboulanger 034999989d remove useless spaces and tabulations 2007-11-26 10:27:51 +00:00
Yann Leboulanger 08e577c637 fix GPG behaviour 2007-11-22 13:53:12 +00:00
Yann Leboulanger 0ceb41f650 request GPG password only when connected to server, before sending presence. fixes #3483, #3375, #3115 2007-11-22 10:41:57 +00:00
James Newton f1d3f85037 Fixed a bug with forcing autodetection of browser/mail during startup when the
config file already existed and had a different option choosen. Added in an
'Always use OS/X default applications' option for when running on OS/X. Changed
the custom defaults to use OS/X native applications.
2007-11-17 15:03:02 +00:00
James Newton c2b901dfe9 Adjusted the menu code in an attempt to make it work better on leopard. Removed
the idle_add wrapper for on_quit and moved the idle_add wrapping into the
sync-menu code instead.
2007-11-16 23:11:35 +00:00
James Newton c6c31a17c3 Removed path adjustment from gajim.py and moved it outside of gajim proper. 2007-11-16 14:04:18 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +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 d6aa63cd1c fix check of presence of X server. Fixes #3481 2007-10-21 09:40:09 +00:00
Yann Leboulanger 0869ce362c Follow nick change in private message. fixes #3455 2007-10-13 14:37:22 +00:00
Brendan Taylor bd8ececb46 encrypted secret storage and an improved SAS verification dialog 2007-09-29 20:51:01 +00:00
Yann Leboulanger 530cc9e62f [asac] support jabberdata in message elements. fixes #2225 2007-09-27 20:39:42 +00:00
Yann Leboulanger b79170cc70 add account name to XEP-70 dialog when several are connected 2007-09-17 18:03:44 +00:00
Yann Leboulanger bf6c87b888 don't TB when dbus is not present. fixes #3328 2007-09-14 20:50:19 +00:00
Yann Leboulanger 81c65ccac8 [steve-e] Ability to select a jid in history window. fixes #3410, #3308, #1925 2007-09-14 20:18:06 +00:00
Yann Leboulanger 8ec061f5f6 prevent the user before sending a file to a groupchat contact that doesn't know his real jid. 2007-09-12 23:12:29 +00:00
Yann Leboulanger b05579dc13 accept file transfert request from contact not in our roster 2007-09-12 22:06:07 +00:00
Yann Leboulanger 767975d4c7 don't try to get extension of an image if type is unknown. fixes #3436 2007-09-11 09:59:10 +00:00
Yann Leboulanger 7827e3cb9a revert unwanted commit from [8749] 2007-09-09 14:35:46 +00:00
Yann Leboulanger bc53dbbef7 run the browser auto-detection forst time we run Gajim 2007-09-07 21:03:55 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 62edcc71de make python-crypto an optional dependency 2007-08-27 13:36:24 +00:00
Stephan Erb b1136a6959 Generalize save_avatar_files() and generate notif and bw version for local avatars. 2007-08-26 10:23:39 +00:00
Yann Leboulanger c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Yann Leboulanger e982404d58 allow participants to invite contacts in continued groupchats. see #2095 2007-08-22 11:46:35 +00:00
Yann Leboulanger 78f2c8c021 [roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408. TODO: DND 2007-08-21 23:13:03 +00:00
Brendan Taylor 88e49ffa46 don't create uneccessary sessions (eg. for groupchat messages), bugfix for pms 2007-08-20 17:33:12 +00:00
Brendan Taylor 59b7e83fd5 removed buggy anti-presence-leak test 2007-08-20 08:19:29 +00:00
Brendan Taylor 0230c91e4c esession bugfixes 2007-08-20 08:16:48 +00:00
Brendan Taylor 8675731f8d refactored identity verification
public key authentication
2007-08-17 08:39:47 +00:00
Yann Leboulanger ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Yann Leboulanger 3cf16a5a4a handle gnome-screensaver events. fixes #663 2007-08-09 12:18:59 +00:00
Yann Leboulanger c4b34800da call process_connection faster under win. it processes incoming stanza under windows only. 2007-08-09 10:41:59 +00:00
Brendan Taylor 4bfe14d3cf prompt with SAS during 3 message negotiation 2007-08-07 07:42:31 +00:00
Yann Leboulanger 3b9966960d add --config-path option so that we can specify the root folder of config files. see #2149 2007-07-25 23:04:15 +00:00
Julien Pivotto 3a1b83228d Beter handling of status code in MUC. see #3270. 2007-07-19 13:12:11 +00:00
Julien Pivotto 97d5ffdb7d Beter handling of status codes. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-init
2007-07-19 11:54:15 +00:00
Julien Pivotto 0314f23aa4 Add notification of Configuration Changes in MUC. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify
2007-07-19 10:06:59 +00:00
Brendan Taylor 8adbac7997 don't prompt to negotiate if we have mutual subscription 2007-07-17 08:26:14 +00:00
Brendan Taylor fdef1c3d72 shared retained secrets 2007-07-17 08:08:27 +00:00
Brendan Taylor 8af883e852 refactored and corrected identity testing, prompt user when a session is initiated by an unsubscribed jid 2007-07-12 06:25:05 +00:00
Julien Pivotto 9994643247 Added my own copyright :-P 2007-07-11 21:39:27 +00:00
Yann Leboulanger 3f5327dc6f [mrk] handle Google Apps For Your Domain. fixes #3163 2007-07-11 16:32:18 +00:00
Yann Leboulanger 952e6d96e3 catch disk full errors. fixes #2937 2007-07-09 16:01:19 +00:00
Yann Leboulanger 2828e47a24 don't always minimize bookmarked groupchats 2007-07-08 11:28:23 +00:00
Brendan Taylor ccac0b4299 fixed presence leaks 2007-07-05 21:30:09 +00:00
Brendan Taylor 29c44d8a5e interface for SAS 2007-07-04 18:55:53 +00:00
Yann Leboulanger 1656ea452b rename gt+ theme to default. fixes #2794 2007-07-04 16:50:54 +00:00
Yann Leboulanger 039bf1e10e use get_contact() when we give the resource. see #3275 2007-07-04 16:33:40 +00:00
Yann Leboulanger 8abd062365 [Lukas] split get_contact into get_contacts and get_contact. get_contact_from_full_jid uses get_contact. Maybe could be merged with optional argument, but it's clearer this way. Fixes #3275 2007-07-04 13:23:16 +00:00
Brendan Taylor 2bed6a522a fixed a traceback 2007-07-03 18:00:09 +00:00
Yann Leboulanger 33946aeeef remove useless function get_contcats_from_jid (same as get_contact). see #3275 2007-07-03 10:22:41 +00:00
Brendan Taylor c3b81346d9 human-readable feature negotiation dialogs 2007-07-02 16:53:19 +00:00
Yann Leboulanger fd2be16f24 make the ask password for groupchat window async and entry visibility to False. fixes #3265 2007-06-29 08:19:13 +00:00
Brendan Taylor 6fe668d863 disable logs in encrypted sessions. 2007-06-29 04:12:08 +00:00
Yann Leboulanger c8d808d956 fix TB when we remove an account. Fixes #3268 2007-06-28 21:22:27 +00:00
Yann Leboulanger a1bf7363c7 better network_manager detection 2007-06-26 20:59:30 +00:00
Brendan Taylor 39bea5fd40 tidying things up. 2007-06-26 20:55:49 +00:00
Yann Leboulanger 519bfa9352 remove private messges from unread_messages table in logs.db 2007-06-25 19:34:23 +00:00
Yann Leboulanger fc153017ec ask password to user when we try to connect to a password protected room. fixes #2890 2007-06-24 21:19:41 +00:00
Brendan Taylor abd773b52e can respond to an esession request 2007-06-20 20:44:33 +00:00
Yann Leboulanger 2c6b7494cc check network events every 2 seconds is enough. fixes #3250 2007-06-19 16:19:57 +00:00
Julien Pivotto 2885e3dbda [misc] Update own vcard when requested. Fix #3237. 2007-06-17 16:10:00 +00:00
Brendan Taylor d1fe7b41f3 functioning XEP-0217 implementation! (initiation only) 2007-06-17 10:39:19 +00:00
Julien Pivotto c92145c3b9 [misc] repare sending composing chatstates using xep instead of xep.
Fix #3241.
2007-06-16 21:31:19 +00:00
Julien Pivotto ed3db807d9 Fix a bug with minimization and new accounts 2007-06-14 20:57:25 +00:00
Yann Leboulanger d2914f642b add minimize button to manage_bookmarks window. see #3034 2007-06-13 20:24:04 +00:00
Julien Pivotto 6338f63f03 Fix some bugs with minimized groupchats. 2007-06-11 10:13:16 +00:00
Yann Leboulanger 5ca32ba606 [sgala] check autoaway state only every 10 seconds, so that gajim allows for processors to sleep longer for power saving (see linuxpowertop.org) 2007-06-06 09:57:33 +00:00
Brendan Taylor 7898686680 reverted back to per-JID windows, pass around sessions instead of thread_ids 2007-06-05 23:19:34 +00:00
Brendan Taylor 17c5bf5e52 massive everything-breaking overhaul for per-session windows 2007-06-05 21:26:45 +00:00
Julien Pivotto 85c6c4b63c * Use self instead of gajjim.interface in gajim.py
* Improve coding of [8220]
2007-06-04 12:22:51 +00:00
Julien Pivotto 6269150711 Fix a bug with (systray, drag and drop) and minimized groucpchat 2007-06-04 12:18:34 +00:00
Julien Pivotto 99f36260f9 Change also context menu 'send status' icon in roster. 2007-06-03 16:42:43 +00:00
Julien Pivotto 24f42e7549 Add sent status icon to contact's context menu. Fix #342. 2007-06-03 15:46:05 +00:00
Yann Leboulanger 274f8742bb use the new new_private_chat function 2007-06-03 13:45:32 +00:00
Yann Leboulanger 75eb345ff9 prevent TB when we click on a popup notification of an already handled event 2007-06-03 13:42:51 +00:00
Yann Leboulanger 52c6c6cbb7 [roidelapluie] better groupchat support in roster and systray. Better nick support 2007-06-03 13:40:14 +00:00
Yann Leboulanger 07b324ced4 ability to see pep nodes and their access model. TODO: ability to change it 2007-06-03 10:30:34 +00:00
Piotr Gaczkowski e3ef0821b3 Merge with trunk 2007-06-03 10:04:20 +00:00
Brendan Taylor d696f79c55 can now accept a session negotiation 2007-06-01 22:08:23 +00:00
Brendan Taylor 32804eed1c reject a session negotiation request 2007-06-01 18:19:19 +00:00
Brendan Taylor 46bc373cc3 pop up a (useless) DataFormWidget when someone initiates a session negotiation 2007-06-01 17:09:56 +00:00
Yann Leboulanger 0e3c634ff2 new account registration wizard that follow XEP 77 better. fixes #2700 too (advanced options available while creation an account) 2007-05-31 21:49:49 +00:00
Brendan Taylor ec37a97ed6 add <thread/> to replies to single message that contain a <thread/> 2007-05-30 15:31:41 +00:00
Yann Leboulanger 94186d6d16 fix missing argument to handle_event_gc_notify function. Thanks sgala 2007-05-21 17:41:31 +00:00
Yann Leboulanger a45a14546a handle correctly vcards in groupchats : ask them to real jid if we know it, but considere it arrive from fake jid. Fixes #3172, #3173 2007-05-20 15:41:20 +00:00
Julien Pivotto 91edfcfbdd Fix a bug with highlighing in groupchats 2007-05-17 15:50:55 +00:00
Julien Pivotto 993d72a8c1 Fix a bug with receiving Private Messages when roster is minimized, print the number of unread pm in roster, and change icon when a pm is received. 2007-05-17 12:55:44 +00:00
Jean-Marie Traissard b10981bd03 Use only one (up to date) error dialog for aspell dictionary error. See #3165. 2007-05-14 03:59:57 +00:00
Yann Leboulanger 1674110503 show transport nickname if there is one and user hasn't set a nickname. fixes #3094 2007-05-12 20:30:26 +00:00
Yann Leboulanger 31101e5049 when we're disconnected because of a resource conflict, ask the user another resource. Fixes #3044 2007-05-09 20:59:29 +00:00
Julien Pivotto ced8d45a5f Fix a bug with status in PM window on status change. 2007-05-08 18:32:44 +00:00
Julien Pivotto 1ee858e606 Fix a bug with notifs in systray. 2007-05-08 15:38:23 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 9c67eb961c [Peritus] handle confirmation requests sent via messages for XEP-0070. fixes #2995 2007-04-30 20:27:11 +00:00
Yann Leboulanger 3545dd3b90 [TheCurse] single-clicking ability. fixes #2072 2007-04-26 16:44:00 +00:00
Yann Leboulanger 798fd0e25a [thecurse] add latex support (run dvips and convert externaly) through use_latex ACE option. fixes #2796 2007-04-25 21:51:08 +00:00
Yann Leboulanger 776c4614d5 [roidelapluie] add ability to block / unblock a contact / group directly from roster. see #253 2007-04-24 19:56:24 +00:00
Yann Leboulanger 9ed8a292f2 support JEP-0055 (search) for non-dataform services. TODO: improve GUI 2007-04-19 20:54:42 +00:00
Yann Leboulanger f3676520c4 really take nick from FN field 2007-04-19 19:55:50 +00:00
Yann Leboulanger cac46db66c if no NICKNAME is present in our vcard, use FN fiield as our default nickname. 2007-04-19 19:02:56 +00:00
Yann Leboulanger 41bdb0c7f6 begining of XEP-0055 (search) implmentation. For the moment, works only with dataforms. see #1922 2007-04-19 13:31:28 +00:00
Yann Leboulanger 38b48d0134 [roidelapluie] add /ping command and ping menuitem in chat window. fixes #2947 2007-04-18 16:40:48 +00:00
Jean-Marie Traissard bf05bec320 re-add r' 2007-03-31 12:22:38 +00:00
Jean-Marie Traissard e0b88bb53c [bb]Better string manipulation 2007-03-31 12:07:40 +00:00
Yann Leboulanger ada5753cb9 detect correctly running instances under win with built version. fixes #3050 2007-03-22 18:37:23 +00:00
Yann Leboulanger 738da72f5a [andreas] don't change status message when we go auto away and no autoaway status message is defined. Same thing for autoXA. fixes #2994 2007-03-07 16:52:08 +00:00
Yann Leboulanger 5b63c41c41 use new dataform widget in register agent window. Remove no more used old DataFormWindow. 2007-02-15 09:18:24 +00:00
Yann Leboulanger 3534bb30cd use new dataform widget in groupchat config window 2007-02-14 16:48:25 +00:00
Yann Leboulanger 0f91b1cdad catch correct exception when we try to use set_restart_command() 2007-02-12 19:59:40 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Yann Leboulanger 56bcc2e1fa missing commit 2007-02-07 12:13:41 +00:00
Yann Leboulanger 6d30138e80 fix call to self 2007-02-07 08:49:13 +00:00
Jean-Marie Traissard 20835ad104 Removing useless global vars (finally found a good debugger :) 2007-02-04 14:09:38 +00:00
Jean-Marie Traissard d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Yann Leboulanger f079604c15 reset status_before_autoaway var when we come back online 2007-01-31 20:39:44 +00:00
Yann Leboulanger d7b9b50a67 prevent TB. fixes 2nd traceback of #2936. see #2936 2007-01-24 20:54:22 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger 3567a8c20f remove privacy list from dialog only when server return the result, else show an error dialog. fixes #2853 2007-01-11 20:21:53 +00:00
Yann Leboulanger 959687c262 check at startup if gajim is the default xmp:// handler and prompt user if it's not. fixes #2861 2007-01-05 17:20:58 +00:00
Yann Leboulanger 53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger 483481c586 ask transport contact avatars only when transport is connected. fixes #2832 2007-01-02 11:43:57 +00:00
junglecow 847d9fe6e9 - Enhanced parsing of -l/--loglevel option
- Demote one message w/exception to debug
 - Hopefully improved user error message when fingerprint is bad
2006-12-27 18:38:50 +00:00
Yann Leboulanger 45341476db don't show empty () when a pm contact changes his status. fixes #2832 2006-12-27 11:32:01 +00:00
Yann Leboulanger badf46a852 redraw account row when we remove a group and when an observer removes us. see #2801 2006-12-26 13:30:35 +00:00
junglecow 9deb76a8ad - Started new way of logging, with configurable level for each subsystem
- Added -q, --quiet (speaks for itself)
   - Added -l, --loglevel subsystem=LEVEL,subsystem2=LEVEL2,...
 - Quell winsock 10035 error. (Equivalent of EINPROGRESS, but winsock likes to have its own error numbers.)
 - Hide SSL certificate debug stuff unless gajim.c.x.transports loglevel is DEBUG or lower
 - Avoid unicode problems if we set a profile
 - Move fingerprint checks from _register_handlers to _connect_success
 - Some enhancements to fpr checking code
2006-12-23 21:18:07 +00:00
junglecow a4655276fe [Trunk]
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
 - Attempt at fixing traceback when getting user's home directory in Windows. See #2812. (c/configpaths.py)
 - Show 'error' icon next to account while waiting for reconnect. Fixes #2786. (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
 - Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
 - Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
 - Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
 - this → self (c/x/transports_nb.py)
 - Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
junglecow 230a77ba94 - In [7647], reading of PID file was moved out of try..except block. Fixed.
- [PyOpenSSL] Small fix to error handling.
2006-12-15 10:57:25 +00:00
Yann Leboulanger 96417e6592 [mdt] better pid file behaviour for windows. fixes #2165 2006-12-13 14:41:57 +00:00
Yann Leboulanger f89ccfe441 detect error while encrypting message, block sending it, and display error message. fixes #2712 2006-12-06 16:19:47 +00:00
Yann Leboulanger df58c1f309 play gmail_received sound only if it is enabled. fixes #2697 2006-12-03 13:49:16 +00:00
Nikos Kouremenos 053c5c0776 we now fail if no pywin32 is there. REFIX 2006-12-02 01:26:45 +00:00
Yann Leboulanger ac4fab231c remove gc contact avatar when he removes his avatar. see #2718 2006-11-28 16:41:31 +00:00
Yann Leboulanger e9db205110 remove avatar files when we publish a vcard without an avatar. see #2718 2006-11-28 15:40:08 +00:00
Jean-Marie Traissard 6b0664fa83 Cache xep85 support but continue to violate xep85 5.1.2 for release. See #2637. 2006-11-26 22:00:53 +00:00
Yann Leboulanger ef8553031b [elrodeo] add a sound option when receiving gmail notifications. fixes #2697 2006-11-26 09:28:12 +00:00
junglecow 8f4f4e5a0d Ack! Typo! 2006-11-22 23:36:37 +00:00
junglecow 67d9e4d409 Forgot to close pidfile when /proc doesn't exist. Fixed. 2006-11-22 23:27:54 +00:00
junglecow 9694f931bf - More conservative PID file handling:
- Assume Gajim is running if pid's commandline contains 'gajim' anywhere. (The chance that it's some other process is very small, better safe than sorry.) (Linux only)
  - On non-Windows OS without /proc, assume Gajim is running if pid file exists.
2006-11-22 20:56:25 +00:00
Yann Leboulanger 4d9e58a580 better pid behaviour. we now in process list if pid contained in gajim.pid is still gajim. fixes #2165. (Linux only) 2006-11-22 16:15:16 +00:00
Yann Leboulanger 4236845608 prevent TB 2006-11-21 21:30:15 +00:00
Yann Leboulanger 953a9c1086 prevent a TB. fixes #2687 2006-11-21 20:55:56 +00:00
Yann Leboulanger 43c2f2f0ab change resource of incoming event when a resource disconected between the moment we get the message and the moment we read it. see #2657 2006-11-21 20:26:44 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 31c3deb86e Merge back [7466], [7467] and [7472] that were overwritten by ad_hoc merge. Fixes
#2200.
2006-11-19 19:45:43 +00:00
Nikos Kouremenos 49f1cd3bcf calling the module SRE is deprecated [in py25] in favor of RE. so use RE 2006-11-18 23:21:59 +00:00
Tomasz Melcer 175a792cfe Merging changes from trunk (6774:7465) 2006-11-18 20:52:28 +00:00
Tomasz Melcer 9b29c4c8b8 Merging changes from trunk (6561:6774) 2006-09-13 16:47:58 +00:00
Tomasz Melcer fa6ae3b4be Simple support for pubsub.com notifications. 2006-07-21 13:52:36 +00:00
Yann Leboulanger 1f93e36844 add a self contact row when another resource is connected. we can now use ad_hoc commands in gajim 2006-07-19 11:01:09 +00:00
Tomasz Melcer 585ab90e92 Merging changes from trunk (6496:6561) 2006-07-17 19:30:53 +00:00
Dimitur Kirov 8e4131fc93 create .gajim dir if it doesn't exist 2006-06-15 09:49:44 +00:00
Dimitur Kirov fff37fe869 check if pid file is already removed 2006-06-15 09:43:08 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 0b0e32ca32 [Anton Shmigirilov] Confirmation dialog,
instead of Error dialog for pid file
2006-06-14 08:45:30 +00:00
Dimitur Kirov 900d6d01b1 var name is 'account' 2006-06-13 06:41:33 +00:00
Yann Leboulanger d10d8f7815 don't show signed in/out popup notification for 30 seconds for transport contacts when we log in/out this transport. Fixes #2041 2006-06-12 15:24:58 +00:00
Yann Leboulanger 59c3b7b3c8 JEP 172 support (user nickname) Fixes #464 and #884 2006-06-01 15:23:38 +00:00
Dimitur Kirov 880253f9d3 say where is the pid file, which must be
deleted
2006-05-27 07:46:06 +00:00
Yann Leboulanger fe7f50cab3 gajim now create a pid file (~/.gajim/gajim[.profile].pid so that one profile cannot be launched twice) Fixes #1480 2006-05-26 13:32:52 +00:00
Jean-Marie Traissard e96724224d #1005 preparation : move popups and sound code for incomming new messages to notify.py 2006-05-22 20:14:54 +00:00
Jean-Marie Traissard 6d0e6b5289 Do not play incoming message sound when message from unknown contact and ignore_unknown_contacts
Fixes #1970.
2006-05-21 19:46:36 +00:00
Jean-Marie Traissard d7c5230573 Do not try to remove item from roster if contact is not in roster. Fixes #1967. 2006-05-19 02:42:54 +00:00
Jean-Marie Traissard 30f83fc2cb Typo + Really delete unused make_groups_submenus_for_chat_with() + redraw pm tab AFTER muc contact
disconnected + fix reference before assignement TB
2006-05-18 18:07:53 +00:00
Yann Leboulanger 956ae9c34b [francois] notifies dbus when a new gmail message arrives. Fixes #1961 2006-05-15 17:27:48 +00:00
Jean-Marie Traissard de3af10b75 For GC, draw banner AFTER we change status of control 2006-05-11 21:46:55 +00:00
Jean-Marie Traissard af3500a225 #1005 preparation : Begin to move notifications to notify.py :
-moved popup and sound for contact in/out
-added popup for status change (always disable for the moment, will be advanced only)
Note : removed "if not gajim.awaiting_events[account].has_key(jid)" from condition for an in/out popup to be showed
2006-05-10 20:25:51 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Yann Leboulanger d25d056677 be sure that transport is really removed before we start to remove its contacts. 2006-05-01 18:29:12 +00:00
Yann Leboulanger 5a20109e05 don't definitively remove a contact when it has unread events 2006-04-26 21:43:58 +00:00
Yann Leboulanger 5655449d08 escape password when we create gmail URL 2006-04-25 19:56:27 +00:00
Yann Leboulanger 7e190cd107 don't unsensitive change_status_message menuitem in status ocmbobox when there are connected accounts. 2006-04-23 17:36:33 +00:00
Yann Leboulanger 922eeb5b4d activate autostatus also for free for chat status 2006-04-21 17:31:24 +00:00
Yann Leboulanger 5f48392890 don't activate auto away if we connect as away or invisible or anything else than online 2006-04-21 17:27:28 +00:00
Yann Leboulanger 70282f0bd5 set sleeper_state to off when we manualy go away so that we desactivate auto away 2006-04-20 21:53:41 +00:00
Jean-Marie Traissard a560e6c7c8 Fix indentation 2006-04-20 17:12:15 +00:00
Yann Leboulanger d42bba202b idle autostatus is activated only when we sign in. Fixes #1874 2006-04-20 17:06:05 +00:00
Yann Leboulanger dafb182a0f when a contact change his sub (from -> both) redraw it in correct group 2006-04-19 10:07:47 +00:00
Dimitur Kirov b6ca28f342 make sure ChatControl instances are destroyed
when chat tab is closed
1/2 fixes #1829
2006-04-17 21:59:04 +00:00
Dimitur Kirov 14588f5e0f win32: check against 2,8 for gtk too 2006-04-14 11:16:00 +00:00
Yann Leboulanger 2a5e41e06a update groupchat contacts avatar when they change it, and send our presence to groupchat when we change our vcard 2006-04-12 12:55:06 +00:00
Yann Leboulanger 4e2f02c725 fix import (add missing, remove useless) 2006-04-11 18:36:09 +00:00
Yann Leboulanger d5d2f3c055 call got_[dis]connected() for all controls. Fixes #1845 2006-04-11 12:35:50 +00:00
Yann Leboulanger 4b43cda815 call fire_up_unread_messages_events when needed 2006-04-11 10:32:16 +00:00
Dimitur Kirov 97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger eb8cc5b7ea show correctly error message and log them in DB. fixes #1802 2006-04-10 14:00:04 +00:00
Yann Leboulanger 36fd551c10 "Set avatar when I connect" -> "Set my profile when I connect". Fixes #1837 2006-04-10 11:13:18 +00:00
Yann Leboulanger 9427fdaed1 don't compute bw avatar if no avatar. Fixes #1839 2006-04-10 10:50:32 +00:00
Yann Leboulanger aacf9dd950 fix TB when message from unknown contact 2006-04-10 09:04:52 +00:00
Jean-Marie Traissard b72e3aa100 Re-add nk's 'Profile, Avatar' menu, make it working 2006-04-08 22:47:57 +00:00
Dimitur Kirov 481c08560f removed useless methods 2006-04-08 16:51:56 +00:00
Dimitur Kirov e95cd81587 show roster when there are no old and new logs 2006-04-08 01:11:11 +00:00
Dimitur Kirov 077e3e1084 take care for winners 2006-04-07 23:49:49 +00:00
Dimitur Kirov 52d01323ce mirate logs by spawing a child python process
No progress text, only pulsebar
2006-04-07 22:57:27 +00:00
Nikos Kouremenos db1cffb299 parent.destroy() destroys childs too 2006-04-07 11:09:11 +00:00
Yann Leboulanger 1bc78a3818 we remove agent even if it doesn't reply. Fixes #1756 2006-04-06 16:58:20 +00:00
Yann Leboulanger 29f41b223a we can now disable avatars by setting width or height to 0. Partially fixes #1816 2006-04-06 16:20:59 +00:00
Yann Leboulanger 37fd51363a remove contact from roster when we read latest event (including non-message event) if showOffline is False. Fixes #1812 2006-04-05 18:53:21 +00:00
Yann Leboulanger a2b3acd864 remove contact from roster when we read his awaiting events and showOffline is False. Fixes #1812 2006-04-05 17:25:02 +00:00
Nikos Kouremenos 1a3696a026 we no longer keep xml_console_window forever in me. we allocate on demand 2006-04-05 12:01:21 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Yann Leboulanger 7b102e4813 fix TB when getting chatstate from contact not in roster of offline storaged chatstate 2006-04-04 17:51:52 +00:00
Yann Leboulanger fe9bdf1737 nothing: remove useless line 2006-04-04 15:19:33 +00:00