Commit Graph

138 Commits

Author SHA1 Message Date
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +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 4966b4bf06 Remove notifications on receiving own sent carbon copies
Notifications for a JID are removed when we see activity
in the form of a sent carbon copie from one of our other devices.

If we receive such carbon copies we can conclude that the message
we received earlier was answered from one of our other devices.
2017-03-14 22:17:48 +01:00
Philipp Hörist 142f2214ea Dont notify on own sent carbon copies 2017-03-14 22:17:16 +01:00
Emmanuel Gil Peyrot 57fb80f1fa Remove every default argument using [] or {}. 2017-02-11 02:40:07 +00:00
tmolitor 556afac134 Added ability to use additional_data for directly sent messages not coming from history db. 2016-09-05 23:07:31 +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
tmolitor 79358dc7dc Small bugfix for encrypted conversations 2016-07-17 14:23:22 +02:00
Yann Leboulanger 4d9354c8d1 fix var name 2016-03-23 21:16:29 +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 67a43e7dea fix some sessions errors. Fixes #8221, #7772, #7723 2016-01-17 20:54:20 +01:00
Yann Leboulanger 61648b11b5 update control.contact when we get a message from another resource. Fixes #7919 2015-05-17 15:40:42 +02:00
Yann Leboulanger ea30b6888b update contact instance in chat window when we talk to another resource. Fixes #7700 2014-03-28 21:29:42 +01:00
Denis Fomin 4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger 8e231c1d4f fix typo. Fixes #7560 2013-11-17 21:52:02 +01:00
Yann Leboulanger cab5228220 fix receiving single messages 2013-10-28 11:23:54 +01:00
Yann Leboulanger 07c172fcc6 fix transient for. See #7185 2013-08-15 23:16:38 +02:00
Yann Leboulanger e1eb9af26f fix transient for windows. Fixes #7185 2013-08-15 23:14:42 +02:00
Yann Leboulanger f0a4094cc9 XEP-0308 Last Message Correction support. 2013-04-25 20:38:18 +02:00
Yann Leboulanger 9c8c1de03f update my copyright 2013-04-05 21:35:39 +02:00
Yann Leboulanger d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger 77775cf0af Gajim now uses python-nbxmpp library instead of embedding it. 2012-12-09 21:37:51 +01:00
Denis Fomin dcab602b75 typo 2012-09-05 10:59:59 +04:00
Yann Leboulanger 50e0718df6 Fix a string 2012-02-14 20:46:21 +01:00
Yann Leboulanger 240158caca fix some session issues 2012-01-11 22:28:56 +01:00
Yann Leboulanger 3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Yann Leboulanger de4660b2e5 prevent traceback. Fixes #7053 2011-12-03 13:33:03 +01:00
Yann Leboulanger 6c605cad41 add some missing import 2011-11-22 20:08:08 +01:00
Yann Leboulanger 2582720366 handle ERROR and INFORMATION events through NEC 2011-11-22 19:25:15 +01:00
Yann Leboulanger b7316cc206 correctly create events for pm messages 2011-11-08 20:01:51 +01:00
Yann Leboulanger 188950f470 implement XEP-0280: Message Carbons 2011-11-06 17:20:58 +01:00
Yann Leboulanger d00eb5d112 prevent traceback when obj.msg_id is not set 2011-10-16 11:14:40 +02:00
Yann Leboulanger 7216c7b058 ability to remember for which JID we allow to not store logs. Fixes #6987 2011-09-28 17:43:59 +02:00
Yann Leboulanger 98432f6666 cean chatstate code: remove XEP-0022 support and use caps to know if a contact supports it 2011-08-27 22:41:55 +02:00
Yann Leboulanger 31bfc4969a follow chat in tabs more easily. Don't open as many chattabs as there are lowe priority chats. Fixes #5227 2011-08-21 09:51:57 +02:00
Yann Leboulanger 0c65ea1ce6 fix some data conversion. jid is a xmpp.JID instance 2011-07-23 23:03:46 +02:00
Yann Leboulanger d598cbb041 remove old way of doing advanced notification. 2011-06-13 23:06:43 +02:00
Yann Leboulanger ff0c0dc1c5 ability to save xhtml messages. Fixes #5736 2011-05-30 19:47:05 +02:00
Yann Leboulanger 857ba5f707 new way to handle incominf messages, new notification event. 2011-05-01 22:09:50 +02:00
Yann Leboulanger 48a44e0cfe revert unwanted commits from in 63c35c953516 2010-12-19 10:52:56 +01:00
Yann Leboulanger d19629ad87 fix traceback when adding a new contact. Fixes #6054 2010-12-16 07:15:29 +01:00
Denis Fomin a94a7c9832 Fix 'treat_incoming_messages' option. (didn’t get messages from the room) 2010-12-11 20:51:34 +03:00
Yann Leboulanger cc032163d0 more usage of NEC to handle messages 2010-12-08 21:58:13 +01:00
Yann Leboulanger ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Yann Leboulanger dc1ddb42a2 merge outstanding branches 2010-08-08 11:34:27 +02:00
Yann Leboulanger 7563a07e1c fix some strings. 2010-08-07 22:42:13 +02:00
Yann Leboulanger 796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Yann Leboulanger 2017945e77 don't traceback when receiving a single message 2010-06-09 10:39:36 +02:00