Commit Graph

14746 Commits

Author SHA1 Message Date
Philipp Hörist 923bbc87a2 Add LMC to common features 2017-06-28 00:06:43 +02:00
Philipp Hörist 55889d045f Add new extension point method 2017-06-27 20:51:55 +02:00
Philipp Hörist 1a2d32fca5 Better error message why pgp is not working 2017-06-26 18:09:15 +02:00
Philipp Hörist 7a6d7baebc Set password also on connection object on change 2017-06-25 23:14:35 +02:00
Philipp Hörist 6a49e2d869 Fix plugin installation from zip 2017-06-25 22:34:14 +02:00
Philipp Hörist b5d3578e39 Add tooltip for encryption button
Fixes #8663
2017-06-25 18:06:46 +02:00
Philipp Hörist 49a78ae8ed Support IPV6 and IPV4 domainparts
https://tools.ietf.org/html/rfc7622#section-3.2
2017-06-16 23:40:42 +02:00
Yann Leboulanger 4650615010 Merge branch 'jingleft' into 'master'
Update JingleFT support, and fix sending files

See merge request !89
2017-06-16 21:19:38 +02:00
Yann Leboulanger 7f4e930677 do not decode received data via IBB before writing them to a file 2017-06-16 21:15:24 +02:00
Yann Leboulanger 5606e5b9a2 Merge branch 'jingleft' of https://dev.gajim.org/linkmauve/gajim into HEAD 2017-06-14 22:32:21 +02:00
Emmanuel Gil Peyrot aad5c16054 Update to XEP-0234 version 0.18.0 (:5 namespace). 2017-06-14 20:47:41 +01:00
Emmanuel Gil Peyrot 785a0b61e0 Update to XEP-0300 version 0.5 (:2 namespace). 2017-06-14 20:47:41 +01:00
Yann Leboulanger 44430988a5 update dep list 2017-06-14 21:39:12 +02:00
Emmanuel Gil Peyrot 09e6cfbbc8 Update to XEP-0234 version 0.18.0 (:5 namespace). 2017-06-14 20:31:29 +01:00
Emmanuel Gil Peyrot 8356256f17 Update to XEP-0300 version 0.5 (:2 namespace). 2017-06-14 20:29:52 +01:00
Emmanuel Gil Peyrot 71f0e40c94 Update JingleFT to its latest experimental version 2017-06-14 20:26:37 +01:00
Emmanuel Gil Peyrot 2b9f9f3bb9 Synchronise hashes support with XEP-0300 in Jingle 2017-06-14 20:26:37 +01:00
Yann Leboulanger 0d3ce37b27 fix a test. Fixes #8660 2017-06-14 20:25:06 +02:00
Yann Leboulanger 388acfca5a fix logging single messages. Fixes #8640 2017-06-14 15:29:19 +02:00
Yann Leboulanger 4f7b72883d Merge branch 'master' of dev.gajim.org:gajim/gajim 2017-06-14 15:10:26 +02:00
Yann Leboulanger 2c24c5a1e8 fix frong commit from 2fbadc91 2017-06-14 15:09:29 +02:00
Philipp Hörist 9dc389cc32 Show warning icon when encryption is disabled
'channel-insecure-symbolic' icon if no encryption is selected

'channel-secure-symbolic' if an encryption is selected
2017-06-13 00:02:44 +02:00
Philipp Hörist f7754487cc Fix Layout issues with long status messages
Fixes #8652
2017-06-12 22:20:03 +02:00
Philipp Hörist f419127bb9 Merge branch 'patch-1' into 'master'
Update servers.xml

See merge request !101
2017-06-11 22:59:25 +02:00
Philipp Hörist 209fa4c926 Dont set scrollbar policy in GC config window
This crashes Gajim on Windows.
Its to be investigated why this happens and how we can avoid it.
2017-06-11 22:54:15 +02:00
Philipp Hörist 2c34dd6d45 Show encryption icon in chat 2017-06-11 20:06:34 +02:00
Philipp Hörist c8115e4164 Set transient for ErrorDialog
Fixes #8649
2017-06-08 23:34:03 +02:00
Philipp Hörist 2296e75d0d Replace unicode char in print message 2017-06-08 19:58:40 +02:00
Philipp Hörist 1bf66b857a Always pass utf8 encoded strings to python-gnupg
self.encoding which we set in the init is only intended
to decode gpg´s stderr which uses a system specific encoding.

if we dont encode the data we pass to python-gnupg ourself, it will fallback and use self.encoding.
This might be of no concern if self.encoding is set to 'utf8' and when we are on Linux
which has a preferred encoding of 'utf8'.

But if we are on Windows the preferred encoding for stderr
is most of the time not 'utf8'. If python-gnupg tries to decode a stderr stream that is for example
encoded with 'cp1252' with our set encoding of 'utf8' this will fail.

The solution is to pre-encode the data before we pass it to python-gnupg, so it does not have to
use self.encoding as a fallback. And set self.encoding='latin1' because latin1 will not yield exceptions
on decoding errors. Also gpg itself will fallback to latin1 as stderr encoding when it cant determine the
preferred encoding of a system.

self.decode_errors is used for something differently, and has no influence on the situation.

Fixes #8644
2017-06-08 19:33:01 +02:00
Philipp Hörist 2872993b0c Remove unused GPG code 2017-06-08 19:10:04 +02:00
Philipp Hörist 92b0a15521 Pass use_agent to GPG init instead of overwrite 2017-06-08 19:09:22 +02:00
Philipp Hörist b5e9b07a07 Remove unused or old config values 2017-06-06 22:12:37 +02:00
Philipp Hörist a5f6ead063 Update nbxmpp min version 2017-06-04 23:27:05 +02:00
Philipp Hörist ef8229615a Dont save sent MessageStanza for LMC use
There are mutliple reasons why this is not a good idea

1. It places work on encryption Plugins, as many encryption attributes inside the
stanza can not be resend again (OMEMO, OTR), so the plugins have to make sure none of
these attr are inside the LMC stanza

2. In general its not obvious for plugin devs that a stanza issued after LMC has to be
treated differently. There should be no negative effects, even when a contributor not knowing
about LMC at all.

This commit saves only the stanza id, and adds the replace tag on the new message.
This results also in less code.
2017-06-02 03:32:46 +02:00
Philipp Hörist f803b544bc Rejoin MUCs unconditionally on SignedInEvent
There is no reason that any Groupchat should be treated as already connected when we sign in.
2017-06-01 19:10:06 +02:00
Nulll 22096d58af Update servers.xml 2017-05-29 18:23:49 +02:00
Philipp Hörist cb65cfc5ae Add config option to activate XEP-0146 commands
Some of the Commands have security implications, thats why we disable them per default
Fixes #8378
2017-05-26 23:10:05 +02:00
Philipp Hörist d5d9456d42 Add sqlite3 dependency to Windows build 2017-05-25 19:12:09 +02:00
Philipp Hörist b1b5a13455 Update Makefile.am 2017-05-22 21:48:27 +02:00
Philipp Hörist c6c1db047a Switch to Automake 1.9 2017-05-22 21:47:20 +02:00
Philipp Hörist 9827c63f5f Clone correct project for windows build 2017-05-20 10:25:51 +02:00
Philipp Hörist 48f492c5d1 Dont use deprecated icon in filter entry 2017-05-18 22:19:56 +02:00
Philipp Hörist 7931af0523 Add pillow to windows build dependencys 2017-05-18 22:08:02 +02:00
Philipp Hörist 2cc9d6c518 Use GTK stock icon for LMC 2017-05-18 22:02:18 +02:00
Philipp Hörist 020e4e0308 Name method more appropriate 2017-05-18 21:45:31 +02:00
Philipp Hörist 3335482345 Add 'encryption' config options group
We have to save the value per account and contact, because otherwise
it could lead to problems if a jid is added to more than one account.

As key this uses a string in the form of 'Account-BareJid'.

The config option group 'contacts' is not used because there are values
like 'speller_language' that make more sense to set on a Jid basis, rather than a
Account-Jid basis.

Treat an empty config value or no config value as 'disabled', instead
of writing a config value of 'disabled'. This has the benefit that we
dont have to write config values for contacts were we dont use encryption.
2017-05-18 21:42:40 +02:00
Philipp Hörist a73f02735a Remove frozen logging on windows
Because of the new build process this has become obsolete
we can now log on windows with a simple

´Gajim.exe > log.txt 2>&1´
2017-05-17 15:57:23 +02:00
Philipp Hörist 148655c59f Terminate esession only if it was active before
This is a regression from !96
2017-05-17 14:31:25 +02:00
Philipp Hörist 381b9b0a6c Merge branch 'SSL_ERROR' into 'master'
Zeroconf: SSL_ERROR_* has been moved to ssl module

Closes #8625

See merge request !100
2017-05-17 13:21:47 +02:00
André Apitzsch e9038f2220 Zeroconf: SSL_ERROR_* has been moved to ssl module
fixes #8625
2017-05-16 23:51:12 +02:00