Commit Graph

15950 Commits

Author SHA1 Message Date
Philipp Hörist 2c2943deff Determine absolut path for custom config folder
When a relative custom config path is passed via commandline, the logic
which decides if a plugin can be deleted from the plugin manager fails
2018-11-13 21:56:21 +01:00
Philipp Hörist 5981396ac4 Pass account to plugins when encrypting a file 2018-11-13 21:56:21 +01:00
Philipp Hörist 510985d7c4 Enforce min and max version for plugin manifest
This reduces problems with old plugins without max version
2018-11-13 21:56:21 +01:00
Philipp Hörist 57dad43d09 Dont test for sys.platform == 'linux'
This excludes other unix systems which was not intended
2018-11-13 21:56:21 +01:00
Philipp Hörist 08bde952b9 Dont test if precis_i18n is available
Its listed as dependency
2018-11-13 21:56:20 +01:00
Philipp Hörist 584c9ff695 Move imports into function 2018-11-13 21:56:20 +01:00
Philipp Hörist 67786dfd84 Try to play sound on all unix systems
sys.platform == 'linux' excludeds other unix systems, for example FreeBSD
2018-11-13 21:56:20 +01:00
Philipp Hörist 959a51c5f5 Dont test if winsound is available
Its a standard library which will be always available in our builds
2018-11-13 21:56:20 +01:00
Philipp Hörist 8061146d4f Remove unused code
Code is also not cross-platform compatible
2018-11-13 21:56:20 +01:00
Philipp Hörist 298fb15306 Better determine soundplayer on unix systems
- sys.platform == 'linux', excludes many other unix systems
- use shutil.which() to test if a command is available
2018-11-13 21:56:20 +01:00
André Apitzsch 213da73b44 Flatpak: use X11 access only if a X11 session is running
Requires flatpak 1.0 or newer
2018-11-13 21:56:19 +01:00
André Apitzsch 8bbf33921f Flatpak: update dependencies and use pip to install modules 2018-11-13 21:56:19 +01:00
Philipp Hörist 335c3e2d3d Windows: Fix build
Fixes #9438
2018-11-11 15:41:12 +01:00
Yann Leboulanger 817e5cdf5a set new Gajim version to 1.1.0 2018-11-06 21:12:20 +01:00
Yann Leboulanger 380882ccaa update translations 2018-11-05 22:23:58 +00:00
Philipp Hörist 7730bc0e37 Cast messages from a bare muc jid to groupchat 2018-11-05 21:11:39 +01:00
Philipp Hörist 1e5e62a758 Update ChangeLog 2018-11-05 18:42:56 +01:00
Philipp Hörist 4011dbfb7d Remove unused imports 2018-11-03 14:10:28 +01:00
André Apitzsch 29ad06afec Move flake8 config to setup.cfg 2018-11-03 14:01:09 +01:00
Philipp Hörist a269f706bd Remove unused shortcut 2018-11-03 14:00:58 +01:00
Philipp Hörist 260b69351e Update win/README.md 2018-11-03 14:00:28 +01:00
Philipp Hörist ac18bd8321 Remove all non-ascii chars from setup.cfg
https://github.com/pypa/setuptools/issues/1062
2018-11-03 14:00:28 +01:00
Philipp Hörist 9069b844fa Windows: Fix dev_env.sh 2018-11-03 14:00:28 +01:00
Philipp Hörist b9a6cb4c66 Windows: Update dev_env.sh 2018-11-03 14:00:28 +01:00
André Apitzsch f5315619c6 Setup: move configuration to setup.cfg to improve readability 2018-11-03 13:58:51 +01:00
Philipp Hörist d4986e22bf Remove dead servers from servers list
All removed servers did not answer to a IBR request
2018-11-03 13:58:14 +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 7121dfbbe0 Fix error with some foreign keyboard layouts 2018-11-03 13:55:50 +01:00
André Apitzsch d86f7806dc Flatpak: remove modules provided by the runtime 2018-10-28 09:13:57 +01:00
Matthew W. S. Bell 698ae2a31e 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 17:17:57 +02:00
Philipp Hörist 7bb4d07d2e Fix import 2018-10-26 17:17:57 +02:00
Philipp Hörist bc97f6a941 Guard GeoClue import
- So we dont have to check on module import if GeoClue is installed
2018-10-26 17:17:57 +02:00
Philipp Hörist b80afa7179 Fix imports 2018-10-26 17:17:57 +02:00
Philipp Hörist cfd24b6d6c Move dbus modules into own folder
- light refactor of the screensaver module
2018-10-26 17:17:57 +02:00
Philipp Hörist 383e220e69 Dont use deprecated const 2018-10-26 17:17:56 +02:00
Philipp Hörist a7624b564f Fix error when plugin cant be loaded
Fixes #9403
2018-10-26 00:23:13 +02:00
Daniel Brötzmann 9f2a0ae7fa Update feature list in appdata.xml 2018-10-26 00:23:13 +02:00
Philipp Hörist 4a812dce67 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-24 19:10:22 +02:00
Philipp Hörist 060332e319 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-24 19:10:22 +02:00
Philipp Hörist 6b63d91fb6 Update ChangeLog 2018-10-24 19:09:54 +02:00
Philipp Hörist 3db2138e34 Make var global 2018-10-22 19:09:13 +02:00
Yann Leboulanger ba82ab9d98 fix regression from [e265514d]: gupnp object is keept globally. Fixes #9398 2018-10-22 19:09:13 +02:00
Daniel Brötzmann ee7db4f7de Remove ESessions leftovers 2018-10-22 19:09:13 +02:00
Philipp Hörist c8ca387f01 Remove idna as dependency
We use the python inbuilt idna module
2018-10-22 19:09:13 +02:00
André Apitzsch ee9822290a Flatpak: package new required dependency 2018-10-22 19:09:13 +02:00
Philipp Hörist 117be4878c Fix flickering tooltips in 3.24.1 2018-10-22 19:09:13 +02:00
Philipp Hörist 664a96cef2 Prepare for nbxmpp API change 2018-10-22 19:09:12 +02:00
Philipp Hörist 968aae2cd0 Make idna and precis-18n required dependencys 2018-10-22 19:09:12 +02:00
Philipp Hörist 5568b97063 Fix missing declaration
Fixes #9322
2018-10-22 19:09:12 +02:00