Commit Graph

408 Commits

Author SHA1 Message Date
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
Yann Leboulanger 9d307570df missing ) 2009-03-18 11:03:16 +00:00
Yann Leboulanger 346dbc04b2 handle GSSError exceptions. Fixes #4913 2009-03-18 09:14:10 +00:00
Yann Leboulanger 9900698dc5 typo. Fixes #4912 2009-03-18 07:10:18 +00:00
Yann Leboulanger cfd0b4835a prevent traceback when password is not entered. Fixes #4912 2009-03-17 19:35:52 +00:00
Yann Leboulanger 9b5c8db2ce prevent Traceback when server replies badly to resource binding request. Fixes #4880 2009-03-16 09:54:57 +00:00
Yann Leboulanger 16fa30a1e7 handle stream error and show message to user. Fixes #4660, #4823 2009-02-19 13:18:23 +00:00
Yann Leboulanger a2b534c040 really fix dispatcher to support several waiting stanza at the same time. Fix #4299 2009-02-15 14:13:21 +00:00
Yann Leboulanger f443673bfd allow to wait for more than one answer at the same time with SendAndCallForResponse. Fixes #4299 2009-02-15 13:17:33 +00:00
Yann Leboulanger 531ab92651 don't log as error, but as info, connection lost. Fixes #4800 2009-02-13 22:37:51 +00:00
Yann Leboulanger cba0ae51cf fix traceback when connecting with PLAIN. Fixes #4815 2009-02-13 22:20:13 +00:00
Yann Leboulanger 849108b11f request connection password only when neede. No need to request it for GSSAPI or ANONYMOUS login. see #2465 2009-02-13 20:24:23 +00:00
Yann Leboulanger baa208d0b6 remove duplicate code. Fixes #4790 2009-02-08 10:21:50 +00:00
Yann Leboulanger e0123f0c24 encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445 2009-02-06 19:01:36 +00:00
Yann Leboulanger 8b61a2050f don't fail when there is an unreadable certificate file. 2009-01-24 12:45:57 +00:00
Yann Leboulanger 26ed4433b4 prevent in GUI when login / password is wrong, even if there is an unknown mechnism. see #4672 2009-01-23 17:27:21 +00:00
Yann Leboulanger ea881946f4 don't fail when we fail to open a certificate file. Fixes #4722 2009-01-23 09:24:17 +00:00
Yann Leboulanger 674924889f some server require SSLv2. Fixes #4672 2009-01-22 20:39:31 +00:00
Yann Leboulanger cd9c041585 don't fail when stream version < 1.0. Fixes #4600 2009-01-20 09:07:41 +00:00