Commit graph

426 commits

Author SHA1 Message Date
Yann Leboulanger
5ec5886c57 prevent having twice the same group for a contact. Fixes #5504 2009-12-15 19:04:35 +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
Yann Leboulanger
07be0727de [Florob] show in roster and message window geolocalisation of a contact. Fixes #5485 2009-12-07 18:32:42 +01:00
Stephan Erb
723c09d26d Remove logging within each idlequeue process step. (A log entry every two seconds without much value) 2009-11-27 21:03:38 +01:00
Alexander Cherniuk
4d904560a7 Last portion of doc-string and formatting refactoring 2009-11-26 18:12:52 +02:00
Alexander Cherniuk
f084a1f78b One more portion of doc-string and formatting refactoring 2009-11-26 17:46:48 +02:00
Alexander Cherniuk
6d0f28c47d More doc-string (and not only) refactoring 2009-11-26 16:32:56 +02:00
Yann Leboulanger
7eb24c3c53 fix traceback when using a non-BOSH proxy. Fixes #5449 2009-11-25 12:25:28 +01:00
Yann Leboulanger
86b39a72c6 fix http message parsing, it may contain \n\n! 2009-11-18 11:12:06 +01:00
Yann Leboulanger
88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Yann Leboulanger
960e402cf0 typo in a comment 2009-11-18 11:04:05 +01:00
Stephan Erb
30580702d5 Create a ConnectionPEP class and directly register its callback to handle pep events. 2009-11-14 19:56:15 +01:00
Stephan Erb
ac5d0f24da Fix error in the documentation of our xmpp dispatcher fork.
Raise NodeProcessed if the stanza should NOT be handled by other user handlers.
2009-11-14 19:54:33 +01:00
Yann Leboulanger
11f01f1c1c fix traceback when disconnecting from BOSH. 2009-11-06 17:58:39 +01:00
Yann Leboulanger
697d2a7324 fix BOSH connection with ejabberd. Fixes #5401 2009-11-06 17:58:14 +01:00
Yann Leboulanger
2061dd2118 fix receiving long messages in several parts with BOSH. see #5401 2009-11-12 22:13:11 +01:00
Stephan Erb
ee5eb8b546 Try to handle incomplete HTTP. See #5401. Please test.
Approach: Keep filling the receive buffer until we have found enough data to extract the first HTTP header and body
2009-11-12 21:23:10 +01:00
Yann Leboulanger
1a76b72b58 fix bosh url parsing (wrong regex replaced by urlparse.urlsplit() funxtion) 2009-11-05 08:50:21 +01:00
Yann Leboulanger
b2a4c92e7a better error handling 2009-11-04 22:06:45 +01:00
Yann Leboulanger
2aef55ad2a better URI splitting code. see #5400, #5401 2009-11-04 21:56:33 +01:00
Yann Leboulanger
4343d706a0 use default port for bosh proxy when none is provided. Fixes #5400, #5401 2009-11-04 21:17:57 +01:00
Thibaut GIRKA
ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Stephan Erb
5cea6334ef Move and rename xmpp_stringprep.py
It is more consistent to have this code closer to the xmpp protocol handling.
2009-10-08 18:24:21 +02:00
Thibaut GIRKA
01d7be2d61 merge default branch to jingle 2009-09-29 20:49:40 +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
678e3807e9 [Mattj & Florob] fix canonicalize function to prevent having twice xmlns in the attributes. Fixes #4396 2009-10-01 19:13:52 +02:00
Benjamin Richter
7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00
Thibaut GIRKA
163b01e113 New class for video sessions, added an end_session method, and minor changes 2009-09-16 22:35:11 +02:00
Thibaut GIRKA
32ad59aa42 jingle: move from the old farsight to farsight2,
better compliance to the last version of XEP 0166, 0167 and 0176
2009-09-13 11:02:49 +02:00
Yann Leboulanger
1f7b19180d merge default branch to jingle 2009-09-08 12:01:09 +02:00
Yann Leboulanger
5b62a6fbbd add publish-options to bookmark storage if server supports it 2009-07-31 15:50:11 +02:00
Yann Leboulanger
19e302b918 bosh port must now be included in bosh URI 2009-07-17 11:20:28 +02:00
Yann Leboulanger
5649552298 import things differently in xmpp so it works with python26. Fixes #5168 2009-07-16 17:44:45 +02:00
Anaël Verrier
0497a1bedf * do not stock anymore groupchat presence into NonBlockingRoster. Fixes #5160 2009-07-14 18:48:24 +02:00
Yann Leboulanger
b8e80c2245 fix error with bosh 2009-07-13 22:23:14 +02:00
Yann Leboulanger
4a469d2ae6 add another way to get errno from exception 2009-07-13 22:14:24 +02:00
Yann Leboulanger
53c31a53b6 session packet are not mendatory during login. Send it only when requested by server. Fixes #5088 2009-07-13 18:32:16 +02:00
Yann Leboulanger
c4a720aa89 handle ZeroReturnError raised by PyOpenSSL 2009-07-13 17:47:20 +02:00
Yann Leboulanger
2bd1e1410d get errornum correctly in SSLWrapperError exceptions 2009-07-13 17:44:47 +02:00
Yann Leboulanger
278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Anaël Verrier
4d10bdcf6f * In order to allow the viewing of the roster when we are offline (and some other cool stuffs), with and without roster versioning, now we load roster when RosterWindow is created (at gajim startup). Fixes #3190 2009-06-30 11:46:27 +02:00
Anaël Verrier
d347b79c38 * added a method to load roster from DB
* now we load roster from DB when we receive an iq result for the roster without any query
* added a "force" argument to NonBlockingRoster.getRoster(), to force the return of the instance
2009-06-27 17:56:04 +02:00
Jonathan Schleifer
086d031374 Remove spaces at EOL. 2009-06-15 21:00:14 +02:00
Anaël Verrier
9133960fbc * added one table in logs.db to save roster
* added "roster_version" in configuration to save roster version for the account
* added "ver" attribute when gajim requests the roster
2009-06-02 22:48:32 +02:00
Yann Leboulanger
a7f0022bb4 Add a second timeout to differenciate keepalive and ping alive packets. We now wait 55s before sending a keepalive (whitespace packet) and 2 minutes before sendind a xmpp ping (and then we wait for 1min the answer before reconnecting) Fixes #4643 2009-05-01 09:18:21 +00:00
Yann Leboulanger
e4029dddd6 prevent traceback when identifying stream error. Fixes #4946 2009-04-30 08:32:32 +00:00
Yann Leboulanger
d37d1e973f remove latest \n in bosh received messages (one is added when we send) 2009-04-07 17:12:35 +00:00
Yann Leboulanger
a6f62ac7c6 ignore port in bosh URL, it's entered separetly. Take into account proxy username when using bosh 2009-04-06 14:05:07 +00:00
Yann Leboulanger
5e44243758 fix traceback with kerberos GSSError handling. 2009-03-20 20:02:05 +00:00