Commit Graph

15841 Commits

Author SHA1 Message Date
Philipp Hörist 460d390795 Refactor Chat State Notifications
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-09-30 22:58:38 +02:00
Daniel Brötzmann 07b175d541 Add desktop actions start-chat and show-next-pending-event 2018-09-30 15:35:18 +02:00
Philipp Hörist 5be73fa824 Fix typo 2018-09-30 15:34:59 +02:00
Daniel Brötzmann 1f3bb5667d Fix more strings from #7470 2018-09-30 10:37:16 +02:00
Daniel Brötzmann ef4c63ba3e Fix #9045, desync'ed 2018-09-30 10:37:16 +02:00
Daniel Brötzmann 6975ffdf94 Unify Emoticon and Emoji strings 2018-09-30 10:37:16 +02:00
Philipp Hörist acf79ffe8a MAM: Up the requested page size 2018-09-30 10:01:42 +02:00
Philipp Hörist bdd243d045 Remove unused import 2018-09-30 00:22:22 +02:00
Philipp Hörist a8c0567bd0 Request security catalog from the barejid
- Some Code/UI cleanup
2018-09-30 00:15:00 +02:00
Philipp Hörist 24e771266b Fix Windows build 2018-09-29 21:55:29 +02:00
Philipp Hörist 8ff3e55f33 Fix security labels 2018-09-29 18:29:59 +02:00
Philipp Hörist cc891be187 Fix mnemonics and change some strings 2018-09-27 22:04:15 +02:00
Philipp Hörist 58796d223e 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-09-27 21:38:23 +02:00
Marcin Mielniczuk 34e93bba17 Add .vscode to .gitignore
This is where the workspace settings are stored.
2018-09-27 14:53:23 +02:00
Philipp Hörist e9e0b7fbb9 Move AccountsWindow to gtk module 2018-09-27 00:12:55 +02:00
Philipp Hörist 6bf94f15d7 Move AdvancedConfig to gtk module 2018-09-27 00:03:50 +02:00
Philipp Hörist 075069d37a 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-09-26 20:17:13 +02:00
Philipp Hörist f89347516f Only use absolute imports from gtk module
- This reduces import cycles
2018-09-26 19:06:47 +02:00
Philipp Hörist b2a7c9495d GroupchatControl: Add a is_connected property 2018-09-25 00:29:05 +02:00
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