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
Sophie Herold
835bffd893
Fix broken history search
2018-08-06 19:07:42 +02:00
Philipp Hörist
94b2d1e577
Fix passing too many args
2018-08-06 18:25:52 +02:00
Philipp Hörist
2e53f47da8
Fix GtkBuilder translation
...
Fixes #9277
2018-08-06 17:14:07 +02:00
Philipp Hörist
2fd7187d16
Use new DataFormWidget with ServiceRegistration
2018-08-05 22:51:09 +02:00
Philipp Hörist
f90b9a6b3a
Add new DataFormWidget
2018-08-05 22:51:03 +02:00
Philipp Hörist
92af78f103
Move history window into gtk folder
...
- fix some pep8 warnings
2018-08-04 20:14:28 +02:00
Philipp Hörist
043e764896
Make Service Registration a Gtk.Assistant
...
- Move all xmpp Register methods into the register module
2018-08-04 19:47:57 +02:00
Philipp Hörist
560a122ab5
Add error message to change password dialog
...
- Move register methods to own module
2018-08-01 00:35:42 +02:00
Philipp Hörist
23e39dc9e6
Move shortcuts dialog into gtk folder
2018-07-30 00:24:43 +02:00
Philipp Hörist
a7d9701c18
Move AccountCreationWizard into gtk folder
2018-07-30 00:20:38 +02:00
Philipp Hörist
b3f1416c24
Move features dialog into gtk folder
2018-07-29 23:58:38 +02:00