Philipp Hörist
ad4e1258d3
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-06 22:44:26 +02:00
Philipp Hörist
bf87ad5ac8
Import _() instead of using builtin namespace
...
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-06 22:38:55 +02:00
Philipp Hörist
990a35f9d8
MUC: Add option for showing the subject on join
2018-10-06 00:35:24 +02:00
Philipp Hörist
fd232ce616
MUC: Show info message that we joined the room
2018-10-06 00:01:07 +02:00
Philipp Hörist
259f5e3674
MUC: Show timestamp also for info messages
2018-10-05 23:57:54 +02:00
Philipp Hörist
dbd25c590d
Fix textview sorting
2018-10-05 23:47:59 +02:00
Philipp Hörist
1e933c2681
Dont show MUC subject on rejoin
...
- We only show it, if it changed
2018-10-05 23:21:50 +02:00
Philipp Hörist
e8c5ad64a7
Better determine when we fully joined a muc
2018-10-05 22:42:36 +02:00
Philipp Hörist
b049746418
MUC: Make print_status affect the 333 status code
2018-10-05 22:34:06 +02:00
Philipp Hörist
4f1a3a32c5
Fix resume after sm timeout
...
Fixes #9364
2018-10-05 21:25:15 +02:00
Philipp Hörist
84ba852a97
Dont return None on has_mam()
...
Fixes #9368
2018-10-05 15:05:06 +02:00
Philipp Hörist
34553b6ca7
Add a configurable threshold for MAM in MUC
2018-10-04 21:42:06 +02:00
Philipp Hörist
5173ca415a
Pull correct security catalog for private messages
2018-10-04 14:27:45 +02:00
Philipp Hörist
e664185845
Add debug commandline options
...
To easier simulate connectivity loss
2018-10-03 12:28:11 +02:00
Philipp Hörist
8b7aae564b
MUC: Set active chatstate on messages
2018-10-03 09:56:56 +02:00
Philipp Hörist
b6c43c9066
Fix the fix
2018-10-03 08:08:32 +02:00
Marcin Mielniczuk
237abf742b
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-03 07:58:54 +02:00
Philipp Hörist
ef3cc504d2
Pass correct show state
2018-10-03 07:53:30 +02:00
Philipp Hörist
ff424b5084
Fix passing wrong type
2018-10-01 21:25:10 +02:00
Philipp Hörist
4858bb46f2
Fix wrong argument
2018-10-01 07:50:48 +02:00
Philipp Hörist
460d390795
Refactor Chat State Notifications
...
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-09-30 22:58:38 +02:00
Daniel Brötzmann
07b175d541
Add desktop actions start-chat and show-next-pending-event
2018-09-30 15:35:18 +02:00
Philipp Hörist
5be73fa824
Fix typo
2018-09-30 15:34:59 +02:00
Daniel Brötzmann
1f3bb5667d
Fix more strings from #7470
2018-09-30 10:37:16 +02:00
Daniel Brötzmann
ef4c63ba3e
Fix #9045 , desync'ed
2018-09-30 10:37:16 +02:00
Daniel Brötzmann
6975ffdf94
Unify Emoticon and Emoji strings
2018-09-30 10:37:16 +02:00
Philipp Hörist
acf79ffe8a
MAM: Up the requested page size
2018-09-30 10:01:42 +02:00
Philipp Hörist
bdd243d045
Remove unused import
2018-09-30 00:22:22 +02:00
Philipp Hörist
a8c0567bd0
Request security catalog from the barejid
...
- Some Code/UI cleanup
2018-09-30 00:15:00 +02:00
Philipp Hörist
24e771266b
Fix Windows build
2018-09-29 21:55:29 +02:00
Philipp Hörist
8ff3e55f33
Fix security labels
2018-09-29 18:29:59 +02:00
Philipp Hörist
cc891be187
Fix mnemonics and change some strings
2018-09-27 22:04:15 +02:00
Philipp Hörist
58796d223e
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-09-27 21:38:23 +02:00
Marcin Mielniczuk
34e93bba17
Add .vscode to .gitignore
...
This is where the workspace settings are stored.
2018-09-27 14:53:23 +02:00
Philipp Hörist
e9e0b7fbb9
Move AccountsWindow to gtk module
2018-09-27 00:12:55 +02:00
Philipp Hörist
6bf94f15d7
Move AdvancedConfig to gtk module
2018-09-27 00:03:50 +02:00
Philipp Hörist
075069d37a
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-09-26 20:17:13 +02:00
Philipp Hörist
f89347516f
Only use absolute imports from gtk module
...
- This reduces import cycles
2018-09-26 19:06:47 +02:00
Philipp Hörist
b2a7c9495d
GroupchatControl: Add a is_connected property
2018-09-25 00:29:05 +02:00
Philipp Hörist
429a176712
Check if path is None
2018-09-25 00:29:05 +02:00
Yann Leboulanger
8e0a60911a
fix displaying HTML content. Fixes #9210
2018-09-24 09:37:06 +02:00
Yann Leboulanger
5aa41c7f63
handle error message from MUC correctly. Fixes #9280
2018-09-23 22:45:05 +02:00
Philipp Hörist
7cacb4c09e
Add annotations
2018-09-23 15:33:31 +02:00
Philipp Hörist
0e0bb9e190
Add dark theme switch in preferences
2018-09-23 15:00:32 +02:00
Philipp Hörist
26b8125446
configpaths: Add get_plugin_dirs() method
...
This helps with mypy because otherwise get() has multiple return types
This reduces our usage of cast()
2018-09-23 14:41:44 +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
d29f6b2ca9
Dont parse our own nick on sent carbons
...
Fixes #9051
2018-09-22 15:35:45 +02:00
Philipp Hörist
06302cdc4d
Refactor link context menu
...
- Move hyperlink handling into HtmlTextView
- Use actions on the menuitems
2018-09-22 13:35:07 +02:00
Philipp Hörist
4077e0d6d6
Update mypy.ini
2018-09-22 13:20:09 +02:00
Philipp Hörist
1483020cf4
Dont show encryption status for status messages
...
Fixes #9353
2018-09-22 08:07:46 +02:00