Commit graph

3414 commits

Author SHA1 Message Date
Thibaut GIRKA
6978305528 Set the error-condition's namespace instead of iq's. Fixes #5546 2010-01-07 23:16:02 +01:00
Yann Leboulanger
4a8e30800f add advanced option to disable showing affiliation in muc. Fixes #5534 2010-01-07 20:52:16 +01:00
Yann Leboulanger
c1d0013cb0 ability to discover STUN server with SRV records of jabber server 2010-01-07 18:02:05 +01:00
Yann Leboulanger
95137bae06 [Tony] print idle time in tooltip. see #5528 2010-01-06 23:12:56 +01:00
Yann Leboulanger
d712a2d879 merge local changes 2010-01-04 18:46:20 +01:00
Thibaut GIRKA
400390acaa Correct JingleContent.send_candidate and JingleTransport.make_transport. Fixes #5525 2010-01-04 18:27:18 +01:00
Yann Leboulanger
dffb2c308b remove duplicate function 2010-01-04 11:58:42 +01:00
Yann Leboulanger
61ffd6f91f revert wrong behaviour. see #5527 2010-01-03 19:21:39 +01:00
Yann Leboulanger
88bb5ab8fc fix missing import. see #5327 2010-01-03 11:31:22 +01:00
Anaël Verrier
5b9582bf01 Removed a change from the previous commit because I would not have done it. I need sleep. 2010-01-03 01:57:44 +01:00
Anaël Verrier
5e744a3e8e forgot to remove an useless line in the previous commit... 2010-01-03 01:52:40 +01:00
Anaël Verrier
714b7d965d Fixed a minor bug in the calculation of the date for room history request. Thanks Zash for the report. 2010-01-03 01:49:49 +01:00
Alex V. Myltsev
0699e2e3a1 catch "address family not supported" errors when sending files. Fixes #5327 2010-01-02 22:47:36 +01:00
Yann Leboulanger
1d0c57915a Really ignore messages from invalid jids. Fixes #5539 2010-01-02 22:45:02 +01:00
Yann Leboulanger
9cdbf9814e make zeroconf connections is_zeroconf attribute True. Fixes #5538 2010-01-02 22:33:25 +01:00
Yann Leboulanger
d41d4b2460 fix typo in variable name 2009-12-30 11:27:54 +01:00
Yann Leboulanger
1f69b98cac re-enable LATEX usage. 2009-12-29 00:01:10 +01:00
Yann Leboulanger
1de511c0fd fix indentation typo 2009-12-28 23:23:04 +01:00
mariolenz
05a86e8357 harmonize indentation. Fixes #5518 2009-12-28 23:04:23 +01:00
Stephan Erb
85a35a21ac Correctly fake NullClientCaps: Assume we support everything instead of the blacklisted features. 2009-12-28 21:29:51 +01:00
Stephan Erb
da0749b5d9 Make NullClientCaps a singleto so that we don't create a new object for each contact. 2009-12-28 20:58:34 +01:00
Stephan Erb
5cb3c74da9 Only perform the longish check for latex support if the user has enabled latex in ACE. 2009-12-27 17:50:06 +01:00
Stephan Erb
d00a5f737c Create index on the logs table on time instead of on kind.
That way we can search through all logs in constant time instead of having to perform a full table scan.
2009-12-27 16:50:43 +01:00
Stephan Erb
54ad65c744 Show warning if calculated and received caps hash are different. 2009-12-27 16:23:31 +01:00
Stephan Erb
11c83109f4 Remove some unneeded bits in the xmpp ping code. Add additional logging. 2009-12-20 23:16:58 +01:00
Thibaut GIRKA
dea4cdc073 Import xmpp in jingle_content, so that JingleContent.__content can work. fixes #5524 2009-12-20 13:37:56 +01:00
Alexander Cherniuk
d7cefc1e43 Removed trailing space 2009-12-19 13:49:10 +02:00
Yann Leboulanger
4b9e7f19a5 add missing import to common/protocol/bytestream.py. Fixes #5520 2009-12-19 10:26:03 +01:00
Yann Leboulanger
8d8db58003 ignore invalid SRV reply from libasyncns. Fixes #5507 2009-12-18 17:27:09 +01:00
Yann Leboulanger
5ec5886c57 prevent having twice the same group for a contact. Fixes #5504 2009-12-15 19:04:35 +01:00
Yann Leboulanger
b82ea5feff restore xmpp ping callback that was removed in [bc039f78321d] Fixes #5510 2009-12-14 23:39:46 +01:00
Yann Leboulanger
4b07509d5e [Dave Cridland] try to encode username, realm and password in iso-8859-1 when doing DIGEST-MD5 before computing the hash. Fixes #5512 2009-12-14 17:47:14 +01:00
Yann Leboulanger
9072ff18c1 [Dave Cridland] implement EXTERNAL auth method. See #5512 2009-12-14 17:39:32 +01:00
Stephan Erb
1f954582fb [Florob] Fix logic error resulting in a None type exception. 2009-12-13 22:55:57 +01:00
Stephan Erb
a48087aae7 Don't traceback when receiving entity capabilties. Fixes #5492
This is a workaround until the whole update_contact method is gone. It should not be needed.
2009-12-13 00:55:04 +01:00
Stephan Erb
b7aa05a684 Merge local changes (not again...) 2009-12-11 01:01:17 +01:00
Stephan Erb
9eb35dcf18 Split send_socks5_info monster method into smaller methods. (Extract Method Refactoring)
(I don't think what we have here is good, but it is atleast readable)
2009-12-11 01:00:29 +01:00
Stephan Erb
24f44d8bdd Remove zeroconf dummy methods. 2009-12-10 23:54:51 +01:00
Stephan Erb
9bfb5753c2 Move three methods from filetransfer_window to protocol/bytestream.
One of the methods was duplicated. Additionally, apply a very few coding standards.
2009-12-10 23:53:39 +01:00
Stephan Erb
24e2047fe3 Remove obvious code duplication. 2009-12-10 23:22:51 +01:00
Stephan Erb
bb50871bce Remove logging of callback method calls. Such cross-cutting concerns are better directly implemented in the xmpp dispatcher. 2009-12-10 23:01:48 +01:00
Stephan Erb
f846d51f07 Follow the most basic coding standards. 2009-12-10 22:09:37 +01:00
Thibaut GIRKA
b82f829b10 Import socket in jingle_rtp, fixes typo in 'stun_server', connect changed signal of stun_server_entry Fixes #5502 2009-12-10 22:02:03 +01:00
Stephan Erb
d48202d221 Move ConnectionBytestream to common/protocols. 2009-12-10 21:52:32 +01:00
Stephan Erb
f52532f6f0 Merge local changes. 2009-12-10 20:08:09 +01:00
Stephan Erb
e9caf06992 Split common/caps.py. We now have common/protocol/ to contain XMPP connection related classes.
Plan is to move our ConnectionX classess to the protocol package one by one. Each move should be more than a simple copy paste. It should be preceeded by cleanups and the like.
2009-12-10 20:06:46 +01:00
Stephan Erb
7708e3b87e Refactor internas of ConnectionCaps
* Make it testable and write a very basic test for the presenceCallback
 * Use Extract Method to make the code more readable and to increase reusability
 * Start to decouple ConnectionCaps from the other Connection classes/handlers
2009-12-10 18:31:00 +01:00
Yann Leboulanger
d1a9a6983a EncryptedSession cannot be an ArchivingSession 2009-12-10 17:40:48 +01:00
Yann Leboulanger
88a149035b [Jim++] keep in mem las muc message time, and save it in database when we quit. Fixes #5490 2009-12-10 06:59:47 +01:00
Yann Leboulanger
47ff962e5b rename some archiving functions 2009-12-08 17:09:41 +01:00