Philipp Hörist
429a176712
Check if path is None
2018-09-25 00:29:05 +02:00
Yann Leboulanger
8e0a60911a
fix displaying HTML content. Fixes #9210
2018-09-24 09:37:06 +02:00
Yann Leboulanger
5aa41c7f63
handle error message from MUC correctly. Fixes #9280
2018-09-23 22:45:05 +02:00
Philipp Hörist
7cacb4c09e
Add annotations
2018-09-23 15:33:31 +02:00
Philipp Hörist
0e0bb9e190
Add dark theme switch in preferences
2018-09-23 15:00:32 +02:00
Philipp Hörist
26b8125446
configpaths: Add get_plugin_dirs() method
...
This helps with mypy because otherwise get() has multiple return types
This reduces our usage of cast()
2018-09-23 14:41:44 +02:00
Philipp Hörist
39f5803651
Windows: Add debug logging switch in preferences
...
If debug logging is enabled verbose output is redirected to a file
in the user dir
2018-09-23 14:41:26 +02:00
Philipp Hörist
d29f6b2ca9
Dont parse our own nick on sent carbons
...
Fixes #9051
2018-09-22 15:35:45 +02:00
Philipp Hörist
06302cdc4d
Refactor link context menu
...
- Move hyperlink handling into HtmlTextView
- Use actions on the menuitems
2018-09-22 13:35:07 +02:00
Philipp Hörist
4077e0d6d6
Update mypy.ini
2018-09-22 13:20:09 +02:00
Philipp Hörist
1483020cf4
Dont show encryption status for status messages
...
Fixes #9353
2018-09-22 08:07:46 +02:00
Philipp Hörist
011d14e44b
Add python3-cairo to CI
2018-09-22 00:05:27 +02:00
Philipp Hörist
0f730d1958
Update CI
...
- Run mypy on the full gajim folder
2018-09-21 23:56:56 +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
d722a8558b
Fix pylint errors in ipython_view
2018-09-21 23:53:50 +02:00
Philipp Hörist
b70549dd59
Add __init__.py to gajim/dev
2018-09-21 23:53:16 +02:00
Philipp Hörist
74b66837fa
Add annotations
...
- Remove some unused vars from app
2018-09-21 15:46:52 +02:00
Philipp Hörist
f7a2ac9d90
Add annotations
...
- Add a gtk/types modules
- Add a gtk/const module to prevent circular imports
2018-09-21 15:46:52 +02:00
Philipp Hörist
4d4d002342
Extend stubs for emoji_data
2018-09-21 15:46:52 +02:00
Philipp Hörist
3f2f51c169
Add license header to emoji_data.py
2018-09-21 15:46:52 +02:00
Philipp Hörist
5a906c1454
Move HtmlTextView test into test folder
2018-09-21 15:46:52 +02:00
André Apitzsch
efca9cd9c7
Remove epydoc.conf
...
it doesn't work with Python 3 and epydoc is no longer under development
2018-09-20 00:16:55 +02:00
Philipp Hörist
0a66b6d9ad
remove icon
2018-09-19 22:22:52 +02:00
Philipp Hörist
94b17b1fbc
Fix colors and icons
2018-09-19 22:22:52 +02:00
Philipp Hörist
fa65653adc
ConvTextview: Rework display of encryption
2018-09-19 22:22:52 +02:00
Philipp Hörist
cb692ae4eb
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-09-19 20:12:24 +02:00
André Apitzsch
c7c74998f2
Remote control: Better handle unknown types
...
there is no corresponding GLib.Variant for None,
use conversion to string as workaround
2018-09-18 22:23:58 +02:00
Philipp Hörist
46ed4757fd
Update pre-push-tests.sh
2018-09-18 19:03:14 +02:00
Philipp Hörist
5b23d4879a
Fix undefined-loop-variable pylint error
2018-09-18 19:02:48 +02:00
Philipp Hörist
7fcd85f026
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-09-18 18:53:13 +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
6c80473ebe
pylint W0143 is not available on pylint < 2.0
2018-09-18 17:39:35 +02:00
Philipp Hörist
803ff3de45
Update pylint error list
...
- Check for W0109 duplicate-key
- Check for W0123 eval-used
- Check for W0143 comparison-with-callable
2018-09-18 17:21:53 +02:00
Philipp Hörist
385ef2e456
Fix pylint errors
...
- duplicate-key
- eval-used
- comparison-with-callable
2018-09-18 17:02:14 +02:00
Philipp Hörist
457faf3806
Update pylint error list
...
- Check for W0104 pointless-statement
- Check for W0105 pointless-string-statement
- Check for W0108 unnecessary-lambda
2018-09-18 16:46:20 +02:00
Philipp Hörist
81387ada51
Fix pylint errors
...
- pointless-statement
- pointless-string-statement
- unnecessary-lambda
2018-09-18 16:44:23 +02:00
Philipp Hörist
c2828231bd
Update pylint error list
...
- Check for E0601 used-before-assignment
- Check for E0704 misplaced-bare-raise
- Check for W0101 unreachable
2018-09-18 16:32:31 +02:00
Philipp Hörist
c3e897bdb4
Fix pylint errors
...
- used-before-assignment
- misplaced-bare-raise
2018-09-18 16:29:26 +02:00
Philipp Hörist
6b54863157
Dont move window between virtual desktops
...
Its the job of the window manager to restore a window to the correct
location
2018-09-18 16:28:33 +02:00
Philipp Hörist
31a500245f
Fix unneeded-not pylint errors
2018-09-18 16:03:35 +02:00
Philipp Hörist
8fad65ccbf
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-09-18 15:57:34 +02:00
Philipp Hörist
13a88533da
Fix pylint errors
...
- bad-mcs-method-argument
- trailing-newlines
- no-self-argument
2018-09-18 15:45:39 +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
251dbae5d6
Update pylint error list
...
Specify from now on the errors that are disabled instead of enabled,
because we have now more checks enabled than disabled
2018-09-18 14:46:35 +02:00
Philipp Hörist
2512c2b484
Update pylint error list
...
- Check for R1714 consider-using-in
- Check for W0107 unnecessary-pass
- Check for W0235 useless-super-delegation
2018-09-18 14:14:26 +02:00
Philipp Hörist
55aab55b9b
Fix consider-using-in pylint errors
2018-09-18 14:10:38 +02:00
Philipp Hörist
a77804f475
Fix useless-super-delegation pylint errors
2018-09-18 14:06:16 +02:00
Philipp Hörist
8483ba503f
Fix unnecessary-pass pylint errors
2018-09-18 14:03:58 +02:00
Philipp Hörist
376fff7871
Update pylint error list
...
- Check for W0622 redefined-builtin
- Check for C0303 trailing-whitespace
- Check for C0326 bad-whitespace
2018-09-18 14:00:50 +02:00
Philipp Hörist
df88cc5e15
Fix redefined-builtin pylint errors
2018-09-18 13:54:25 +02:00