Commit Graph

57 Commits

Author SHA1 Message Date
Jean-Marie Traissard fdc6b9d8bc -Use common format for function documentation.
-Specify separation for 'gc_nicknames_colors' option.
2008-11-08 11:14:31 +00:00
Brendan Taylor 6e596e3db0 renegotiate e2e after somebody reconnects (still doesn't work for PM) 2008-10-11 22:02:20 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger 73aee40542 [thorstenp] replace none equality test with identity test 2008-10-11 09:44:12 +00:00
Yann Leboulanger 8d6b7cd479 some coding standards 2008-09-30 15:21:44 +00:00
Brendan Taylor 29c6af7e1e removed some odd flow control left behind when one of the session negotiation dialogs was removed 2008-08-30 01:31:11 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Brendan Taylor abbdf8d5c9 attach resource to sessions so that only the relevant sessions are terminated when a contact goes offline 2008-07-26 05:28:15 +00:00
Brendan Taylor 15567aa113 fix encrypted/unencrypted notifications in PM 2008-07-14 23:46:22 +00:00
Brendan Taylor 8da186bffb fix a couple of GC and PM TBs 2008-07-07 03:51:05 +00:00
Yann Leboulanger 74c53da32a fix arguments order in contacts.py, some coding standards. should fix #4081 2008-07-05 19:04:27 +00:00
Brendan Taylor 17844361bb sesison-related TB fixes 2008-07-03 23:19:44 +00:00
Brendan Taylor 908bf97fbc fix esession toggling 2008-06-29 15:57:07 +00:00
Brendan Taylor b490904454 make esession authentication warning less obtrusive 2008-06-29 04:39:29 +00:00
Brendan Taylor e3613be1fa first pass at stripping out the one-tab-per-session code 2008-06-26 23:36:58 +00:00
Stephan Erb 766decde58 Fix typo. 2008-06-26 17:47:28 +00:00
Brendan Taylor 8b4627049b moved session negotiation handling from gajim.py to session.py 2008-06-21 19:12:47 +00:00
Yann Leboulanger 8fed8ac0ed handle unknown message type as 'normal'. fixes #3977 2008-06-20 07:17:27 +00:00
Brendan Taylor 00b7e9823f fix lack of notification 2008-06-12 03:56:41 +00:00
Brendan Taylor 399233f293 detach sessions from controls when the highest priority contact changes.
this way we don't get multiple tabs when the remote user moves to another resource.
2008-06-10 02:58:17 +00:00
Yann Leboulanger e4d5625210 fix argument order in new_chat 2008-06-03 06:06:42 +00:00
Brendan Taylor d19cb43ee0 don't assign a session to a control until it's needed 2008-06-02 23:26:32 +00:00
Brendan Taylor 0b16f4bb20 fix a multiple tab regression 2008-05-31 00:54:48 +00:00
Brendan Taylor bcf7018fce gave sessionless window location its own method 2008-05-29 02:48:55 +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 f7874d29c7 reuse chat controls after session termination
fixes #3950
2008-05-23 23:27:08 +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 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 50e31a5072 Again, it's update_otr(), not update_ui()! 2008-05-19 19:04:44 +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 2be8792fd3 Coding style. 2008-05-18 19:44:43 +00:00
js b8909e86ce Fixed a BT. 2008-05-18 19:26:05 +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
Brendan Taylor 63d6c2875e fix an undefined variable when scrolling the roster 2008-05-14 01:47:10 +00:00
Brendan Taylor 8d7750b203 fix multipopup when receiving several unthreaded messages 2008-05-14 00:37:06 +00:00
Brendan Taylor ade56853fe moved session.remove_events. fixes #3942 2008-05-14 00:34:02 +00:00
Yann Leboulanger f8b12e3b6b fix traceback: get variable where it is. fixes #3943 2008-05-13 22:04:50 +00:00
Yann Leboulanger b7eff5b22d fix function call. fixes #3941 2008-05-13 21:26:53 +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
Brendan Taylor be0af1a56b couple of quick bugfixes 2008-05-03 23:19:02 +00:00
Brendan Taylor d15b9dea6e reuse existing chat sessions and controls 2008-05-03 16:52:27 +00:00