Commit Graph

1053 Commits

Author SHA1 Message Date
Philipp Hörist 8f97dd9b89 Move AccountsWindow to gtk module 2018-10-07 00:46:55 +02:00
Philipp Hörist 74c8c24827 Move AdvancedConfig to gtk module 2018-10-07 00:46:55 +02:00
Philipp Hörist cb1be1621d Fix Dark Theme switch
- Move css_config to gtk module
- Add Combobox for overriding the current session setting
- Move theme methods to css_config
2018-10-07 00:46:55 +02:00
Philipp Hörist ec76d8ac3b Only use absolute imports from gtk module
- This reduces import cycles
2018-10-07 00:46:55 +02:00
Philipp Hörist 8e28ca08d4 GroupchatControl: Add a is_connected property 2018-10-07 00:46:54 +02:00
Philipp Hörist 7c45943d20 Check if path is None 2018-10-07 00:46:54 +02:00
Yann Leboulanger 45e03c2545 fix displaying HTML content. Fixes #9210 2018-10-07 00:46:54 +02:00
Yann Leboulanger 3ab7f92856 handle error message from MUC correctly. Fixes #9280 2018-10-07 00:46:54 +02:00
Philipp Hörist 110f742e8a Add annotations 2018-10-07 00:46:54 +02:00
Philipp Hörist bf53613433 Add dark theme switch in preferences 2018-10-07 00:46:54 +02:00
Philipp Hörist ad5f59ba49 configpaths: Add get_plugin_dirs() method
This helps with mypy because otherwise get() has multiple return types

This reduces our usage of cast()
2018-10-07 00:46:54 +02:00
Philipp Hörist 5db0178a15 Windows: Add debug logging switch in preferences
If debug logging is enabled verbose output is redirected to a file
in the user dir
2018-10-07 00:46:54 +02:00
Philipp Hörist 3bdcd53ff5 Dont parse our own nick on sent carbons
Fixes #9051
2018-10-07 00:46:53 +02:00
Philipp Hörist d295472a8e Refactor link context menu
- Move hyperlink handling into HtmlTextView
- Use actions on the menuitems
2018-10-07 00:46:53 +02:00
Philipp Hörist edaa4988f0 Dont show encryption status for status messages
Fixes #9353
2018-10-07 00:46:53 +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 fafef38f2c Fix pylint errors in ipython_view 2018-10-07 00:46:52 +02:00
Philipp Hörist 1ca131cdf1 Add __init__.py to gajim/dev 2018-10-07 00:46:52 +02:00
Philipp Hörist eb8093d25f Add annotations
- Remove some unused vars from app
2018-10-07 00:46:52 +02:00
Philipp Hörist 95bd86320b Add annotations
- Add a gtk/types modules
- Add a gtk/const module to prevent circular imports
2018-10-07 00:46:52 +02:00
Philipp Hörist 4aca59051f Extend stubs for emoji_data 2018-10-07 00:46:52 +02:00
Philipp Hörist ab15537cda Add license header to emoji_data.py 2018-10-07 00:46:52 +02:00
Philipp Hörist fb42136be1 Move HtmlTextView test into test folder 2018-10-07 00:46:52 +02:00
Philipp Hörist bb36078ee9 remove icon 2018-10-07 00:46:51 +02:00
Philipp Hörist 1956885ae7 Fix colors and icons 2018-10-07 00:46:51 +02:00
Philipp Hörist 30442be2a6 ConvTextview: Rework display of encryption 2018-10-07 00:46:51 +02:00
Philipp Hörist fa45935c11 Make SQL INSERT querys more resilient
Specify the column in which we insert otherwise downgrading Gajim is
not possible anymore because the query breaks if we modified the column
count in future
2018-10-07 00:46:51 +02:00
André Apitzsch 0d858180df Remote control: Better handle unknown types
there is no corresponding GLib.Variant for None,
use conversion to string as workaround
2018-10-07 00:46:51 +02:00
Philipp Hörist b05dc5c081 Fix undefined-loop-variable pylint error 2018-10-07 00:46:51 +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 16f7620204 pylint W0143 is not available on pylint < 2.0 2018-10-07 00:46:50 +02:00
Philipp Hörist 60173c06db Fix pylint errors
- duplicate-key
- eval-used
- comparison-with-callable
2018-10-07 00:46:50 +02:00
Philipp Hörist 64487929a6 Fix pylint errors
- pointless-statement
- pointless-string-statement
- unnecessary-lambda
2018-10-07 00:46:50 +02:00
Philipp Hörist 08cfe09ae4 Fix pylint errors
- used-before-assignment
- misplaced-bare-raise
2018-10-07 00:46:50 +02:00
Philipp Hörist f163d90a44 Dont move window between virtual desktops
Its the job of the window manager to restore a window to the correct
location
2018-10-07 00:46:50 +02:00
Philipp Hörist d37a93ff60 Fix unneeded-not pylint errors 2018-10-07 00:46:49 +02:00
Philipp Hörist e89dfccf73 Fix pylint errors
- bad-mcs-method-argument
- trailing-newlines
- no-self-argument
2018-10-07 00:46:49 +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 7a96e6a4e4 Fix consider-using-in pylint errors 2018-10-07 00:46:49 +02:00
Philipp Hörist 20c5af5deb Fix useless-super-delegation pylint errors 2018-10-07 00:46:49 +02:00
Philipp Hörist 9baf4666b8 Fix unnecessary-pass pylint errors 2018-10-07 00:46:49 +02:00
Philipp Hörist c156f02cc0 Fix redefined-builtin pylint errors 2018-10-07 00:46:48 +02:00
Philipp Hörist f12dfb811d Fix trailing-whitespace pylint errors 2018-10-07 00:46:48 +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 b9edcceb4c Fix redefined-argument-from-local pylint errors 2018-10-07 00:46:45 +02:00
Philipp Hörist c5ca89558d keys() doesnt return list() in python3 2018-10-07 00:46:45 +02:00
Philipp Hörist bc70b24d80 Fix trailing-comma-tuple pylint errors 2018-10-07 00:46:45 +02:00