Yann Leboulanger
a9a6b048fb
set a transient_for for join groupchat dialog when needed. Fixes #8994
2018-03-28 16:14:54 +02:00
Philipp Hörist
6f55cf3dd4
Fix some problematic imports
2018-03-26 00:19:59 +02:00
Yann Leboulanger
faa88819a1
improve some strings
2018-03-25 16:26:29 +02:00
Yann Leboulanger
ba48e4530b
don't just ignore when we receive an error to vcard request. Fixes #8965
2018-03-23 22:17:59 +01:00
Philipp Hörist
3d980fd6f5
Show image preview in filechooser dialog
2018-03-21 20:24:20 +01:00
Philipp Hörist
abdca0eaac
Fix TextView scrolling
...
Fixes #8813
2018-03-20 22:19:30 +01:00
Philipp Hörist
9de427f6fa
Allow multiple file uploads
...
Fixes #8957
2018-03-17 20:44:14 +01:00
Philipp Hörist
8f2bc1e1c6
Handle connection lost notification click
...
Fixes #8823
2018-03-15 18:37:34 +01:00
Philipp Hörist
1935a4f40e
Disable ZeroConf account by default
2018-03-07 20:24:08 +01:00
Philipp Hörist
52fa57795a
Better emoticon theme fallback strategy
...
Fallback must be happening in init_emoticon() instead of PreferencesWindow
2018-02-22 00:37:54 +01:00
Philipp Hörist
f1aceae214
Fix avatar ratio
...
Fixes #8907
2018-02-19 22:02:31 +01:00
Philipp Hörist
877b754ef3
Simplfy writing to config file
...
- use `with` statement and open() instead of os.open()
- execute run() on dialog, otherwise sys.exit() is called immediatly
2018-02-12 23:39:50 +01:00
Philipp Hörist
6deedb1743
Only use logind listener on linux
2018-01-29 23:12:58 +01:00
Philipp Hörist
232dc1dda0
Scale Avatars for HiDPI Screens
2018-01-29 00:06:31 +01:00
Bronko
3a3be94aa8
integrate httpupload plugin into gajim core
...
add new config option 'filetransfer_preference'
add drag and drop support for file upload
2018-01-22 17:29:27 +01:00
Philipp Hörist
71fb3d0b4f
Improve network speed on Windows
...
Call select.select() with the smallest timeout possible
2018-01-21 21:52:32 +01:00
Philipp Hörist
4aadc00bd6
Revert "Improve speed of Windows client"
...
This reverts commit 45e3139bd0
2018-01-21 20:45:32 +01:00
Philipp Hörist
45e3139bd0
Improve speed of Windows client
...
This calls on each mainloop cylce select.select() instead of every
20 ms.
2018-01-20 23:21:39 +01:00
André Apitzsch
6f025a1d4a
Remove some unused imports
2018-01-12 00:21:11 +01:00
André Apitzsch
e89e7c3123
Port screensaver listening to GTK dbus
2018-01-05 23:33:37 +01:00
André Apitzsch
81a039854f
Port music_track_listener to GTK dbus
2018-01-04 21:49:16 +01:00
Philipp Hörist
361ad92b26
Remove unused code
2017-12-29 19:08:05 +01:00
Philipp Hörist
23de7d5331
Use higher level API to focus windows
...
set_active_tab() already calls present(), no need to call it afterwards
again
2017-12-26 21:55:19 +01:00
André Apitzsch
f3bde561a3
GUI interface: fix resource warning
2017-12-18 23:14:22 +01:00
Philipp Hörist
e3effdcb6c
Refactor SubscriptionWindow
2017-12-17 22:30:16 +01:00
Philipp Hörist
65593c613c
Fix undefined var
2017-12-17 17:34:22 +01:00
Philipp Hörist
2c4c610632
Make sure our own JID is in the DB
2017-12-17 13:48:32 +01:00
Emmanuel Gil Peyrot
f4cae17d9f
Remove support for AWN, which isn’t maintained anymore
2017-12-13 23:19:16 +01:00
Yann Leboulanger
4e7fcea288
Merge branch 'logind' into 'master'
...
Port logind_listener to GTK dbus
See merge request gajim/gajim!167
2017-12-13 21:57:57 +01:00
Yann Leboulanger
a39d68d4ae
when internet connection is back, only connect accounts that were
...
connected before connection broke
2017-12-11 21:13:53 +01:00
André Apitzsch
5364c1980c
Port logind_listener to GTK dbus
2017-12-09 15:04:15 +01:00
André Apitzsch
be32d9afe6
Remove upower_listener
...
the 'Sleeping' signal has been removed from UPower about four years ago
https://cgit.freedesktop.org/upower/commit/src/org.freedesktop.UPower.xml?id=1ee642e705a63f5ad56a6b55e4bf5c4a64c959b8
2017-12-09 00:34:47 +01:00
Philipp Hörist
786ef96400
Port InformationEvent handling to new interface
2017-12-09 00:15:26 +01:00
Philipp Hörist
61ad783658
Add new interface to raise dialogs
2017-12-08 19:50:48 +01:00
Philipp Hörist
beb9fa2f17
Merge branch 'location' into 'master'
...
Get location with GeoClue2
Closes #8772
See merge request gajim/gajim!164
2017-12-05 17:10:51 +01:00
André Apitzsch
2aab433932
Get location with GeoClue2
2017-12-04 21:00:20 +01:00
Philipp Hörist
ace904573a
Add new Join Groupchat dialog
...
- Complete rewrite of the old Groupchat dialog
- Has now a "minimal" mode, which is used if we have all infos for joining except the nickname and if we want to bookmark
- Handle xmpp uris received via command line
2017-12-03 23:58:02 +01:00
Philipp Hörist
553ba9e59f
Dont preserve aspect ratio when loading an avatar
...
Clients should only upload square sized avatars
2017-12-03 23:58:02 +01:00
Philipp Hörist
1c895e8983
Persist resource across sessions
...
This was somehow lost once we implemented random resource strings
Although its good that initally a random resource is chosen, it
still should persist across sessions.
This helps to kill zombie client connections on the server because
most servers kill the old session once a new with the same resource
connects
Also dont notify the user about resource conflicts if no custom
resource is set. We should not expect users to know about resources
and what they are used for as long as possible.
2017-11-20 18:10:51 +01:00
Philipp Hörist
f7bb9c8a33
Merge branch 'networkmonitor' into 'master'
...
Use Gio.NetworkMonitor for reconnecting
See merge request gajim/gajim!149
2017-11-18 22:09:35 +01:00
Annika Sommer
86f5953e2b
MUC: Improve error messages
...
Distinguish between 'item-not-found' and 'remote-server-not-found'
Fixes #8749
2017-11-18 18:10:10 +01:00
Philipp Hörist
c1c2a92efc
Init Plugins and Caps after Roster
...
- Some plugins do not depend on gui extension points and need the
roster to be initialized
2017-11-18 11:11:47 +01:00
Philipp Hörist
775fec2fea
Dont activate plugins in PluginManager init
...
Plugins maybe want to use in their activation Gajim methods that
use an extension point. But because the PluginManager Object is not fully
initialized, the extension point method is not available yet
First create the PluginManager Object, then load Plugins.
2017-11-15 22:26:55 +01:00
Philipp Hörist
0fe78daae8
Init PluginManger earlier
...
- Plugins need the possibility to add caps before Gajim updates them
2017-11-15 21:57:15 +01:00
Philipp Hörist
e8004084fb
Use Gio.NetworkMonitor for reconnecting
...
- This uses also NetworkManager, but also other more low level interfaces
on linux
- This should work cross-platform
- Leave network_watcher.py for now, because it shows how
to use the Gtk dbus interface
2017-11-12 23:53:03 +01:00
Philipp Hörist
3c103315ec
Refactor Speller
2017-10-26 22:52:27 +02:00
Philipp Hörist
456d7f87ff
Catch OSError when converting with Pillow
2017-10-20 19:09:41 +02:00
Philipp Hörist
a01cdbf271
Refactor Avatars
...
- Add support for Pubsub Avatars
- Dont poll for vCard Updates, only use XEP-0153
- Dont cache vCards
- Store the avatar SHA of roster contacts in the DB
- Store the current SHA of each contact in the Contacts Object
- Move some code into the ConnectionVcard Class
2017-10-08 11:26:28 +02:00
Philipp Hörist
3e764c3d35
Fix some logging calls
...
- Add logging domain to some modules
- Log to module domain instead of generic 'gajim'
2017-09-26 07:14:01 +02:00
Yann Leboulanger
81a6be74ad
Merge branch 'setuptools' into 'master'
...
Use Setuptools to build gajim
Closes #8633
See merge request !128
2017-09-25 11:15:40 +02:00
Philipp Hörist
65d2284b59
Reduce PROCESS_TIMEOUT on Windows
...
If io_add_watch is available like on Linux, the PROCESS_TIMEOUT,
is only used to check for timed out events.
On Window its also used to call select() on the socket, so we get
pending data. We need this as low as possible otherwise Gajim on
Windows feels painfully slow.
2017-09-23 10:10:36 +02:00
André Apitzsch
30424b364a
Move ipython_view to gajim.dev and exclude it from tarball
2017-09-22 19:12:26 +02:00
Yann Leboulanger
a378152a9c
Remove Gmail special options
2017-09-19 15:44:58 +02:00
Yann Leboulanger
152be4473b
Fix some strings for a better translation
2017-09-19 12:45:02 +02:00
Philipp Hörist
41b977b914
Add option to disable ascii emoticons
2017-09-15 23:22:47 +02:00
Yann Leboulanger
46c9e5c679
Make IPython 5 work
2017-08-27 21:21:48 +02:00
Yann Leboulanger
8d4e815f3e
fix some pylint errors
2017-08-24 23:01:06 +02:00
André Apitzsch
89c7eb6e6a
Rename gajim.common.gajim to avoid name conflicts
2017-08-18 20:03:20 +02:00
André Apitzsch
efec098aef
Use absolute imports
2017-08-18 19:48:48 +02:00
Yann Leboulanger
99b27b4484
correctly compute file hash when file is received
2017-08-16 22:03:17 +02:00
Philipp Hörist
413c7f52d7
Add senders attr to Jingle FT
...
This is a MUST see https://xmpp.org/extensions/xep-0234.html
Fixes #8662
2017-08-07 17:41:32 +02:00
Yann Leboulanger
6a95fe79ae
Merge branch 'xep-0319' into 'master'
...
Xep 0319
See merge request !110
2017-07-31 19:16:27 +02:00
Yann Leboulanger
28917aaf56
Do not use XEP-0012 anymore to know idle time. Use XEP-0319
2017-07-31 19:14:12 +02:00
Philipp Hörist
9ff601d03b
Remove XEP-0136 support
2017-07-28 00:07:49 +02:00
Philipp Hörist
85d220c80e
Add Synchronise History Dialog
...
- On first contact with the MAM Archive only request 7 days
- To sync the rest of the archive the new Dialog can be used.
2017-07-25 21:00:20 +02:00
Yann Leboulanger
2dedf38f51
don't show audio error when it's not an audio error. Fixes #8614
2017-07-24 22:20:13 +02:00
Philipp Hörist
79716f421f
Rework emoticon menu
2017-07-02 21:27:44 +02:00
André Apitzsch
125ce523e4
Rename src directory
2017-07-02 17:25:47 +02:00