Philipp Hörist
f197358e2f
Import _() instead of using builtin namespace
...
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-07 00:47:00 +02:00
Philipp Hörist
50c670e61b
Refactor Chat State Notifications
...
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-10-07 00:46:57 +02:00
Philipp Hörist
9bbc2eceb3
Fix rest of mypy errors
...
- This allows us to run mypy on the full gajim folder
2018-10-07 00:46:53 +02:00
Philipp Hörist
4c38a309fc
Fix pylint errors
...
- deprecated-method
- anomalous-backslash-in-string
- cell-var-from-loop
- undefined-loop-variable
2018-10-07 00:46:51 +02:00
Philipp Hörist
99efc4a9b4
Fix pylint errors
...
- consider-using-enumerate
- unneeded-not
- unidiomatic-typecheck
2018-10-07 00:46:49 +02:00
Philipp Hörist
e842298724
Fix bad-whitespace pylint errors
2018-10-07 00:46:48 +02:00
Philipp Hörist
a65d88c1cd
Fix multiple-statements pylint errors
2018-10-07 00:46:47 +02:00
Philipp Hörist
5d1de209a8
Fix singleton-comparison pylint errors
2018-10-07 00:46:47 +02:00
Philipp Hörist
dad5331bf2
Fix no-else-return pylint errors
2018-10-07 00:46:46 +02:00
Philipp Hörist
c5ca89558d
keys() doesnt return list() in python3
2018-10-07 00:46:45 +02:00
Philipp Hörist
acb0bacc09
Fix simplifiable-if-statement pylint errors
2018-10-07 00:46:45 +02:00
Philipp Hörist
4fb78dfbfa
Use keys() iteration if we modify the dict
2018-10-07 00:46:44 +02:00
Philipp Hörist
c4bd6d6ab2
Fix consider-iterating-dictionary pylint errors
2018-10-07 00:46:44 +02:00
Philipp Hörist
cebd83d436
Fix unused-variable pylint errors
2018-10-07 00:46:44 +02:00
Philipp Hörist
6305fc69b9
Fix logging-not-lazy pylint errors
2018-10-07 00:46:43 +02:00
Philipp Hörist
eb6f5761ec
Fix redefined-outer-name pylint errors
2018-10-07 00:46:42 +02:00
Philipp Hörist
a6525e19a2
Fix superfluous-parens pylint errors
2018-10-07 00:46:41 +02:00
Philipp Hörist
a3c687dae1
Fix len-as-condition pylint errors
2018-10-07 00:46:39 +02:00
Philipp Hörist
e953820ff8
Zeroconf: Store time of outgoing messages
2018-10-07 00:46:39 +02:00
Philipp Hörist
ebc0dd4536
Fix license comment format
...
every linter flags this as an error
2018-10-07 00:46:35 +02:00
Philipp Hörist
7a8892f021
Windows: Fix IPV6 for Windows 10+
...
Fixes #9326
2018-10-07 00:46:34 +02:00
Philipp Hörist
5a6f03dea4
Add connect_maschine()
...
Add method that sequentially works the steps we have to do
before sending first presence
- Move Delimiter into own module
- Move Metacontacts into own module
2018-07-27 16:01:10 +02:00
Philipp Hörist
db77fa1ace
Add roster implementation to Gajim
2018-07-26 20:38:00 +02:00
Philipp Hörist
07c87a4194
Rewrite discovery code and move it into own module
2018-07-22 16:20:00 +02:00
Philipp Hörist
37f7a80396
Move message handler into own module
2018-07-22 12:33:55 +02:00
Philipp Hörist
a2d7283e6e
Refactor AdHocCommands into own module
2018-07-08 19:39:57 +02:00
Philipp Hörist
fe3c1b4fbd
Refactor UserNickname into own module
2018-07-05 20:20:22 +02:00
Philipp Hörist
8b800f4646
Refactor VCard code into own modules
2018-06-30 19:32:36 +02:00
Philipp Hörist
56fbe32b11
Fix zeroconf txtrecord encoding
...
Fixes #9146
2018-05-27 21:03:42 +02:00
lovetox
2d6e7d2eee
Get rid of python-avahi
2018-05-23 11:47:13 +02:00
Philipp Hörist
d0ec9812a6
Fix Zeroconf
...
- Port pybonjour code from gajim_0.16 branch
- Fix some other small things that broke zeroconf
2018-05-22 23:38:04 +02:00
Philipp Hörist
956feb7ac4
Deactivate httpupload for zeroconf
2018-03-11 22:12:00 +01:00
Philipp Hörist
1935a4f40e
Disable ZeroConf account by default
2018-03-07 20:24:08 +01:00
André Apitzsch
8b960238a6
Zeroconf: fix unexpected keyword argument
...
_update_status() got an unexpected keyword argument 'idle_time'
introduced by 28917aaf56
2017-12-18 22:52:06 +01:00
André Apitzsch
0ffd7b6907
Zeroconf: Fix get_own_jid()
2017-12-18 22:16:22 +01:00
Yann Leboulanger
53a92bdee8
add get_own_jid method to ConnectionZeroconf. Fixes #8809
2017-12-18 14:44:38 +01:00
Philipp Hörist
7815ce19a5
Dont use callbacks when sending messages
...
Using a callback to display a sent message inside the ChatControl means
that all messages we send have to be issued from the GUI layer
(send_message()) if we want them to display in the ChatControl.
This replaces the callback and catches the stanza-message-outgoing event
after it was processed by the core.
This is easier to read/understand than dealing with callbacks and lets
the core issue messages without having to care if a ChatControl is open or not
2017-12-10 18:56:29 +01:00
Philipp Hörist
786ef96400
Port InformationEvent handling to new interface
2017-12-09 00:15:26 +01:00
Philipp Hörist
a01cdbf271
Refactor Avatars
...
- Add support for Pubsub Avatars
- Dont poll for vCard Updates, only use XEP-0153
- Dont cache vCards
- Store the avatar SHA of roster contacts in the DB
- Store the current SHA of each contact in the Contacts Object
- Move some code into the ConnectionVcard Class
2017-10-08 11:26:28 +02:00
Philipp Hörist
3e764c3d35
Fix some logging calls
...
- Add logging domain to some modules
- Log to module domain instead of generic 'gajim'
2017-09-26 07:14:01 +02:00
Philipp Hörist
b60fe02680
Use own module logger for connection_zeroconf
2017-09-22 00:07:48 +02:00
Yann Leboulanger
134f72db17
Hide some pylint errors
2017-08-24 23:20:35 +02:00
Yann Leboulanger
8d4e815f3e
fix some pylint errors
2017-08-24 23:01:06 +02:00
Philipp Hörist
1a352c0e47
Zeroconf: Call method with correct arguments
2017-08-23 23:34:16 +02:00
Yann Leboulanger
ce719a8317
No need to have one sleepy instance per connection object
2017-08-22 21:55:18 +02:00
André Apitzsch
89c7eb6e6a
Rename gajim.common.gajim to avoid name conflicts
2017-08-18 20:03:20 +02:00
André Apitzsch
efec098aef
Use absolute imports
2017-08-18 19:48:48 +02:00
Philipp Hörist
0c6002b9ac
Zeroconf: handle only zeroconf messages
2017-08-02 21:03:12 +02:00
Philipp Hörist
9bca51eb69
Implement XEP-0359 Stable Stanza IDs
...
- This allows us to better deduplicate Messages on MAM syncs
2017-07-28 14:03:14 +02:00
André Apitzsch
125ce523e4
Rename src directory
2017-07-02 17:25:47 +02:00