Commit graph

645 commits

Author SHA1 Message Date
Philipp Hörist
cf07022cbd Remove ESessions encryption/decryption from core 2017-05-07 18:40:05 +02:00
Philipp Hörist
3fd35a041e Remove PGP encryption/decryption from core 2017-05-07 18:38:33 +02:00
Philipp Hörist
5116af037b Add Encryption Plugin API
- Add extension points when receiving/sending a message
- Add extension point for setting the lock image
- Add extension point after clicking the send button
- Add extension point when typing
- Add a new menu button to choose the desired encryption
- Extend the PluginManager to hold a list of encryption plugins
2017-05-07 18:38:06 +02:00
Philipp Hörist
2cd6634c0e Dont show warning on missing 0184 receipt
https://xmpp.org/extensions/xep-0184.html#what tells us that we
SHOULD NOT impute any meaning to the fact that we did not receive an ack message
2017-05-01 19:42:57 +02:00
Philipp Hörist
33a584b8b0 Dont use message receipts in message to ourself 2017-05-01 19:08:11 +02:00
Philipp Hörist
64ae063f9c Fix mediated groupchat invites
- Push Invitation and Decline event much earlier
- Refactor Logic to decide if mediated or not
  Ejabbered 17.03 does add a 'jabberconference' namespace into mediated invites which has broken our logic
- Dont add a groupchat contact on invitation, always add the inviter to the roster
2017-05-01 15:33:38 +02:00
Philipp Hörist
d7a6b6ab0b Register new MAM Events 2017-04-18 18:56:57 +02:00
Philipp Hörist
b42c21d3e0 Use new MAM Events and use chosen MAM namespace 2017-04-18 17:52:17 +02:00
Philipp Hörist
a51ea32dc6 Refactor exception handling for logger
- Handle exceptions inside write() instead of propagating the
    exception
- Add error message to exception
- Add dispatch() method in logger
2017-04-12 22:30:55 +02:00
Philipp Hörist
63335357be Use push event to query privacy list after edit 2017-03-14 22:30:52 +01:00
Philipp Hörist
18e29ebc55 Add blocked contacts always to the default list 2017-03-14 22:30:16 +01:00
Emmanuel Gil Peyrot
289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +00:00
Philipp Hörist
430c4b1536 Merge branch 'printline' into 'master'
print_conversation_line() refactoring

See merge request !3
2017-01-03 21:20:32 +01:00
Philipp Hörist
39216af2de print_conversation_line() refactoring
It now orders all messages with the given timestamp
this also includes inserting messages at the correct
point

The timestamp precision for incoming and outgoing messages
was raised to include fractions of a second
2017-01-02 19:09:06 +01:00
Thilo Molitor
55eaf70f9f Correctly search for chat_control when message receipts are received (XEP-0184) and chat_control is not currently bound to a session 2016-12-16 21:53:51 +01:00
Yann Leboulanger
6fbb4ce6cb fix sending zeroconf messages 2016-11-24 22:44:52 +01:00
lovetox
f961e0be9a Add MAM Preference Dialog 2016-10-31 02:11:46 +01:00
lovetox
b7932e15ea Use UTF-8 to store VCards
If we dont specify the encoding, the system default is used which leads to encoding/decoding errors, depending on what the actual system default encoding is.
2016-09-30 17:03:30 +02: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
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
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
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
476aca3ea0 decode PGP messages in MAM response. Fixes #8103 2015-09-19 13:58:28 +02:00
Yann Leboulanger
9f3fec4ef7 don't request privacy lists when connecting if server doesn't support that. Fixes #7990 2015-03-07 15:04:41 +01:00
Yann Leboulanger
f2271ced53 fix seclabel. see #7010 2015-03-01 15:07:14 +01:00
Yann Leboulanger
8969c874ff fix mam implementation 2014-12-29 19:13:12 +01:00
Yann Leboulanger
0a8af73650 add XEP-313 (MAM) support 2014-11-11 15:28:24 +01:00
Yann Leboulanger
a764cb5384 remove useless test 2014-09-15 14:03:52 +02:00
Yann Leboulanger
012f39174f display error messages even if they don't have a <body>. Fixes #7798, see #6756 2014-09-14 14:23:31 +02:00
Yann Leboulanger
a084cad22a handle XEP-191 (blocking command) in a better way: hability to block a contact when server doesn't support privacy lists, add / remove jid to blocked list only when we get the result from server, handle blocked / unblocked contacts by other resources 2014-08-13 22:46:18 +02:00
Denis Fomin
4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger
43f21dcbeb don't send receipt answer for forwarded messages. Fixes #7548 2013-11-05 13:12:38 +01:00
Yann Leboulanger
4e2580d389 don't create a new session when we get an error message in a pm. Fixes #7435 2013-08-27 17:24:41 +02:00
Yann Leboulanger
f0bbb92b41 don't allow to browse non-MUC server in join groupchat dialog. 2013-07-30 20:09:52 +02:00
Yann Leboulanger
fd0ff877a3 GObject.* -> GLib.* 2013-07-28 20:50:30 +02:00
Yann Leboulanger
7046cd0608 fix a few things for gtk3 2013-07-28 19:38:49 +02:00
Yann Leboulanger
d280ff3aa4 gobject -> GObject 2013-07-28 17:54:55 +02:00
Yann Leboulanger
d50ffacbec discover server of our contacts on startup if it's not already done. 2013-06-02 22:02:43 +02:00
Denis Fomin
e406526ad7 Fix missing import 2013-04-26 13:01:05 +04:00
Yann Leboulanger
aef4452ff5 remove unused class parameter 2013-04-06 12:24:26 +02:00
Yann Leboulanger
7de87c19a0 move ConnectionPEP class to connection_handlers to prevent import loop 2013-04-06 10:14:28 +02:00
Yann Leboulanger
9c8c1de03f update my copyright 2013-04-05 21:35:39 +02:00
Yann Leboulanger
a38b779e9e don't run several GPG threads when we receive a non-GPG message. Fixes #7311 2013-04-05 20:59:17 +02:00
Yann Leboulanger
4b3a169571 implement XEP-0191 for servers that don't support privacy lists 2013-03-30 23:13:48 +01:00
Yann Leboulanger
4e4b88cb5b remove <ping> child in ping reply. Fixes #7286 2013-01-10 17:21:05 +01:00
Denis Fomin
3911c72ba9 fix set avatar 2013-01-03 17:02:14 +04:00
Yann Leboulanger
2c21353a8b remove has_key()
fix base64 calls (requires and returns bytes, not str)
2013-01-02 17:53:42 +01:00
Yann Leboulanger
912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00