Commit Graph

8729 Commits

Author SHA1 Message Date
Stephan Erb ac8faf47ca Fix eventhandling for non chat message events.
Evens were not properly removed.
2008-05-30 20:56:54 +00:00
Stephan Erb 6fd860a1b3 Remove debug print. 2008-05-30 20:21:12 +00:00
Stephan Erb 7259f95b0b Fix drag and drop within the same group. 2008-05-30 20:16:00 +00:00
Stephan Erb 0e519bce9e Do not recalibrate metacontacts if there is only one brother (the big brother). 2008-05-30 20:07:14 +00:00
Stephan Erb 4b6fabadd9 Don't remove contacts from roster when they have pending events.
* update documentation and fix indentation
 * don't remove offline contacts from roster when we open the last pending, non chat message event
 * store account and jid per event
2008-05-30 17:42:53 +00:00
Yann Leboulanger 8973b91070 auto_join_bookmarks only join non-opened groupchats. Opened one are already auto-joined on re-connection. Fixes #3891 2008-05-30 10:26:33 +00:00
Yann Leboulanger 685707e2e0 check active tab with control variable, not jid. fixes #3876 2008-05-30 10:07:01 +00:00
js 37b6f7058a [Kjell Braden] Fix OTR SMP. 2008-05-29 18:42:58 +00:00
Brendan Taylor e3e514cdc9 some basic session unit tests and support files 2008-05-29 02:49:03 +00:00
Brendan Taylor bcf7018fce gave sessionless window location its own method 2008-05-29 02:48:55 +00:00
Mateusz Biliński 45fe866240 Reduced too big indentation inside first try-catch (was 2 tabs, now it's 1 tab). 2008-05-28 16:15:39 +00:00
Nikos Kouremenos a5e218efba fix tooltip about logging encrypting messages. (it is now shorter, better understood (jargon removed where possible), and we it's OpenPGP and not just GPG guys {or last time I checked :$}) 2008-05-27 19:40:00 +00:00
Jean-Marie Traissard 7d21a1a624 Fix account parameter for gajim-remote handle_uri with a groupchat. Fixes #3344. 2008-05-27 16:47:33 +00:00
js 6c9063b702 [Kjell Braden] Fix HTML on OTR.
@bct: When moving the OTR stuff, you would've needed to adjust the
XHTML killing part. This patch fixes it. I didn't even notice since
I have XHTML disabled globally.
2008-05-27 14:50:54 +00:00
Yann Leboulanger c127493e58 remove pep options from pref window, store them per account, store caps_hash per account. see #3954 2008-05-27 10:24:29 +00:00
Brendan Taylor e09c93621e don't send termination unless we've sent a message
fixes #3963
2008-05-26 23:53:40 +00:00
Brendan Taylor dbcfc984f5 don't do first message notification if we can pick up a sessionless control
fixes #3961
2008-05-25 21:28:40 +00:00
Brendan Taylor df5200b3bb try not to send session termination messages to non-XEP-0201 clients 2008-05-25 21:28:32 +00:00
Brendan Taylor f7874d29c7 reuse chat controls after session termination
fixes #3950
2008-05-23 23:27:08 +00:00
Brendan Taylor f68ffc3816 not every OTR message needs a session 2008-05-23 23:26:53 +00:00
js 4e26da4a98 Use glibtoolize if available, we need this on OS X with MacPorts. 2008-05-22 11:42:09 +00:00
js e672c81b44 Not everybody who's got OS X has native GTK, mkay? 2008-05-22 11:26:03 +00:00
Yann Leboulanger 21f332221e typos. see #3953 2008-05-20 14:30:19 +00:00
Yann Leboulanger 8bda3a5543 upadte all contact instances when we get a pep event for a contact. See #3953 2008-05-20 14:18:12 +00:00
Yann Leboulanger e2f98ad2e0 re-enable docutils inclusion in windows built. Used by RST generator 2008-05-20 11:33:11 +00:00
Brendan Taylor 4feacc73ab moved OTR stuff from session.received to connection._messageCB
fixed lock icon when session has been terminated
2008-05-20 00:44:30 +00:00
Stephan Erb 3bcf189dfd Show pep tooltip info also for multiple resources and SelfContacts.
(Tooltips might not be complete because of some not yet addressed backend bugs)
2008-05-19 21:31:25 +00:00
Stephan Erb a06468b846 Always remove contacts from GUI when we receive a roster via xmppy.
This fixes a bug with metacontacts over different groups and should stop contact duplication in most cases.
2008-05-19 21:17:43 +00:00
js ea3e43c15a Always pass the special message '?OTR?' to libotr. 2008-05-19 20:25:58 +00:00
js f1c333410e Revert r9682, it was a bad idea. The solution is not to send the
thread id, but to even remove the lock symbol when OTR was ended
and we don't have a thread id.
2008-05-19 20:13:24 +00:00
Stephan Erb abe75901d4 Remove some extra model refiltering.
Whenever we write to the underlying child_model gtk will call the _visible_func on itself.
2008-05-19 20:08:32 +00:00
js f92f5f5c64 Send thread ID on ending OTR session so that self.session is defined
when that event is received and the lock icon updated.
2008-05-19 20:04:48 +00:00
Brendan Taylor b0aeefcbb5 flush xmpppy's send queue before disconnecting 2008-05-19 20:04:14 +00:00
Stephan Erb 304da5e252 Enable assertions to catch errors early. 2008-05-19 20:03:22 +00:00
Stephan Erb ea00e4d933 Improve select_contact method.
* use correct API in session.py
 * only filter when really needed
2008-05-19 20:00:41 +00:00
js 5f7f717e29 Again, not update_ui(), but update_otr()! 2008-05-19 19:06:11 +00:00
js 50e31a5072 Again, it's update_otr(), not update_ui()! 2008-05-19 19:04:44 +00:00
js 303a09d7c8 update_ui() doesn't call update_otr(). We want update_otr() here. 2008-05-19 18:57:14 +00:00
js acc78e6d48 Coding style & make translatable. 2008-05-19 18:48:53 +00:00
Brendan Taylor 368dd9fe66 missed part of that last patch 2008-05-19 18:30:04 +00:00
Brendan Taylor f413a8a7e8 should fix zeroconf-related tb on exit 2008-05-19 18:27:45 +00:00
js 0346e29e89 *sigh* I'm too confused today. This is nicer. 2008-05-19 18:01:50 +00:00
js 03f64fb23c Sorry, empty messages killed OTR. Fixed. 2008-05-19 17:58:16 +00:00
js 41fe6ed927 Better check if msgtxt is not None. 2008-05-19 17:54:51 +00:00
js 1cbe5678da * When we receive a plaintext, non-tagged message, don't append OTR
tag to outgoing messages anymore. Messages are not even passed to
  libotr anymore then.
* If we don't support OTR, strip OTR tags from the message before
  displaying it.
2008-05-19 17:41:51 +00:00
js 0deebd859d * Close our session when the remote end does.
* Don't set encrypted = True if it was only a tagged plaintext msg.
2008-05-19 14:24:34 +00:00
js 2586c999fe Fix automatic start of OTR session. 2008-05-19 13:52:45 +00:00
js 12014b40b6 * If found, automatically use included gtk on win32.
* Don't include docutils stuff in win32 builds.
2008-05-19 10:58:03 +00:00
Brendan Taylor fad6d2ef7e pass session when dispatching MSGNOTSENT 2008-05-19 00:17:39 +00:00
Brendan Taylor 4ddadc68d9 fix clicking on notification-daemon sign-in notification 2008-05-18 21:17:53 +00:00