Commit Graph

810 Commits

Author SHA1 Message Date
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
Alexander Bogdanov 64bac1d910 Implementing error type=modify handling for XEP-0077 2019-04-16 18:47:39 +02:00
Philipp Hörist 53880edd96 Add delay execution decorator 2019-04-14 22:32:47 +02:00
Philipp Hörist 3312ca6c29 Add plugin extension point "send-presence"
This lets plugins modify the presence
2019-04-14 20:25:55 +02:00
Philipp Hörist ecdf1526fb Fix mypy error 2019-04-14 10:44:08 +02:00
Philipp Hörist d8beb0183c Refactor Singleton class 2019-04-14 01:58:45 +02:00
Philipp Hörist b91b64997e Fix no-callable pylint errors 2019-04-07 21:47:00 +02:00
Philipp Hörist 7ef066b181 Fix ungrouped-imports pylint errors 2019-04-07 21:29:45 +02:00
Philipp Hörist cf40a2a8ef Fix wrong-import-order pylint errors 2019-04-07 21:20:21 +02:00
Philipp Hörist 3b3c2af97b Fix wrong-import-position pylint errors 2019-04-07 21:15:39 +02:00
Philipp Hörist f62f922733 Fix unused-wildcard-import pylint errors 2019-04-07 20:27:07 +02:00
Philipp Hörist 1c39d66d21 Fix assignment-from-none pylint errors 2019-04-07 20:13:55 +02:00
Philipp Hörist dc3910ce4c Fix useless-return pylint errors 2019-04-07 19:07:16 +02:00
Philipp Hörist c8815a9230 Fix no-else-raise pylint errors 2019-04-07 18:40:32 +02:00
Philipp Hörist 30f850b567 Fix no-else-return pylint errors 2019-04-07 18:26:29 +02:00
Philipp Hörist 47dae61e21 Fix unnecessary-pass pylint errors 2019-04-07 18:20:15 +02:00
Philipp Hörist 3b2211776c Fix unused-import pylint errors 2019-04-07 18:14:54 +02:00
Philipp Hörist ed011da59e Add new Ad-Hoc Command dialog 2019-04-07 00:06:56 +02:00
Philipp Hörist ac6eae8965 Fix import 2019-04-05 22:56:13 +02:00
Philipp Hörist f1642e5327 Iterate safely over dict
Fixes #9633
2019-04-05 21:57:18 +02:00
Philipp Hörist 0b9aeb0100 Windows: Fix version comparison
Fixes #9643
2019-04-05 21:49:49 +02:00
Philipp Hörist 239ab1455b Refactor Software Version
- Simplify modules because nbxmpp handles more stuff
2019-04-05 19:44:30 +02:00
Philipp Hörist 471d9ca043 Windows: Dont override format region settings 2019-04-05 19:43:01 +02:00
Philipp Hörist 0678272774 Dont send invalid presence show value 2019-04-05 19:40:14 +02:00
André Apitzsch 16bbe31df6 Update dependency check for avahi support 2019-03-31 19:17:34 +02:00
Philipp Hörist 21aa352a34 Refactor NewConfirmationDialog 2019-03-26 20:19:50 +01:00
Philipp Hörist 8201688684 Move imports to the top 2019-03-25 22:26:55 +01:00
Philipp Hörist a9efde136b Refactor saving roster position
- Dont save roster position on Wayland
2019-03-25 22:20:19 +01:00
Philipp Hörist 4acf36c97b Add method to determine window manager 2019-03-25 20:11:53 +01:00
Malte Leip ae4c98cbb2
Show trust level for incoming encrypted messages 2019-03-20 20:50:49 +01:00
Philipp Hörist be26f50120 Fix nbxmpp method calls
features_nb was renamed
2019-03-16 14:01:49 +01:00
Philipp Hörist 979c7d2553 Dont leak DNS query if we connect via proxy
Fixes #9573
2019-03-16 13:22:05 +01:00
Philipp Hörist 4b3a5b7704 Use Consistent Color Generation for MUC nicknames 2019-03-12 18:44:20 +01:00
Philipp Hörist 348a8551fe Remove datetime parsing from Gajim
Use nbxmpp's datetime parsing
2019-03-11 23:13:11 +01:00
Philipp Hörist da46bdda1f Remove delay parsing from Gajim
Use nbxmpp's delay parsing
2019-03-11 23:13:11 +01:00
Philipp Hörist f5fe4fd8de Better dedupe MUC history messages 2019-03-11 23:13:11 +01:00
Philipp Hörist 851a7ee929 Depend on nbxmpp delay parsing 2019-03-11 23:13:00 +01:00
Philipp Hörist b80bbaf2b3 Improve log message format 2019-03-10 10:07:12 +01:00
Philipp Hörist 0eb75eb73d Modules: Use LogAdapter
- Make all modules inherit from BaseModule
- Use LogAdapter in BaseModule
2019-03-10 10:06:45 +01:00
Philipp Hörist 6e672c9911 Add LogAdapter
This adds the account to all log messages issues in module code
2019-03-08 20:31:05 +01:00
Philipp Hörist b704e27abc Write correct show values to database
Since the refactor we wrote accidentally string instead of int
2019-03-06 23:03:45 +01:00
Philipp Hörist 872ee3d675 Fix presence subscription
Fixes #9612
2019-03-06 22:11:35 +01: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 c58c7cc4a0 Make passwords module more resilient
- Catch more exceptions
- Add more log output
2019-03-02 19:59:27 +01:00
Philipp Hörist 1f479e5ba4 Use pathlib replace() for saving config
This makes it hopefully more resilient on Windows
2019-03-02 10:43:14 +01:00