Philipp Hörist
0e0bb9e190
Add dark theme switch in preferences
2018-09-23 15:00:32 +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
1483020cf4
Dont show encryption status for status messages
...
Fixes #9353
2018-09-22 08:07:46 +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
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
fa65653adc
ConvTextview: Rework display of encryption
2018-09-19 22:22:52 +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
1680c3bb38
Fix pylint errors
...
- consider-using-enumerate
- unneeded-not
- unidiomatic-typecheck
2018-09-18 15:24:40 +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
df88cc5e15
Fix redefined-builtin pylint errors
2018-09-18 13:54:25 +02:00
Philipp Hörist
ccc06a04ab
Fix bad-whitespace pylint errors
2018-09-18 12:06:01 +02:00
Philipp Hörist
ff6ca57033
Fix no-else-return pylint errors
2018-09-18 10:16:54 +02:00
Philipp Hörist
d6f0242655
Fix redefined-argument-from-local pylint errors
2018-09-18 08:37:18 +02:00
Philipp Hörist
e8ac644440
Fix unused-variable pylint errors
2018-09-17 21:16:19 +02:00
Philipp Hörist
d53b95218a
Fix redefined-outer-name pylint errors
2018-09-16 18:04:15 +02:00
Philipp Hörist
c6547b6d30
Fix superfluous-parens pylint errors
2018-09-16 14:42:18 +02:00
Philipp Hörist
7018d5be0e
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-09-16 13:35:55 +02:00
Philipp Hörist
e85bc52c8b
Fix sending empty pep data
2018-09-16 12:58:37 +02:00
Philipp Hörist
de0c0a9c08
Fix unsued-import pylint errors
2018-09-16 11:37:38 +02:00
Philipp Hörist
50e44543f3
Fix len-as-condition pylint error
2018-09-16 01:19:09 +02:00
Philipp Hörist
49ca238252
Fix len-as-condition pylint errors
2018-09-16 01:10:04 +02:00
Philipp Hörist
d54d4bc232
Add annotations and fix pylint/mypy errors
2018-09-13 23:56:12 +02:00
Philipp Hörist
a62f348a21
Add stubs file for emoji_data
...
Otherwise mypy hangs because the file is to big
2018-09-13 23:54:29 +02:00
Philipp Hörist
b99632ab03
Fix pylint errors
2018-09-12 00:01:54 +02:00
Philipp Hörist
a497051965
Add Builder class
2018-09-09 15:29:55 +02:00
Philipp Hörist
52e09cf526
Windows: Fix translation
...
Fixes #9324
2018-09-08 08:40:42 +02:00
Philipp Hörist
27f7580688
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-09-05 00:06:59 +02:00
Philipp Hörist
b62335eaf5
Add a bookmark sorting method
2018-09-04 23:22:57 +02:00
Philipp Hörist
be6c2d4f7a
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-09-01 20:40:20 +02:00
Sophie Herold
7743c11a50
Unify to use app.get_account_label()
2018-08-30 19:27:40 +02:00
Yann Leboulanger
7d4a9b91c8
better fix for joining groupchats with uppercase letters. Fixes #9198
2018-08-30 12:21:43 +02:00
Philipp Hörist
931e3f60ba
Register modules defined by plugins
2018-08-28 23:03:00 +02:00
Philipp Hörist
d57bfcbcad
ServerInfo: Fix empty version result
...
Fixes #9311
2018-08-26 10:39:29 +02:00
Philipp Hörist
fef8cff254
Display only emojis the font supports
...
Fixes #9299
2018-08-20 19:18:07 +02:00
Philipp Hörist
e128a3f676
Fix emoji theme fallback
2018-08-19 21:38:11 +02:00
Philipp Hörist
1c69b92d85
Move filechoosers into gtk module
2018-08-19 17:47:17 +02:00
Philipp Hörist
732ed0a162
Fix theming option names
2018-08-19 12:15:07 +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
Sophie Herold
835bffd893
Fix broken history search
2018-08-06 19:07:42 +02:00