Commit graph

80 commits

Author SHA1 Message Date
Philipp Hörist
519d86444a Refactor conditions to determine connected state
GUI code must not be aware of what integers map to connection states
2019-05-20 21:33:42 +02:00
Philipp Hörist
2485227701 Move ConnectionSocks5Bytestream code to module 2019-05-19 22:33:20 +02:00
Philipp Hörist
275e719da3 Move ConnectionJingle code to module 2019-05-19 22:33:20 +02:00
Philipp Hörist
4394bb1174 Fix disabling Zeroconf account 2019-05-19 16:49:34 +02:00
Philipp Hörist
7ec93f89a2 Remove support for XEP-0096 (SI File Transfer) 2019-05-19 16:10:23 +02:00
Philipp Hörist
731aaab633 Improve module imports
Import modules only on demand instead all on first module import
2019-04-19 16:57:12 +02:00
Sebastiaan Lokhorst
e999b74a5b zeroconf_bonjour: switch from DNSServiceQueryRecord to DNSServiceGetAddrInfo for IPv6 compatibility 2019-04-17 19:26:28 +02:00
Philipp Hörist
9d75c77982 Remove GPG code from Gajim
Code moved into plugin
2019-04-16 23:24:40 +02:00
Philipp Hörist
f62f922733 Fix unused-wildcard-import pylint errors 2019-04-07 20:27:07 +02:00
Philipp Hörist
3b2211776c Fix unused-import pylint errors 2019-04-07 18:14:54 +02:00
Philipp Hörist
1827249653 Fix imports
transports_nb was renamed in nbxmpp
2019-03-04 13:49:03 +01:00
André Apitzsch
74c5f3d0e9 Avahi: don't fail if avahi gir is not installed
Fixes #9610
2019-03-04 08:20:01 +01:00
André Apitzsch
ee6f65f404 Port Avahi to GDBus
fixes #9147
2019-03-03 19:41:55 +01:00
Philipp Hörist
94eef409db Fix imports
dispatcher_nb was renamed in nbxmpp
2019-03-03 19:40:39 +01:00
Philipp Hörist
e3f8f050c0 Zeroconf: Fix missing attrs 2019-02-20 00:31:28 +01:00
Philipp Hörist
0963f44443 Use nbxmpp's parsed EME data 2019-02-20 00:31:24 +01:00
Philipp Hörist
a944e7e6e1 Determine windows version reliably
Fixes #9578
2019-02-15 17:02:40 +01:00
Philipp Hörist
cdb37828e4 Move message error handler into message module 2019-01-03 11:52:26 +01:00
Philipp Hörist
eb9f340a03 Remove star imports 2019-01-03 10:41:22 +01:00
Philipp Hörist
f3d5babc65 Register handlers in CommonConnection class 2019-01-03 10:19:25 +01:00
Philipp Hörist
371756c2a5 Remove unnecessary event classes 2019-01-03 09:06:44 +01:00
Philipp Hörist
d622439a44 Remove unused code 2019-01-03 00:50:00 +01:00
Philipp Hörist
9ae6654dd3 Add IQ and Gateway module 2019-01-03 00:19:23 +01:00
Philipp Hörist
d121bbf4ab Refactor Zeroconf presence 2019-01-02 16:10:30 +01:00
Philipp Hörist
a289ad5f60 Refactor Presence
- Remove option to hide self contacts for now. This makes the code less
complicated.
- Move as much code as possible into the presence module
- Use nbxmpp properties
2019-01-02 02:04:42 +01:00
Philipp Hörist
c63e32634a Adapt Zeroconf to nbxmpp changes
Fixes #9503
2018-12-23 22:33:10 +01:00
Philipp Hörist
ace1113d02 Fix pylint errors 2018-12-05 21:40:12 +01:00
Philipp Hörist
e419f75217 Remove unused imports 2018-12-05 17:05:10 +01:00
Philipp Hörist
78f439c611 Refactor disconnect code
Fixes #9467
2018-12-04 19:28:50 +01:00
Philipp Hörist
432a4edbc1 Use custom dict for additional data
This makes it easier to retrive and store values
2018-11-30 23:05:15 +01:00
Philipp Hörist
bf87ad5ac8 Import _() instead of using builtin namespace
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-06 22:38:55 +02:00
Philipp Hörist
460d390795 Refactor Chat State Notifications
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-09-30 22:58:38 +02:00
Philipp Hörist
6b2aa24d6e Fix rest of mypy errors
- This allows us to run mypy on the full gajim folder
2018-09-21 23:55:57 +02:00
Philipp Hörist
422cd12991 Fix pylint errors
- deprecated-method
- anomalous-backslash-in-string
- cell-var-from-loop
- undefined-loop-variable
2018-09-18 18:45:16 +02:00
Philipp Hörist
1680c3bb38 Fix pylint errors
- consider-using-enumerate
- unneeded-not
- unidiomatic-typecheck
2018-09-18 15:24:40 +02:00
Philipp Hörist
ccc06a04ab Fix bad-whitespace pylint errors 2018-09-18 12:06:01 +02:00
Philipp Hörist
dea1464832 Fix multiple-statements pylint errors 2018-09-18 10:30:33 +02:00
Philipp Hörist
6237bfae41 Fix singleton-comparison pylint errors 2018-09-18 10:26:27 +02:00
Philipp Hörist
ff6ca57033 Fix no-else-return pylint errors 2018-09-18 10:16:54 +02:00
Philipp Hörist
cbe335b291 keys() doesnt return list() in python3 2018-09-18 07:20:49 +02:00
Philipp Hörist
01694c6a06 Fix simplifiable-if-statement pylint errors 2018-09-17 23:25:55 +02:00
Philipp Hörist
76333ec73a Use keys() iteration if we modify the dict 2018-09-17 22:51:42 +02:00
Philipp Hörist
793184e7be Fix consider-iterating-dictionary pylint errors 2018-09-17 22:34:15 +02:00
Philipp Hörist
e8ac644440 Fix unused-variable pylint errors 2018-09-17 21:16:19 +02:00
Philipp Hörist
d638087c26 Fix logging-not-lazy pylint errors 2018-09-17 18:57:00 +02:00
Philipp Hörist
d53b95218a Fix redefined-outer-name pylint errors 2018-09-16 18:04:15 +02:00
Philipp Hörist
c6547b6d30 Fix superfluous-parens pylint errors 2018-09-16 14:42:18 +02:00
Philipp Hörist
49ca238252 Fix len-as-condition pylint errors 2018-09-16 01:10:04 +02:00
Philipp Hörist
f7a139eac2 Zeroconf: Store time of outgoing messages 2018-09-15 12:00:32 +02:00
Philipp Hörist
a4a136566f Fix license comment format
every linter flags this as an error
2018-09-05 02:59:34 +02:00