Commit Graph

303 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot ab7ce2b42e Use log.warning instead of the deprecated log.warn. 2013-01-05 11:26:22 +01:00
Yann Leboulanger 86b256ac96 fix style / color things 2013-01-05 15:53:14 +01:00
Yann Leboulanger 0519253ff8 fix traceback with Gtk3.6 2013-01-05 10:38:39 +01:00
Denis Fomin ac9253e04a Merge 2013-01-02 22:13:27 +04:00
Denis Fomin 59a621bd87 fix some CursorType 2013-01-02 17:30:54 +04:00
Denis Fomin 4e16b113b3 fix pixbuf saves and missing import 2012-12-31 19:38:32 +04:00
Yann Leboulanger 912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00
Yann Leboulanger d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger 069bddbbcb remove call to unicode() 2013-01-01 21:06:16 +01:00
Yann Leboulanger 414e349345 python uses unicode internally 2013-01-01 19:44:25 +01:00
Yann Leboulanger e71188a6fa print -> print() 2013-01-01 19:36:56 +01:00
Yann Leboulanger 8f71d9f219 start porting Gajim to gobject introspection and GTK3 2012-12-23 16:23:43 +01:00
Yann Leboulanger 24d62c2591 cleanup gc_control.error_dialog attribute when we close the error dialog. See #6925 2011-07-20 00:08:13 +02:00
Yann Leboulanger f49f8163a6 prevent traceback when using normal socks5 FT 2011-07-02 00:52:35 +02:00
Yann Leboulanger ae0a47df85 fix error dialog. Fixes #6906 2011-07-01 16:08:15 +02:00
Yann Leboulanger b47248f09d merge from trunk 2011-06-20 23:03:06 +02:00
Yann Leboulanger 2a82a399a7 remove subscription dialog when another resource has accepted it. Fixes #6762 2011-05-24 18:12:48 +02:00
Yann Leboulanger be942a0270 don't open twice the same subscription request dialog. see #6762 2011-05-23 22:35:19 +02:00
Yann Leboulanger 46b1b5db0a prevent having more than one password required dialog per room. Fixes #6790 2011-05-18 22:48:28 +02:00
Yann Leboulanger 2265a80e9f correctly handle roster puches with subscription=remove. Fixes #6829 2011-05-11 20:42:44 +02:00
Yann Leboulanger 26136d66b1 remove a useless import in common/gajim.py 2011-05-04 14:02:38 +02:00
Yann Leboulanger 0645a6e859 allow WM to use several sizes of gajim icon so that it's nicer. Fixes #6839 2011-04-27 17:19:42 +02:00
Yann Leboulanger 82f77772a3 don't allow to join a groupchat if we have a contact with the same JID. Fixes #5799 2011-04-21 15:00:32 +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 6773c63cf6 [Zhihao Yuan] ability to run a function in a thread without calling a callback. 2011-04-12 16:34:34 +02:00
Denis Fomin 666334a4d3 add tooltips for emoticons menu items 2011-04-01 01:12:38 +04:00
Yann Leboulanger 769ce99f6c add account and server name to insecure connection dialog. Fixes #6841 2011-03-19 12:43:21 +01:00
Denis Fomin 4a02b2d381 prevent traceback If the gajim icon is absent 2011-02-21 23:52:16 +03:00
Yann Leboulanger e50b1aa7b6 fix invalid XML char regex. Fixes #5427 2011-01-06 21:01:43 +01:00
Yann Leboulanger 70f7ceb2a2 don't try to reconnect in a MUC when we get an error. Fixes #6097 2010-12-19 10:59:00 +01:00
Yann Leboulanger 48a44e0cfe revert unwanted commits from in 63c35c953516 2010-12-19 10:52:56 +01:00
Yann Leboulanger 536ff02af8 fix var name 2010-12-17 19:16:00 +01: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
Denis Fomin c86f98a19c Add missing import 2010-12-09 19:01:41 +03:00
Yann Leboulanger 2c1f20b773 use NEC to handle file request (error) events 2010-12-08 21:17:08 +01:00
Denis Fomin 8165a4680c add missing import 2010-12-03 16:55:09 +03:00
Denis Fomin e644047c59 use NEC to handle message error events 2010-12-01 23:38:39 +03:00
Denis Fomin 7bf519dca1 remove unused handler 2010-12-01 17:03:38 +03:00
Yann Leboulanger c6b04f3bc5 fix typo 2010-12-01 09:23:32 +01:00
Yann Leboulanger aac5c0bf1b correctly dispatch our show events 2010-12-01 09:16:35 +01:00
Denis Fomin 5e929d104b Fix var name 2010-12-01 03:09:28 +03: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
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
Yann Leboulanger 3043986614 remove unused function 2010-11-27 22:04:42 +01: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 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
Yann Leboulanger 352bda2ef5 use NEC to handle PEP / ATOM messages 2010-11-24 11:41:20 +01:00
Yann Leboulanger 1c9d56e7de handle correctly groupchat presences. Fixes #6047 2010-11-23 23:10:43 +01:00
Denis Fomin 9dfbd23424 Fix typo 2010-11-18 18:51:25 +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
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
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 60e8c63a29 use NEC to handle account creation events 2010-11-07 18:26:31 +01:00
Yann Leboulanger 375c9cf05e remove unused event 2010-11-07 17:52:21 +01:00
Yann Leboulanger 69578659a2 use NEC to handle our-status event 2010-11-06 10:04:41 +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 c4b005e0ee better handling of block list. Fixes #6005 2010-10-31 18:21:33 +01:00
Yann Leboulanger 58feae6cee use NEC to handle jingle-disconnected events 2010-10-29 16:49:53 +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 75b6872064 use NEC to handle anonymous jid changment 2010-10-26 21:25:41 +02:00
Yann Leboulanger 435b6832cf use RosterReceivedEvent object to handle load_roster_from_db. 2010-10-19 18:14:30 +02:00
Yann Leboulanger e4ff7c6ced use NEC to handle messages / gc_messages 2010-10-18 22:05:41 +02:00
Yann Leboulanger 7b4e4ee410 fix traceback when goig offline in the first 30 sec after authenticating with GPG. Fixes #5970 2010-10-13 22:33:39 +02:00
Yann Leboulanger c961463f10 don't close all GPG passphrase request dialogs when an account goes offline. Fixes #5938 2010-10-04 21:46:39 +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 15b2612666 fix typo 2010-10-03 19:43:01 +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 f8d691f886 fix var name. Fixes #5934 2010-09-23 22:17:43 +02:00
Yann Leboulanger 2476506338 spread presence handler into classes that really need it 2010-09-23 20:46:47 +02:00
Yann Leboulanger c36e00ed87 first show to use NEC to handle presence events 2010-09-17 12:41:30 +02:00
Yann Leboulanger 016e2d4876 use NEC to handle resource conflict 2010-09-09 16:40:58 +02:00
Yann Leboulanger da524c94fd use NEC to handle error messages 2010-09-08 19:55:19 +02:00
Yann Leboulanger 4500641054 use NEC to handle search form request / result 2010-08-30 21:42:36 +02:00
Yann Leboulanger cb0f30f4b4 use NEC to handle private storage stanza 2010-08-27 22:45:59 +02:00
Yann Leboulanger ac0e0448b2 send content-remove when a filetranfer is finished but other are still running 2010-08-26 16:56:46 +02:00
Yann Leboulanger f03cdbbebf send a session-terminate at the end of a jingle filetransfer 2010-08-25 13:01:35 +02:00
Yann Leboulanger f613c602c5 don't try to publish tune for accounts that don't support PEP. Fixes #5868 2010-08-24 11:43:16 +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 df7096167f use NEC to handle roster set events 2010-08-23 14:35:03 +02:00
Yann Leboulanger a3863703f0 merge from trunk 2010-08-16 17:32:23 +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 fb41b65368 no need to go through GUI to handle cert request / reply 2010-08-11 08:44:49 +02:00
Alexander Cherniuk 39f96a92be Tweaked the RE for detecting URLs again 2010-08-11 01:35:06 +03:00
Yann Leboulanger 831a3c2bab Partially revert [e9c73ef32827]. see #5675, Fixes #5840 2010-08-10 22:38:36 +02:00
Zhenchao Li 91a68d30be add code to send/request certificates 2010-08-10 20:34:46 +08:00
Yann Leboulanger 18f03edd62 use a nec Event to dispatch RIE events 2010-07-30 01:30:59 +02:00
Yann Leboulanger 05a1af2c55 merge plugin system to trunk 2010-07-28 14:11:46 +02:00
Yann Leboulanger ff1fd521be improve Gajim startup by disabling roster sorting while adding rows 2010-07-24 00:22:23 +02: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 e75dc0c408 fix incorrect use of jid where account name should be used as parameter 2010-07-15 14:32:34 +08:00
Zhenchao Li 6f5b6f2612 use the 'in' operator on a dict instead of has_key 2010-07-07 23:14:29 +08:00
Zhenchao Li 8b66c1e69d send session-terminate on file transfer completion 2010-07-07 22:39: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 77a6a02dc3 delete bookmarks from pubsub if server doesn't support publish-options. Fixes #5787 2010-06-21 19:15:46 +02:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Yann Leboulanger b7d6441846 move "Do not ask me again" accelerator to D. Fixes #5755 2010-05-21 09:38:09 +02:00
Yann Leboulanger 493dbce89d don't show more than one error dialog for a given groupchat. Fixes #5753 2010-05-20 18:45:09 +02:00
Yann Leboulanger bcee7c2125 indicator API changes too much, remove it's support. Fixes #5694 2010-05-11 17:20:23 +02:00
Yann Leboulanger 8da03ee1d1 fix zeroconf name conflict answer. 2010-05-02 11:59:13 +02:00
Éric Araujo 9b5ee1e13b convert tabs to spaces in source code thanks to reindent.py
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Alexander Cherniuk 49b49cf8fc Use contracted form for RE flags 2010-03-26 21:23:05 +02:00
Alexander Cherniuk 48cd4d796a Tweak URI detection RE to capture non-ascii symbols. Fixes #5675 2010-03-26 21:17:11 +02:00
Yann Leboulanger 0aca2d6a34 correctly add contacts to roster when we get a roster set <iq>, even in case we have a Contact instance already. Fixes #5595 2010-03-25 07:50:32 +01:00
Thibaut GIRKA fbf9a769d8 Delete invalid jingle sessions. Kick audio/video availability from jingle states.
Fixes #5668, #5651
2010-03-21 21:45:45 +01:00
Thibaut GIRKA ab0f7899ad Refuse multiple sessions and implement alternative-session; make jingle GUI a bit more reliable. 2010-03-15 21:34:28 +01:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger 42f1952e15 don't print a second DB error message if a first one is already shown. Fixes #5637 2010-03-09 21:48:57 +01:00
Yann Leboulanger 16607e0909 don't traceback when using metacontact over several accounts. Fixes #5616 2010-02-26 17:09:29 +01:00
Yann Leboulanger 7387d779c0 don't traceback when using metacontact over several accounts. Fixes #5616 2010-02-22 09:57:59 +01:00
Yann Leboulanger 8abbf990ba don't show sign in/out notifications if another resource or a metacontact brother is already connected. Fixes #5318 2010-02-17 22:23:13 +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 d8f9289349 fix indentation and some pylint warning in roster_window.py 2010-02-17 11:32:55 +01:00
Yann Leboulanger 408be06002 prevent traceback when destroy handler already clean self.instances[account]['online_dialog'] dict. Fixes #5604 2010-02-16 10:41:16 +01:00
Yann Leboulanger 336102c6f2 build regex pattern correctly. Fixes #5596 2010-02-11 10:24:39 +01:00