Christian Schneppe
092beba1ba
set Messenger identity as userAgent for RichPreview and ChannelDiscovery
2019-09-12 20:42:35 +02:00
Christian Schneppe
88574e39d2
when parsing omemo messages ensure we only find one element
2019-09-12 19:46:20 +02:00
Christian Schneppe
8857f9341c
inherit language from parent message when finding localized body
2019-09-12 19:44:51 +02:00
Christian Schneppe
85b8ec7702
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.
Disabling 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 we now show the displayed language in a corner of the
message bubble if more than one translation has been received.
If multiple languages are received we 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 we will discard (not show at all) messages with with
multiple bodies of the same language. (This is considered an invalid message)
The language tag will not be shown if we receive 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 19:44:01 +02:00
Christian Schneppe
0abffde5ef
fixed 2 issues reported by new linter
2019-09-12 19:24:16 +02:00
Christian Schneppe
f7da662e6a
make some more activities to start as single task
2019-09-11 20:27:49 +02:00
Christian Schneppe
bc272651e2
introduce automatic theme based on the systems theme
2019-09-11 20:27:07 +02:00
Christian Schneppe
911b537f34
include user into quote message
2019-09-11 19:18:56 +02:00
Christian Schneppe
41f36bd816
add 1080p as video resolution and set default to 720p
2019-09-09 21:38:37 +02:00
Christian Schneppe
3334ab7d0a
introduce new file transfer status
2019-09-09 21:13:06 +02:00
Christian Schneppe
9da5429893
update libs and CHANGELOG
2019-09-09 20:46:06 +02:00
Christian Schneppe
c9a81b53b3
do not include scope in ipv6 annoucment
2019-09-09 20:18:38 +02:00
Christian Schneppe
ea4b999d8a
include ticker information in notification
2019-09-09 20:07:13 +02:00
Christian Schneppe
1584df8ac7
fix permission errors
2019-09-09 19:44:26 +02:00
Christian Schneppe
8427f377ea
catch exception in updater
2019-09-09 19:44:13 +02:00
Christian Schneppe
5606b32db7
version 2.2.9 + changes
2019-09-08 09:39:57 +02:00
Christian Schneppe
7aaca90e41
fix crash during file existing check
2019-09-08 09:39:45 +02:00
Christian Schneppe
0559e801fa
version 2.2.8 + changes
2019-09-08 00:04:39 +02:00
Christian Schneppe
fce79f08c1
improve webpreviews during offline times
2019-09-07 23:58:56 +02:00
Christian Schneppe
41aecb003d
send multiple downloads and uploads into queue
2019-09-07 23:55:48 +02:00
Christian Schneppe
e93057cfce
Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger
2019-09-07 21:39:21 +02:00
Christian Schneppe
46232857fc
catch exceptions in SerialSingleThreadExecutor
2019-09-07 21:39:09 +02:00
Christian Schneppe
1b58f476c9
New Crowdin translations ( #384 )
...
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Russian)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Spanish)
* New translations strings.xml (Italian)
* New translations strings.xml (German)
* New translations strings.xml (Russian)
* New translations strings.xml (German)
* New translations strings.xml (Spanish)
* New translations strings.xml (Portuguese)
* New translations strings.xml (Polish)
* New translations strings.xml (Italian)
* New translations strings.xml (French)
* New translations strings.xml (Dutch)
* New translations strings.xml (Chinese Traditional)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Bulgarian)
* New translations strings.xml (Catalan)
* New translations strings.xml (German)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Spanish)
2019-09-07 14:52:33 +02:00
Christian Schneppe
079777d9dd
update gradle
2019-09-06 22:56:32 +02:00
Christian Schneppe
e07828271d
shorten restore_warning
2019-09-06 22:40:16 +02:00
Christian Schneppe
361eec24a9
JET uses plain text file size
2019-09-06 22:12:41 +02:00
Christian Schneppe
1322031176
do not include link local in direct candidates
2019-09-06 22:11:04 +02:00
Christian Schneppe
75548eafa4
make Tor connections work with direct TLS
2019-09-06 22:07:20 +02:00
Christian Schneppe
c7629a6093
implemented support for for jingle encrypted transports (XEP-0396)
2019-09-06 22:01:42 +02:00
Christian Schneppe
f8a94ec52e
deleted wrong to jid
...
fixes #374
2019-09-06 21:51:30 +02:00
Christian Schneppe
b33eaff4f4
check for orphaned files
2019-09-06 21:49:09 +02:00
Christian Schneppe
a2ff79a4c3
fix versionCode
2019-09-03 20:59:01 +02:00
Christian Schneppe
8e854ba29d
version 2.2.8 beta (2019-09-03) + changes
2019-09-03 20:33:31 +02:00
Christian Schneppe
21ecf54e37
get images from google photos
2019-09-03 20:32:01 +02:00
Christian Schneppe
be82ac5633
fix some crashes
2019-09-03 20:31:32 +02:00
Christian Schneppe
4aa24e84c4
use higher priority for proxy on receiving end
2019-09-03 19:59:51 +02:00
Christian Schneppe
9cd6fa5097
send fallback to ibb after proxy activation failed
2019-09-03 19:57:29 +02:00
Christian Schneppe
f36ff9640d
also reply with direct connections on response
2019-09-03 19:56:00 +02:00
Christian Schneppe
71e4bcf9cb
bare minimum direct connections
2019-09-03 19:50:42 +02:00
Christian Schneppe
edcfdb974d
order canditates by priority before attempting to connect
2019-09-03 19:43:29 +02:00
Christian Schneppe
ae2a4ed495
fix strings
2019-09-03 19:33:34 +02:00
Christian Schneppe
7da9909586
fix rotation issues in MediaViewerActivity
2019-08-31 21:55:36 +02:00
Christian Schneppe
e612506be3
when sharing text from PAM to PAM use quotes
2019-08-31 15:50:13 +02:00
Christian Schneppe
506b092821
more ibb fixes (include sid in transport-accept)
2019-08-31 15:47:29 +02:00
Christian Schneppe
987744bb25
fixed unlikely race between enabling carbons and discovering last MAM id
2019-08-31 15:44:48 +02:00
Christian Schneppe
cce36fcbb7
include pgp sig and status in presence to non anon muc
2019-08-31 15:43:20 +02:00
Christian Schneppe
24ca2a88fb
do not put default nick into bookmark if none has been set before
2019-08-31 15:41:38 +02:00
Christian Schneppe
a1ade22308
fixed pgp decryption of automatically accepted jingle ft
2019-08-31 15:39:31 +02:00
Christian Schneppe
4323b7de5a
increased reconnection interval after policy violation
2019-08-31 15:35:03 +02:00
Christian Schneppe
240addee71
refactored filename and extension parsing
2019-08-31 15:34:17 +02:00