Commit Graph

4020 Commits

Author SHA1 Message Date
Yann Leboulanger 279b17625e improving printing debug. Print str and not unicode 2011-08-21 19:34:37 +02:00
Yann Leboulanger b5b5e4be27 codging standards 2011-08-21 19:32:52 +02:00
Yann Leboulanger 3eb47cded2 fix presence notifications with zeroconf account 2011-08-21 19:27:04 +02:00
Yann Leboulanger dc677ab5e9 do not freeze for 2 seconds every 5 seconds when using bonjour under windows. Fixes #6791 2011-08-21 18:16:26 +02:00
Yann Leboulanger 31bfc4969a follow chat in tabs more easily. Don't open as many chattabs as there are lowe priority chats. Fixes #5227 2011-08-21 09:51:57 +02:00
Yann Leboulanger 9d12023ec5 add presence events to trigger plugin 2011-08-19 18:39:09 +02:00
Yann Leboulanger 8520bc8c18 do not set an id when we publish a new item on pubsub. Fixes #6947 2011-08-18 19:03:31 +02:00
Jefry Lagrange 60df476506 Wait until candidate negociation ends; Socks5 connection problem fixed 2011-08-14 23:59:39 -04:00
Jefry Lagrange 4284927434 get priority from candidate stanza 2011-08-14 23:49:23 -04:00
Yann Leboulanger 6f08dc20ca fix var name 2011-08-10 22:40:30 +02:00
Yann Leboulanger b6e26061fe ability to connect to a server that doesn't support roster, and hide the correcponding features. Fixes #6745 2011-08-09 17:14:13 +02:00
Yann Leboulanger 9e79f9d437 change a var name 2011-08-09 17:13:05 +02:00
Yann Leboulanger 70c3245a45 pres_obj.show is already unicode version of show 2011-08-09 11:38:58 +02:00
Jefry Lagrange 9f3d472564 bidirectional jingle FT with socks5 2011-08-08 19:43:07 -04:00
Yann Leboulanger 96b1cc524d don't play sound when we receive the message we just sent in groupchat. Fixes #6938 2011-08-08 21:51:31 +02:00
Yann Leboulanger 5f88e8ec72 handle presence events through Notifiction event 2011-08-08 18:44:32 +02:00
Yann Leboulanger 5e5fd150c6 don't set use_stun_server as True by default. It's useless when there is no stun server configured. Fixes #6935 2011-08-02 10:38:51 +02:00
Jefry Lagrange af2e7c89af move plug_idle into socks5queue 2011-08-01 23:12:30 -04:00
Yann Leboulanger fd81c3f6d0 look in all events (not only systray events) when using gajim-remote show_next_pending_event. Fixes #2791 2011-08-01 19:31:22 +02:00
Yann Leboulanger 7d6bbdb38e make it clearer when groupchat messages have an error. 2011-07-29 18:26:21 +02:00
Yann Leboulanger 21b2448d14 fix arguments of request_voice() function 2011-07-29 17:34:53 +02:00
Yann Leboulanger c5c169ca15 call load_pkcs12 with empty string passphrase instead of None passphrase 2011-07-28 22:42:03 +02:00
Jefry Lagrange af9d304c52 add initiator to every jingle stanza 2011-07-27 22:01:49 -04:00
Jefry Lagrange d5ffbf8834 include ibb and bytestream, jingle transports in feature disco 2011-07-27 16:47:55 -04:00
Jefry Lagrange d2fddc2562 initiator on transport-info 2011-07-27 14:45:10 -04:00
Yann Leboulanger 94644a2ee3 ability to connect to a host that require a PCKS certificate that is encrypted. 2011-07-26 22:44:11 +02:00
Yann Leboulanger 611eb69e73 add an option to allow hidding roster even if systray is not shown. Fixes #6930 2011-07-24 10:54:43 +02:00
Jefry Lagrange 6402505983 fix candidate-error 2011-07-22 18:00:29 -04:00
Jefry Lagrange 11f1c8c275 fix candidate-error 2011-07-22 17:03:56 -04:00
Jefry Lagrange d21b091471 fix session-initiate 2011-07-22 16:44:28 -04:00
Jefry Lagrange d92d86e6bc connecting to candidates in session-accept 2011-07-22 16:15:34 -04:00
Yann Leboulanger cbecbd93a4 fix nameprep for wrong jids. Fixes #6925 2011-07-21 23:50:22 +02:00
Yann Leboulanger 4bbafcf5d0 handle message-outgoing events for zeroconf. We can now send messages in trunk. Fixes #6920 2011-07-19 23:05:32 +02:00
Jefry Lagrange 2d624a7b96 test case for jingle 2011-07-17 18:28:38 -04:00
Jefry Lagrange c0e4756f12 fixed session-accept 2011-07-14 19:07:14 -04:00
Jefry Lagrange 8fbaaba356 Fixes jingleFT IBB fallback 2011-07-05 14:05:16 -04:00
Yann Leboulanger ff972b6b67 fix import loops 2011-07-02 00:47:33 +02:00
Jefry Lagrange a8fe25aaa4 JingleFT IBB fallback 2011-06-28 18:31:07 -04:00
Yann Leboulanger dc3b203168 use event system for jingle FT 2011-06-24 18:24:42 +02:00
Yann Leboulanger f7b0659c04 fix some bad merge 2011-06-24 16:35:10 +02:00
Yann Leboulanger 721defabc3 improve demandimport usage 2011-06-22 20:33:19 +02:00
Yann Leboulanger 53a452fc1c check that we have rst plugin before supposing we can do jingle. Fixes #6910 2011-06-22 20:29:15 +02:00
Yann Leboulanger b47248f09d merge from trunk 2011-06-20 23:03:06 +02:00
Jefry Lagrange 4971f7d8cc enable SM before sending negociation request 2011-06-16 18:59:21 -04:00
Jefry Lagrange db7276752b resuming from prefered location 2011-06-15 20:37:07 -04:00
Jefry Lagrange b8aa518592 whitespaces aren't added to the SM queue 2011-06-13 22:37:29 -04:00
Yann Leboulanger d598cbb041 remove old way of doing advanced notification. 2011-06-13 23:06:43 +02:00
Yann Leboulanger 3927db7c5c [Dave Cridland] Fix BOSH for bodies with "\r\n" sequences 2011-06-13 18:14:45 +02:00
Jefry Lagrange 985746d65a only resume when disconnected not on purpose 2011-06-11 16:29:08 -04:00
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 635d9a02d5 coding standards 2011-05-31 17:46:49 +02: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
Yann Leboulanger ff0c0dc1c5 ability to save xhtml messages. Fixes #5736 2011-05-30 19:47:05 +02:00
Yann Leboulanger f22c453d4e typo 2011-05-29 20:45:18 +02:00
Yann Leboulanger 610699f921 handle caps only on the receiving account 2011-05-27 00:14:21 +02:00
Jefry Lagrange 9cf9de2a14 Created Acks builder class 2011-05-25 21:24:01 -04:00
Yann Leboulanger 225f74f0b8 run xdg-open instead of webbrowser when opening files. Fixes #5751 2011-05-24 22:43:42 +02:00
Yann Leboulanger e408e18fee [alpertekinalp] Fix upper() function for ascii-only strings. Fixes #6888 2011-05-24 18:21:12 +02:00
Denis Fomin b9d2948307 add new attribut to MessageOutgoingEvent to allow logging configuration 2011-05-21 20:26:00 +04:00
Yann Leboulanger 4ac1768040 handle outgoing messages with events. Fixes #6743 2011-05-18 19:44:43 +02:00
Yann Leboulanger e8095fcdcb fig gpg encoding error. Fixes #6807 2011-05-11 21:31:56 +02:00
Yann Leboulanger d05140a114 ability to request room logs without time / number of stanza limit. Fixes #6877 2011-05-09 20:32:48 +02:00
Yann Leboulanger aeb598acbf let's be compatible with XEP-0184 v1.0. 2011-05-07 08:44:15 +02:00
Yann Leboulanger 0b5846d17a improve bosh connection to ejabberd 3.0 2011-05-04 22:47:38 +02:00
Yann Leboulanger 26136d66b1 remove a useless import in common/gajim.py 2011-05-04 14:02:38 +02:00
Yann Leboulanger 2835618096 handle IMPORT_RES when verifying a GPG key. Fixes #6875 2011-05-04 08:50:34 +02:00
Yann Leboulanger 857ba5f707 new way to handle incominf messages, new notification event. 2011-05-01 22:09:50 +02:00
Yann Leboulanger 9250540825 Fix the function that checks if we should log message. Fixes #6873 2011-05-01 18:31:44 +02:00
Yann Leboulanger 829892f4c0 [misc] ability to request voice in moderated rooms. Fixes #2266 2011-04-26 15:54:46 +02:00
Yann Leboulanger 03c13ab6d4 [adminX] don't send wrong mode value when sending bytestreams. Fixes #6868 2011-04-26 14:29:07 +02:00
Yann Leboulanger c2ea566b12 add advanced option to allow not saving roster position. Fixes #5712 2011-04-21 20:52:14 +02:00
Yann Leboulanger 7af87739bc use webbrowser module to open uri instead of using popen. Fixes #5751 2011-04-19 14:36:22 +02:00
Yann Leboulanger 2b65c5d5a5 ability to see certificate on ssl error dialog. Fixes #3998 2011-04-18 22:50:39 +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 a471c299a3 [herfik] improve pulsaudio support in jingle audio. Fixes #6859 2011-04-15 14:23:02 +02:00
Yann Leboulanger 26c9da414e [Zhihao Yuan] Fallback to OSS when no soundplayer found 2011-04-12 16:36:49 +02:00
Yann Leboulanger ece2590892 [herfik] keep aspect ratio when resizing video window. Fixes #6852 2011-04-06 21:56:42 +02:00
Yann Leboulanger 3d65d05487 [Tomas Herfert] support for pulseaudio for audio calls. 2011-03-27 18:47:02 +02:00
Yann Leboulanger c79528f646 [kepi] ability to use subkeys. Fixes #6051 2011-03-26 22:35:13 +01:00
Yann Leboulanger bba6eb6a27 update gnupg from upstream 2011-03-26 22:29:56 +01:00
Yann Leboulanger bc96e88d7d merge 2011-03-24 22:52:27 +01:00
Yann Leboulanger 168e87aefd [Phil] add 2 dbus signals: MessageSent and ChatState. Update UI on messagesent. Fixes #6787 2011-03-24 22:48:56 +01:00
Julien Pivotto 23677636f7 add newline at the end of nec.py 2011-03-24 09:22:45 +01:00
Denis Fomin eea9947caa A simpler way to get changeset identification hash 2011-03-21 00:25:30 +03:00
Yann Leboulanger 2d5b8c3123 fix XEP-0184 GUI implementation. Fixes #6837 2011-03-18 08:51:12 +01:00
Yann Leboulanger 0a48491a39 don't show error messages without a <body>. Fixes #6756 2011-03-05 13:17:32 +01:00
Denis Fomin 7fb3ec1c1d set gajim hg version to 0.14.1.1 2011-03-05 11:46:53 +03:00
Yann Leboulanger 74904d8505 don't remove false values from sent dataforms. Fixes #6765, see #6113 2011-03-05 09:40:01 +01:00
Yann Leboulanger 8a03cfde96 don't fail zeroconf with non-ascii hostname 2011-02-06 00:07:46 +01:00
Denis Fomin e61f7aa4db Added 'show roster on startup' option. Fixes #6793 2011-02-04 23:52:03 +03:00
Denis Fomin 4b987beeb2 Correct gst-python detect(without gst-python is gajim unable to load preferences dialog) 2011-02-04 14:15:56 +03: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
Yann Leboulanger 6867d3cc98 use shutil.move instead of os.rename to move files. Fixes #6770 2011-01-23 11:31:29 +01:00
Yann Leboulanger 23d3d79f83 add an option to allow disabling sending local time. Fixes #6764 2011-01-19 09:08:31 +01:00
Yann Leboulanger bb0eb5a9eb fix offset for some timezones computation. Fixes #6749 2011-01-12 06:56:28 +01:00
Yann Leboulanger 75f32f538b fix initializing a variable 2011-01-09 22:11:08 +01:00
Yann Leboulanger 1c6214fb34 prevent traceback 2011-01-09 20:58:58 +01:00
Yann Leboulanger a6cb79b681 correctly cleanup ged handlers when removing an account 2011-01-06 16:50:38 +01:00
Yann Leboulanger 833a17a657 correctly unregister from server when another stanza is sent in the same time 2011-01-05 20:59:10 +01:00
Yann Leboulanger ca0bcbb527 fallback to disco if clients don't support caps. Fixes #4071 2011-01-04 15:52:37 +01:00
Denis Fomin bd3d4f60a0 coding style 2011-01-03 23:08:13 +03:00
Yann Leboulanger ed8b7a51d2 improving parsing pubsub nodes 2011-01-03 21:04:01 +01: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 9a9f66b064 fix duplicate function name. This fixes caps problem. 2010-12-23 13:55:13 +01:00
Yann Leboulanger 5994ddbdc0 fix var name 2010-12-22 11:21:57 +01:00
Denis Fomin 6bf9497438 fix for demandimport 2010-12-21 22:28:03 +03:00
Yann Leboulanger b5b04f2a3d restore messages with Zeroconf 2010-12-19 21:22:29 +01:00
Yann Leboulanger 48a44e0cfe revert unwanted commits from in 63c35c953516 2010-12-19 10:52:56 +01:00
Yann Leboulanger 2cdd95d6c6 restore Zeroconf presence notifications by using NEC 2010-12-19 10:39:15 +01:00
Yann Leboulanger f643c85f54 use NEC for roster-info in zeroconf connection 2010-12-18 14:21:09 +01:00
Denis Fomin 54a2e4f5ae fix for demandimport 2010-12-18 12:42:15 +03:00
Denis Fomin 4cffef6be2 fix for demandimport 2010-12-18 11:11:58 +03:00
Denis Fomin 2152411af2 Use demandimport - automatic demandloading of modules. Fixes #6094 2010-12-17 10:17:57 +01:00
Yann Leboulanger d19629ad87 fix traceback when adding a new contact. Fixes #6054 2010-12-16 07:15:29 +01:00
Yann Leboulanger 0c2d703f25 finish supporting jabber:iq:gateway. Fixes #6054 2010-12-15 22:08:42 +01:00
Yann Leboulanger c3fdfc3a4b begining of handling jabber:iq:gateway namespace. see #6054 2010-12-15 21:15:00 +01:00
Yann Leboulanger 65d0709ff9 [mako] missing translated string. Fixes #6103 2010-12-13 06:38:27 +01:00
Denis Fomin a94a7c9832 Fix 'treat_incoming_messages' option. (didn’t get messages from the room) 2010-12-11 20:51:34 +03:00
Yann Leboulanger 2653c160f2 handle nested roster group. TODO: Improve the way it's displayed in roster. Fixes #1381 2010-12-11 12:57:09 +01:00
Denis Fomin a39f09bb46 Add missing import 2010-12-09 18:32:53 +03:00
Denis Fomin 16e63dd136 fix var name 2010-12-09 12:39:28 +03:00
Yann Leboulanger cc032163d0 more usage of NEC to handle messages 2010-12-08 21:58:13 +01:00
Yann Leboulanger 2c1f20b773 use NEC to handle file request (error) events 2010-12-08 21:17:08 +01:00
Denis Fomin 03927c0781 Fix 'message-not-sent' handler. add missing class 2010-12-03 19:45:46 +03:00
Denis Fomin 4f0300cd65 prevent traceback when parsing the log level 2010-12-03 13:47:44 +03:00
Denis Fomin 47d30eb973 prevent traceback when parsing the log level 2010-12-03 13:22:40 +03:00
Denis Fomin 7a26e06695 Fix var name 2010-12-03 01:54:52 +03:00
Denis Fomin 8dfc6ba9ac Fix var name 2010-12-03 01:33:12 +03:00
Yann Leboulanger 3bbf65d2a1 fix var name. Fixes #6060 2010-12-02 07:29:19 +01:00
Denis Fomin e644047c59 use NEC to handle message error events 2010-12-01 23:38:39 +03:00
Denis Fomin 5726eb39c3 prevent Traceback if the connection to the avahi-daemon lost 2010-12-01 20:26:48 +03:00
Denis Fomin 7996ca728f Fix zeroconf error handling 2010-12-01 19:57:54 +03:00
Denis Fomin 9aa0206667 remove unused import 2010-12-01 02:13:34 +03:00
Yann Leboulanger d8b9fe08a6 ignore groupchat invitations from contacts that are not in roster if ignore_unknown_contacts is enabled. Fixes #6057 2010-11-30 23:36:57 +01:00
Yann Leboulanger 49a797dd54 rename GnuPG.py to gpg.py. Fixes #6055 2010-11-30 11:41:14 +01:00
Yann Leboulanger b58248ac25 handle some errors when verifying gpg keys 2010-11-30 11:10:37 +01:00
Yann Leboulanger 6cd8e07fae switch from GnuPGInterface to python-gnupg, so gpg is available under windows. Fixes #5096, #3615, #1890, #996 2010-11-29 18:44:22 +01:00
Yann Leboulanger 6a2651ebd5 use NEC to handle agent info / items events 2010-11-29 12:53:50 +01:00
Yann Leboulanger c25e582887 use NEC to handle register-agent-info events 2010-11-29 11:22:27 +01:00
Yann Leboulanger 346b38944c use NEC to handle signed-in events 2010-11-29 11:11:24 +01:00
Yann Leboulanger e9f5065479 use NEC to handle failed-decrypt events 2010-11-29 10:50:30 +01:00
Yann Leboulanger 04b89bc473 use NEC to handle password-required events 2010-11-29 10:00:23 +01:00
Denis Fomin 2fe47c045b fix var names 2010-11-28 16:11:27 +03:00
Yann Leboulanger 30e054df49 use NEC to handle zeroconf name conflict event 2010-11-28 11:00:53 +01:00
Yann Leboulanger 5cb8def28b use NEC to handle metacontacts events 2010-11-28 10:37:05 +01:00
Denis Fomin 92ef8bfec7 fix var name. 2010-11-28 01:33:03 +03:00
Yann Leboulanger 12217815fd use NEC to handle pep config events 2010-11-27 21:49:58 +01:00
Yann Leboulanger ef741a0084 use NEC to handle groupchat config changed events 2010-11-27 21:02:41 +01:00
Yann Leboulanger 11e8f9e779 fix var name. Fixes #6052 2010-11-27 19:14:07 +01:00
Yann Leboulanger ddb27d0e7e use NEC to handle gc subject events 2010-11-27 19:12:43 +01:00
Yann Leboulanger a87540ddc0 use NEC to handle vcard events 2010-11-26 21:14:59 +01:00
Yann Leboulanger 6bdf47d7e7 use NEC to handle privacy list events 2010-11-24 22:48:39 +01:00
Yann Leboulanger 3f781f5382 use NEC to handle unique room id events 2010-11-24 17:28:18 +01:00
Yann Leboulanger 4fb9b442c8 use NEC to handle fingerprint error events 2010-11-24 17:00:14 +01:00
Yann Leboulanger b80254e20e use NEC to handle ssl error events 2010-11-24 16:50:37 +01:00
Yann Leboulanger b5497da876 use NEC to handle insecure ssl connection events 2010-11-24 16:32:59 +01:00
Yann Leboulanger a3b51a892b use NEC to handle insecure password events 2010-11-24 16:18:56 +01:00
Yann Leboulanger a45cc993e8 use NEC to handle plain connection events 2010-11-24 15:38:16 +01:00
Denis Fomin 11efeb8f3d Fix last commit 2010-11-24 19:04:03 +03:00
Yann Leboulanger 352bda2ef5 use NEC to handle PEP / ATOM messages 2010-11-24 11:41:20 +01:00
Yann Leboulanger 3fea030706 rename some events 2010-11-24 10:33:34 +01:00
Yann Leboulanger c104199f6c handle presences before caps. Fixes #6046 2010-11-24 09:19:38 +01:00
Denis Fomin 82e65e9bd7 Fix typo 2010-11-18 19:02:34 +03:00
Yann Leboulanger 10b735636d use NEC to handle gpg paswword things 2010-11-17 23:52:14 +01:00
Yann Leboulanger d94a85f5a2 use NEC to handle caps events 2010-11-17 17:27:36 +01:00
Denis Fomin a8fe65ab95 Added AgiliaLinux to known distributions. Fix #6033 2010-11-16 17:12:47 +03:00
Yann Leboulanger c8dcfc771b fix typo 2010-11-15 21:13:28 +01:00
Yann Leboulanger 078de46bf0 use NEC to handle ping events 2010-11-15 17:35:19 +01:00
Yann Leboulanger 9d21a70896 use NEC to handle connection lost events 2010-11-15 17:03:38 +01:00
Yann Leboulanger da97249ef6 use NEC to handle bad GPG passphrase events 2010-11-15 16:50:54 +01:00
Denis Fomin 98e89a5204 Fixed broken registration for a new account. Fixed typos 2010-11-14 14:22:45 +03:00
Yann Leboulanger 09f16c5872 use NEC to handle agent-removed events 2010-11-09 21:52:22 +01:00
Yann Leboulanger f5b38c8253 use NEC to handle stanza arrived / sent events 2010-11-09 20:58:11 +01:00
Yann Leboulanger c4f5a8ceec use NEC to handle vcard (not) published events 2010-11-08 22:34:04 +01:00
Yann Leboulanger 5a589d747c use NEC to handle message (not) sent events 2010-11-08 21:23:08 +01:00
Yann Leboulanger 1a0533998f use NEC to handle connection type events 2010-11-07 22:45:01 +01:00
Yann Leboulanger d676dbd900 use NEC to handle new account connected events 2010-11-07 18:50:24 +01:00
Yann Leboulanger 60e8c63a29 use NEC to handle account creation events 2010-11-07 18:26:31 +01:00
Yann Leboulanger 69578659a2 use NEC to handle our-status event 2010-11-06 10:04:41 +01:00
Yann Leboulanger f68d270f8f fix typo 2010-11-06 09:19:20 +01:00
Yann Leboulanger 344181fc01 use NEC to handle archiving stanza. 2010-11-05 20:36:45 +01:00
Yann Leboulanger 989e606672 use NEC to handle jingle-error events 2010-11-05 11:08:06 +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 5a9464f0cf prevent traceback when we receive a message archiving negotiation while our server doesn't support message archiving. Fixes #5859 2010-10-31 22:02:24 +01:00
Yann Leboulanger 58feae6cee use NEC to handle jingle-disconnected events 2010-10-29 16:49:53 +02: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 8dcbf3e73e e NEC to handle jingle-connected events 2010-10-27 19:37:14 +02:00
Yann Leboulanger 6edd6cbfd5 change attributes in jingle Event 2010-10-27 10:28:59 +02:00
Yann Leboulanger ab2ddc4935 use NEC to handle jingle incoming events 2010-10-27 09:36:29 +02:00
Yann Leboulanger ffa7cbda9c rename __sessions to _session 2010-10-27 01:16:05 +02:00
Yann Leboulanger 75b6872064 use NEC to handle anonymous jid changment 2010-10-26 21:25:41 +02:00
Yann Leboulanger 538fec1571 fixes for windows build 2010-10-26 17:28:08 +02:00
Yann Leboulanger edccb053a8 fix roster handling with zeroconf. Fixes #5820 2010-10-26 11:25:30 +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 278ba237f9 check real JID <-> fake JID correspondance only when needed. 2010-10-24 15:33:19 +02:00
Yann Leboulanger eaaa2634e3 correctly clean groupchat_jids when we get an empty vcard. 2010-10-24 15:32:38 +02:00
Yann Leboulanger 8da3246f08 check use_ft_proxies before discovering our server's proxy 2010-10-22 22:22:47 +02:00
Yann Leboulanger 13a46aa0b4 fix handling error messages. Fixes #5982, #5986 2010-10-20 14:57:50 +02:00
Yann Leboulanger 74d68305f1 fix var name 2010-10-20 14:54:43 +02:00
Yann Leboulanger b8e9498cf8 fix var name 2010-10-19 21:49:49 +02:00
Yann Leboulanger 186b84c481 prevent showing twice the same message in muc when we are twice in a room from 2 accounts. 2010-10-19 21:43:44 +02:00
Yann Leboulanger 435b6832cf use RosterReceivedEvent object to handle load_roster_from_db. 2010-10-19 18:14:30 +02:00
Yann Leboulanger 58f26f3bfe fix var name. Fixes #5984 2010-10-19 17:21:11 +02:00
Yann Leboulanger 128635699e don't reply to XEP-184 requests when we fail to decrypt messages 2010-10-19 17:19:13 +02:00
Yann Leboulanger 9ced743057 check receipt (XEP-184) requests / answers only after stanza is decrypted 2010-10-19 11:43:17 +02:00
Yann Leboulanger 6700307846 fix receiving encrypted messages. fixes #5982 2010-10-19 10:47:43 +02:00
Yann Leboulanger 03e90746b9 some message handling fixes. see #5982. There are still problems with encrypted messages. 2010-10-19 07:03:45 +02:00
Yann Leboulanger e4ff7c6ced use NEC to handle messages / gc_messages 2010-10-18 22:05:41 +02:00
Yann Leboulanger d39a962157 coding standards 2010-10-06 21:11:23 +02:00
Yann Leboulanger e5de6cbfaa some refactoring in presence event generator 2010-10-05 12:25:56 +02:00
Yann Leboulanger 4bf5a3712e don't ignore presence from other resources of our jid. 2010-10-04 21:24:34 +02:00
Yann Leboulanger 4d14935987 - rename error-received event to iq-error-received
- move some code from generate() function to the correct handler for PresenceEvent
2010-10-04 13:51:42 +02:00
Yann Leboulanger e2c270a67c handle (un)subscription requests with NEC 2010-10-04 10:56:34 +02:00
Yann Leboulanger 27b3621680 fix typo 2010-09-30 11:17:16 +02:00
Yann Leboulanger ffba6193e4 show "room has been destroyed" only when it has been destroyed. Fixes #5952 2010-09-29 17:51:52 +02:00
Yann Leboulanger 58efb054bd import hmac where it needs to be. Fixes #5948 2010-09-28 21:05:18 +02:00
Yann Leboulanger 0f2ddd50c4 fix some tracebacks when adding / removing a contact. Fixes #5946 2010-09-28 15:51:26 +02:00
Yann Leboulanger 69a1eee8e6 new event for groupchat presences 2010-09-28 15:13:51 +02:00
Yann Leboulanger 8d218ab0d0 [Zhihao Yuan & I] use convert is dvipng doesn't work. Fixes #5935 2010-09-24 23:15:21 +02:00
Yann Leboulanger 97ec4df020 fix some var name 2010-09-24 19:53:25 +02:00
Yann Leboulanger 04f6c68244 fix presence event handling. Fixes #5936 2010-09-24 19:27:08 +02:00
Yann Leboulanger e0ac19678c merge presence handling modifications changes 2010-09-23 21:43:07 +02:00
Yann Leboulanger 2476506338 spread presence handler into classes that really need it 2010-09-23 20:46:47 +02:00
Yann Leboulanger 1d9a550ca8 ignore invalid payload types. Fixes #5919 2010-09-23 13:05:33 +02:00
Yann Leboulanger 180178608d fix typo 2010-09-22 18:20:01 +02:00
Yann Leboulanger c36e00ed87 first show to use NEC to handle presence events 2010-09-17 12:41:30 +02:00
Yann Leboulanger c9bc9393d5 fix a bug in ged that prevent callback to be called in the correct order. 2010-09-17 12:41:00 +02:00
Yann Leboulanger 6d430aa372 handle canceling of creating gnome keyring. Fixes #5909 2010-09-16 21:15:12 +02:00
Yann Leboulanger 096b8f3d91 [Dicson] ability to install from zip / uninstall plugin. Fixes #5906 2010-09-14 19:31:35 +02:00
Yann Leboulanger cfac956598 handle milliseconds in time result stanza. Fixes #5905 2010-09-13 12:23:49 +02:00
Yann Leboulanger 89d8147cc5 [Dicson] fix typo preventing sending XHTML. Fixes #5900 2010-09-11 15:32:44 +02:00
Yann Leboulanger 96de172951 Fix running Gajim under windows for users with non-ascii char in account name. Fixes #5852 2010-09-10 21:31:25 +02:00
Yann Leboulanger 9f644dade0 prevent traceback when receiving strange reply to iq:last. Fixes #5898 2010-09-10 21:27:10 +02:00
Yann Leboulanger 016e2d4876 use NEC to handle resource conflict 2010-09-09 16:40:58 +02:00
Yann Leboulanger 5969a0a720 use NEC to handle ping 2010-09-09 15:48:08 +02:00
Yann Leboulanger 42591685fc handle GMailNewMailCB with NEC 2010-09-09 15:21:43 +02:00
Yann Leboulanger 35039100ff fix changing account name. Fixes #5891 2010-09-08 22:26:04 +02:00
Yann Leboulanger da524c94fd use NEC to handle error messages 2010-09-08 19:55:19 +02:00
Yann Leboulanger 3e2bfd67a3 use xdg-open if available. Thanks to polymorphm forthe initial patch. Fixes #5874 2010-09-08 15:25:36 +02:00
Yann Leboulanger 646c9f86a0 add missing import. Fixes #5889 2010-09-07 10:23:37 +02:00
Yann Leboulanger 8d6ff98ee9 check server features in correct stanza 2010-09-03 11:29:15 +02:00
Yann Leboulanger 4500641054 use NEC to handle search form request / result 2010-08-30 21:42:36 +02:00
Yann Leboulanger fea877e154 use NEC to handle roster receipt 2010-08-29 20:22:20 +02:00
Yann Leboulanger f66a7c458c save bookmarks / annotations only for our account 2010-08-28 13:58:35 +02:00
Yann Leboulanger 5397f643bd remove useless import, coding standards 2010-08-28 00:30:23 +02:00
Yann Leboulanger b01da6a83c move network events classes to a new file 2010-08-28 00:25:07 +02:00
Yann Leboulanger d54401d404 use NEC to handle bookmarks via pubsub. 2010-08-27 23:53:17 +02:00
Yann Leboulanger cb0f30f4b4 use NEC to handle private storage stanza 2010-08-27 22:45:59 +02:00
Yann Leboulanger f93dca04f3 raise event through ged before generating child events 2010-08-27 22:45:16 +02:00
Thibaut Girka 21079a0546 [Jingle] Move on_negotiated callback to JingleContent 2010-08-26 16:59:29 +02:00
Yann Leboulanger 5234e42a28 [Thibg] handle negociated variable correctly and use it for file transfer. 2010-08-26 16:56:08 +02:00
Yann Leboulanger 164a3891ba nicer code 2010-08-26 13:52:53 +02:00
Yann Leboulanger 38dce6e2c1 prevent traceback 2010-08-26 13:52:40 +02:00
Thibaut Girka e4f5bacdb0 [Jingle] Don't wait for all contents to be ready to accept a session 2010-08-26 13:52:00 +02:00
Yann Leboulanger 0f44e376a7 minor fix for jingle audio / video 2010-08-26 13:31:29 +02:00
Yann Leboulanger ac2b2ac3a1 accept session as soon as one content is accepted 2010-08-26 13:18:16 +02:00
Yann Leboulanger 99981e57b8 ability to send several files at the same time. We need to accept them all before transfer starts for the moment. 2010-08-26 11:56:12 +02:00
Yann Leboulanger f951df7ead ability to accept correct content by its name, not only by it's media 2010-08-26 11:09:35 +02:00
Yann Leboulanger 286d788da0 Name of filetransfer content is now random to be able to have 2 transfer in the same session. send and handle content-add in filetranfer 2010-08-26 10:36:58 +02:00
Yann Leboulanger 6911821a28 fix a typo 2010-08-25 12:21:12 +02:00
Yann Leboulanger e00daf8b16 remove useless import 2010-08-25 12:16:44 +02:00
Yann Leboulanger 6c25400646 remove some debugging stuff 2010-08-25 12:13:15 +02:00
Yann Leboulanger 833983eab8 - use transport sid to compute hash sent to proxies
- Don't use XTLS when using proxies
2010-08-25 12:05:14 +02:00
Yann Leboulanger 556236ac38 don't use XTLS to transfer files when we don't use the security element 2010-08-24 23:24:18 +02:00
Yann Leboulanger b8914c6219 coding standards 2010-08-24 23:12:34 +02:00
Yann Leboulanger d56bfb18e6 use NEC to handle muc admin events 2010-08-24 11:37:37 +02:00
Yann Leboulanger ff66a095a6 use NEC to handle muc config event 2010-08-24 09:15:42 +02:00
Yann Leboulanger a067cf552a handle roster set only for our account! 2010-08-24 08:26:17 +02:00
Yann Leboulanger ea90b2ba45 fix var name 2010-08-23 16:55:39 +02:00
Yann Leboulanger c8252c4583 don't try to reconnect a disabled account. Fixes #5865 2010-08-23 14:55:03 +02:00
Yann Leboulanger df7096167f use NEC to handle roster set events 2010-08-23 14:35:03 +02:00
Yann Leboulanger 06da4df46f [Andrej A Antonov] Use correct word: System Tray -> notification area. Fixes #5864 2010-08-23 10:40:04 +02:00
Yann Leboulanger 1e3622ade2 declare log variable in stanza_session.py 2010-08-23 10:38:09 +02:00
Yann Leboulanger d90e153477 forget password if it's wrong and we don't want to save it. Fixes #5862 2010-08-23 10:04:19 +02:00
Alexander Cherniuk ef75781d1c Fixed a typo. Fixes #5863 2010-08-21 02:29:31 +03:00
Yann Leboulanger a63d16fa20 uncommenta line commented for tests. Fixes #5861 2010-08-20 20:24:03 +02:00
Yann Leboulanger bbe4ae3b43 remove some useless code 2010-08-19 09:59:53 +02:00
Yann Leboulanger ed7eec3798 [Florob] Don't return non-existant variables. Fixes #5856 2010-08-18 08:35:32 +02:00
Thibaut Girka 91a28dc1ef [jingle] JingleSession.remove_content: don't send session-terminate 2010-08-17 18:22:25 +02:00
Thibaut Girka e0ffa2d293 [jingle] fix TB when receiving an error stanza 2010-08-17 18:17:36 +02:00
Yann Leboulanger 092bde6389 merge from trunk 2010-08-17 15:45:34 +02:00
Yann Leboulanger cbd384ed31 send IBB data in Iq instead of Message 2010-08-17 15:42:34 +02:00
Yann Leboulanger 8af6bd2aae mercurial python module is not installed in site-packages under windows. use hg binary instead to get current revision 2010-08-17 11:55:58 +02:00
Yann Leboulanger f4e0992e9c use a more portable code to get current hg revision. se #5831 2010-08-17 11:34:53 +02:00
Yann Leboulanger 9a1bee4761 use nec to handle time / time revised requests 2010-08-17 00:13:38 +02:00
Yann Leboulanger 372c4e8d76 use nec to handle last requests 2010-08-16 23:47:08 +02:00
Yann Leboulanger f66baccf3b use nec to handle version requests 2010-08-16 23:39:33 +02:00
Yann Leboulanger a3863703f0 merge from trunk 2010-08-16 17:32:23 +02:00
Yann Leboulanger 751894d453 [Zash] fix var name 2010-08-16 16:13:55 +02:00
Yann Leboulanger 1e0448af35 announce both IBB and bytestream 2010-08-16 16:11:53 +02:00
Yann Leboulanger eb589020ed ability to send / receive file using IBB based on xmpppy implementation. Fixes #2331 2010-08-16 14:33:50 +02:00
Yann Leboulanger 4ef341bf2e handle URI in a better way. some require ://, some only :. Fixes #5841 2010-08-15 21:51:40 +02:00
Yann Leboulanger 72e75131b3 another missimg return 2010-08-12 21:42:15 +02:00
Yann Leboulanger 685a7a6e7f add missing return 2010-08-12 21:37:26 +02:00
Yann Leboulanger 6474ea0d98 update XEP-184 support by including id of request in <reveived> answer 2010-08-11 23:53:08 +02:00
Yann Leboulanger 9282678d8c request message archiving only if server supports it. 2010-08-11 20:12:11 +02:00
Yann Leboulanger ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Yann Leboulanger 2d9e622f65 check that user made a selection in a list-* field if it's required. Fixes #5829 2010-08-11 09:31:41 +02:00
Yann Leboulanger b6d746115d handle cert path more commonly 2010-08-11 08:46:53 +02:00
Yann Leboulanger fb41b65368 no need to go through GUI to handle cert request / reply 2010-08-11 08:44:49 +02:00
Zhenchao Li 08c854aefa put local certificates in ~/.config/gajim/ , accept session once key exchange completes 2010-08-11 00:50:14 +08:00
Yann Leboulanger 04c7b20c77 always send at least an emtpy <value> for every required fields when we send a dataform. Fixes #5829 2010-08-10 18:25:45 +02:00
Yann Leboulanger 61b26858d5 check jid-single and jid-multi fields when filling ad-hoc commands. Fixes #5829 2010-08-10 16:08:06 +02:00
Yann Leboulanger effa7cedfb correctly prep JID: "@server" is not a valid JID 2010-08-10 16:06:41 +02:00
Zhenchao Li 42f6580d1d move cert directory to ~/.local/share/gajim/certs 2010-08-10 21:10:45 +08:00
Zhenchao Li 91a68d30be add code to send/request certificates 2010-08-10 20:34:46 +08:00
Yann Leboulanger 457f75c945 fix var name 2010-08-10 09:28:11 +02:00
Yann Leboulanger 6c5565bfe2 add hg revision in Gajim version for hg users too 2010-08-09 14:42:55 +02:00
Yann Leboulanger 05f90734ee fix missing function call 2010-08-09 01:54:40 +02:00
Zhenchao Li 048d875b3b fix bug, os.path.exist -> os.path.exists. Define certificate path 2010-08-08 22:04:50 +08:00
Zhenchao Li e810727002 create certs path if it does not exist 2010-08-08 21:55:32 +08:00
Zhenchao Li 02c1eaf930 load multiple certificate files 2010-08-08 21:25:29 +08:00
Zhenchao Li 4fa60f9b3d define pubkey callbacks 2010-08-08 16:42:30 +08:00
Zhenchao Li a3e5e42375 add code to generate self signed certificates 2010-08-06 21:57:13 +08:00
Yann Leboulanger 546d1af937 typo in protocol.py 2010-07-31 00:54:13 +02:00
Yann Leboulanger 88c84e26f4 fix wrong var name. Fixes #5827 2010-07-30 16:42:51 +02:00
Yann Leboulanger 84982aaf30 prevent duplicate bookmarks 2010-07-30 15:16:09 +02:00
Yann Leboulanger 18f03edd62 use a nec Event to dispatch RIE events 2010-07-30 01:30:59 +02:00
Zhenchao Li ae97a3ed83 wrap IO operations on SSL.Connection objects in try, catch SSL exceptions caused by SSL rehandshake request and simply ignore, retrying the IO should succeed. 2010-07-29 21:40:40 +08:00
Yann Leboulanger 79297d919c Fix wrong event name 2010-07-28 21:00:39 +02:00
Yann Leboulanger 05a1af2c55 merge plugin system to trunk 2010-07-28 14:11:46 +02:00
Zhenchao Li 2b603fd7e1 add some code to allow testing using some pre-existing certificates.
TODO: manually handle handshake states to allow non-blocking I/O
2010-07-27 21:29:12 +08:00
Yann Leboulanger 6f22aa9d54 don't show in console that computed caps hash is incorrect 2010-07-27 10:37:10 +02:00
Zhenchao Li e9af72e944 add jingle_xtls.py, get_context helper function 2010-07-27 13:02:44 +08:00
Zhenchao Li 216c370c1f add fingerprint argument, we shall use it to retrieve certificates later on. 2010-07-26 20:57:11 +08:00
Yann Leboulanger 0c14e5c266 prepare 0.14 beta1 2010-07-24 22:08:21 +02:00
Zhenchao Li 797b3fe6a9 remove unnecessary branch 2010-07-24 10:12:54 +08:00
Yann Leboulanger 1d0ed41d15 improve connection time. Fixes #5764 2010-07-22 20:56:50 +02:00
Zhenchao Li 84debaabca if peer does not include a security element in content node, set use_security to false 2010-07-22 16:20:14 +08:00
Zhenchao Li 30cbdce234 if the peer supports jingle XTLS, send session-initiate with security element 2010-07-22 15:05:06 +08:00
Yann Leboulanger 33c155d889 use nec / ged to dispatch gmail event 2010-07-21 23:14:50 +02:00
Alexander Cherniuk 314342ada2 Added an ability to execute a command when a new Gmail event arrives. Thanks to umonkey. Fixes #5818 2010-07-20 20:15:44 +03:00
Yann Leboulanger 8595638cb4 use nec / ged to handle time, version and last received event 2010-07-20 16:53:07 +02:00
Yann Leboulanger 01d486ec60 use Network Event Dispatcher in connection_handler to handle HttpAuth events. 2010-07-20 10:35:38 +02:00
Yann Leboulanger 796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Zhenchao Li 4583482246 add namespace for XTLS 2010-07-19 14:21:01 +08:00
Zhenchao Li e75dc0c408 fix incorrect use of jid where account name should be used as parameter 2010-07-15 14:32:34 +08:00
Zhenchao Li 7d0029879a send proxy activated stanza to peer 2010-07-15 13:38:53 +08:00