Commit graph

3633 commits

Author SHA1 Message Date
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
Yann Leboulanger
6b7f36ebd1 prevent traceback when geoclue not installed. Fixes #5495 2009-12-08 14:45:58 +01:00
Yann Leboulanger
408a2adffc correctly reset localisation data, set altitude, timestamp and accuracy correctly 2009-12-08 00:04:04 +01:00
Yann Leboulanger
7c2cb2dd93 fix typo in finction name and correctly retract location data 2009-12-07 23:50:29 +01:00
Yann Leboulanger
5e2f1cf770 fix typo in finction name and correctly retract location data 2009-12-07 23:45:37 +01:00
Yann Leboulanger
108aaa0027 move enable_location_listener to location_listener.py directly 2009-12-07 23:40:28 +01:00
Yann Leboulanger
2a944e5404 ability to get address / location from geoclue and send it via PEP 2009-12-07 23:16:30 +01:00
Yann Leboulanger
7b58e145af fix variable name. Fixes #5492 2009-12-07 19:22:03 +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
Yann Leboulanger
bbd4b16d9c set hg version higher than 0.13.1. Fixes #5488 2009-12-06 11:45:05 +01:00
Stephan Erb
228678d6e8 Do not add the resource when morphing a GC_Contact to a normal Contact.
gc_contact.jid and gc_contact.resource are empty in anonymous rooms. In non-anonymous rooms those contain the real jid and resource of the contact.
We must not mix those information with the jid of the contact in the groupchat: We assumed that "test@conference.gajim.org/nick" was the Jid and 'someresource' the resource. So we tried to talk to 'test@conference.gajim.org/nick/someresource'.
2009-12-05 11:49:07 +01:00
Stephan Erb
acf06b4470 Merge local changes. 2009-12-05 11:28:13 +01:00
Stephan Erb
d8f6e39020 Merge head. 2009-12-05 11:27:53 +01:00
Stephan Erb
e72a8f519e Backed out changeset d4ef03c57366 2009-12-05 11:25:07 +01:00
Stephan Erb
754a683043 Mark internal methods as protected. 2009-12-05 11:22:24 +01:00
Thibaut GIRKA
594072999c Fix video output pipeline, and improve error dialog. fixes #5482 2009-12-03 23:07:45 +01:00
Yann Leboulanger
3f4f07d326 correctly escape msgs when we search in database 2009-12-03 18:59:10 +01:00
Yann Leboulanger
9914792723 re-enable the ability to connect as invisible: check that we don't send presence with show=invisible at the correct place, after we diferenciate invisible conection from not-invisible connection. Fixes #5473 2009-12-03 18:10:23 +01:00
Yann Leboulanger
619518204c ability to change mic volume through GUI (doesn't work for the moment) 2009-12-02 21:37:21 +01:00
Yann Leboulanger
b739802fd7 convert print to log.debug 2009-12-02 12:05:52 +01:00
Yann Leboulanger
5a3ef285a5 fix some archiving session negotiation bugs
print archving negotiation result in chat control
2009-12-02 11:52:49 +01:00
Stephan Erb
e7337211fb Rename the Contacts class and document it, beeing a temporary refactoring artifact. 2009-12-01 23:31:17 +01:00
Thibaut GIRKA
afaa90f91d Rename FailedApplication to JingleContentSetupException 2009-12-01 22:39:02 +01:00
Stephan Erb
f128391189 One more vim config entry. 2009-12-01 22:31:42 +01:00
Stephan Erb
d54543654d Add VIM indentation config to jingle files. 2009-12-01 22:25:29 +01:00
Stephan Erb
b73bbb8cae Merge local changes. 2009-12-01 22:16:30 +01:00
Thibaut GIRKA
592bacce4a [Jingle] Fix make_bin_from_config, improve JingleSession.__parse_contents 2009-12-01 22:15:50 +01:00
Yann Leboulanger
484e3970d3 [dm] define an exception we use. Fixes #5457 2009-12-01 17:41:43 +01:00
Alexander Cherniuk
ee42637795 Keep the doc-strings (even one-liners) unified, please 2009-12-01 00:07:36 +02:00
Thibaut GIRKA
d295f9261d [Jingle] a bit of documentation/clarification ; added make_bin_from_config 2009-11-30 22:29:32 +01:00
Yann Leboulanger
5401b457d5 add stun_server option in pref window. 2009-11-30 21:10:24 +01:00
Yann Leboulanger
66fdb1490d don't try to import pysqlite2, we depend on sqlite3 2009-11-30 16:36:47 +01:00