Commit Graph

14573 Commits

Author SHA1 Message Date
Philipp Hörist 79dc0c49f1 Always send message delivery receipts requests
- We want to send requests also to offline contacts.
- The XEP is wide spread chances are high that a contact supports it.
- It gets really complicated, when we want to guess if a offline contact supports receipts
2017-05-01 19:23:31 +02:00
Philipp Hörist d346333d2a Drop some message from ourself
- 'received'-Carbons from ourself, because we either received
   the message directly or got a 'sent'-Carbon about it
-  Messages from our own full jid, this can happen when we send
   a Message to ourself and no other resource is online.
2017-05-01 19:08:19 +02:00
Philipp Hörist 33a584b8b0 Dont use message receipts in message to ourself 2017-05-01 19:08:11 +02:00
Philipp Hörist c49d13bcae Use BareJID when sending message to ourself 2017-05-01 17:58:55 +02:00
Philipp Hörist e02798dc19 Dont send chatstates to own resources 2017-05-01 17:52:19 +02:00
Philipp Hörist 2126d4304a Extend method to return our own full jid 2017-05-01 17:23:46 +02:00
Philipp Hörist 0eb2433c17 Fix regression from !85
Disabled accounts are not in gajim.connections, which leads to a
key error.
2017-05-01 16:08:02 +02:00
Philipp Hörist 9be4bb3ad8 Merge branch 'invite' into 'master'
Fix mediated groupchat invites

Closes #8603 and #8468

See merge request !92
2017-05-01 15:58:10 +02:00
Philipp Hörist 64ae063f9c Fix mediated groupchat invites
- Push Invitation and Decline event much earlier
- Refactor Logic to decide if mediated or not
  Ejabbered 17.03 does add a 'jabberconference' namespace into mediated invites which has broken our logic
- Dont add a groupchat contact on invitation, always add the inviter to the roster
2017-05-01 15:33:38 +02:00
Philipp Hörist d06ba96a89 Update dependency in features window
gir1.2-gupnpigd-1.0 is the correct python3/GTK3 dependency on Debian
2017-04-30 18:45:50 +02:00
Philipp Hörist 89f1e9820d Merge branch 'dbus' into 'master'
Port Network Watcher to Gio API

See merge request !88
2017-04-29 23:37:55 +02:00
Philipp Hörist d0357eaa29 Use different mnemonic
O is already used for the OK button
2017-04-29 21:09:58 +02:00
Philipp Hörist 6a4cbf06ec Fix Button labels 2017-04-29 20:58:35 +02:00
Philipp Hörist b6db6026be Fix typo 2017-04-29 20:39:58 +02:00
Philipp Hörist b94c827400 Merge branch 'fixibb' into 'master'
Fix IBB

Closes #8196

See merge request !90
2017-04-29 18:49:17 +02:00
Philipp Hörist 3fb12148b9 Remove not working proxys 2017-04-29 17:22:26 +02:00
Philipp Hörist 7cb7bcaae6 Refactor IBB Handlers
- Move handling of Data IQs into IBBIqHandler
- Call SendHandler with file_props
- Save last sent id in file_props.syn_id
- Remove some useless checks, now that we call SendHandler with file_props
- Send item-not-found error on invalid session id
2017-04-29 17:22:18 +02:00
Philipp Hörist 385d6c3081 On IBB cancel set correct 'to' attr 2017-04-29 16:58:41 +02:00
Philipp Hörist 3e592c980e Only make pause button active on pause-able transfers 2017-04-29 16:58:40 +02:00
Philipp Hörist 0d8c008764 Fix typo in event type 2017-04-29 16:58:40 +02:00
Philipp Hörist 2ede022422 Dont hash file on filetransfer error 2017-04-29 16:58:39 +02:00
Andrey Gursky 8c51eb72b9 finish jingle file transfer session for files without hash 2017-04-29 16:58:31 +02:00
Philipp Hörist 21700051f8 Read/Write file in binary mode 2017-04-29 16:12:41 +02:00
Philipp Hörist fde2ac731b Close IBB Stream correctly 2017-04-29 16:07:48 +02:00
Yann Leboulanger 3bc6173a11 Close IBB stream with correct SID. See #8555 2017-04-29 16:01:59 +02:00
Yann Leboulanger 1a3d60c637 check for errors when adding a transport contact. Fixes #8196 2017-04-29 16:01:31 +02:00
Philipp Hörist 1840ff235e Port Network Watcher to Gio API 2017-04-25 14:51:35 +02:00
Philipp Hörist fe3a5a4aee Make some methods public 2017-04-25 14:44:38 +02:00
Philipp Hörist 0f1d04e488 Fix path to logs.db in history manager
Logs.db is always at data_root, even if we set another config directory with -c
2017-04-25 01:36:10 +02:00
Philipp Hörist 575afb0837 Merge branch 'fixGetIcon' into 'master'
fix "Unable to load icon gajim" errors caused by !84

See merge request !87
2017-04-23 01:01:29 +02:00
André Apitzsch 7e4b257112 fix "Unable to load icon gajim" errors caused by !84 2017-04-23 00:30:19 +02:00
Yann Leboulanger 25f403863e Merge branch 'reverseDNS' into 'master'
use 'reverse DNS' convention for desktop and icon files

See merge request !84
2017-04-22 17:26:57 +02:00
Philipp Hörist 0b0812bb75 Start HistoryManager with config path argument
HistoryManager was not finding the Logs.db when Gajim was
used with the -c config path argument
2017-04-21 18:44:27 +02:00
Philipp Hörist 8e3e9b4d9d Merge branch 'zeroconf' into 'master'
fix python errors in client zeroconf

See merge request !82
2017-04-19 18:55:25 +02:00
Philipp Hörist 14091642c4 Merge branch 'change_password_fix' into 'master'
Disable button if password changing is not supported

See merge request !85
2017-04-19 18:54:20 +02:00
Marc Schink 4d8379f492 Disable button if password changing is not supported 2017-04-19 18:17:22 +02:00
Philipp Hörist c5aa507ec0 Remove timeout id after AvatarWindow is shown 2017-04-19 17:10:01 +02:00
Philipp Hörist 358d410d5e Get rid of cairo dependency 2017-04-19 16:58:16 +02:00
André Apitzsch 15d834025c use 'reverse DNS' convention for desktop and icon files
see https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s02.html
2017-04-18 21:19:15 +02:00
Philipp Hörist 86e29fb7f4 LegacyArchiving Event does not have a type 2017-04-18 18:58:06 +02:00
Philipp Hörist d7a6b6ab0b Register new MAM Events 2017-04-18 18:56:57 +02:00
Philipp Hörist 09512065d4 Fix wrong inclusion check 2017-04-18 18:26:06 +02:00
Philipp Hörist b42c21d3e0 Use new MAM Events and use chosen MAM namespace 2017-04-18 17:52:17 +02:00
Philipp Hörist 6b75f4ab35 Choose MAM namespace and save it 2017-04-18 17:50:15 +02:00
Philipp Hörist f8a028b553 Add/Modify Events to handle all MAM namespaces 2017-04-18 17:48:58 +02:00
Philipp Hörist 1d2320b0bb Add aesgcm to valid uri schemes 2017-04-15 12:02:44 +02:00
Philipp Hörist a1565040bd Merge branch 'muc-chatstate' into 'master'
Implement chatstate in MUC, as defined in XEP-0085 §5.5

See merge request !11
2017-04-14 18:39:08 +02:00
Emmanuel Gil Peyrot f6739730af Implement chatstate in MUC, as defined in XEP-0085 §5.5. 2017-04-14 16:58:04 +01:00
Philipp Hörist 78b562f7a5 Make PGP encoding configurable
python-gnupg uses latin1 as default encoding because GPG itself uses
latin1 as default.
We should not override this default with getpreferredencoding, because
getpreferredencoding maybe returns something else than what GPG is configured
on that system.

Example: On Windows
GPG is run in default mode with 'latin1'
getpreferredencoding returns 'cp1252'

The approach would be now to default to latin1 as it is GPGs default.
And if the User sets a different ecoding for GPG he has to set it in
Gajim aswell.
2017-04-12 22:50:02 +02:00
Philipp Hörist a2785ba396 Add version check for python-gnupg 2017-04-12 22:39:55 +02:00