Commit Graph

1261 Commits

Author SHA1 Message Date
js 4958b28e1d Sorry, last commit missed one hunk. 2008-05-11 13:41:23 +00:00
js d2731268d7 [Kjell Braden] Fix OTR for chat and GC queries for real now. 2008-05-11 13:20:22 +00:00
js 573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
js d69d5266b5 Fix a OTR related crash on exit. 2008-05-11 01:07:38 +00:00
js b5a9edc6b4 Fix crash in GC query when OTR is active. 2008-05-11 00:45:15 +00:00
js 4eeb96368b Store otr_userstates at the right place and create it the right way.
This fixes the crash when creating a new account, which made Gajim
unusable on systems where it never ran before.
2008-05-10 21:29:47 +00:00
js 435042968e Added OTR support.
Work done by Kjell Braden <fnord@pentabarf.de>.
Some fixes done by me.
2008-05-09 12:35:25 +00:00
Jean-Marie Traissard 75ffe12157 Change very bad var names 2008-05-05 03:18:09 +00:00
Jean-Marie Traissard 5689daf66b In configure room, works even if we receive an affiliation list with more than one affiliation inside.
More logical, more secure and example 90 in xep-0045 says it can happen. Deal also with affiliation 'none' (don't show it)
2008-05-05 00:38:52 +00:00
Brendan Taylor 1962b231e6 pm bugfix 2008-05-04 00:24:27 +00:00
Brendan Taylor 99f2997d27 pm fixes 2008-05-03 00:10:17 +00:00
Brendan Taylor 20beea4b49 fixed groupchat 2008-05-02 02:32:28 +00:00
Yann Leboulanger a9e25aa98a fix arguments of on_open_chat_window functions. It is called from callbacks, so first argument is widget. 2008-04-26 23:36:03 +00:00
Yann Leboulanger 613753f308 [elghinn] codding standards 2008-04-24 13:47:37 +00:00
Stephan Erb 29d2e00803 Small roster API cleanups. 2008-04-23 22:34:10 +00:00
Yann Leboulanger a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Jean-Marie Traissard 47bc1d61b4 Added one unique function to src/gajim.py to add a GC bookmark.
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +00:00
Jean-Marie Traissard 8b8f139f79 Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643.
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Yann Leboulanger e54d749eec add a new dbus signal when a contact changes his status. fixes #3655 2008-04-20 14:39:08 +00:00
Stephan Erb 4e6bd4ee8f Port roster_window to gtk.TreeModelFilter.
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.

See #1201
2008-04-20 14:01:04 +00:00
Jean-Marie Traissard 0374e72b28 Use one function to join bookmarks automatically only. Fix bug "all bookmarks joined minimized when going back
from invisible". Not sure it's right place for this function.
2008-04-19 23:39:09 +00:00
Jean-Marie Traissard a095a3249e [elghinn] Set default icon before creating roster so it's done for roster too 2008-04-18 09:43:26 +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
Yann Leboulanger 5dd0d4fce8 move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873 2008-04-17 14:17:14 +00:00
Yann Leboulanger 2d04fc6ae6 don't hide roster on startup if no systray module is available 2008-04-17 06:34:32 +00:00
Yann Leboulanger b7fcb776b9 try to auto-convert emoticons.py files to the new format. Fixes #3696 2008-04-15 22:04:39 +00:00
Yann Leboulanger 6d8dd51db0 show/hide ipython window instead of create/destroy 2008-04-15 18:09:04 +00:00
Jean-Marie Traissard 88f7abd795 Fix "You are already in this GC" bugging at reconnection. Happened if we receive
bookmarks after we already reconnected to opened GC
2008-04-15 17:25:59 +00:00
Jean-Marie Traissard edb5910c1d prevent traceback when ping reply arrives after we close the control; without
error too. Fixes #3859.
2008-04-15 12:36:10 +00:00
Yann Leboulanger 5348c3a37f add ACE option to configure interval between 2 idlness checks. default to 2 seconds. fixes #3004 2008-04-15 09:35:36 +00:00
Yann Leboulanger e7f88e6dd6 prevent traceback when ping reply arrives after we close the control. fixes #3859 2008-04-15 09:02:36 +00:00
Yann Leboulanger 29dd9d2576 added ipython for SVN users only. 2008-04-14 15:19:09 +00:00
Yann Leboulanger bdac12d789 don't go autoaway when screensaver is activated is user disabled the autoaway option. Fixes #3824 2008-04-10 14:47:12 +00:00
Yann Leboulanger e341548d25 really ignore GTK warnings under windows 2008-04-04 21:31:27 +00:00
Yann Leboulanger 61be183c8e don't stop autoconnect after first account 2008-03-30 12:05:04 +00:00
Yann Leboulanger a6e06b3bca add autoconnect_as feature to autoconnect as away or invisible 2008-03-30 11:50:59 +00:00
Yann Leboulanger 1c313ed242 update string printed when running gajim -h to show --config-path option 2008-03-27 13:59:03 +00:00
Yann Leboulanger d1a685c4a7 typo in a string 2008-03-22 08:52:46 +00:00
Yann Leboulanger 1008d162f4 show invitation from anonymous room in roster from a groupchat rather than from a normal Contact. fixes #3448 2008-03-21 12:30:23 +00:00
Yann Leboulanger 0d427eff3b Warn user when database is corrupted and unreadable. Fixes #3761 2008-03-17 07:22:43 +00:00
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
Tomasz Melcer da072e7b5f Jingle: notifications 2007-08-24 14:45:24 +00:00
Tomasz Melcer 2838907e97 Jingle: systray 2007-08-24 14:36:53 +00:00
Tomasz Melcer 2a7f1a654a Jingle: dialog for accepting voice calls 2007-08-23 23:42:31 +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
Tomasz Melcer b8087cdb53 Jingle: removing hacks, rising the priority for io_add_watch callbacks. 2007-08-15 09:28:32 +00:00
Tomasz Melcer e2182686bf Jingle: another ugly fix 2007-08-13 16:17:22 +00:00
Tomasz Melcer a0af6f7fb8 Spelling fix 2007-08-12 21:13:05 +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
Yann Leboulanger ddfd3d7be6 better title / text in popup windows. Fixes #1790 2006-04-03 07:40:15 +00:00
Yann Leboulanger 31e54bc2ed remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message. 2006-04-02 16:11:21 +00:00
Yann Leboulanger a803ba2758 take into account notify_on_new_message option for pm 2006-04-01 20:56:34 +00:00
Yann Leboulanger 9541b75559 prevent TB 2006-04-01 20:30:37 +00:00
Yann Leboulanger c23a517a20 typo 2006-04-01 20:21:21 +00:00
Yann Leboulanger becf3c4c3a handle correctly pm 2006-04-01 18:55:53 +00:00
Yann Leboulanger 90e5561860 JEP 0091 support: timestamp in presences. Fixes #1675 2006-04-01 18:16:06 +00:00
Yann Leboulanger 81d3d38455 fix logic in handle_event_msg so messages from lower resource doesn't behaves incorrectly. Fixes #1785 2006-04-01 17:03:36 +00:00
Nikos Kouremenos bd4a18b861 if we have status message for contact that signs in/out and we have such notifications, include the status message information in those windows 2006-04-01 09:35:07 +00:00
Nikos Kouremenos befc5ac529 in notifications say the message and do not dup info that new msg is in. fixes #1790 2006-04-01 09:17:15 +00:00
Nikos Kouremenos fcf31413dc fix hawke patch 2006-03-31 18:40:10 +00:00
Alex Mauer ff5fd60861 * Add option 'dont_ack_s10n' to prevent the infinite loop with jabberd2 subscription acknowledgements. 2006-03-31 17:35:05 +00:00
Yann Leboulanger b7e4465ed5 add contact to roster when he becomes observer (and was none before) 2006-03-30 18:48:24 +00:00
Yann Leboulanger 0690a35eea don't join already opened rooms when we come back invisible. Fixes #1777 2006-03-29 14:31:05 +00:00
Nikos Kouremenos 73905ec169 merge to logics about jid being a transport into one. use the superior one 2006-03-28 11:32:53 +00:00
Nikos Kouremenos 2099e3baa8 [jim++] clean logic on for handling the incoming msg, make pm special checks fixes ##1764 2006-03-28 10:27:58 +00:00
Nikos Kouremenos 6caf013f52 use much better varname and comment the heck out of it 2006-03-27 23:32:39 +00:00
Nikos Kouremenos d1bb5cbc74 again fix logic after cut-paste 2006-03-27 23:10:41 +00:00
Nikos Kouremenos 27c59575cf [jim] fix typo 2006-03-27 23:07:07 +00:00
Nikos Kouremenos a91654ba9b do not play sound on recv chatstates. also comment on this so at last that code is somehow readable. thx Jim for report 2006-03-27 23:06:26 +00:00
Nikos Kouremenos 7c0dca4dbd chatstates handling is back again. now with comment why this should stay where it is. also do and if-if a if-elif [thanks Jim for this] 2006-03-27 22:54:23 +00:00
Nikos Kouremenos 0552932253 fix a bad cut-paste 2006-03-27 22:37:28 +00:00
Nikos Kouremenos 5528e739b0 helpers that do not relate with xmpp, belong to helpers.py not to common/gajim.py. if they have gtk they belong to gtkgui_helpers. also use those allover 2006-03-27 22:31:14 +00:00
Nikos Kouremenos c799869f68 use helper func 2006-03-27 22:12:41 +00:00
Nikos Kouremenos 1da15f1795 handle_event_msg method has a better sequence of checks. fixes #1764 2006-03-27 22:02:56 +00:00
Yann Leboulanger c0fcdeb116 handle correctly private messages in systray queue 2006-03-27 21:35:24 +00:00
Yann Leboulanger 4f6c6d3d14 handle correctly offline message (don't take into account the resource) 2006-03-27 08:50:06 +00:00
Yann Leboulanger 297f97a606 fix TB when receiving message from unknown contact 2006-03-26 12:09:34 +00:00
Yann Leboulanger fb758eaf89 use sanitize_filename func before writing a file to HD. Fixes #1722 2006-03-26 11:46:04 +00:00
Yann Leboulanger 1fafe3b08c handle correctly resources in queue of events. Fixes #1706 2006-03-25 17:05:54 +00:00
Nikos Kouremenos ac8c6a06aa name the default theme GTK+ and not system so a KDE or Windows user is not confused and generally better name. make it default 2006-03-25 10:47:41 +00:00
Yann Leboulanger fd859966c5 draw the TLS icon when we connect to a server. Fixes #1736 2006-03-24 21:51:15 +00:00
Yann Leboulanger 0a4cf6eae4 notification need absolute path 2006-03-24 20:17:32 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Yann Leboulanger f8db75e255 New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly 2006-03-24 12:55:56 +00:00
Dimitur Kirov 92691fa6f6 disconnect transfers for contact which goes
offline
2006-03-21 23:43:26 +00:00
Dimitur Kirov b90e546927 proxy65_manager resolves socks5 proxies at gajim
startup and account login
2006-03-19 20:43:30 +00:00
Yann Leboulanger df395ab6ef fix regex when ascii_formating is false 2006-03-18 12:20:59 +00:00
Yann Leboulanger 3b12da41a3 missing save before commit :) 2006-03-18 11:55:04 +00:00
Yann Leboulanger eff34ac6ab invitations to groupchat is now queued when systray is enabled. missing icon for popup window: gc_invitation.png. Fixes #1196 2006-03-18 11:53:30 +00:00
Yann Leboulanger 4dfa3da68d fix TB 2006-03-18 09:22:13 +00:00
Yann Leboulanger 3b4f6e20fe we can now have emoticons themes in ~/.gajim/emoticons/ see #1182 2006-03-17 14:24:58 +00:00
Dimitur Kirov 4abd0a9d42 use emoticons_theme, instead of useemoticons
( #1715 )
2006-03-17 11:11:45 +00:00
Yann Leboulanger b4ed754b51 we now have emoticons themes. Fixes #1182
TODO: fill animated folder with his emoticons file
2006-03-16 23:37:06 +00:00
Yann Leboulanger db7766ea7e when we get a message from a contact and we have a window with this resource, print it there. see #1697 2006-03-15 08:40:19 +00:00
Yann Leboulanger bb35e9e782 remove unneeded line 2006-03-14 23:07:03 +00:00
Yann Leboulanger 51d57ba717 last_message_time is now indexed by full_jid. for [1697] 2006-03-14 17:13:34 +00:00
Yann Leboulanger db6c9e7a05 call draw_avatar only in gc controls 2006-03-13 19:00:05 +00:00
Yann Leboulanger dce057d29e avatars are in gc roster. gc avatar images are saved in room_jid folder. Fixes #1121 2006-03-13 13:25:51 +00:00
Yann Leboulanger 4f2460e21c remove contact when we get sub=none and ask=none and no name and no group. See #1494 2006-03-12 18:30:01 +00:00
Nikos Kouremenos f95a7c5d3e remove psyco as speed is not an issue anymore but high mem usage is. fixes #1666 2006-03-11 11:08:27 +00:00
Yann Leboulanger adb62eb628 jids are now punycoded before we store avatars on HD. Fixes #1030 2006-03-10 18:58:28 +00:00
Yann Leboulanger b1ebd06fe9 we now show sign in/out notif, even if a chat is opened with this contact. Fixes #1682 2006-03-10 17:56:03 +00:00
Yann Leboulanger 3355cf4ea3 room_contacts vcards are now saved in room_jid folder. Fixes #1105 2006-03-09 18:41:57 +00:00
Yann Leboulanger 37c84ef192 when we open a message window by clicking popup menu or systray or doubble click on roster, treate it as long time ago message (don't show 2 seconds confirmation when closing it). Fixes #1591 2006-03-07 13:44:42 +00:00
Yann Leboulanger 7594b7c0ab [misc] better regex to catch url. Fixes #1322 2006-03-05 20:33:54 +00:00
Yann Leboulanger a3ddb8981c clean info about last exception. Fixes #1575 2006-03-05 19:40:56 +00:00
Nikos Kouremenos 11d9f5398d preferences window is created on the fly like every other window (well apart from FT [TODO for that]); this is good as we do not want such window to sit in memory; also fix some border width and spacing in prefs window 2006-03-05 12:18:47 +00:00
Yann Leboulanger 0c2ba59f98 fix TB 2006-03-05 09:46:50 +00:00
Yann Leboulanger 1c13fcd648 [Geobert] Don't send bot JEP85 and JEP22 when only JEP22 is supported by contact. Fixes #1317 2006-03-03 14:41:55 +00:00
Nikos Kouremenos 6a6ab0b7f1 [rituko_a] intro ACE ascii_formatting 2006-03-02 16:05:52 +00:00
Yann Leboulanger 34e8e0c950 use correct JID when we receive a file-completed event depending if we send or receive the file. See #1553 2006-03-02 11:22:27 +00:00
Yann Leboulanger 559307912e remove awaiting events associated to a FT when we remove it from FT window. Fixes #1553 2006-03-02 11:14:45 +00:00
Yann Leboulanger 4fe40baab9 don't take last_status_time into account when it's a groupchat contact. Fixes #1628 2006-03-01 20:20:00 +00:00
Yann Leboulanger 4b327b5682 [Geobert] JEP-0022 partial support (composing). Tunned by me. Fixes #1317 2006-03-01 18:16:54 +00:00
Yann Leboulanger 6c34669780 File Transfert error are also shown in roster instead of only in systray. See #1553 2006-02-27 11:27:53 +00:00
Yann Leboulanger 946a28b26b [Jim++] some elif instead of if 2006-02-26 23:29:49 +00:00
Yann Leboulanger 66b149ac50 take into account when a contact change his priority 2006-02-24 18:57:10 +00:00
Yann Leboulanger 0b2f9d4617 we now keep last_status_time, show it in tooltip and information window, ask it (jabber:iq:last, JEP-0012) when we open information window. Fixes #1133 2006-02-22 14:31:01 +00:00
Yann Leboulanger 50407e5cca don't redraw the whole roster when we connects to an account 2006-02-19 22:20:45 +00:00
Nikos Kouremenos 57fad03435 better varname and clearer logic 2006-02-19 21:28:41 +00:00
Yann Leboulanger 1e99839f20 don't redraw menu instantly when we receive bookmarks 2006-02-19 17:27:48 +00:00
Yann Leboulanger a081e4411a re-create the actions menu only when needed: when we popup it up, and only when one account has signed in or signed out 2006-02-19 17:25:22 +00:00
Dimitur Kirov 54099ff2f1 deleted threads_init, dbus-0.33 users will
fail with TB, instead of segfault
2006-02-18 13:14:05 +00:00
Nikos Kouremenos fd6b2dda67 fix #1572 2006-02-17 21:52:22 +00:00
Travis Shirk f6e2590eab Fixed the previous TB, but this time at another part of the code 2006-02-08 02:56:58 +00:00
Travis Shirk 37c2441a38 Fixed TB when transport_name was None 2006-02-08 02:27:14 +00:00
Yann Leboulanger ec2d9c0ad2 move data/pixmaps/events/TRANSPORT_o*line.png to data/iconsets/transports/TRANSPORT/48x48
TODO: create 48x48 online and offline pngs for all jabber iconsets
2006-02-08 00:55:16 +00:00
Yann Leboulanger 59e6377546 follow RFC 3921 section 8 for subscription. This also fixes #1400 2006-02-07 23:11:24 +00:00
Yann Leboulanger eb055c5bf2 groups must always be a list, fix that 2006-02-07 19:24:19 +00:00
Yann Leboulanger 6ceb13430b remove files from AVATAR_PATH when contacts changes his avatar or removes it 2006-02-06 16:04:55 +00:00
Yann Leboulanger 3a1e5c579d when contact has a non jpeg/png avatar, save it as png so that tooltip can show it 2006-02-06 14:04:25 +00:00
Dimitur Kirov f52144c803 socks5 classes now use Gajim idlequeue
still there are several TODOs
2006-02-06 00:11:45 +00:00
Yann Leboulanger 759f6a49f6 Fix TB when changing status and pm opened 2006-02-05 18:42:41 +00:00
Travis Shirk 44700c12da Fixes #1495 2006-02-04 02:52:36 +00:00
Dimitur Kirov ec1d354c80 use old select.select for polling on win-gtk2.8
untill there is a stable 2.8 version
2006-02-03 22:54:05 +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 3b0079685f Bug fix to ensure that we update tabs when disconnected. 2006-01-31 01:41:27 +00:00
Travis Shirk a27c648e64 Removed type constant, which are reserved for types derived from MessageControl 2006-01-28 03:46:47 +00:00
Yann Leboulanger 4f21775305 we can now get meta contacts from server and display them 2006-01-26 11:23:15 +00:00
Travis Shirk 20085bfcc5 Fixed TB 2006-01-25 17:55:32 +00:00
Yann Leboulanger dfca5e63be ChangeStatusMessageDialog returns None when we press cancel. Fixes #1045 2006-01-25 16:27:09 +00:00
Travis Shirk 170a1db254 We can now chat with the same contact or join the same gc using two differenct account;
closes #1421
2006-01-25 05:39:07 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00
Yann Leboulanger 18129610e0 typo. Fixes #1440 2006-01-23 15:52:42 +00:00
Nikos Kouremenos ab50f69fa0 [knuckles fixes knucles :D] bw img on offline on notifications 2006-01-22 22:13:21 +00:00
Nikos Kouremenos 1ce3c65dd6 [knuckles] refactor notify so we do not dup code at all 2006-01-21 23:15:35 +00:00
Nikos Kouremenos 0d01680d55 [campey] fix logic in notify calls 2006-01-21 09:55:16 +00:00
Nikos Kouremenos 912207c098 get_actor --> get_name_from_jid so it is visible it is on gajim level and not on xmppy (lower) lever 2006-01-20 17:50:01 +00:00
Nikos Kouremenos bbc42cc115 [knuckles] refactor API about notifications so we do not dup code allover 2006-01-20 17:40:45 +00:00
Nikos Kouremenos 818d2471fc Gajim is now xmpp handler in KDE too 2006-01-20 17:36:22 +00:00
Nikos Kouremenos 92e1fd373b catch sip: addresses. long live Ekiga! 2006-01-20 13:04:29 +00:00
Yann Leboulanger 2dc4eb3f21 [campey] not in the roster -> Not in Roster. Fixes #1054 2006-01-19 21:55:01 +00:00
Yann Leboulanger 3eaa9c97ba [knuckles] fix typo. Fixes #1246 2006-01-18 16:14:20 +00:00
Yann Leboulanger 2f56fbb5fd typo that fix a TB, thx deluge 2006-01-17 22:03:56 +00:00
Nikos Kouremenos a9727e39db [knuckles] GMail notification now shows number of messages and if clicked opens inbox and all that :) 2006-01-17 20:23:36 +00:00
Nikos Kouremenos b020492de6 notif AVATAR_PATH 2006-01-17 11:20:55 +00:00
Yann Leboulanger f816dcf307 fix logic: don't join don't try to join groupchat from an accoun twhen we connect with another account 2006-01-17 11:05:05 +00:00
Yann Leboulanger 0c2457c783 typo 2006-01-17 10:36:13 +00:00
Yann Leboulanger bab21aaf56 [knuckles] improved popup notification to show avatar 2006-01-17 09:01:59 +00:00
Yann Leboulanger 864b82e9e4 We can now see affiliation list (ban, admin, ...), edit it will come (beginning of #530) 2006-01-16 11:16:06 +00:00
Yann Leboulanger e0b5b420b5 There are 2 ways to receive group chat subject, handle both. Fixes #1332 2006-01-15 13:35:29 +00:00
Travis Shirk a10e4b8562 CTRL+Tab and CTRL+SHIFT+Tab, closes #1396 2006-01-14 20:40:48 +00:00
Nikos Kouremenos b34005da3d it returns None or ask. so catch ask too 2006-01-13 11:01:10 +00:00
Travis Shirk 9e8163774d Implement section 9.4 of RFC 3921, subscription ack'ing. Closes #1327 2006-01-13 05:07:09 +00:00
Nikos Kouremenos 3c50094afa we now show avatar instead of general contact img for online/offline 2006-01-12 22:48:49 +00:00
Nikos Kouremenos ed7fb86bbf ctl --> ctrl 2006-01-11 23:21:00 +00:00
Yann Leboulanger 7604fac314 fix a bug in migration with python2.3 2006-01-11 07:42:30 +00:00
Yann Leboulanger d2ab3031f1 contact.name can now be empty. So use contact.get_shown_name() that returns a user friendly name 2006-01-10 18:30:57 +00:00
Travis Shirk 0da89c3996 /me works, room subject ellipses, and ui update fixes 2006-01-10 01:47:24 +00:00
Travis Shirk 2a794ba19e Fix up, look sharp 2006-01-09 00:47:54 +00:00
Travis Shirk a6bdc39d5d Private message bug fixes 2006-01-08 23:14:50 +00:00
Travis Shirk fada255296 groupchat_window completely merged 2006-01-07 22:53:46 +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
Travis Shirk 2a5b0afc44 More groupchat goodness 2006-01-06 06:59:55 +00:00
Travis Shirk 58f2d03dd3 Groupchat roster work 2006-01-06 03:36:07 +00:00
Travis Shirk 893f15aeee Working on GroupchatControl 2006-01-05 05:51:28 +00:00
Travis Shirk 757ed426e3 Merged revisions 4987-4989,4991-4996,4999,5003 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4987 | nk | 2006-01-03 04:00:51 -0700 (Tue, 03 Jan 2006) | 1 line

commit 48x48 transport online/offline imgs by Grenshad (I pngcrushed them)
........
r4988 | nk | 2006-01-03 04:32:01 -0700 (Tue, 03 Jan 2006) | 1 line

icon in notification window not always jabber now. MSN if he uses msn etc. thanks stian barmen for helping me test
........
r4989 | nk | 2006-01-03 04:40:44 -0700 (Tue, 03 Jan 2006) | 1 line

all strings I got report about them, are not translatable; pot/po update
........
r4991 | asterix | 2006-01-03 08:08:21 -0700 (Tue, 03 Jan 2006) | 2 lines

don't remove the jid entry in _contacts[account] when we remove a contact

........
r4992 | asterix | 2006-01-03 08:18:30 -0700 (Tue, 03 Jan 2006) | 2 lines

fix logic

........
r4993 | asterix | 2006-01-03 09:04:14 -0700 (Tue, 03 Jan 2006) | 2 lines

a GC_Contact can have a resource if we knoe his real JID

........
r4994 | asterix | 2006-01-03 09:32:58 -0700 (Tue, 03 Jan 2006) | 2 lines

missing argument in create_gc_contact

........
r4995 | asterix | 2006-01-03 10:36:41 -0700 (Tue, 03 Jan 2006) | 2 lines

we save gc_contact vcard instance in instances[self.account]['infos'][Fake_jid]

........
r4996 | asterix | 2006-01-03 11:17:43 -0700 (Tue, 03 Jan 2006) | 2 lines

in DataForm, a field of type 'list-single' can have no <value> element. Create a default one in such a case to prevent TB

........
r4999 | asterix | 2006-01-04 05:52:26 -0700 (Wed, 04 Jan 2006) | 2 lines

prevent TB when we move a contact that was in no group

........
r5003 | asterix | 2006-01-04 09:03:42 -0700 (Wed, 04 Jan 2006) | 2 lines

handle correctly unlabeled option values in DataForms

........
2006-01-05 03:17:36 +00:00
Travis Shirk deba09827c All code from chat.py and tabbed_chat.py has been merged into the new framework. Lot's of testing to follow and then onto groupchat *in the same window*, w00t! 2006-01-03 04:44:56 +00:00
Travis Shirk f195c47ea7 Migrating code into the new classes 2006-01-02 22:08:50 +00:00
Travis Shirk b239d4ff00 History action, some chatstate stuff moved over, etc. 2006-01-02 01:23:40 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Travis Shirk c30ee542dc Close to usable for chat, receiving messages, etc. 2005-12-31 21:55:44 +00:00
Travis Shirk fc6af37467 Config updating, tab label markup abstraction, auto window sizing/positioning, window title 2005-12-31 06:27:22 +00:00
Travis Shirk b7761d7256 Moved MessageWindowMgr singleton to gajim.interface and emoticon menu support 2005-12-31 04:53:14 +00:00
Nikos Kouremenos 3a9f9c8b11 fix strings; thanks to Stian Barmen for his attention to detail;thank another guy about search button I forgot his name 2005-12-27 21:03:02 +00:00
Nikos Kouremenos 9385f1074f [greblus] preferences window now can control the color of URLs 2005-12-25 23:48:08 +00:00
Nikos Kouremenos 241ca68ad1 also catch irc:// links 2005-12-20 20:05:46 +00:00
Yann Leboulanger f82c72b228 when threading problem, just migrate in the backgrounds instead of with a GUI 2005-12-15 19:12:13 +00:00
Yann Leboulanger fd133716e3 if migration fails (python2.3 for ex) Gajim shows a dialog and exit 2005-12-15 12:03:57 +00:00
Yann Leboulanger 5873a8bd9d don't play thousands of sounds at startup 2005-12-15 11:01:50 +00:00
Yann Leboulanger 02c6805a23 typo 2005-12-13 21:28:02 +00:00
Yann Leboulanger d2e4a230c8 don't crash if we open a pm after he left the room 2005-12-13 21:26:31 +00:00
Yann Leboulanger 7612ad7c64 update pm chat window when a gc contact change his status 2005-12-11 11:22:18 +00:00
Yann Leboulanger 4f3b8dc3e8 move handle_event from systray.py to gajim.py 2005-12-11 10:31:42 +00:00
Yann Leboulanger 6a0599500e catch all exceptions when we try to import remote_control: under win we have:
NameError: name 'DbusPrototype' is not defined
2005-12-10 12:28:56 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Nikos Kouremenos 1d0a0d5dee catch gopher:// 2005-12-09 21:09:42 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Nikos Kouremenos 2b86fc98da init_var ==> init_vars 2005-12-08 09:46:59 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 5cf9141777 init logger variables after migration 2005-12-07 20:20:48 +00:00