Commit Graph

547 Commits

Author SHA1 Message Date
Jefry Lagrange d73e277f40 resuming before binding 2011-06-10 23:07:34 -04:00
Jefry Lagrange 39a960f3e7 keeps old status after disconnection 2011-06-07 23:50:45 -04:00
Jefry Lagrange 7194260f98 connects when server can't resume stream 2011-06-07 18:48:53 -04:00
Jefry Lagrange 2090b9b900 fixed small bug in dispatcher 2011-06-06 23:43:13 -04:00
Jefry Lagrange 89cd4b2e45 stream resumption (needs testing) 2011-06-06 23:34:19 -04:00
Jefry Lagrange e53f95c87e merging 2011-05-31 18:05:04 -04:00
Jefry Lagrange 9128e6e367 minor changes 2011-05-31 18:03:28 -04:00
Jefry Lagrange 9c8b63afc4 Checks for stanzas handled by server 2011-05-31 17:09:49 -04:00
Yann Leboulanger afca629bb7 coding standards 2011-05-31 09:15:41 +02:00
Jefry Lagrange 5b1edd03b8 Smacks class added, responds to ack requests 2011-05-30 20:14:26 -04:00
Jefry Lagrange 9cf9de2a14 Created Acks builder class 2011-05-25 21:24:01 -04:00
Yann Leboulanger e408e18fee [alpertekinalp] Fix upper() function for ascii-only strings. Fixes #6888 2011-05-24 18:21:12 +02:00
Yann Leboulanger 0b5846d17a improve bosh connection to ejabberd 3.0 2011-05-04 22:47:38 +02:00
Yann Leboulanger 3424883913 ability to see certificate information when fingerprint changes. see #3998 2011-04-18 22:36:06 +02:00
Yann Leboulanger 04418850f9 hardcode the value of OpenSSL.SSL.OP_NO_TICKET for old version of openssl. Fixes #5689 2011-01-25 11:54:28 +01:00
Denis Fomin bd3d4f60a0 coding style 2011-01-03 23:08:13 +03:00
Yann Leboulanger 407af3397e fix bookmarks receiving from pubsub. see #6744 2011-01-03 20:56:10 +01:00
Denis Fomin 8ed33a3227 [Link Mauve] fix for bookmarks(XEP-0048) 2011-01-03 21:41:17 +03:00
Yann Leboulanger c3fdfc3a4b begining of handling jabber:iq:gateway namespace. see #6054 2010-12-15 21:15:00 +01:00
Yann Leboulanger 59c8eb05a3 don't continue testing next Ips when on work 2010-11-02 22:23:13 +01:00
Yann Leboulanger 21f66fcc47 initialize a variable before it's used. 2010-11-02 20:24:37 +01:00
Yann Leboulanger 1bbb42a9ae handle read event before close event in case pipe sends us something and close pipe in the same time. 2010-10-29 11:41:38 +02:00
Yann Leboulanger 359a6e901e improve connection to server that have an IPv6 but jabber server don't listen on that IP. 2010-10-29 11:37:07 +02:00
Yann Leboulanger 1048db503e handle captcha images when registering an account 2010-10-26 00:10:25 +02:00
Yann Leboulanger 26d6b50e3e check error before incoming or outgoing events. Fixes #5991 2010-10-25 21:06:45 +02:00
Yann Leboulanger 89d8147cc5 [Dicson] fix typo preventing sending XHTML. Fixes #5900 2010-09-11 15:32:44 +02:00
Yann Leboulanger a3863703f0 merge from trunk 2010-08-16 17:32:23 +02:00
Yann Leboulanger ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Zhenchao Li 4fa60f9b3d define pubkey callbacks 2010-08-08 16:42:30 +08:00
Yann Leboulanger 546d1af937 typo in protocol.py 2010-07-31 00:54:13 +02:00
Zhenchao Li 4583482246 add namespace for XTLS 2010-07-19 14:21:01 +08:00
Yann Leboulanger f9e8b46e6c iability to show captcha when joining a groupchat with captcha. (TODO: download image when it's not in the message itself) 2010-06-27 23:09:07 +02:00
Yann Leboulanger eb6f09e51c fix traceback when we get a <stream:error> from server. 2010-06-23 14:54:50 +02:00
Zhenchao Li b85e7849e8 contruct transport candidates for jingle socks5 bytestream 2010-06-19 22:52:17 +08:00
Alexander Cherniuk 62710e906a Corrected exception handling. We really should bump to Python 2.6. Fixes #5778 2010-06-09 23:13:17 +03:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Zhenchao Li 01c1465dfb add namespace for jingle file transfer
add jingle FT to gajim.gajim_optional_features
2010-06-01 15:09:42 +08:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Yann Leboulanger f919c10742 check that pubsub messages have a Atom namespace before presenting them to the user. Fixes #5757 2010-05-25 09:33:59 +02:00
Yann Leboulanger d3ae49ea60 catch all ssl exception. Fixes #5706 2010-04-24 13:49:12 +02:00
Yann Leboulanger fe48933d5f fix BOSH connection over SSL. Fixes #5710 2010-04-24 12:31:19 +02:00
Yann Leboulanger 9081b465ed better var name. 2010-04-24 09:06:07 +02:00
Alexander Cherniuk 08eb94ed61 Unobvious code execution order. Minor fix. Fixes #5713 2010-04-23 15:08:42 +03:00
Alexander Cherniuk 5d56decdc4 A fix for the SASL EXTERNAL. Thanks to Calmar. Fixes #5704 2010-04-19 13:28:25 +03:00
Yann Leboulanger e6f6f65746 better coding style 2010-04-18 20:57:47 +02:00
Yann Leboulanger d44c30373f [Calamar and me]sasl-external c2s authentication. Fixes #5704 2010-04-18 20:43:40 +02:00
Éric Araujo 56da0c19d8 More whitespace fixes. 2010-04-08 01:20:22 +02:00
Éric Araujo dd6062319a More whitespace mini fixes. 2010-04-08 01:10:17 +02:00
Alexander Cherniuk faca8c5d12 Tiny code cleanup 2010-03-18 06:52:05 +02:00
Yann Leboulanger cd21d4a68f [MattJ] don't send an authorization identity in SASL PLAIN. Fixes #5658 2010-03-16 07:09:44 +01:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger 5d6fd195ab don't traceback when we get disconnected wile we parse stream features. Fixes #5574 2010-03-09 20:28:25 +01:00
Yann Leboulanger ef05eb75d9 don't remove keepalive and xmpp ping timeouts when we get an expected stanza. 2010-02-25 22:56:38 +01:00
Alexander Cherniuk 407c9a2975 Tiny fixups for the SCRAM-SHA-1 2010-02-25 13:10:35 +02:00
Alexander Cherniuk 74572af64e Code improvments for the SCRAM-SHA-1 implementation 2010-02-25 13:02:28 +02:00
Yann Leboulanger 8e35e76d78 fix get_password argument list. Fixes #5624 2010-02-25 11:59:12 +01:00
Yann Leboulanger 50c4a2fa42 [Dave Cridland] basic SCRAM-SHA-1 implementation (no channel binding). Fixes #5622 2010-02-25 10:42:58 +01:00
Yann Leboulanger 7b0c54a606 fix connection to openfire server using TLS. Fixes #5530 2010-02-24 21:32:35 +01:00
Yann Leboulanger b21d538b0f fix insecure_connection text to not talk about password, and add new warning to inform user when he is about to send plain password on plain connection. Fixes #5607 2010-02-17 13:35:18 +01:00
Yann Leboulanger 9d9ef1da89 move some error/warning to info so it's not printed in stderr by default. Fixes #5609 2010-02-16 09:44:23 +01:00
Yann Leboulanger c6b496e1de process network events faster under windows so Gajim reacts faster. 2010-02-14 21:07:19 +01:00
Yann Leboulanger 23f73004db [Mattj] Fix connection to facebook server that don't understand ver="" in roster query. Fixes #5600 2010-02-11 18:57:39 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo 0408b35cfb convert tabs to spaces in source code thanks to reindent.py
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 7548a44c09 ability to add arguments to features_nb.register callback 2010-01-13 11:09:33 +01:00
mariolenz 05a86e8357 harmonize indentation. Fixes #5518 2009-12-28 23:04:23 +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 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 a59011138b merge diff from default 2009-11-25 21:15:36 +01: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 e4128f5c29 merge from default 2009-11-13 19:45:11 +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