Commit Graph

8522 Commits

Author SHA1 Message Date
Yann Leboulanger 7923ff54c1 coding standards 2010-01-26 15:41:13 +01:00
Yann Leboulanger 3578204869 add XEP-0184 warning image in textview with an empty text so copy/past don't include a strange char. Fixes #5578 2010-01-26 15:40:56 +01:00
Yann Leboulanger bfded43d1e don't synchronize groupchats when we synchronize contacts between 2 accounts. Fixes #5570 2010-01-25 19:31:48 +01:00
Yann Leboulanger eb3ff65c62 prevent traceback when enabling Zeroconf account. Fixes #5576 2010-01-25 18:51:57 +01:00
Yann Leboulanger 53a974114a fix some typo in comments 2010-01-25 18:29:57 +01:00
Yann Leboulanger 1cbb9ad3fb use a connected account to join groupchat when we press Ctrl+J 2010-01-25 18:21:54 +01:00
Yann Leboulanger 68615ee38a make rename and remove buttons insensitive when no account is selected. Fixes #5577 2010-01-25 18:17:43 +01:00
Yann Leboulanger e462beba42 [zimio & me] undo functionality in message text imput field. Fixes #4825 2010-01-24 11:44:54 +01:00
Yann Leboulanger 22576e9ebf fix rendering of PEP renderer background color in account row 2010-01-24 11:03:53 +01:00
Yann Leboulanger ac535f708c fix history window usage. Fixes #5571 2010-01-23 13:03:44 +01:00
Yann Leboulanger b19ced6846 fix error when opening groupchat. see #5571 2010-01-23 11:31:59 +01:00
Yann Leboulanger 99872d8ff8 split message_window.ui to separate chat_control.ui and groupchat_control.ui 2010-01-22 21:17:59 +01:00
Yann Leboulanger 956accf010 Bye bye glade, Hi gtk builder. Fixes #4945 2010-01-22 19:57:59 +01:00
Yann Leboulanger db575a25f6 send pep info only once we are connected. Fixes #5567 2010-01-20 12:23:46 +01:00
Yann Leboulanger 5488cb9307 fix missing import 2010-01-20 11:52:20 +01:00
Yann Leboulanger c4d2d4d982 fix string to not suppose contact is male. Fixes #758 2010-01-20 11:00:24 +01:00
Yann Leboulanger 62cb577ad2 prevent printing a useless traceback when gajim fails to start 2010-01-19 22:52:17 +01:00
Yann Leboulanger 47bfbb3b95 use ged for account creation wizard 2010-01-19 22:51:03 +01:00
Yann Leboulanger d1d4a4e7c8 use GED for disco.py 2010-01-19 22:23:19 +01:00
Yann Leboulanger b99c10f696 add ged.py file 2010-01-19 22:06:00 +01:00
Yann Leboulanger 32050296a8 import ged from plugin-system branch 2010-01-19 21:32:45 +01:00
Éric Araujo daf73408d7 correct Xfce capitalization (fixes #5562) 2010-01-18 17:16:06 +01:00
Yann Leboulanger c963b8f846 don't set default action fot gtkhexcepthook window. Fixes #5556 2010-01-15 20:20:56 +01:00
Yann Leboulanger 7f56222e44 allow to not specify status in gajim-remote change_status to change only status message. Fixes #5039 2010-01-14 21:16:13 +01:00
Thibaut GIRKA 1e6ab49e09 [Jingle] Fix a bug when user didn't provide a stun server 2010-01-14 15:50:21 +01:00
Thibaut GIRKA 600b433296 [Jingle] Fix a minor bug that showed incorrect states when adding a content to a session 2010-01-13 18:40:48 +01:00
Yann Leboulanger a393b36a3f open chat control with correct resource when we receive a voice call. 2010-01-13 12:25:44 +01:00
Yann Leboulanger a1c8ec3ebd don't reply to presence type=subscribe before we do the roster push when registering to a transport. Fixes #5549 2010-01-13 11:12:14 +01:00
Yann Leboulanger 7548a44c09 ability to add arguments to features_nb.register callback 2010-01-13 11:09:33 +01:00
Yann Leboulanger 8e74c4e360 fix icon names in disco window 2010-01-13 11:08:17 +01:00
Yann Leboulanger 3238e30359 some coding standards 2010-01-13 10:35:52 +01:00
Yann Leboulanger 9782c3f1c0 fix icon in about window. 2010-01-12 22:39:40 +01:00
Yann Leboulanger a19cbbfc9d remove pysexy dependance, PyGTK2.18 supports links in gtk.Label 2010-01-12 22:30:46 +01:00
Yann Leboulanger cbbfe98d32 add some debug info when resolving hostnames. see #5466 2010-01-12 15:29:40 +01:00
Yann Leboulanger a9ac0f28b9 fix missing import. Fixes #2467 2010-01-11 14:02:20 +01:00
Yann Leboulanger 2e5bd08221 [zimio and I] warn user when quitting while file transfers are running. Fixes #2467 2010-01-11 11:15:02 +01:00
Yann Leboulanger 8faa6feac6 [misc] Fix crash when accepting a video call. Fixes #5545 2010-01-10 22:12:12 +01:00
Thibaut GIRKA e3f16c6371 [Jingle] Volume levels are saved, audio UI shows up even if there are errors, until the session ends 2010-01-10 16:31:00 +01:00
Alexander Cherniuk e525858231 Removed alias duplication of some commands 2010-01-10 08:42:08 +02:00
Yann Leboulanger 760af376f4 [zimio] fix XML console filter. Fixes #4785 2010-01-08 20:16:15 +01:00
Yann Leboulanger 183eedd654 [zimio] filter in/out/stanza type in XML console. Fixes #4785 2010-01-08 16:10:37 +01:00
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 eb74b2e592 [roidelapluie] gajim-remote change_avatar feature. Fixes #2793 2010-01-07 19:46:32 +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 e8b88db629 prevent traceback when closing chat control without jingle enabled. Fixes #5544 2010-01-06 23:15:35 +01:00
Yann Leboulanger 95137bae06 [Tony] print idle time in tooltip. see #5528 2010-01-06 23:12:56 +01:00
Yann Leboulanger b519116a2a fix nick completion when gc_refer_to_nick_char contains a space. Fixes #5542 2010-01-06 18:20:51 +01:00
Yann Leboulanger 0981c7759e buffer -> _buffer. buffer is a module in python 2010-01-06 18:13:12 +01:00
Yann Leboulanger 59e7d8de8e close jingle sessions when we close chat control. Fixes #5541 2010-01-05 22:14:52 +01:00
Yann Leboulanger d712a2d879 merge local changes 2010-01-04 18:46:20 +01:00
Yann Leboulanger 1a64506419 Fix nick completion in MUC when it's not at the beginin of what is said. Fixes #5353 2010-01-04 18:45:21 +01:00
Yann Leboulanger 8ec3ffcf3a buffer -> _buffer (buffer is a module) 2010-01-04 18:28:49 +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 001c4b993e fix traceback when enabling an account. Fixes #5537 2010-01-02 22:22:25 +01:00
Yann Leboulanger d41d4b2460 fix typo in variable name 2009-12-30 11:27:54 +01:00
Yann Leboulanger 47920cf074 add some debuging info when saving avatar fails 2009-12-30 11:04:26 +01:00
Yann Leboulanger 406e142b25 prevent bug when merging metacontacts 2009-12-29 16:02:50 +01:00
Yrogirg f9dbe1b4d6 Ability to copy LaTeX expressions. Fixes #5451 2009-12-29 00:01:55 +01:00
Yann Leboulanger 1f69b98cac re-enable LATEX usage. 2009-12-29 00:01:10 +01:00
Yann Leboulanger dd35f9b58a don't allow to disable a connecting account. Fixes #5522 2009-12-28 23:36:15 +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
Yann Leboulanger e6b4382aaf apply config to minimized controls too. Fixes #5515 2009-12-28 22:41:05 +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 65ba840cbd Slightly faster version of get_contact_iter and get_role_iter. 2009-12-28 20:14:15 +01:00
Stephan Erb a8e3dc771e Extract a few methods to make some code a tiny bit easier to understand and read. 2009-12-28 16:32:58 +01:00
Stephan Erb b0b555c630 Add missing Vim config line to gui_interface.py 2009-12-28 13:27:05 +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 cc9390c063 Remove unused import. 2009-12-27 17:40:10 +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
Alexander Cherniuk 306519f6e9 Added /status, /away, /online commands. Fixed command error reporting 2009-12-22 21:31:11 +02: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
Thibaut GIRKA d5e3c6a935 Remove duplicated code... 2009-12-19 22:24:15 +01:00
Thibaut GIRKA a4c122e74a Handle jingle-incoming events in roster too 2009-12-19 22:17: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 15408e8e86 remove some useless tab at the end of lines 2009-12-14 21:05:14 +01:00
Yann Leboulanger 2eb8391e81 [guillaume] add user-agent when downloading a remote image. Fixes #5513 2009-12-14 18:09:25 +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 ecf964677d hide() roster instead of iconify() it when clicking on systray. Fixes #5505 2009-12-14 17:18:38 +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 df7e278ed1 Merge 2009-12-11 01:13:45 +01:00
Stephan Erb 27c101eb55 Add protocol folder to Makefile. 2009-12-11 01:11:39 +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 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 ae3a0b6db6 [dm] prevent traceback when pressing DEL on the merged account row. Fixes #5498 2009-12-08 17:43:13 +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 869ad9ec2b a bit of refactorization 2009-12-07 23:30:12 +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 d15897e50e fix string replacement with % (% seems to be prioriter than +). Fixes #5494 2009-12-07 20:42:24 +01:00
Yann Leboulanger 7b58e145af fix variable name. Fixes #5492 2009-12-07 19:22:03 +01:00
Yann Leboulanger 99d406c8bf add some missing argument when adding a new row due to new geolocation column. Fixes #5491 2009-12-07 18:50: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
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 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 31db9fa123 correctly check that gtk2.16 is installed at run time. Fixes #5478 2009-12-03 14:03:33 +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 8bb1aaf382 connect jingle keys (for dtmf) through code instead of glade 2009-12-02 21:21:18 +01:00
Yann Leboulanger c1f526c07d fix import order to be able to run tests 2009-12-02 10:23:17 +01:00
Yann Leboulanger 98e1ab5637 add new GUI to control audio connection. (NOTE: sliders do nothing for the moment) 2009-12-02 10:17:33 +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
Stephan Erb ca382031eb Fix bug that prevented avatars to be shown in groupchats. Bug was due to a wrong re-use of a local variable (local variabes are evil :-).
Additionally: Remove some appreviations and unneeded local variables.
2009-12-01 22:15:35 +01:00
Yann Leboulanger 484e3970d3 [dm] define an exception we use. Fixes #5457 2009-12-01 17:41:43 +01:00
Yann Leboulanger e7dd3e7d13 don't show in roster / notification that a contact unsubscribed us if we already popup up the dialog. Fixes #5470 2009-12-01 16:51:11 +01:00
Yann Leboulanger 002b8a720f finish using icon theme. Fixes #2378 2009-12-01 15:50:58 +01:00
Alexander Cherniuk ee42637795 Keep the doc-strings (even one-liners) unified, please 2009-12-01 00:07:36 +02:00