Commit Graph

1178 Commits

Author SHA1 Message Date
Daniel Brötzmann b5416f0e97 Rework ACE 2018-10-26 00:06:27 +02:00
Philipp Hörist 08fe232695 Fix error when plugin cant be loaded
Fixes #9403
2018-10-25 21:20:38 +02:00
Philipp Hörist d7ea69f36c Refactor StatusIcon
- Move to gtk folder
- Rename some handlers
- Use get_builder
2018-10-25 00:12:28 +02:00
Philipp Hörist c1cc8c5714 Fix pylint error 2018-10-25 00:06:45 +02:00
Philipp Hörist c08f752d89 Refactor "Save as" menu 2018-10-24 23:42:07 +02:00
Philipp Hörist 2c6b2e0bb4 Use keyword init for Labels
keyword-less init is deprecated
2018-10-24 23:04:14 +02:00
Philipp Hörist 974b351338 Fix pylint error 2018-10-24 21:16:13 +02:00
Philipp Hörist 0e2a9c724f Improve ExceptionDialog
- Move to gtk module
- Use get_builder() so translation works
- Add GLib version
- Remove standalone testing code
2018-10-24 21:14:54 +02:00
Daniel Brötzmann 79a37f6992 Update ExceptionDialog GUI 2018-10-24 20:41:16 +02:00
Philipp Hörist dc59801d93 Make var global 2018-10-22 19:04:37 +02:00
Yann Leboulanger 286f820f77 fix regression from [e265514d]: gupnp object is keept globally. Fixes #9398 2018-10-22 13:38:40 +02:00
Daniel Brötzmann 4f28720db0 Remove ESessions leftovers 2018-10-21 23:17:42 +02:00
Philipp Hörist 3a97d44e3e Fix flickering tooltips in 3.24.1 2018-10-20 09:55:48 +02:00
Philipp Hörist 2c01883fc0 Fix missing declaration
Fixes #9322
2018-10-19 22:30:35 +02:00
Philipp Hörist e44cedf094 Use parse_delay also for presences 2018-10-19 20:43:04 +02:00
Philipp Hörist abf1909360 Remove support for XEP-0091 2018-10-19 20:38:44 +02:00
Philipp Hörist 53ec34a955 Use parse_datetime for parsing idle time
Fixes #9393
2018-10-19 20:37:18 +02:00
Philipp Hörist dbd3165c00 DiscoveryWindow: Add default identity
Fixes #9386
2018-10-19 17:52:00 +02:00
Philipp Hörist 8487bdb83e Make bookmark parsing more resilient
Fixes #9385
2018-10-19 15:59:04 +02:00
Philipp Hörist ba2618d035 Set password correctly on MUC join 2018-10-14 21:42:51 +02:00
Philipp Hörist c34ce28f56 Add a dedicated folder for plugin data 2018-10-14 17:09:39 +02:00
Philipp Hörist c58ea13379 Default to showing offline contacts
Many messengers dont show the status anymore, its not evident to new
users that most of their roster is hidden per default and they have to
show it to access the contacts
2018-10-13 16:21:44 +02:00
Philipp Hörist 2b7006e883 Catch exceptions when loading plugins 2018-10-13 14:13:38 +02:00
Philipp Hörist 683e7aa4c7 Bind textomain also for plugins 2018-10-13 13:27:33 +02:00
Philipp Hörist 6c43c0f408 Allow to load multiple widgets with get_builder() 2018-10-13 00:33:33 +02:00
Philipp Hörist c43714e4c2 Dont monkey patch _() into plugins
Plugins can import _() from plugins_i18n
2018-10-12 23:42:38 +02:00
Philipp Hörist e5fe30cb5b Add get_builder() for plugins 2018-10-12 23:42:38 +02:00
Yann Leboulanger 00c8e5c01d Ability to update plugins on startup from a download folder 2018-10-12 22:17:34 +02:00
Philipp Hörist 528f758287 Raise Gajim version 2018-10-12 17:38:32 +02:00
André Apitzsch 8a0ed4af5b Fix missing UI translations on flatpak 2018-10-11 23:21:46 +02:00
Philipp Hörist c81711fdf0 Reset chatstate correctly if contact goes offline 2018-10-11 00:11:03 +02:00
Philipp Hörist bae95858aa Dont overwrite user plugins with base plugins
- Dont load plugins without short_name
- Check with the short_name if a plugin is already loaded
2018-10-10 21:25:54 +02:00
Daniel Brötzmann 491237b41d polish-change-status-dialog 2018-10-09 20:11:01 +02:00
Philipp Hörist f565928890 Fix a few things regarding chatstates
- Fix wrong chatstates issued because of textview changed signal
- Fix chatstates in PMs
2018-10-09 00:01:35 +02:00
Philipp Hörist 7e007a4210 Add property to distinguish pm contacts 2018-10-07 22:35:27 +02:00
Philipp Hörist 84276aed43 Raise min nbxmpp version 2018-10-07 20:51:51 +02:00
Philipp Hörist a60b54e46e GajimRemote: pass combined chatstate 2018-10-07 20:48:24 +02:00
Philipp Hörist 084e5d6ca7 Better fix for aa50da05 2018-10-07 18:19:57 +02:00
Philipp Hörist 99972dacf7 GajimRemote: Fix chatstate-received callback 2018-10-07 13:49:55 +02:00
Philipp Hörist aa50da05d3 Fix gettext not supporting Pathlib yet 2018-10-07 12:49:50 +02:00
Philipp Hörist f10f7d27ad Bring back lost --version command 2018-10-07 02:05:35 +02:00
Philipp Hörist cea5231c79 Dont show joined message on status change 2018-10-06 23:08:53 +02:00
Philipp Hörist 74bb8cec3f Fix pylint error 2018-10-06 23:06:07 +02:00
Philipp Hörist ca46742117 Fix missing imports 2018-10-06 23:04:28 +02:00
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
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 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
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 1483020cf4 Dont show encryption status for status messages
Fixes #9353
2018-09-22 08:07:46 +02:00
Philipp Hörist 6b2aa24d6e Fix rest of mypy errors
- This allows us to run mypy on the full gajim folder
2018-09-21 23:55:57 +02:00
Philipp Hörist d722a8558b Fix pylint errors in ipython_view 2018-09-21 23:53:50 +02:00
Philipp Hörist b70549dd59 Add __init__.py to gajim/dev 2018-09-21 23:53:16 +02:00
Philipp Hörist 74b66837fa Add annotations
- Remove some unused vars from app
2018-09-21 15:46:52 +02:00
Philipp Hörist f7a2ac9d90 Add annotations
- Add a gtk/types modules
- Add a gtk/const module to prevent circular imports
2018-09-21 15:46:52 +02:00
Philipp Hörist 4d4d002342 Extend stubs for emoji_data 2018-09-21 15:46:52 +02:00
Philipp Hörist 3f2f51c169 Add license header to emoji_data.py 2018-09-21 15:46:52 +02:00
Philipp Hörist 5a906c1454 Move HtmlTextView test into test folder 2018-09-21 15:46:52 +02:00
Philipp Hörist 0a66b6d9ad remove icon 2018-09-19 22:22:52 +02:00
Philipp Hörist 94b17b1fbc Fix colors and icons 2018-09-19 22:22:52 +02:00