Commit Graph

1561 Commits

Author SHA1 Message Date
Philipp Hörist b91b64997e Fix no-callable pylint errors 2019-04-07 21:47:00 +02:00
Philipp Hörist 33f62cecf9 Fix bad-indentation pylint errors 2019-04-07 21:44:42 +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 ee38f76004 Fix chained-comparison pylint errors 2019-04-07 19:50:15 +02:00
Philipp Hörist 20d3e981b9 Fix consider-using-ternary pylint errors 2019-04-07 19:48:09 +02:00
Philipp Hörist dc3910ce4c Fix useless-return pylint errors 2019-04-07 19:07:16 +02:00
Philipp Hörist 0dbb3eb1d5 Fix comparison-with-callable pylint errors 2019-04-07 18:48:51 +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 b09f94dabd Fix simplifiable-if-expression pylint errors 2019-04-07 18:22:45 +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 45ac229fb1 Fix pylint errors 2019-04-07 17:35:19 +02:00
Philipp Hörist 32168c60f5 Fix license header 2019-04-07 17:11:30 +02:00
Philipp Hörist 797a9518ea Remove unused variable 2019-04-07 00:27:13 +02:00
Philipp Hörist ed011da59e Add new Ad-Hoc Command dialog 2019-04-07 00:06:56 +02:00
Philipp Hörist 06848eaeaf Add option to make DataFormWidget read-only 2019-04-06 23:20:30 +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 03cc3379d5 CertificateDialog: Dont fail on None values
Some attributes of the certificate can yield None
2019-04-05 21:38:32 +02:00
Daniel Brötzmann 318ae4e9d4 Rework InvitationReceivedDialog 2019-04-05 20:08:00 +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
Daniel Brötzmann 4d43eacfd0 Rework Certificate dialog 2019-04-05 17:19:35 +02:00
Daniel Brötzmann a48610632e Only show avatar Save As menu if sha not None 2019-04-03 09:08:53 +02:00
Daniel Brötzmann e83a246703 Rework SubscriptionRequestWindow 2019-04-02 19:49:57 +02:00
Philipp Hörist 139156ba5e FeaturesDialog: Replace python-dbus for avahi 2019-03-31 21:52:22 +02:00
André Apitzsch 16bbe31df6 Update dependency check for avahi support 2019-03-31 19:17:34 +02:00
Daniel Brötzmann a7bc6dc530 Add monospace formatted fingerprint to encryption tooltip 2019-03-28 20:54:04 +01:00
Philipp Hörist ae29c937ba ChatControl: Use NewConfirmationDialog 2019-03-27 23:36:55 +01:00
Philipp Hörist f838c2faa2 MUC: Use NewConfirmationDialog for file transfer 2019-03-27 23:36:55 +01:00
Daniel Brötzmann 2080495efc Ask whether to disconnect when disabling account
Fixes #8938
2019-03-27 22:24:46 +01:00
Daniel Brötzmann 74ed71f57e Rework HTTPUpload dialog 2019-03-27 00:40:46 +01:00
Philipp Hörist 760b94f27f Add NewConfirmationCheckDialog 2019-03-27 00:14:00 +01:00
Philipp Hörist 4c062bf93d Call show() on new dialogs
- run() was removed from the dialog because it blocks
2019-03-26 23:53:12 +01:00
Philipp Hörist bbada2ecd4 Improve NewConfirmationDialog
- Add setting for modal/non-modal
- Add default transient
- Dont call run() it only returns after response
2019-03-26 23:49:45 +01:00
Philipp Hörist ca037665ca Remove unused imports 2019-03-26 21:55:51 +01:00
Philipp Hörist acd9f67d92 HistoryManager: Use NewConfirmationDialog 2019-03-26 21:47:18 +01:00
Philipp Hörist 21aa352a34 Refactor NewConfirmationDialog 2019-03-26 20:19:50 +01:00
Philipp Hörist 1551ffa0b4 Correctly get the total screen geometry
get_root_window() does not work on Wayland

Fixes #9637
2019-03-25 23:09:06 +01:00
Philipp Hörist 8201688684 Move imports to the top 2019-03-25 22:26:55 +01:00
Philipp Hörist 7a5d791beb Refactor restoring roster position 2019-03-25 22:20:19 +01:00
Philipp Hörist a9efde136b Refactor saving roster position
- Dont save roster position on Wayland
2019-03-25 22:20:19 +01:00
Daniel Brötzmann b6e7f5c6d2 Format OMEMO fingerprint in tooltip 2019-03-25 21:00:40 +01:00
Philipp Hörist 4acf36c97b Add method to determine window manager 2019-03-25 20:11:53 +01:00
Daniel Brötzmann f6e113c0b6 Update look of Remove account dialog 2019-03-25 20:11:33 +01:00
Daniel Brötzmann 52111cd1b3 Improve dark theme colors 2019-03-24 15:33:37 +01:00
Daniel Brötzmann a988d2e250 Flatpak: Disable install from ZIP 2019-03-24 15:33:03 +01:00
Dominion 0de04b1ae9 Add server blabber.im to servers.json 2019-03-22 10:09:46 +01:00
Malte Leip ae4c98cbb2
Show trust level for incoming encrypted messages 2019-03-20 20:50:49 +01:00
Philipp Hörist 6ef3b8e01b Windows: Dont steal focus on notification 2019-03-16 16:06:00 +01:00
Philipp Hörist 05dc004448 Notifications: Check if DBus is available 2019-03-16 15:51:12 +01:00
Philipp Hörist c17b744465 Generate account label correctly 2019-03-16 15:33:58 +01:00
Philipp Hörist 196d856a54 Remove password before config values 2019-03-16 14:47:42 +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 fa464d4333 Fix error while quitting
Fixes #9622
2019-03-16 13:55:15 +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 11ae4fac6a HistoryWindow: Center top widgets vertically 2019-03-12 18:58:52 +01:00
Philipp Hörist 62d12f4355 Themes: Better visibility of scrollbar 2019-03-12 18:52: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 5e97d805d9 HistoryManager: Display show value correctly 2019-03-06 22:14:57 +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
Philipp Hörist d61ca3ae6d Fix typo 2019-03-02 09:32:08 +01:00
Philipp Hörist e023c33268 Use a UUID4 as item id for pubsub posts 2019-03-01 22:57:44 +01:00
Philipp Hörist 553436332b StartChatDialog: Add Muclumbus search 2019-03-01 21:45:50 +01:00
Philipp Hörist 6c06d2c497 1.1.92 2019-02-24 20:23:55 +01:00
Philipp Hörist 3bf755943f Raise nbxmpp version 2019-02-24 20:20:28 +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 12d909d636 LastActivity: Use BaseModule and StanzaHandler 2019-02-19 20:38:57 +01:00
Philipp Hörist 12389f4097 Remove unused code 2019-02-19 20:38:57 +01:00
Philipp Hörist 72fc96ae63 Refactor Annotations
- Simplify modules because nbxmpp handles more stuff
2019-02-18 23:02:14 +01:00
Philipp Hörist 11c5fd29e5 Remove not used PEP module code 2019-02-18 23:02:05 +01:00
Philipp Hörist 54a9992696 Remove atom modules 2019-02-18 19:46:47 +01:00
Philipp Hörist 0573d42d29 Notifications: Catch all DBus errors 2019-02-16 20:08:00 +01:00
Philipp Hörist 7cd781e921 Get module instance after checking for zeroconf 2019-02-16 13:04:14 +01:00
Philipp Hörist 4c3110c27d Redirect some print statments to stderr
Otherwise they errors will not show up if the console output is
redirected to a file
2019-02-16 10:36:27 +01:00
Philipp Hörist a944e7e6e1 Determine windows version reliably
Fixes #9578
2019-02-15 17:02:40 +01:00
Philipp Hörist 8455a0fa40 Fix filetransfer tooltip 2019-02-15 15:49:47 +01:00
Philipp Hörist 53d6b1dc32 Dont advertise urn:xmpp:hashes:1
Fixes #9514
2019-02-15 15:04:50 +01:00