Commit Graph

324 Commits

Author SHA1 Message Date
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
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
Jean-Marie Traissard a0d8aea90b chat_control : fix possible var name confusion
roster : Fix resource problem, gajim.contacts.get_contact() can return first contact instead of specified resource. Fixes #3789.
2008-03-23 17:44:47 +00:00
Jean-Marie Traissard ff32d0ccb3 roster.on_quit_request() cleanups :
-Check if there are pending events and send offline even if we don't ask a status message (was a indentation
mistake I think)
- Really make unread and recent working according to 'notify_on_all_muc_messages' value
- be faster, hopefully
2008-03-20 20:26:58 +00:00
Jean-Marie Traissard 9e15e4bcab do not redraw_tab too much if not needed 2008-03-20 19:37:20 +00:00
Yann Leboulanger 0d427eff3b Warn user when database is corrupted and unreadable. Fixes #3761 2008-03-17 07:22:43 +00:00
Jean-Marie Traissard 801c31e537 Correctly remove highlighted messages events when scrolling at end of textview.
Fixes #3717.
2008-03-12 01:34:41 +00:00
Jean-Marie Traissard 4199789612 Fix sent history (ctrl+up) browse. There was a bug when history was full and we browsed history. 2008-03-11 23:05:56 +00:00
Yann Leboulanger f0b2ee4027 stop automatic scroll when user manually scroll conversation textview. Fixes #3716 2008-03-10 16:21:26 +00:00
Yann Leboulanger 102ff630fb highlight us when we are mentioned in a /me sentence. fixes #3753 2008-03-02 14:23:52 +00:00
Yann Leboulanger b3f3a812a9 don't always show events in systray when notify_on_all_muc_mesages is False 2008-02-27 21:33:50 +00:00
Yann Leboulanger b5c19e0884 don't always show events in systray when notify_on_all_muc_messages is on and trayicon_notification_on_event is off 2008-02-27 18:25:42 +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 0f4aa21587 don't grab focus on message textview when we select a tab. fixes #3740 2008-02-25 14:42:53 +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
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
Nikos Kouremenos 15acf57f5f cosmetic changes 2008-02-06 14:59:28 +00:00
Stephan Erb 623aba4f94 Do not log gpg encrypted chats when log_encrypted_session is false. See #3095. 2008-01-25 21:16:22 +00:00
Stephan Erb 79fb241153 Replace the broken gpg-togglebutton by an insensitve status image. See #3196 2008-01-11 17:45:20 +00:00
Stephan Erb 30ad68a26c Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
Be more verbose when there is a key missmatch.

Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Stephan Erb 282bc3346e Do not allow enabling GPG if E2E is active and vice versa. Lazily fixes #3633.
Do not try to send encrypted messages when we don't use GPG, though it is enabled per user.
2007-12-30 16:30:37 +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
Travis Shirk 4bedeec964 MessageWindow reconfig bug fixes for deleted roster 2007-12-20 03:40:27 +00:00
Yann Leboulanger 4e18462d78 [hđh] improve URL regex. fixes #3350 2007-12-09 10:33:36 +00:00
Brendan Taylor 015d3221e1 corrected realtime notification of session cancellation 2007-12-08 08:51:10 +00:00
Brendan Taylor 88f017a20d realtime notification of esession begin/end 2007-12-08 05:49:38 +00:00
Stephan Erb 5c92566a1d Hide status/topic label when there is nothing to show.
Disable empty tooltips.
2007-11-29 20:33:10 +00:00
Yann Leboulanger 62f17bdd44 empty status message label in chat window when there is no more status message 2007-10-22 12:02:27 +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 f2e5d85b9d don't send key_pressed signal twice if GTK < 2.12. behaviour seems to have changed in GTK. 2007-10-14 18:14:20 +00:00
Yann Leboulanger 88cd5c3a50 [Davidov] use gtk.AccelGroup to handle key press. Fixes #1503. also fixes #3466 2007-10-10 16:13:16 +00:00
Yann Leboulanger aff3697f06 use python-sexy if available to have clickable links in chat window banner. fixes #2962 2007-10-09 17:48:22 +00:00
Yann Leboulanger 1951dd4f3d fix tabulation and 80 char width 2007-10-07 20:36:43 +00:00
Stephan Erb 3f06402f3d Cleanup for chat_control_popup. Rename 'Show Frieds' to 'Show Contacts'. Show icon and disable invite functionality for zeroconf contacts. 2007-10-07 20:09:13 +00:00
Yann Leboulanger 5fe9126101 gtk.gdk.WINDOW_TYPE_HINT_TOOLTIP only exists in gtk >= 2.10. fixes #3484 2007-10-07 14:26:25 +00:00
Yann Leboulanger 9d38ef3a35 [anonymous] Make tooltips real tooltips. Fixes #3478 2007-10-03 20:50:28 +00:00
Stephan Erb 5f3c377921 Do not send command as message when no option is passed to /me 2007-10-01 19:00:56 +00:00
Yann Leboulanger f9a7a5c373 move accelerators tom (group)chat_control to message_window. fixes traceback with minimized groupchats 2007-09-16 09:02:04 +00:00
Yann Leboulanger 29cc2d0939 add key shortcut to open history and information window. fixes #3233 2007-09-15 10:11:46 +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
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
Yann Leboulanger c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Yann Leboulanger 7bd952d691 [Geobert] Smooth scrolling of conversation textview. see #3358 2007-08-22 22:08:04 +00:00
Stephan Erb b60036af8f Transform Chat2MUC via DND. Fixes #1408. See #2095 2007-08-22 17:20:44 +00:00
Stephan Erb 99be1b14f2 chat2muc: See #2095
Remove ancient menuitem.
Do not allow to invite transports and groupchats.
Include contacts from all accounts.
2007-08-22 00:50:48 +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