Commit Graph

15876 Commits

Author SHA1 Message Date
Matthew W. S. Bell 2a62209e1e Obtain sleep inhibitor again after every sleep
- There is a PrepareForSleep signal before and after every sleep event.
The expectation is that before sleep, gajim cleans up and then releases
the sleep inhibitor. Accordingly, we must reacquire the inhibitor after
sleeping, which can helpfully be done with the other signal.

- Moved module to the dbus folder

- Embed logic in a LogindListener object so we can import the module
without listening to dbus
2018-10-26 12:57:13 +02:00
Philipp Hörist 54fe4dacf2 Fix import 2018-10-26 01:49:15 +02:00
Philipp Hörist e5beff266a Guard GeoClue import
- So we dont have to check on module import if GeoClue is installed
2018-10-26 01:45:43 +02:00
Philipp Hörist ef167349f8 Fix imports 2018-10-26 01:31:49 +02:00
Philipp Hörist df7f0324a3 Move dbus modules into own folder
- light refactor of the screensaver module
2018-10-26 01:19:47 +02:00
Philipp Hörist d98ba45f97 Dont use deprecated const 2018-10-26 00:47:36 +02:00
Daniel Brötzmann 5d2e83394b Rework Preferences Window 2018-10-26 00:18:06 +02:00
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
Daniel Brötzmann 3dcd6323d2 Update feature list in appdata.xml 2018-10-25 11:59:41 +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 9184c66eae Fix Windows build
Appveyor adds ssl libs to the system folder which trips pythons ssl module

see https://github.com/appveyor/ci/issues/2571
2018-10-23 23:27:02 +02:00
Philipp Hörist fe21ae6086 Windows: Add folder to DLL search
This makes python look into the `bin` folder when searching for DLLs before
it trys C:\Windows or C:\Windows\system32 and potentially finds other versions of DLLs

Fixes #8968
2018-10-23 22:58:49 +02:00
Philipp Hörist 9665376247 Update ChangeLog 2018-10-22 19:52:47 +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 7397cc8af6 Remove idna as dependency
We use the python inbuilt idna module
2018-10-21 09:36:36 +02:00
André Apitzsch af88c4cbc6 Flatpak: package new required dependency 2018-10-20 16:24:51 +02:00
Philipp Hörist 3a97d44e3e Fix flickering tooltips in 3.24.1 2018-10-20 09:55:48 +02:00
Philipp Hörist c2d03dbf24 Prepare for nbxmpp API change 2018-10-19 23:35:57 +02:00
Philipp Hörist 0d4ba65434 Make idna and precis-18n required dependencys 2018-10-19 23:30:56 +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 7113760b03 Windows: Add precis-i18n to the build 2018-10-13 15:41:05 +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 ff0e02685a Windows: Add correct plugin_installer 2018-10-12 20:17:10 +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 f5337c6890 Raise nbxmpp version 2018-10-11 21:11:06 +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