Commit Graph

97 Commits

Author SHA1 Message Date
Alexander Bogdanov ff9afe194e Implementing error type=modify handling for XEP-0077 2019-04-16 18:33:32 +02:00
Philipp Hörist da5ffe4bcc Correctly get the total screen geometry
get_root_window() does not work on Wayland

Fixes #9637
2019-03-25 23:53:05 +01:00
Philipp Hörist 0e9422ae9b Refactor restoring roster position 2019-03-25 23:51:46 +01:00
Daniel Brötzmann 838b04d6b6 Improve dark theme colors 2019-03-25 23:24:33 +01:00
Philipp Hörist bb4daa2945 Generate account label correctly 2019-03-16 16:19:37 +01:00
André Apitzsch af4e06ca29 Bump copyright year 2019-01-08 20:07:27 +01:00
Philipp Hörist c2d69774d5 Use custom link handler in AboutDialog
Fixes #9525
2019-01-08 20:07:00 +01:00
Philipp Hörist fd60c2fcf7 Revert "AccountsWindow: Fix back button"
This reverts commit 108b087858
2018-12-23 00:33:23 +01:00
Philipp Hörist 50435ba885 Make copying text work with different layouts
This makes it possible so text can be copied from the conversation textview with other keyboard layouts than english
2018-12-18 15:14:57 +01:00
Philipp Hörist 9eed0338d9 Fix error on key press
Fixes #9471
2018-12-18 15:13:08 +01:00
Philipp Hörist 108b087858 AccountsWindow: Fix back button 2018-12-03 15:45:30 +01:00
Philipp Hörist 7e3d3f95bf Use json format for the servers list 2018-11-03 13:57:50 +01:00
Philipp Hörist 12cd2852de Remove print statement 2018-11-03 13:56:42 +01:00
Philipp Hörist 5568b97063 Fix missing declaration
Fixes #9322
2018-10-22 19:09:12 +02:00
Philipp Hörist 0f0c0a6ab7 Allow to load multiple widgets with get_builder() 2018-10-13 13:31:48 +02:00
Philipp Hörist cc62761da3 Add get_builder() for plugins 2018-10-13 13:31:10 +02:00
Philipp Hörist f197358e2f Import _() instead of using builtin namespace
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-07 00:47:00 +02:00
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