Commit graph

192 commits

Author SHA1 Message Date
Philipp Hörist
4c3110c27d Redirect some print statments to stderr
Otherwise they errors will not show up if the console output is
redirected to a file
2019-02-16 10:36:27 +01:00
Philipp Hörist
8455a0fa40 Fix filetransfer tooltip 2019-02-15 15:49:47 +01:00
Philipp Hörist
c2038b0ffe Adapt to BlockingListResult changes in nbxmpp 2019-02-11 22:24:20 +01:00
Philipp Hörist
94160d830f Adapt to AffiliationResult changes in nbxmpp 2019-02-11 21:05:20 +01:00
Philipp Hörist
a89bec0b9d Refactor Bookmarks
- Simplify modules because nbxmpp handles more stuff
2019-02-04 21:59:33 +01:00
Philipp Hörist
59b39b049a Refactor UserLocation
- Simplify modules because nbxmpp handles more stuff
2019-02-02 12:51:28 +01:00
Philipp Hörist
d37b95e45e Refactor UserTune
- Simplify modules because nbxmpp handles more stuff
2019-02-02 12:51:24 +01:00
Philipp Hörist
b9b9dae6a0 Refactor UserActivity
- Use IconTheme for mood icons
- Simplify modules because nbxmpp handles more stuff
2019-01-31 22:57:15 +01:00
Philipp Hörist
be95b04007 Refactor UserNickname and UserMood
- Use IconTheme for mood icons
- Simplify modules because nbxmpp handles more stuff
2019-01-30 23:36:01 +01:00
Philipp Hörist
d6b7916f2b Prevent callbacks on destroyed objects
Fixes #9560
2019-01-26 21:25:33 +01:00
Philipp Hörist
e994b8f402 Count MUC members correctly
- Pass Affiliation enum to get_uf_affiliation
- Pass Role enum to get_uf_role
2019-01-26 20:40:07 +01:00
Philipp Hörist
80e5934bb5 Dont skip extension point
- If the contact has no avatar the tooltip extension point was not executed
2019-01-26 20:04:43 +01:00
Philipp Hörist
1a7d930fc4 Add blocking list dialog 2019-01-21 22:45:19 +01:00
Philipp Hörist
4670760668 Fix destroying a MUC
- Only close the tab if we initiated the destruction
2019-01-19 23:05:36 +01:00
Philipp Hörist
4f2f2195aa DiscoveryWindow: Fix bookmarking a group chat
Fixes #9537
2019-01-10 23:40:08 +01:00
Philipp Hörist
5b1f8bcc48 Make sure args are always str 2019-01-10 22:07:52 +01:00
Philipp Hörist
eebccaf07d Remove unused import 2019-01-06 00:05:12 +01:00
Philipp Hörist
55694b60bf Dont save Gajim settings in bookmarks
- Remove print status from bookmarks
- Remove minimize on join from bookmarks
- Add options to the groupchat menu for both settings

Fixes #9463
2019-01-06 00:00:42 +01:00
Philipp Hörist
7b558d692c MUC: Update menu after preference change
- Simplify action lookup
2019-01-05 19:43:11 +01:00
Philipp Hörist
19c45510a0 MUC: Fix printing status/show
- rename config values to something more appropriate
2019-01-05 19:17:34 +01:00
André Apitzsch
468d8bd472 Bump copyright year 2019-01-05 17:35:00 +01:00
Philipp Hörist
4bd14bc51d Use custom link handler in AboutDialog
Fixes #9525
2019-01-04 11:56:23 +01:00
Philipp Hörist
67318a49e5 Preferences: Add some default options
- Option to set default sync threshold
- Option to set default show join/leave
- Option to set default show status message change
2019-01-04 09:00:12 +01:00
Philipp Hörist
1399c41d59 Remove old dbus module
We now use Gio DBus
2019-01-03 09:06:49 +01:00
Philipp Hörist
371756c2a5 Remove unnecessary event classes 2019-01-03 09:06:44 +01:00
Philipp Hörist
9ae6654dd3 Add IQ and Gateway module 2019-01-03 00:19:23 +01:00
Philipp Hörist
0ad369dc97 Refactor MUC Presence
- Use nbxmpp properties
- Split into multiple events
- Add new options in the group chat menu for print settings
2018-12-30 20:06:59 +01:00
Philipp Hörist
8094cadbea Refactor MUC module
- nbxmpp provides now most of the MUC code
2018-12-27 22:13:35 +01:00
Philipp Hörist
c614ac69df Refactor voice approval 2018-12-19 23:24:44 +01:00
Philipp Hörist
b449567600 Make copying text work with different layouts
This makes it possible so text can be copied from the conversation textview with other keyboard layouts than english
2018-12-17 14:49:50 +01:00
Philipp Hörist
19b0e73f44 Fix error on key press
Fixes #9471
2018-12-16 01:01:44 +01:00
Philipp Hörist
760645f5c3 Improve MUC notifications
- Play sound for received messages, if notify for all messages is activated
- Send system notifications on MUC messages
- Make notify for all the default in private MUCs

Fixes #9383
2018-12-15 23:37:44 +01:00
Philipp Hörist
be420d44fc Implement XEP-0411 Bookmarks Conversion
If bookmarks conversion is announced by the server:

- Dont merge bookmarks
- Only push to either private storage or pubsub
2018-12-10 22:30:45 +01:00
Philipp Hörist
6e30d3af64 Adapt to nbxmpp API changes
- Remove support for OAUTH2
- Remove insecure password dialog, its impossible now that a user can connect plain by mistake
- Refactor requesting the password
- Add possibility to delete passwords
2018-12-09 18:48:44 +01:00
Philipp Hörist
d129f5559a DataFormWidget: Fix some UI issues
- Textview: Wrap text, set padding
- ListMultiTreeView: Align checkboxes to the right
- Add a adjustment element that sets default sizes on the columns
- Allow two new options 'form-width' and 'left-width' to customize sizes
2018-12-06 23:06:10 +01:00
Philipp Hörist
62253c804a Discover the bookmarks conversion server feature 2018-12-04 20:41:44 +01:00
Philipp Hörist
700666b820 Refactor send timeouts
Fixes #9459
2018-12-04 19:29:32 +01:00
Philipp Hörist
91ebe37359 AccountsWindow: Fix back button 2018-11-27 21:04:13 +01:00
Philipp Hörist
5fa56684c7 Adapt to nbxmpp API changes 2018-11-25 20:02:20 +01:00
Philipp Hörist
35b5a4d7a9 Satisfy pylint/mypy 2018-11-20 23:06:27 +01:00
Philipp Hörist
6327679461 Refactor set_unset_urgency_hint() 2018-11-20 22:59:02 +01:00
Philipp Hörist
15c3de2b4d Add option to show chatstate in roster
- Preferences: Add options for display in banner, tab, roster
- This makes the chatstate Plugin obsolete
2018-11-20 15:32:01 +01:00
Marcin Mielniczuk
9d8b56bc0f Refactor groupchat nick auto completion 2018-11-20 10:37:12 +01:00
Philipp Hörist
a00e8e3abb Dont use deprecated GLib.glib_version 2018-11-20 00:04:41 +01:00
Philipp Hörist
596f268f14 Fix missing default arg 2018-11-19 15:04:04 +01:00
Philipp Hörist
b98f0a3f76 Remove all usage of get_gtk_builder() 2018-11-18 22:24:34 +01:00
Philipp Hörist
dffa54f7d3 Refactor Windows Notifications
- Only show one notification at a time
- Fix pylint errors
2018-11-18 22:24:33 +01:00
Philipp Hörist
fedc00eb83 Move notify to gtk folder
- Rename notify to notification
- Move get_show_in_roster() to gtk.util
- Move get_show_in_systray() to gtk.util
2018-11-18 22:24:33 +01:00
Philipp Hörist
2ece342de2 Notification: Use load_icon() 2018-11-18 22:24:33 +01:00
Philipp Hörist
1179333fa0 Refactor loading user supplied iconsets 2018-11-18 22:24:33 +01:00