1
0
Fork 1
Commit graph

5957 commits

Author SHA1 Message Date
Daniel Gultsch
9480d5c888 improved logging for messages waiting for join 2019-09-19 10:00:50 +02:00
Daniel Gultsch
4582fb0a52 fixed R8 weirdness 2019-09-18 11:04:36 +02:00
Daniel Gultsch
c6f785495a fixed direct invites after adhoc 2019-09-18 09:55:18 +02:00
Daniel Gultsch
ce25f4201a cancel spinning wheel on muclumbus error 2019-09-18 09:17:47 +02:00
Daniel Gultsch
5de344ace1 warn when using _only_ ambiguous cyrillic 2019-09-16 15:13:53 +02:00
Daniel Gultsch
f894f775ca fixed some minor NPE 2019-09-16 14:20:15 +02:00
Daniel Gultsch
1ae28e2299 clear notifications when deleting account 2019-09-15 12:23:56 +02:00
Daniel Gultsch
0134cdeb83 do not finish or repair sessions for untrusted senders
finishing (sending a key transport message in response to pre key message) as
well as reparing sessions will leak resource and availability and might in
certain situations in group chat leak the Jabber ID.

Therefor we disable that. Leaking resource might not be considered harmful by
a lot of people however we have always doing similar things with receipts.
2019-09-15 11:49:58 +02:00
Daniel Gultsch
781867136b parse LMC 1.1 2019-09-13 16:38:15 +02:00
Daniel Gultsch
071e9e6bb9 when parsing omemo messages ensure we only find one element 2019-09-12 12:43:11 +02:00
Daniel Gultsch
04d851c2f4 inherit language from parent message when finding localized body 2019-09-12 12:42:42 +02:00
Daniel Gultsch
651856e464 show language in message bubble if multiple language variants were received
XML and by inheritence XMPP has the feature of transmitting multiple language
variants for the same content. This can be really useful if, for example, you
are talking to an automated system. A chat bot could greet you in your own
language.

On the wire this will usually look like this:

```xml
<message to="you">
  <body>Good morning</body>
  <body xml:lang="de">Guten Morgen</body>
</message>
```

However receiving such a message in a group chat can be very confusing and
potentially dangerous if the sender puts conflicting information in there and
different people get shown different strings.

Disabeling support for localization entirely isn’t an ideal solution as on
principle it is still a good feature; and other clients might still show a
localization even if Conversations would always show the default language.

So instead Conversations now shows the displayed language in a corner of the
message bubble if more than one translation has been received.

If multiple languages are received Conversations will attempt to find one in
the language the operating system is set to. If no such translation can be
found it will attempt to display the English string.

If English can not be found either (for example a message that only has ru and
fr on a phone that is set to de) it will display what ever language came first.

Furthermore Conversations will discard (not show at all) messages with with
multiple bodies of the same language. (This is considered an invalid message)

The lanuage tag will not be shown if Conversations received a single body in
a language not understood by the user. (For example operating system set to
'de' and message received with one body in 'ru' will just display that body as
usual.)

As a guide line to the user: If you are reading a message where it is important
that this message is not interpreted differently by different people (like a
vote (+1 / -1) in a chat room) make sure it has *no* language tag.
2019-09-12 10:12:51 +02:00
Daniel Gultsch
8b82391901 pulled translations from transifex 2019-09-12 10:09:28 +02:00
Daniel Gultsch
4c6e07b148 fixed 2 issues reported by new linter 2019-09-11 15:42:43 +02:00
Daniel Gultsch
b355510205 bumped gradle version 2019-09-11 15:42:16 +02:00
Daniel Gultsch
898336a593 version bump to 2.5.8 + changelog 2019-09-10 13:08:09 +02:00
Daniel Gultsch
c6112caccc pulled translations from transifex 2019-09-09 09:43:10 +02:00
Daniel Gultsch
b5fea58ef9 include ticker information in notification. fixes #3532 2019-09-08 17:58:15 +02:00
Daniel Gultsch
d54de49841 do not include scope in ipv6 annoucment 2019-09-08 17:44:26 +02:00
Daniel Gultsch
fd0d229cfe JET uses plain text file size 2019-09-06 13:11:37 +02:00
Daniel Gultsch
582f778522 do not include link local in direct candidates 2019-09-05 13:17:45 +02:00
Daniel Gultsch
34e733e8d9 make Tor connections work with direct TLS 2019-09-05 12:08:58 +02:00
Daniel Gultsch
5cf6e43ff3 implemented support for for jingle encrypted transports (XEP-0396) 2019-09-04 16:14:01 +02:00
Daniel Gultsch
bda9158757 use higher priority for proxy on receiving end 2019-09-02 08:51:50 +02:00
Daniel Gultsch
0f767b4612 send fallback to ibb after proxy activation failed 2019-09-01 21:41:28 +02:00
Daniel Gultsch
7abde1eedd also reply with direct connections on response 2019-09-01 20:42:07 +02:00
Daniel Gultsch
f410aba633 bare minimum direct connections 2019-09-01 15:06:59 +02:00
Daniel Gultsch
2871b23877 order canditates by priority before attempting to connect 2019-09-01 11:34:36 +02:00
Daniel Gultsch
2edb060b67 version bump to 2.5.7 + changelog 2019-08-29 12:14:01 +02:00
Daniel Gultsch
bc2bb45a00 fix russian localization (#3526) 2019-08-29 07:48:34 +00:00
Daniel Gultsch
62e0afe7ee pulled translations from transifex 2019-08-29 09:48:13 +02:00
Daniel Gultsch
f98b130e8b revert zxing library to 3.3.3 2019-08-29 09:46:33 +02:00
Daniel Gultsch
403bf9baf8 when sharing text from Conversations to Conversations use quotes 2019-08-26 13:40:47 +02:00
Andrey Sokolov
b1bc7ab2ed fix russian localization 2019-08-25 12:46:09 +03:00
Daniel Gultsch
acef236a6e more ibb fixes (include sid in transport-accept) 2019-08-22 14:47:30 +02:00
Daniel Gultsch
9c7980f2b5 pulled translations from transifex 2019-08-22 10:01:02 +02:00
Daniel Gultsch
6c3f7e186a fixed unlikely race between enabling carbons and discovering last MAM id 2019-08-22 09:57:39 +02:00
Daniel Gultsch
fcea684933 version bump to 2.5.6 + changelog 2019-08-19 14:48:10 +02:00
Daniel Gultsch
cce74b8dc6 include pgp sig and status in presence to non anon muc 2019-08-19 14:27:11 +02:00
Daniel Gultsch
bcfd6091a1 do not put default nick into bookmark if none has been set before 2019-08-19 13:55:52 +02:00
Daniel Gultsch
ca55ff67be pulled translations from transifex 2019-08-18 13:12:02 +02:00
Daniel Gultsch
bd3362fc10 do not put version info into disco
This will reduce traffic by limiting the variety of different caps version hashes.
It might also improve privacy by not leaking fdroid vs playstore vs self build information
2019-08-18 13:03:58 +02:00
Daniel Gultsch
2484455a05 fixed pgp decryption of automatically accepted jingle ft 2019-08-16 15:29:58 +02:00
Daniel Gultsch
dc791060b9 increased reconnection interval after policy violation 2019-08-16 15:00:26 +02:00
Daniel Gultsch
91fad757a5 pulled translations from transifex 2019-08-16 14:12:13 +02:00
Daniel Gultsch
d758666afc refactored filename and extension parsing 2019-08-16 14:09:42 +02:00
Daniel Gultsch
29c2496602 clean up logging 2019-08-14 18:44:57 +02:00
Daniel Gultsch
0b2606fbfb removed dead code in location activity 2019-08-14 17:04:45 +02:00
Daniel Gultsch
9f73b1f38c catch npe on participants context menu 2019-08-14 17:04:31 +02:00
Daniel Gultsch
b771863743 make config flag for leave before join 2019-08-14 12:04:27 +02:00