Commit Graph

351 Commits

Author SHA1 Message Date
js 0cc5b4c377 Lock icon didn't show authenticated correctly. Fixed. 2008-05-18 21:14:59 +00:00
js 8a6615a5d0 Renable OTR. I found a way no messages will get lost, but it's more
or less a workaround. We never let libotr handle unencrypted messages
now and handle notifying the user about the message not being encrypted
ourself.
2008-05-18 19:11:13 +00:00
js edf8738a39 Don't show events from buttons in advanced menu, only show them when
triggered via the banner right-click menu.
2008-05-17 13:14:34 +00:00
Brendan Taylor ade56853fe moved session.remove_events. fixes #3942 2008-05-14 00:34:02 +00:00
Brendan Taylor 371e75ef40 fixed tab/space consistency 2008-05-13 02:03:26 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +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 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 c4b2cdc31f * Add button for new chat window GUI.
* Buttons get disabled as needed now [we still need something to update
  this while the window is open (it might change, for example, the
  contact was added)].
* Remove the new accelerators in destroy_menu().
* Move some OTR stuff.
* Don't hide OTR from the user if not available, but set unsensitive.
2008-05-10 11:39:25 +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
js b04250cf9f Added bookmarks for *EVERY* button in chat window and GC window. 2008-05-09 09:34:38 +00:00
js dbdf6a135e Improve the last commit, popup is shown under the button now. 2008-05-07 16:36:45 +00:00
js 4c29f03d6c Make Alt-A work again. 2008-05-07 16:24:15 +00:00
js 99a8c05bb8 * Converted GC to new GUI as well.
* Moved some code so we can get rid of a few ifs.

What still needs to be done for the GUI redesign to be complete:
Don't show entries in the actions menu that have buttons.
2008-05-07 15:34:00 +00:00
js b42a89d269 Why enforce /say if we can just imply /say when it's a not implemented
command? This is far more userfriendly. If you have any objections,
feel free to revert and I'll think of something else that's not as
annoying as /say.
2008-05-05 18:37:15 +00:00
js eb468c5d4a Redesign the chat window GUI. Should be more userfriendly now. 2008-05-04 20:47:51 +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
Brendan Taylor d4a766963f multiple chat session windows per contact. groupchat and pms broken. 2008-04-30 02:55:13 +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 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
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
Brendan Taylor 867955155f groupchat sessions fix 2008-02-09 06:57:07 +00:00
Nikos Kouremenos 15acf57f5f cosmetic changes 2008-02-06 14:59:28 +00:00
Brendan Taylor 381ba838b9 post-refactor traceback fixing 2008-02-06 05:24:07 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +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