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
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
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
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
30442be2a6
ConvTextview: Rework display of encryption
2018-10-07 00:46:51 +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
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
e842298724
Fix bad-whitespace pylint errors
2018-10-07 00:46:48 +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
cebd83d436
Fix unused-variable pylint errors
2018-10-07 00:46:44 +02:00
Philipp Hörist
eb6f5761ec
Fix redefined-outer-name pylint errors
2018-10-07 00:46:42 +02:00
Philipp Hörist
a6525e19a2
Fix superfluous-parens pylint errors
2018-10-07 00:46:41 +02:00
Philipp Hörist
0b5c8a3b46
Dont retract pep items on UserXEPs
...
This leads to multiple problems
1. We cant assume only items with id='current' are stored in the node
which would lead to retracting 'current' but another item would become
the last published and sent to users
2. Even if we have a SingletonNode retracting the only item means the Node
would be empty and offline clients would not receive the last published item
on coming online, because there is no item anymore
Instead we always publish an empty item from now on
2018-10-07 00:46:41 +02:00
Philipp Hörist
f00d8087ad
Fix sending empty pep data
2018-10-07 00:46:41 +02:00
Philipp Hörist
d011be2d89
Fix unsued-import pylint errors
2018-10-07 00:46:40 +02:00
Philipp Hörist
4cf7d20600
Fix len-as-condition pylint error
2018-10-07 00:46:40 +02:00
Philipp Hörist
a3c687dae1
Fix len-as-condition pylint errors
2018-10-07 00:46:39 +02:00
Philipp Hörist
77c9b3a98d
Add annotations and fix pylint/mypy errors
2018-10-07 00:46:38 +02:00
Philipp Hörist
226c42a92a
Add stubs file for emoji_data
...
Otherwise mypy hangs because the file is to big
2018-10-07 00:46:38 +02:00
Philipp Hörist
6753c3e499
Fix pylint errors
2018-10-07 00:46:37 +02:00
Philipp Hörist
204b673e86
Add Builder class
2018-10-07 00:46:36 +02:00
Philipp Hörist
16712645a2
Windows: Fix translation
...
Fixes #9324
2018-10-07 00:46:35 +02:00
Philipp Hörist
4d53bd9064
Light refactring of bookmark code
...
- Convert xs:boolean values in bookmark module
- Use python booleans for minimize and autojoin in other parts of Gajim
- Use add_bookmark() instead of manipulating the bookmarks dict
2018-10-07 00:46:34 +02:00
Philipp Hörist
4d43fc4db5
Add a bookmark sorting method
2018-10-07 00:46:34 +02:00
Philipp Hörist
3e73ee93e1
Add XEP-0398 optimizations
...
- If the server implements XEP-0398 we dont need to add the avatar sha
anymore, the server adds it for us.
- It also means we dont have to query our own avatar from vcard at start
because the server tells us the avatar sha that is published with the inital
presence reflection
2018-10-07 00:46:34 +02:00
Sophie Herold
afbc0c325f
Unify to use app.get_account_label()
2018-10-07 00:46:33 +02:00
Yann Leboulanger
3305ad7710
better fix for joining groupchats with uppercase letters. Fixes #9198
2018-10-07 00:46:33 +02:00
Philipp Hörist
f25634bff5
Register modules defined by plugins
2018-10-07 00:46:33 +02:00
Philipp Hörist
6e8f064fd0
ServerInfo: Fix empty version result
...
Fixes #9311
2018-08-26 10:38:42 +02:00
Philipp Hörist
2e47f93214
Display only emojis the font supports
...
Fixes #9299
2018-08-25 09:42:09 +02:00
Philipp Hörist
8564edd5f3
Fix emoji theme fallback
2018-08-19 21:37:34 +02:00
Philipp Hörist
a457a9ac21
Move filechoosers into gtk module
2018-08-19 17:44:17 +02:00
Philipp Hörist
25915b4175
Fix theming option names
2018-08-19 12:15:34 +02:00
Philipp Hörist
1bb04ca402
Dont use hide() after show_all()
...
rather use no_show_all. This reduces flickering when we show the window
2018-08-18 00:48:12 +02:00
Philipp Hörist
042d8aa687
Fix deprecation warning
...
only keyword args should be used
2018-08-18 00:13:51 +02:00
Philipp Hörist
5feb4becfd
Rework Emoji implementation
...
- Use emoji data from a generated dict based on the offical unicode docs,
this makes it easier to update in the future
- Rewrite the emoji chooser
- Add a search field to the emoji chooser
- The emoji chooser is loaded async
- Update to current Unicode 11 Noto theme
2018-08-17 21:55:42 +02:00
Philipp Hörist
9d5131b8b4
Rework Gajim Theming
...
- Save all Theme settings to .css instead of the config file
- Add a gajim-dark.css
- Refactor the ThemesWindow
2018-08-16 22:53:33 +02:00
Philipp Hörist
f699df9bd6
Dont use dict to keep track of window instances
...
GtkApplication maintains a store for all active ApplicationWindows,
we dont need to replicate that.
2018-08-16 20:47:54 +02:00
Philipp Hörist
c332ad6a67
Fix string
2018-08-06 20:24:09 +02:00
Philipp Hörist
c778ed6917
Move Preferences into own module
...
- Port Preferences to Gtk.ApplicationWindow
2018-08-06 19:48:49 +02:00