Commit Graph

11084 Commits

Author SHA1 Message Date
tmolitor 30c046764c forgot to import defs in the last commit 2016-07-17 14:34:55 +02:00
tmolitor ac729ce050 Some more bugfixes (see 0.16 branch) 2016-07-17 14:29:53 +02:00
tmolitor d99f190ac6 merge 2016-07-17 14:24:13 +02:00
tmolitor 79358dc7dc Small bugfix for encrypted conversations 2016-07-17 14:23:22 +02:00
Yann Leboulanger 06a477da8a ability to compite the installer for gtk3 version 2016-07-07 22:41:35 +02:00
Yann Leboulanger b353a0721a fix length of printed string in about tab of vcard window 2016-06-16 21:49:09 +02:00
Yann Leboulanger bbcd2d7886 fix about tab in vcard 2016-06-16 21:40:15 +02:00
Yann Leboulanger 02a0f25781 remember which speller language was use for each contact. Fixes #8326 2016-05-22 23:09:49 +02:00
Yann Leboulanger 4ccfaa1a97 fix listing GPG keys 2016-05-21 18:56:01 +02:00
Yann Leboulanger 000f7cfa8d fix attribute name 2016-05-21 18:55:45 +02:00
Nathalie Rud 5988aa3aa8 Fix exception in _parse_srv_result_nt() (on Windows)
Sometimes 'result' parameter is byte[] which causes exception:
TypeError: 'str' does not support the buffer interface
2016-04-27 02:53:43 +03:00
Nathalie Rud 060aa01857 Fix file chooser dialog on Windows
Dropped decode_filechooser_file_paths() as with Python 3 it raised AttributeError: 'str' object has no attribute 'decode' on Windows, and  silently handled exceptions effectively doing nothing on *nix systems.
2016-04-27 02:44:13 +03:00
tmolitor 453fd46427 merge 2016-04-19 23:48:10 +02:00
tmolitor 7afbe5706e Cleaner version of the mam message timestamp fix. Fixes #8277 2016-04-19 23:43:01 +02:00
Yann Leboulanger cc46d7b7d0 call gpg with LANG=C to prevent decoding issues 2016-04-18 22:38:17 +02:00
tmolitor eba838bdac Use the timestamp of the forwarded message in mam processing if possible. Fixes #8277 2016-04-18 01:59:20 +02:00
Yann Leboulanger e585c579cb print timestamp as invisible in history window when we don't want to see it so we can search for it. See #3939 2016-04-17 20:31:19 +02:00
tmolitor fd7bebe016 small bugfix 2016-04-15 02:37:58 +02:00
tmolitor 4f8984ad7e use pixbuf.new_from_bytes() instead of broken pixbuf.new_from_data() 2016-04-15 01:37:08 +02:00
Yann Leboulanger 997e686d57 add new option to show avatar in chat tabs and window icons instead of status icon. Fixes #8320 2016-04-12 22:53:41 +02:00
Yann Leboulanger 991df175d7 don't draw groupchat iters in a callback. Draw them in main thread to prevent GTK Error 2016-04-12 21:59:57 +02:00
Yann Leboulanger 1dba4796f7 [Link Mauve] correctly send certificate fingerprint when sending a file. 2016-04-10 20:59:54 +02:00
tmolitor 8aabfe29c7 Feeding the RGB data directly into the pixbuf sometimes causes image distortions or segfaults, this fixes it 2016-04-10 19:02:07 +02:00
tmolitor 3163157219 Corrected usage of GObject get_data and set_data methods (see https://bugzilla.gnome.org/show_bug.cgi?id=641944) 2016-04-08 02:17:54 +02:00
tmolitor 3148ab7e4e Correctly convert avatar images in roster, too 2016-04-07 03:40:34 +02:00
tmolitor 88d4826693 Better transformation from pil.image to gtk pixbuf (see last commit) 2016-04-06 23:38:30 +02:00
tmolitor 3c704f95da Added ability to display avatars in all image formats that are supported by pillow (if pillow is available) 2016-04-05 18:59:55 +02:00
Yann Leboulanger bc4a4a06e2 ability to retrieve PM logs in history window when typing room_jid. Autocompletion can now complete to room_jid/nicks. Fixes #7670 2016-04-04 22:51:47 +02:00
Yann Leboulanger 00bbfc2475 make completion listore correctly filled with text cellrenderer 2016-04-04 22:49:36 +02:00
Yann Leboulanger 499bbd9fcd correctly compute FT speed and ETA. Fixes #8216 2016-04-04 21:10:57 +02:00
Yann Leboulanger 7c2c4cd0ac prevent traceback. Fixes #7978 2016-04-03 21:32:53 +02:00
Yann Leboulanger f2dd9a9773 [ralf] correctly store roster window size in one window mode. Fixes #8314 2016-04-03 16:42:21 +02:00
Emmanuel Gil Peyrot 1bf8a35b64 Fix zeroconf connection and prevent invalid stanzas from being sent. 2016-04-02 15:29:26 +01:00
Yann Leboulanger e80b0ba9b3 remove debug print 2016-04-03 14:50:47 +02:00
Yann Leboulanger b75c1c12aa call str() instead of unicode() 2016-04-03 14:28:27 +02:00
Yann Leboulanger c903b9d5d1 fix sending file over XTLS encrypted socket 2016-04-03 14:28:08 +02:00
Yann Leboulanger 565d44a5b7 fix file hash error event 2016-04-02 17:10:35 +02:00
Emmanuel Gil Peyrot ba7d612fdc Widget.get_iter_at_location returns a 2-tuple on GTK+ 3.20, so get the actual iterator.
Fixes #8312.
2016-04-02 14:36:33 +01:00
Yann Leboulanger b96f70d39c merge 2016-04-02 14:22:02 +02:00
Yann Leboulanger 759cfc6336 do not warn when tls cert changes for a valid one 2016-04-02 14:06:20 +02:00
Emmanuel Gil Peyrot da6214f623 Fix a few deprecation warnings. 2016-04-02 12:59:42 +01:00
Yann Leboulanger 41bd11fdee correctly decode string in view cert dialog 2016-04-02 13:54:35 +02:00
Yann Leboulanger 902c3d59c6 better timestamp handling. Fixes #3818 2016-03-31 22:46:44 +02:00
Yann Leboulanger 8d57da9d39 update video config from 0.16 to 1.0 2016-03-30 21:19:13 +02:00
Yann Leboulanger 398b0a6385 fix creating Notification via pynotify. See #8308 2016-03-30 20:45:50 +02:00
Yann Leboulanger 588ead0990 fix importing gst. Fixes #8306 2016-03-29 22:54:40 +02:00
Anaël Verrier 0c67a2d212 Sort emoticons packs list in the preferences window. 2016-03-27 18:09:58 +02:00
Yann Leboulanger 8a3d743b6f fix error reply when S5B cannot be established. Fixes #8315 2016-03-28 20:52:24 +02:00
tmolitor 9d4b1dd53f merge 2016-03-25 00:29:49 +01:00
tmolitor 06599440e3 Ignore presence errors 2016-03-25 00:29:20 +01:00
Yann Leboulanger 677490030d fix deleting a bookmark. Fixes #8290 2016-03-23 22:32:03 +01:00
Yann Leboulanger 4d9354c8d1 fix var name 2016-03-23 21:16:29 +01:00
Yann Leboulanger 8ff28d636e prevent an error under GTK2.18+. Fixes #8287 2016-03-19 13:13:25 +01:00
Yann Leboulanger ab7939f614 catch all errors when trying to load a plugin 2016-03-15 21:40:44 +01:00
Yann Leboulanger 8d37cec3b0 handle message receipts corretly, even if they don't have the <thread> element 2016-03-08 22:36:22 +01:00
Yann Leboulanger 1e8c3d75e0 fix sending receipts. Fixes #7548 2016-03-05 15:23:48 +01:00
Yann Leboulanger f405228041 make last message correction work for carbon copied messages sent from another resource. Fixes #8276 2016-03-05 14:22:56 +01:00
Yann Leboulanger 766ae0353e handle message correction correctly even if we don't print the message instantly in a chat window. Fixes #8220 2016-02-29 21:29:20 +01:00
Yann Leboulanger 0530308a99 pending events are now in objects rather that storing parameters in tuple 2016-02-29 21:04:08 +01:00
Yann Leboulanger fbdb7656af rename msg_id to msg_log_id where it's the id from logs database 2016-02-27 19:52:46 +01:00
Yann Leboulanger 1f2eb5050c Make last message correction work correctly in PM. See #8220 2016-02-27 18:54:19 +01:00
tmolitor 8bfc286d8f added automatic_message flag to GcMessageOutgoingEvent (bugfix) 2016-02-21 16:45:31 +01:00
Yann Leboulanger 10871b9a33 enable_esessions needs Gajim restart 2016-02-21 19:03:44 +01:00
Yann Leboulanger 206746cbfb make GPG work with gpg2 binary if present. Fixes #8268 2016-02-21 18:54:31 +01:00
Yann Leboulanger 3f89fafb44 make the choose_gpg_key working 2016-02-21 14:04:31 +01:00
Yann Leboulanger b74fdf1c8b add advanced option to put the roster on the right in single window mode. Fixes #4679 2016-02-21 11:07:04 +01:00
Yann Leboulanger a0d9d6cf2a keep window size in single window mode even when no tab is opened. Fixes #7823 2016-02-21 10:32:55 +01:00
Yann Leboulanger 4a151d1370 prevent crash when a plugin is wrong. 2016-02-21 10:25:45 +01:00
Yann Leboulanger 7a4161c759 ignore wrong stanza. Fixes #8205 2016-02-20 21:28:34 +01:00
Yann Leboulanger 766bb508e3 [gdr_gdr] Add a file transfer completed event. Fixes # 8266 2016-02-20 21:36:24 +01:00
Yann Leboulanger 7740f8ccf4 [gdr_gdr] Prevent traceback. Fixes #8265 2016-02-20 21:16:16 +01:00
Yann Leboulanger 1316866265 reply to message receipt only when we are the recipient of the message. see #7548.
[tmolitor] display message receipt (xep 0184) for carbon copied messages. Fixes #8258
2016-02-20 20:04:47 +01:00
Yann Leboulanger 580cdb2723 fix computing hashes for duplicate messages. See #8258 2016-02-20 15:59:01 +01:00
tmolitor c5c1e5d235 Ignore received message duplicates using sender jid, message id and message content. See #8258 2016-02-08 23:08:26 +01:00
tmolitor 0e80db2be6 don't show delivery error messages for automatic message stanzas. Fixes #8222 2016-02-08 22:31:36 +01:00
Yann Leboulanger 9fbd7efa2a correctly store and restore single message subject. Fixes #8251 2016-01-31 19:58:51 +01:00
Emmanuel Gil Peyrot 737b689c98 Fix a remnant use of urllib from python2 in gajim-remote 2016-01-24 19:12:30 +00:00
Yann Leboulanger 67a43e7dea fix some sessions errors. Fixes #8221, #7772, #7723 2016-01-17 20:54:20 +01:00
Yann Leboulanger 9917484736 [Allan Nordhøy] improve some strings 2016-01-16 16:05:43 +01:00
Yann Leboulanger 971b5a5316 fix A GTK error 2016-01-16 15:31:00 +01:00
Yann Leboulanger 35349d9ee4 [Bahtiar `kalkin-` Gadimov]
Shorten name of a gc entry in "Join GC" submenu

Some XMPP clients save the subject of a group chat as the bookmark name. The
subject can be very long thus the MenuItems can get also very long. This simple
patch shortens the name to a carefully chosen value.
Fixes #8218
2016-01-16 14:18:16 +01:00
Yann Leboulanger 94b8541fdf correctly detect that gtkspell is not installed 2016-01-05 21:09:13 +01:00
Yann Leboulanger e2f74117d5 correctly raise change nick dialog. Fixes #8215 2016-01-05 20:53:54 +01:00
Yann Leboulanger b672e23503 correctly close jingle session when no intersection between the remote codecs and the local ones. Fixes #8210 2016-01-03 22:26:15 +01:00
Yann Leboulanger 30aa143888 fix sending codec parameters 2016-01-03 20:44:03 +01:00
Yann Leboulanger af33becb5c don't send error when receivinf a ringing jingle element 2016-01-03 20:43:32 +01:00
Yann Leboulanger 2885ff4128 fix printing help 2016-01-03 16:14:44 +01:00
Yann Leboulanger 47d36021c3 version for gtk3 branch is 0.16.10 2016-01-03 16:13:39 +01:00
Yann Leboulanger fc56f501bb re-enable metacontacts. Fixes #7295 2016-01-03 16:02:27 +01:00
Yann Leboulanger e7bef08d45 correctly draw images in roster. 2016-01-03 14:51:54 +01:00
Yann Leboulanger ec74544a88 do not allow to drop a group on itself or a subgroup of itself. Fixes #8211 2016-01-03 13:02:22 +01:00
Yann Leboulanger cb8993f51d fix opening secrets file 2016-01-03 11:07:44 +01:00
Yann Leboulanger ea807a1563 prepare 0.16.5 release 2015-12-28 13:45:43 +01:00
Yann Leboulanger 96de12a39f correctly detect missing gtkpell module 2015-12-28 22:12:34 +01:00
Yann Leboulanger dcef0455c8 fix a few things for jingle video 2015-12-23 22:40:53 +01:00
Yann Leboulanger b8ef7fd854 Ignore roster pushes that are not from our JID or our server. Ignore badly farmated roster pushes. 2015-12-20 20:42:38 +01:00
Yann Leboulanger 292a0ba99a [tmolitor] add a way to sort emoticons in emoticon menu. Fixes #8204 2015-12-19 11:15:40 +01:00
Yann Leboulanger 7c9a5aa429 [tmolitor] use uuid instead of plain counting integers for stanza ids. Fixes #8202 2015-12-17 20:10:06 +01:00
Yann Leboulanger eb30ad07bd don't traceback when deleting an account. Fixes #8199 2015-12-12 13:52:18 +01:00
Yann Leboulanger cb36bc7abe don't try to use GUPnP-IGD when we use an IPv6 address 2015-12-15 22:25:39 +01:00
Yann Leboulanger e1b1e5f694 correcly use the received password when we're invited to a password protected room 2015-12-02 23:05:33 +01:00
Yann Leboulanger bc880bd892 send password of the room when we invite a contact in it. Fixes #8197 2015-12-02 23:05:10 +01:00
Yann Leboulanger 7f66f65ed7 correctly announce that we support XEP-0249 2015-12-02 23:04:13 +01:00
Yann Leboulanger 11970eb705 do not traceback when we receive a corboned message sent without a to attribute. Fixes #8194 2015-11-24 21:07:59 +01:00
Yann Leboulanger 77382c5c47 remove debug print 2015-11-24 20:16:00 +01:00
Yann Leboulanger b6a66c44a3 set the focus on message textview in chat control only for the first opened tab. Fixes #7903 2015-11-23 22:05:19 +01:00
Yann Leboulanger e2c1e96685 once we are connected to a server with starttls, don't try to connect with the legacy port 2015-11-22 20:10:33 +01:00
Yann Leboulanger 70865447b2 do not try to connect to server over a plain (unencrypted) connexion by default. see #8193 2015-11-22 20:09:54 +01:00
Yann Leboulanger 4d70aa91e7 do not loop requesting vcard when opening a chat window with ourself and we don't have a vcard stored on server 2015-11-22 15:14:07 +01:00
Yann Leboulanger c84e2c252b add more arguments to paplay command. fixes #8192 2015-11-21 14:39:36 +01:00
Yann Leboulanger 23ee168a91 do not set <no-permanent-storage/> hint for GPG encrypted messages. Fixes #8123 2015-11-21 14:31:07 +01:00
Yann Leboulanger 5b67a32ca0 better detection of local IPs. See #8191 2015-11-17 21:33:30 +01:00
Yann Leboulanger 2ab937e846 do not send ::1 as peer address when sending a file. Fixes #8191 2015-11-17 21:16:26 +01:00
Yann Leboulanger 8326e56793 do not crash when we remove a contact for which neerby contcts are not in the same accounts. Fixes #8157 2015-11-15 21:07:02 +01:00
Yann Leboulanger 821b701a66 keep image tags when we replace the temporary image by the downloaded image. Fixes #8182 2015-11-15 14:28:31 +01:00
Yann Leboulanger ec991fd06d do not delay the import of libxml2, it's needed by gst. Fixes #7836 2015-11-04 21:54:24 +01:00
Yann Leboulanger d318481176 Correctly check and handle the case when we don't trust our own key. Fixes #8122 2015-11-01 16:30:27 +01:00
Yann Leboulanger 89f6efefde stop requesting MAM archive when we get the complete='true' attribute. Fixes #8170 2015-10-24 13:32:07 +02:00
Yann Leboulanger 1e01ca81c6 fix a few minor GTK3 things 2015-11-23 20:45:21 +01:00
Jefry Lagrange ace04d084c remove unnecessary argument in new_with_label call 2015-11-22 17:23:58 -04:00
Jefry Lagrange c6a7edfb3b pass byte string instead of string to ctx methods 2015-11-16 17:58:18 -04:00
Yann Leboulanger 6337606c49 add new option to allow popup notifications when a chat control is opened. See #7891, #8158 2015-10-25 15:06:37 +01:00
Yann Leboulanger 5b513f763e request archiving preferences only if server announce it supports it, and don't think it supports it while it's buggy. Fixes #7839 2015-09-30 20:00:48 +02:00
Yann Leboulanger 2bf79d894e fix typo 2015-09-26 15:58:33 +02:00
Yann Leboulanger 1e510a5884 prepare 0.16.4 release 2015-09-26 15:39:01 +02:00
Yann Leboulanger 9a5891bb4c add new event after message stanza is built so it can be modified by plugins. Fixes #8150 2015-09-23 22:39:11 +02:00
Yann Leboulanger fbf265ee98 remove debug print 2015-09-20 20:33:39 +02:00
Yann Leboulanger 476aca3ea0 decode PGP messages in MAM response. Fixes #8103 2015-09-19 13:58:28 +02:00
Yann Leboulanger 2260314509 add type='submit' to MAM request data form. Fixes #8149 2015-09-16 20:43:57 +02:00
Yann Leboulanger 44822d3837 update XEP-0334 (Message Processing Hints) to V0.2 2015-09-13 13:57:04 +02:00
Yann Leboulanger 0f2e66d7a2 don't fail when we receive a MAM message without a body. Fixes #8140 2015-09-03 22:06:04 +02:00
Yann Leboulanger 1eba16df6e show error message when we try to connect anonymously to a server that doesn't support anonymous connection. Fixes #8138 2015-08-31 13:47:18 +02:00
Yann Leboulanger 1f19e8c43d delete cache db when logs db doesn't exist. Anyway data will be wrong inside. Fixes #8133 2015-08-27 14:53:18 +02:00
Yann Leboulanger 55402bdc50 [tmolitor] ability to download bigger files with higher timeouts. Fixes #8130 2015-08-20 21:53:59 +02:00
Yann Leboulanger a44a71d6a5 add option to en(dis)able XEP-0136/0313. Fixes #8127 2015-08-20 15:08:53 +02:00
Yann Leboulanger 190b1b7886 fix calling gnupg.list_keys. Fixes #8122 2015-08-12 22:13:29 +02:00
Yann Leboulanger c69ab30ed6 allow to add EventBox to conversation textview for plugins for example. 2015-08-09 13:48:02 +02:00
Yann Leboulanger 026c5e1b1a fix reading secrets file under windows. Fixes #8118 2015-08-07 13:56:28 +02:00
Yann Leboulanger 5656d210f7 remove gconf usage. It's not used anymore 2015-10-04 21:22:17 +02:00
Yann Leboulanger ea888a1e34 remove useless code 2015-10-04 20:51:07 +02:00
Yann Leboulanger 62ebce6358 fix hiding tooltips 2015-10-04 20:50:41 +02:00
Yann Leboulanger 156935a8ac don't use GtkAlignment anymore. Fixe 2 missing import 2015-09-20 18:18:35 +02:00
Yann Leboulanger b851177f6a specify module version before importing 2015-08-30 23:23:10 +02:00
Yann Leboulanger 2f21fb657a finish update glade files for GTK3 2015-08-30 23:22:42 +02:00
Yann Leboulanger 0735ec2214 start fixing Jingle Audio / Video 2015-08-21 22:04:55 +02:00
Yann Leboulanger 003ebf0b9d create file directly with correct rights instead of using chmod later 2015-08-21 22:04:14 +02:00
Yann Leboulanger ef0373e45d update source code for new glade file 2015-08-21 22:03:24 +02:00
Yann Leboulanger 512ffc7c0a use introspection instead of ctype to use gtkspell 2015-08-16 14:22:04 +02:00
Yann Leboulanger f69ade130c place roster tooltips correctly. 2015-08-15 22:16:45 +02:00
Yann Leboulanger b8c90a2750 make ADE readable 2015-08-10 23:12:12 +02:00