Commit Graph

80 Commits

Author SHA1 Message Date
Philipp Hörist 8ace1f2b2b MUC: Add option for showing the subject on join 2018-10-07 00:47:00 +02:00
Philipp Hörist d35a9f6a10 Add a configurable threshold for MAM in MUC 2018-10-07 00:46:58 +02:00
Daniel Brötzmann a9af4518a5 Fix more strings from #7470 2018-10-07 00:46:57 +02:00
Philipp Hörist 13473c36ba 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-10-07 00:46:56 +02:00
Philipp Hörist 8f97dd9b89 Move AccountsWindow to gtk module 2018-10-07 00:46:55 +02:00
Philipp Hörist 74c8c24827 Move AdvancedConfig to gtk module 2018-10-07 00:46:55 +02:00
Philipp Hörist cb1be1621d 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-10-07 00:46:55 +02:00
Philipp Hörist ec76d8ac3b Only use absolute imports from gtk module
- This reduces import cycles
2018-10-07 00:46:55 +02:00
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