Commit Graph

15932 Commits

Author SHA1 Message Date
Philipp Hörist 2cf0fb2eef Fix mnemonics and change some strings 2018-10-07 00:46:56 +02:00
Philipp Hörist 13473c36ba Preferences: Update layout and some options
- Add a 'convert ascii emoji' checkbutton
- Remove 'Disabled' from Emoji theme
- Change the layout of the style tab
2018-10-07 00:46:56 +02:00
Marcin Mielniczuk 994801519e Add .vscode to .gitignore
This is where the workspace settings are stored.
2018-10-07 00:46:55 +02:00
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 4c49d1469c Update mypy.ini 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 458b1804aa Add python3-cairo to CI 2018-10-07 00:46:53 +02:00
Philipp Hörist 637b373ac4 Update CI
- Run mypy on the full gajim folder
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
André Apitzsch ced39dab56 Remove epydoc.conf
it doesn't work with Python 3 and epydoc is no longer under development
2018-10-07 00:46:51 +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 8e5d3102cf Update pre-push-tests.sh 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 5d7df84f13 Update pylint error list
- Check for W0631 undefined-loop-variable
- Check for W0640 cell-var-from-loop
- Check for W1401 anomalous-backslash-in-string
- Check for W1505 deprecated-method
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 4eb226bb37 Update pylint error list
- Check for W0109 duplicate-key
- Check for W0123 eval-used
- Check for W0143 comparison-with-callable
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 cb95e22004 Update pylint error list
- Check for W0104 pointless-statement
- Check for W0105 pointless-string-statement
- Check for W0108 unnecessary-lambda
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 62020bf6aa Update pylint error list
- Check for E0601 used-before-assignment
- Check for E0704 misplaced-bare-raise
- Check for W0101 unreachable
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 9543e0a190 Update pylint error list
- Check for C0113 unneeded-not
- Check for C0123 unidiomatic-typecheck
- Check for C0203 bad-mcs-method-argument
- Check for C0200 consider-using-enumerate
- Check for C0305 trailing-newlines
- Check for E0213 no-self-argument
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