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
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
Philipp Hörist
7730bc0e37
Cast messages from a bare muc jid to groupchat
2018-11-05 21:11:39 +01:00
Philipp Hörist
7e3d3f95bf
Use json format for the servers list
2018-11-03 13:57:50 +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
cfd24b6d6c
Move dbus modules into own folder
...
- light refactor of the screensaver module
2018-10-26 17:17:57 +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
186626ad77
Use parse_delay also for presences
2018-10-22 19:09:12 +02:00
Philipp Hörist
defdb8888c
Remove support for XEP-0091
2018-10-22 19:09:12 +02:00
Philipp Hörist
2002c3cf74
Use parse_datetime for parsing idle time
...
Fixes #9393
2018-10-22 19:09:12 +02:00
Philipp Hörist
f51c6f6b18
Make bookmark parsing more resilient
...
Fixes #9385
2018-10-22 19:09:12 +02:00
Philipp Hörist
479bfa56cb
Set password correctly on MUC join
2018-10-14 21:47:42 +02:00
Philipp Hörist
895a7a8741
Add a dedicated folder for plugin data
2018-10-14 21:47:42 +02:00
Philipp Hörist
889fa149b3
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-14 21:47:42 +02:00
Yann Leboulanger
83c737312b
Ability to update plugins on startup from a download folder
2018-10-13 13:31:00 +02:00
André Apitzsch
90a44f61e9
Fix missing UI translations on flatpak
2018-10-12 00:02:37 +02:00
Philipp Hörist
369abc25f0
Reset chatstate correctly if contact goes offline
2018-10-11 20:01:49 +02:00
Philipp Hörist
59a5f20ae0
Fix a few things regarding chatstates
...
- Fix wrong chatstates issued because of textview changed signal
- Fix chatstates in PMs
2018-10-11 20:01:49 +02:00
Philipp Hörist
e3cf8c00c5
Add property to distinguish pm contacts
2018-10-11 20:01:49 +02:00
Philipp Hörist
306a7c4b4c
Better fix for aa50da05
2018-10-11 20:01:48 +02:00
Philipp Hörist
488f3c55aa
Fix gettext not supporting Pathlib yet
2018-10-11 20:01:48 +02:00
Philipp Hörist
8f89f039d3
Fix pylint error
2018-10-07 00:47:01 +02:00
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
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
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
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
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
dd3bbf2bb7
Request security catalog from the barejid
...
- Some Code/UI cleanup
2018-10-07 00:46:56 +02:00
Philipp Hörist
e292b78a5d
Fix security labels
2018-10-07 00:46:56 +02:00