Commit Graph

84 Commits

Author SHA1 Message Date
Stephan Erb 976175e04c Work around potential NoneType in obscure function _is_buggy_gajim()' 2009-10-27 23:30:08 +01:00
Stephan Erb 33fe53ff7d Swtich from old to new caps API.
Now we do:

contact.supports(feauture) instead of gajim.capscache.is_supported(contact, feature)
2009-10-27 22:41:39 +01:00
Yann Leboulanger 0d37f4f64b better session handling:
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
 - don't re-use a session that was for another sessin

Tests are more than welcome!
2009-10-06 17:35:25 +02:00
Yann Leboulanger 4cfd56a69b add a workarround for backward compatibility about esession. see #4396 2009-10-01 22:17:19 +02:00
Yann Leboulanger 3802e01bba [Florob] fix module name for sha256. Fixes #5297 2009-10-01 08:26:08 +02:00
Yann Leboulanger 3afea608e2 use python sha and hmac built-in modules rather than those in python-crypto. Fixes #5294 2009-09-30 17:02:51 +02:00
Yann Leboulanger 377a777823 always reply to incoming resource. see #5227 2009-09-09 10:38:26 +02:00
Yann Leboulanger c48f4c409f prevent traceback when negociating E2E. see #5015 2009-05-17 17:59:00 +02:00
Yann Leboulanger 6672075683 prevent traceback when receiving wrong E2E negotiation stanza. Fixes #5015 2009-05-11 11:48:32 +00:00
Yann Leboulanger ffb52eb626 [Dicson] option have moved per account. Fixes #4748 2009-01-29 20:16:34 +00:00
Stephan Erb 593c23ebc8 Cosmetic only... as usaual: stanza_session.py. TODO: better variable names 2009-01-11 22:29:58 +00:00
Brendan Taylor aeff9046ab a fix for autonegotiation after esessions were disabled 2008-12-13 18:10:37 +00:00
Yann Leboulanger 3cc3283749 fix var name 2008-12-06 12:21:12 +00:00
Yann Leboulanger 0830a5fe73 [thorstenp] use sorted() and list comprehension 2008-12-03 22:07:44 +00:00
Yann Leboulanger 89f02b1feb [thorstenp] replace filter lambda with list comprehension 2008-12-03 22:04:42 +00:00
Yann Leboulanger f0dce41ab6 fix string exceptions 2008-12-03 21:35:07 +00:00
Yann Leboulanger 31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger 7701f29beb [thorstenp] fix undefined variables 2008-12-02 15:10:31 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger dc5d7bcf7c [thorstenp] fix undefined variables 2008-10-20 18:05:33 +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 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger c71269c9ec remove event for full jid and bar jid when we scroll conversation window. Fixes #4243 2008-09-17 19:16:08 +00:00
Yann Leboulanger 6df6e9ddf1 coding standards 2008-09-17 19:04:17 +00:00
Brendan Taylor 32b56a2328 move most of is_loggable out of the session object. fixes #4103 2008-08-30 01:31:25 +00:00
Julien Pivotto 1c2ce732b1 E2E dialogs
* String changes
* Improve SAS visibility
* Add ability to re-verify
* espace text and buttons
* Should fix #3468
2008-08-28 13:14:54 +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 59fb1857ef It does not need to be a message. 2008-08-05 22:03:31 +00:00
Yann Leboulanger 2b896152a2 make back strings translatable 2008-08-04 08:07:07 +00:00
js 9bb8f8c5e6 Make "This message is encrypted" bodies consistent. 2008-08-03 23:01:43 +00:00
Brendan Taylor 615ed1be06 attach an unencrypted explanatory body to XEP-0200 encrypted messages 2008-08-03 16:46:27 +00:00
Brendan Taylor 798c412c85 handle XEP-0200 encrypted messages with extra unencrypted bodies 2008-08-01 00:39:40 +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 f11b5dd081 added option for esession autonegotiation
added option for modp groups to use in a negotiation
2008-07-19 20:42:03 +00:00
Brendan Taylor b490904454 make esession authentication warning less obtrusive 2008-06-29 04:39:29 +00:00
Brendan Taylor 2b074aed41 pass the ChatControl around with printed_chat events 2008-06-14 16:49:48 +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 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 ade56853fe moved session.remove_events. fixes #3942 2008-05-14 00:34:02 +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 051bd6e1b7 fixed e2ee traceback 2008-04-26 01:52:03 +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
Brendan Taylor b170e77cdb functioning tic-tac-toe :D 2008-04-11 03:52:45 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00