Commit Graph

146 Commits

Author SHA1 Message Date
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Yann Leboulanger 388acfca5a fix logging single messages. Fixes #8640 2017-06-14 15:29:19 +02:00
Philipp Hörist fe3a5a4aee Make some methods public 2017-04-25 14:44:38 +02:00
Philipp Hörist 54eb1cbbb8 Simplify log_message()
- Pass EventObj instead of variables
- decrease indent level
- check all conditions inside log_message() not before calling
- fixed bug where gc private messages where not logged with the correct jid
2017-04-12 22:30:28 +02:00
Philipp Hörist bbb5c0f50d Simplify sending message
- Dont use callbacks, they have no gain in that situation and make the code hard to read
- pass the whole object to a new Event instead of many vars
2017-04-06 23:21:19 +02:00
Philipp Hörist d344c24a2a Pass EventObject around instead of many vars
This makes it much easier to read and modify
2017-04-04 21:30:48 +02:00
Emmanuel Gil Peyrot 289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +00:00
Yann Leboulanger 6fbb4ce6cb fix sending zeroconf messages 2016-11-24 22:44:52 +01:00
Yann Leboulanger 5978d84615 some cleanup 2015-05-10 20:54:26 +02:00
Yann Leboulanger da5bfa74c6 fix sending zeroconf messages 2014-10-12 15:16:17 +02:00
Denis Fomin 4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger 309e7caf8a don't crash when we cannot connect to avahi. Fixes #7607 2013-12-31 14:28:24 +01:00
Yann Leboulanger 137ae2b54a GObject -> GLib 2013-07-29 18:35:49 +02:00
Yann Leboulanger 49fec47f36 remove send_message from connection object. Use Event everywhere 2013-07-26 14:45:16 +02:00
Yann Leboulanger 9c8c1de03f update my copyright 2013-04-05 21:35:39 +02:00
Yann Leboulanger 912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00
Yann Leboulanger 069bddbbcb remove call to unicode() 2013-01-01 21:06:16 +01:00
Yann Leboulanger 8f71d9f219 start porting Gajim to gobject introspection and GTK3 2012-12-23 16:23:43 +01:00
Yann Leboulanger 77775cf0af Gajim now uses python-nbxmpp library instead of embedding it. 2012-12-09 21:37:51 +01:00
Yann Leboulanger 75c495979c add XEP-0224 support (/attention command, persistant popup and special sound). F
ixes #3465
2012-04-09 13:38:28 +02:00
Yann Leboulanger 3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Yann Leboulanger 2582720366 handle ERROR and INFORMATION events through NEC 2011-11-22 19:25:15 +01:00
Yann Leboulanger a5b50465b1 fix missing argument in some events 2011-11-19 22:19:16 +01: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 4bbafcf5d0 handle message-outgoing events for zeroconf. We can now send messages in trunk. Fixes #6920 2011-07-19 23:05:32 +02:00
Yann Leboulanger 8a03cfde96 don't fail zeroconf with non-ascii hostname 2011-02-06 00:07:46 +01:00
Yann Leboulanger b5b04f2a3d restore messages with Zeroconf 2010-12-19 21:22:29 +01:00
Yann Leboulanger 2cdd95d6c6 restore Zeroconf presence notifications by using NEC 2010-12-19 10:39:15 +01:00
Yann Leboulanger f643c85f54 use NEC for roster-info in zeroconf connection 2010-12-18 14:21:09 +01:00
Denis Fomin e644047c59 use NEC to handle message error events 2010-12-01 23:38:39 +03:00
Denis Fomin 7996ca728f Fix zeroconf error handling 2010-12-01 19:57:54 +03:00
Denis Fomin 9aa0206667 remove unused import 2010-12-01 02:13:34 +03:00
Yann Leboulanger 346b38944c use NEC to handle signed-in events 2010-11-29 11:11:24 +01:00
Yann Leboulanger 30e054df49 use NEC to handle zeroconf name conflict event 2010-11-28 11:00:53 +01:00
Yann Leboulanger 5a589d747c use NEC to handle message (not) sent events 2010-11-08 21:23:08 +01:00
Yann Leboulanger 69578659a2 use NEC to handle our-status event 2010-11-06 10:04:41 +01:00
Yann Leboulanger edccb053a8 fix roster handling with zeroconf. Fixes #5820 2010-10-26 11:25:30 +02:00
Yann Leboulanger 96de172951 Fix running Gajim under windows for users with non-ascii char in account name. Fixes #5852 2010-09-10 21:31:25 +02:00
Yann Leboulanger 50653e2a10 [Zash] fix traceback when sending messages over zeroconf. Fixes #5784. 2010-06-18 07:45:07 +02:00
Yann Leboulanger 25d251b455 add new ad-hoc command to forward unread messages then disconnect. Thanks Geobert. 2010-04-27 11:31:36 +02:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 9cdbf9814e make zeroconf connections is_zeroconf attribute True. Fixes #5538 2010-01-02 22:33:25 +01:00
Alexander Cherniuk 99472b1702 Yet more doc-string refactoring 2009-11-26 14:27:47 +02:00
Yann Leboulanger 3aa07f485e refactor connection_handlers_zeroconf.py 2009-11-25 16:29:33 +01:00
Yann Leboulanger 4671f62d2f fix ConnectionZeroconf initialization 2009-11-18 11:16:15 +01:00
Yann Leboulanger 88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Stephan Erb a3ea00f4ea Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +01:00
Stephan Erb 3665c99800 Wrap global gajim.handlers with a dispatch method. 2009-10-18 20:53:15 +02:00
Benjamin Richter 7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00