Commit Graph

225 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot 2fbadc91e9 Use Enum or IntEnum instead of range() constants. 2017-02-11 02:40:07 +00:00
Emmanuel Gil Peyrot 289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +00:00
Yann Leboulanger d338572271 Update strings for better english. Thanks to Allan Nordhøy for the suggestions 2017-02-04 23:29:45 +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
Yann Leboulanger 25fb8c9a3a don't crash when we get a wrong feature negotiation form 2016-11-24 22:42:33 +01:00
lovetox f961e0be9a Add MAM Preference Dialog 2016-10-31 02:11:46 +01:00
lovetox 705206cf83 Fix syntax error 2016-10-17 02:44:58 +02:00
Yann Leboulanger c841c7973d prevent traceback when a wrong timezone arrive. 2016-10-16 22:40:41 +02:00
lovetox 0e6f7908c9 Support old print_status tag in Bookmarks 2016-10-10 20:54:15 +02:00
lovetox 4c482cbfe8 Store optional fields correctly in Bookmarks 2016-10-10 19:10:18 +02:00
tmolitor efa8bb6598 Some more points to add the additional_data property 2016-09-05 16:12:23 +02:00
tmolitor 235cadd5cc Corrected last commit and added ability to set and log additional_data for outgoing messages as well (and for gc messages, too) 2016-09-05 01:43:39 +02:00
tmolitor 065d08cebf Honor profile given on commandline for plugin dir and history db and more.
Also added new property 'additional_data' to message event objects. Changes to this attribute (a dict) are passed on from event to event and are also written to the history db as json string (reading of those values isn't implemented yet).
2016-09-05 00:01:29 +02:00
Philipp Hörist e645f4e838 add new event for gc after message stanza is built so it can be modified by plugins 2016-06-24 20:12:37 +02:00
tmolitor 7afbe5706e Cleaner version of the mam message timestamp fix. Fixes #8277 2016-04-19 23:43:01 +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 b75c1c12aa call str() instead of unicode() 2016-04-03 14:28:27 +02:00
Yann Leboulanger 902c3d59c6 better timestamp handling. Fixes #3818 2016-03-31 22:46:44 +02:00
tmolitor 06599440e3 Ignore presence errors 2016-03-25 00:29:20 +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 fbdb7656af rename msg_id to msg_log_id where it's the id from logs database 2016-02-27 19:52:46 +01:00
tmolitor 8bfc286d8f added automatic_message flag to GcMessageOutgoingEvent (bugfix) 2016-02-21 16:45:31 +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 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 fc56f501bb re-enable metacontacts. Fixes #7295 2016-01-03 16:02:27 +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 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 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 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 476aca3ea0 decode PGP messages in MAM response. Fixes #8103 2015-09-19 13:58:28 +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 d69fcc9e1e prevent warning 2015-07-31 22:08:00 +02:00
Yann Leboulanger 087d2a05b9 add jid to NotificationEvent for groupchat messages 2015-06-20 21:30:48 +02:00
Holger Weiss 6856769674 Use bare JID when checking MAM message recipient. Fixes #7973 2015-02-10 12:57:49 +01:00
Yann Leboulanger 0a8af73650 add XEP-313 (MAM) support 2014-11-11 15:28:24 +01:00
Yann Leboulanger 7af365edda fix printing error 2014-10-09 22:10:16 +02:00
Yann Leboulanger a0d752b3ab [fschmaus] Improve XEP-0082 support. Fixes #7814 2014-09-07 21:51:06 +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
Yann Leboulanger 0eef85f776 ignore attention (XEP-224) when messages is delayed 2014-03-10 21:47:21 +01:00
Yann Leboulanger ac5db73d53 fix var name. Fixes #7668 2014-03-08 12:19:15 +01:00
Yann Leboulanger a5eb0070e9 don't fail to receive a jingle FT request with no <security> tag 2014-02-23 20:53:04 +01:00
Fedor Brunner 6588636aa5 Support for sha256 fingerprint.
Fixes #7628
2014-01-21 15:27:41 +01:00
Yann Leboulanger b9ff018a03 add a new event that is sent just before changing status. Fixes #7593 2014-01-14 22:48:51 +01:00
Denis Fomin 4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Fedor Brunner 667cd1eb48 Replace the obsolete method warn.
http://docs.python.org/3/library/logging.html

  Note: There is an obsolete method warn which is functionally identical to
  warning. As warn is deprecated, please do not use it - use warning instead.
2014-02-18 09:39:48 +01:00
Yann Leboulanger d337aeed4e py2 -> py3 2013-12-30 21:19:15 +01:00