Philipp Hörist
9c8a47aa6b
Fix missing imports
2018-10-07 00:47:01 +02:00
Philipp Hörist
bd2a3a0e17
Improve finding locale dir
...
- Dont install _() globally, although its elegant mypy cant deal with it
- If gettext cant find the translation itself, iter through all dirs and search for it
2018-10-07 00:47:00 +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
ae629d821a
MUC: Show info message that we joined the room
2018-10-07 00:46:59 +02:00
Philipp Hörist
fc5e2d3a75
MUC: Show timestamp also for info messages
2018-10-07 00:46:59 +02:00
Philipp Hörist
31b054723e
Fix textview sorting
2018-10-07 00:46:59 +02:00
Philipp Hörist
ec839cc1d4
Dont show MUC subject on rejoin
...
- We only show it, if it changed
2018-10-07 00:46:59 +02:00
Philipp Hörist
8bab5d1adc
Better determine when we fully joined a muc
2018-10-07 00:46:59 +02:00
Philipp Hörist
33a62760fe
MUC: Make print_status affect the 333 status code
2018-10-07 00:46:59 +02:00
Philipp Hörist
048224d5b6
Fix resume after sm timeout
...
Fixes #9364
2018-10-07 00:46:59 +02:00
Philipp Hörist
12c46fd09b
Dont return None on has_mam()
...
Fixes #9368
2018-10-07 00:46:59 +02:00
Philipp Hörist
d35a9f6a10
Add a configurable threshold for MAM in MUC
2018-10-07 00:46:58 +02:00
Philipp Hörist
7ece7dbaff
Pull correct security catalog for private messages
2018-10-07 00:46:58 +02:00
Philipp Hörist
14bad789d6
Add debug commandline options
...
To easier simulate connectivity loss
2018-10-07 00:46:58 +02:00
Philipp Hörist
65f74e3d9f
MUC: Set active chatstate on messages
2018-10-07 00:46:58 +02:00
Philipp Hörist
ba44f98d97
Fix the fix
2018-10-07 00:46:58 +02:00
Marcin Mielniczuk
9328475c22
Pylint CI improvements
...
* Move the pylint CI configuration to a separate script
* Update pylint in CI to 2.1.1
* Add pycurl to pylint whitelist
2018-10-07 00:46:58 +02:00
Philipp Hörist
38ac6a0637
Pass correct show state
2018-10-07 00:46:58 +02:00
Philipp Hörist
6cd619675f
Fix passing wrong type
2018-10-07 00:46:58 +02:00
Philipp Hörist
cbce361f12
Fix wrong argument
2018-10-07 00:46:57 +02:00
Philipp Hörist
50c670e61b
Refactor Chat State Notifications
...
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-10-07 00:46:57 +02:00
Daniel Brötzmann
c88932fc14
Add desktop actions start-chat and show-next-pending-event
2018-10-07 00:46:57 +02:00
Philipp Hörist
622d44b202
Fix typo
2018-10-07 00:46:57 +02:00
Daniel Brötzmann
a9af4518a5
Fix more strings from #7470
2018-10-07 00:46:57 +02:00
Daniel Brötzmann
fcc2e3a8cf
Fix #9045 , desync'ed
2018-10-07 00:46:57 +02:00
Daniel Brötzmann
0af65954be
Unify Emoticon and Emoji strings
2018-10-07 00:46:57 +02:00
Philipp Hörist
db34877191
MAM: Up the requested page size
2018-10-07 00:46:56 +02:00
Philipp Hörist
5e6320d2ae
Remove unused import
2018-10-07 00:46:56 +02:00
Philipp Hörist
dd3bbf2bb7
Request security catalog from the barejid
...
- Some Code/UI cleanup
2018-10-07 00:46:56 +02:00
Philipp Hörist
944a1a9318
Fix Windows build
2018-10-07 00:46:56 +02:00
Philipp Hörist
e292b78a5d
Fix security labels
2018-10-07 00:46:56 +02:00
Philipp Hörist
2cf0fb2eef
Fix mnemonics and change some strings
2018-10-07 00:46:56 +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
Marcin Mielniczuk
994801519e
Add .vscode to .gitignore
...
This is where the workspace settings are stored.
2018-10-07 00:46:55 +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
8e28ca08d4
GroupchatControl: Add a is_connected property
2018-10-07 00:46:54 +02:00
Philipp Hörist
7c45943d20
Check if path is None
2018-10-07 00:46:54 +02:00
Yann Leboulanger
45e03c2545
fix displaying HTML content. Fixes #9210
2018-10-07 00:46:54 +02:00
Yann Leboulanger
3ab7f92856
handle error message from MUC correctly. Fixes #9280
2018-10-07 00:46:54 +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
ad5f59ba49
configpaths: Add get_plugin_dirs() method
...
This helps with mypy because otherwise get() has multiple return types
This reduces our usage of cast()
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
3bdcd53ff5
Dont parse our own nick on sent carbons
...
Fixes #9051
2018-10-07 00:46:53 +02:00
Philipp Hörist
d295472a8e
Refactor link context menu
...
- Move hyperlink handling into HtmlTextView
- Use actions on the menuitems
2018-10-07 00:46:53 +02:00
Philipp Hörist
4c49d1469c
Update mypy.ini
2018-10-07 00:46:53 +02:00