Daniel Gultsch
80e83f77a7
pulled translations from transifex
2020-01-08 19:05:12 +01:00
Daniel Gultsch
4e0f05f0a1
refactored xmpp uri parsing to expose all params
2020-01-08 10:51:18 +01:00
Daniel Gultsch
9ccb5fdb46
show edit display name in all flavors
2020-01-05 15:59:54 +01:00
Daniel Gultsch
83e1d0d0a5
make checkmark icon more material
2020-01-05 13:30:26 +01:00
Anjan Momi
0ddfc51d6c
show number of participants in a MUC
...
fixes #3447
2020-01-05 11:22:39 +01:00
Anjan Momi
0315b3b5c2
added openstreetmap copyright notice to maps
...
fixes #3588
2020-01-04 20:44:05 +01:00
Daniel Gultsch
42d69fd5e3
don’t crash when long pressing invalid geo-uris
2019-12-30 00:23:44 +01:00
Daniel Gultsch
af3c106dc8
reset file to normal message when attempting re-download after delete
...
fixes : #3604
2019-12-30 00:14:55 +01:00
Daniel Gultsch
2b375877eb
extend omemo auto expiry to 42 days (6 weeks)
...
closes #3584
2019-12-29 15:34:06 +01:00
Daniel Gultsch
ed4a73e1c7
persist file size across aborts
...
fixes #3601
2019-12-26 19:01:01 +01:00
Daniel Gultsch
a60e29d4f4
removed c style array
2019-12-26 17:36:16 +01:00
Daniel Gultsch
9bcef7a8e7
display '#' in generated channel avatars
2019-12-22 19:30:58 +01:00
Marc Schink
5117956648
Add missing space in debug output
2019-12-21 13:16:22 +01:00
Marc Schink
92cf221a2b
Implement download resumption for OMEMO encrypted files
2019-12-21 13:16:18 +01:00
Marc Schink
cae124d93f
createOutputStream(): allow to disable decryption
2019-12-20 19:17:55 +01:00
Daniel Gultsch
ef98a24bf6
add .heic to list of known mime types
...
fixes #3598
2019-12-12 18:54:46 +01:00
Daniel Gultsch
8d245fc754
don’t use secure delete when migrating edit column
2019-12-08 11:33:09 +01:00
Daniel Gultsch
00361e1e3d
make + in e164 pattern not optional
2019-12-06 11:16:33 +01:00
Daniel Gultsch
a3d639747a
fixups for last commit
2019-12-05 14:03:54 +01:00
Daniel Gultsch
8263fb73e9
jingle ibb: wait to receive ibb
...
previously we signalled succesfull file reception after receiving enough bytes on ibb;
however that causes us to race with the session-info file hash. now the recipient will wait for
<close/> and the sender will make sure to send the session-info before sending close.
closes #3500
2019-12-05 13:28:14 +01:00
Daniel Gultsch
8a5d658b2a
reduce cursor size back to 4m; now that the cause is fixed
2019-12-04 20:46:22 +01:00
Daniel Gultsch
cc79d8f6b3
properly restore LMC edits. switch to LMC v1.1
...
fixes #3566
closes #3592
2019-12-04 19:20:24 +01:00
Daniel Gultsch
b3c00d7163
use Base64.NO_WRAP instead of trim()
2019-12-04 17:35:06 +01:00
Daniel Gultsch
83520ad8e7
show jabber accounts from local address in Quicksy flavor
2019-12-02 13:50:58 +01:00
Daniel Gultsch
b135486bb4
prevent crash when deleting account on servers that don't support omemo
2019-12-02 13:21:18 +01:00
Daniel Gultsch
a99d7a7400
increase cursor window size on Android P when restoring messages
2019-12-02 13:20:53 +01:00
Daniel Gultsch
10c5d151d3
delete cached posh file after not being able to verify
2019-11-18 19:12:04 +01:00
Daniel Gultsch
eb943619af
do not crash when audio file reports zero length
2019-11-10 11:30:58 +01:00
Daniel Gultsch
97745bdfbe
prevent crash when counterpart in message was null
2019-11-10 11:30:31 +01:00
Daniel Gultsch
79e174743e
check if sender is in contact list before accepting jingle file
2019-11-09 22:58:02 +01:00
Daniel Gultsch
8d6fdfbde7
disable local server disco on Quicksy flavor
2019-11-09 10:20:58 +01:00
Daniel Gultsch
f6724e405e
allow jingle state transition for fallback after proxy failure
2019-11-09 09:31:35 +01:00
Daniel Gultsch
8e42d0d39c
make jingle state transitions less error prone
2019-11-08 22:27:14 +01:00
Daniel Gultsch
aa50f8da9d
move foreground setting and backup setting to main settings screen
2019-11-08 14:14:28 +01:00
Daniel Gultsch
7cc2478f5c
remove 'send indicate' setting and default to true
2019-11-08 12:23:06 +01:00
Daniel Gultsch
b320dea4d9
fixed spinning wheel when switching between local and jabber.network discovery
2019-11-08 12:18:39 +01:00
Daniel Gultsch
abc1cb5a89
remove 'indicate received' setting and default to true
2019-11-08 12:06:38 +01:00
Daniel Gultsch
7f25d91d33
do not validate port if hostname is empty. closes #3578
2019-11-03 22:03:46 +01:00
Daniel Gultsch
f7b7464a65
fixed links in privacy warning in channel discovery. fixes #3577
2019-11-02 17:00:23 +01:00
Daniel Gultsch
07786d4576
optionally search local muc rooms instead of jabber.network
2019-11-02 09:43:37 +01:00
Daniel Gultsch
adfbe59e57
mark silent notifications as local only
...
this will prevent silent notifications (for example those supressed by grace
period) showing up on my smart watch
2019-11-01 11:03:58 +01:00
Daniel Gultsch
ecad9cbe3c
catch security exception when passing on share intent that didn’t give us permission
2019-11-01 10:40:17 +01:00
Daniel Gultsch
2bed0dad12
attempt to fix some rare crashes
2019-10-26 13:23:27 +02:00
Daniel Gultsch
db3ca3f165
store message bodies up to 1MB
2019-10-23 22:34:43 +02:00
Daniel Gultsch
ab516299e7
catch all exceptions when closing closable
2019-10-23 22:34:25 +02:00
Daniel Gultsch
2f59d66fd1
catch dead system exception when creating error notification
2019-10-23 22:33:51 +02:00
Daniel Gultsch
9bea8074ab
fixed loading channel results from cache
2019-10-11 19:39:45 +02:00
Daniel Gultsch
e0b5010f24
don’t mark pgp encrypted files received from dino as deleted
2019-10-11 15:37:41 +02:00
Daniel Gultsch
ddffe198c6
change background if no results found in channel search. fixes #3559
2019-10-10 12:54:43 +02:00
Daniel Gultsch
2ab65609e4
always show 'contact details' on avatar long press in non-anon
2019-10-09 20:40:56 +02:00
Daniel Gultsch
8578af2b2b
flush on socks connection
2019-10-07 22:02:36 +02:00
Daniel Gultsch
799fffcb4a
Revert "pulled translations from transifex"
...
This reverts commit ea633f3d8f
.
2019-10-07 21:58:57 +02:00
Daniel Gultsch
79c3135b4d
properly guard bookmarks2 deletion
2019-10-07 13:49:39 +02:00
Daniel Gultsch
077e695f68
trigger omemo self healing for live msgs on server w/o MAM
2019-10-07 13:38:56 +02:00
Daniel Gultsch
4df8343b05
set autojoin=true after following invite
2019-10-07 09:51:03 +02:00
Daniel Gultsch
b96ef1e591
update ui after bookmark change
2019-10-07 09:37:12 +02:00
Daniel Gultsch
f530e395ca
bookmarks2. introduce #compat namespace
2019-10-07 09:37:12 +02:00
Daniel Gultsch
94c592f213
leave/join on bookmark modifactions
2019-10-07 09:37:12 +02:00
Daniel Gultsch
f26e0720c6
support for purge and delete
2019-10-07 09:37:12 +02:00
Daniel Gultsch
95bf66ca7d
Bookmarks2: support retraction
2019-10-07 09:37:12 +02:00
Daniel Gultsch
f1aa5f2cab
support for delete bookmarks2
2019-10-07 09:37:12 +02:00
Daniel Gultsch
6923b2898c
WIP Bookmarks 2 support
2019-10-07 09:37:12 +02:00
Daniel Gultsch
ea633f3d8f
pulled translations from transifex
2019-10-07 09:36:15 +02:00
ChaosKid42
af898b3bc4
LMC: find replacedMessages based on bare JID ( #3548 )
2019-10-05 20:18:42 +00:00
Daniel Gultsch
6155938623
show reason in error message
2019-10-05 22:14:38 +02:00
Daniel Gultsch
01fc78d2a5
disable context menu on failed jingle files. fixes #3556
2019-10-05 22:05:03 +02:00
Daniel Gultsch
d6835101b9
fixes for previous commit
2019-10-05 21:58:21 +02:00
Daniel Gultsch
7ce7a505a0
mark cancelled jingle ft as such on both sides
...
fixes #3554
2019-10-05 21:30:15 +02:00
Daniel Gultsch
6776603b90
fully read port in socks connection
...
incoming direct connections in receive mode wouldn’t clear the entire
destination from the input stream; thus adding a leading 0x00 to the file
fixes #3557
2019-10-03 20:47:31 +02:00
Daniel Gultsch
3d332f6f35
set shorter timeouts when using direct candidates
2019-10-03 09:37:01 +02:00
Marcin Mielniczuk
c7bbfaf061
Use a more meaningful name for old status ( #3552 )
2019-10-01 19:42:05 +00:00
Daniel Gultsch
322352ccbf
use new jabber.search.network endpoint
2019-10-01 12:42:12 +02:00
Daniel Gultsch
37b87e18ee
fix NPE when using channel search and DOMAIN_LOCK closes #3458
2019-10-01 12:24:57 +02:00
Daniel Gultsch
f8bd4284a5
report not-acceptable on jingle errors
2019-10-01 11:31:15 +02:00
Daniel Gultsch
d2d9bbe3da
improved jingle debugging
2019-09-29 13:32:45 +02:00
Daniel Gultsch
aef394c9f0
ability to open files from media preview. fixes #3521
2019-09-29 02:00:06 +02:00
Daniel Gultsch
618d892ae7
account deletion: only attempt to delete omemo id when connected
2019-09-29 01:40:40 +02:00
Daniel Gultsch
7b160a358e
do not add 'quote' when sharing own msgs
2019-09-28 23:56:29 +02:00
Daniel Gultsch
863ac7f2e5
show resource prompt when sending uncompressed video
2019-09-28 23:56:02 +02:00
Daniel Gultsch
9276eff1db
delete omemo keys when deleting account
2019-09-28 21:52:07 +02:00
Daniel Gultsch
11736ce48c
make list selection manager work with app compat
2019-09-26 23:47:55 +02:00
Daniel Gultsch
6c5b71440f
channel search result long press to show join dialog
2019-09-24 17:29:34 +02:00
Daniel Gultsch
75d35c357e
print emoji only status messages larger
2019-09-22 11:39:34 +02:00
Daniel Gultsch
426090c301
do not parse invites from type=groupchat
2019-09-22 10:00:09 +02:00
Daniel Gultsch
3820950408
show context menu in channel search to share uri
2019-09-21 10:51:05 +02:00
Daniel Gultsch
ed46d12115
close correct socket after faulty jingle socks connection
2019-09-20 10:00:57 +02:00
Daniel Gultsch
abe01f18f2
improved logging for messages waiting for join
2019-09-19 10:00:50 +02:00
Daniel Gultsch
af74c3604c
fixed R8 weirdness
2019-09-18 11:04:36 +02:00
Daniel Gultsch
02351dc0fb
fixed direct invites after adhoc
2019-09-18 09:55:18 +02:00
Daniel Gultsch
4c92d1b755
cancel spinning wheel on muclumbus error
2019-09-18 09:17:47 +02:00
Daniel Gultsch
2ec1d0cc09
warn when using _only_ ambiguous cyrillic
2019-09-16 15:13:53 +02:00
Daniel Gultsch
d963d95e30
fixed some minor NPE
2019-09-16 14:20:15 +02:00
Daniel Gultsch
ab57c59838
clear notifications when deleting account
2019-09-15 12:23:56 +02:00
Daniel Gultsch
4cd652884c
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
be4953b1e4
parse LMC 1.1
2019-09-13 16:38:15 +02:00
Daniel Gultsch
e395da18bf
when parsing omemo messages ensure we only find one element
2019-09-12 12:43:11 +02:00
Daniel Gultsch
a7c47a33fa
inherit language from parent message when finding localized body
2019-09-12 12:42:42 +02:00
Daniel Gultsch
9bf5fb98ac
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
a39fff5c8e
fixed 2 issues reported by new linter
2019-09-11 15:42:43 +02:00
Daniel Gultsch
8b69f8ae50
include ticker information in notification. fixes #3532
2019-09-08 17:58:15 +02:00
Daniel Gultsch
dd9777a6b7
do not include scope in ipv6 annoucment
2019-09-08 17:44:26 +02:00
Daniel Gultsch
9129c9acde
JET uses plain text file size
2019-09-06 13:11:37 +02:00
Daniel Gultsch
0e1c26c569
do not include link local in direct candidates
2019-09-05 13:17:45 +02:00
Daniel Gultsch
571c29f92a
make Tor connections work with direct TLS
2019-09-05 12:08:58 +02:00
Daniel Gultsch
7ec1b443ab
implemented support for for jingle encrypted transports (XEP-0396)
2019-09-04 16:14:01 +02:00
Daniel Gultsch
ff4d127b6f
use higher priority for proxy on receiving end
2019-09-02 08:51:50 +02:00
Daniel Gultsch
90e669313e
send fallback to ibb after proxy activation failed
2019-09-01 21:41:28 +02:00
Daniel Gultsch
10b1365264
also reply with direct connections on response
2019-09-01 20:42:07 +02:00
Daniel Gultsch
1c413edf06
bare minimum direct connections
2019-09-01 15:06:59 +02:00
Daniel Gultsch
783ed53d3a
order canditates by priority before attempting to connect
2019-09-01 11:34:36 +02:00
Daniel Gultsch
7d6bd540d9
version bump to 2.5.7 + changelog
2019-08-29 12:14:01 +02:00
Daniel Gultsch
29d0bed38b
when sharing text from Conversations to Conversations use quotes
2019-08-26 13:40:47 +02:00
Daniel Gultsch
219ae65ef7
more ibb fixes (include sid in transport-accept)
2019-08-22 14:47:30 +02:00
Daniel Gultsch
98eb49904c
fixed unlikely race between enabling carbons and discovering last MAM id
2019-08-22 09:57:39 +02:00
Daniel Gultsch
c84a89924e
include pgp sig and status in presence to non anon muc
2019-08-19 14:27:11 +02:00
Daniel Gultsch
f11adf4c02
do not put default nick into bookmark if none has been set before
2019-08-19 13:55:52 +02:00
Daniel Gultsch
fddd974412
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
daf7e6224f
fixed pgp decryption of automatically accepted jingle ft
2019-08-16 15:29:58 +02:00
Daniel Gultsch
d3ccba445a
increased reconnection interval after policy violation
2019-08-16 15:00:26 +02:00
Daniel Gultsch
0770914edf
refactored filename and extension parsing
2019-08-16 14:09:42 +02:00
Daniel Gultsch
c039ffcf35
clean up logging
2019-08-14 18:44:57 +02:00
Daniel Gultsch
195988398e
removed dead code in location activity
2019-08-14 17:04:45 +02:00
Daniel Gultsch
e735be323e
catch npe on participants context menu
2019-08-14 17:04:31 +02:00
Daniel Gultsch
6e1394ab40
make config flag for leave before join
2019-08-14 12:04:27 +02:00
Daniel Gultsch
ed95dd64ad
create empty disco result on error to fire advance stream features event
2019-08-13 21:18:32 +02:00
Daniel Gultsch
8ac042418b
fixes #3514
2019-08-11 16:54:00 +02:00
Daniel Gultsch
011bdd8ef6
fixed send_multiple share intent with empty extras. fixes #3512
2019-08-05 21:32:20 +02:00
Daniel Gultsch
238df77a1e
catch IllegalArgumentException when reading backup file
2019-07-25 17:01:43 +02:00
Daniel Gultsch
f597fc46da
implement time out for waiting on voice recording
2019-07-23 17:31:56 +02:00
Daniel Gultsch
a4665d4657
made domain verifier case insensitive. fixes #3495
2019-07-20 17:51:37 +02:00
Daniel Gultsch
c87e43eb92
put initial xmpp uri into signup intent
2019-07-20 15:58:05 +02:00
Daniel Gultsch
c1589d76b5
resetToWaiting should include http uploaded files
2019-07-20 12:15:06 +02:00
Daniel Gultsch
3837ec8122
do not include DNS servers from networks know to be inactive
...
* we still include DNS servers from VPNs because of edge cases where the XMPP server is hosted in the VPN
* on older Android versions we don’t know if a network is active or not (activeNetwork == null)
fixes #3465
2019-07-18 11:24:33 +02:00
Daniel Gultsch
b68851b719
create share button in backup done notification
2019-07-15 19:11:00 +02:00
Daniel Gultsch
97598c63dc
split on first dot when using domain instead of black listed local part
2019-07-15 19:09:53 +02:00
Daniel Gultsch
bc3e5f1dd4
muc message corrections only compare bare jid true counterpart
...
during live messages we only store the bare real jid; on muc catch up we might get the full jid
for that reason we only compare bare jids
2019-07-14 17:58:31 +02:00
Daniel Gultsch
719b35e431
prefer attachment in share intent if there is one
2019-07-14 16:39:09 +02:00
Daniel Gultsch
7e93c1021b
handle blocking and unblocking of full jids
2019-07-10 17:58:48 +02:00
Daniel Gultsch
8138eb0346
use more default values in LocationActivity
...
fixes #3475
2019-07-04 18:17:16 +02:00
Daniel Gultsch
98c4e9056f
use helper method to close socket
2019-07-04 10:12:08 +02:00
Daniel Gultsch
feba9a71ee
code clean up
2019-07-02 11:10:21 +02:00
Daniel Gultsch
8c526de0af
disable muc push on archive instead of leave
...
leave can be triggered on swipe and doesn’t mean we don’t want pushes
2019-07-01 14:35:00 +02:00
Daniel Gultsch
4f0214b477
check if activity is not null before using it to paint send button
2019-07-01 10:17:29 +02:00
Daniel Gultsch
7ec8f7952f
migrate copy ond write list to synchronized hashset for pending mucs
2019-06-30 21:57:37 +02:00
Daniel Gultsch
9f08a32ffb
include remote server errors in errors that should trigger a self ping
2019-06-30 20:08:28 +02:00
Daniel Gultsch
0ecdb43be6
rate limit muc pings / joins. never run two pings at same time
2019-06-30 19:54:07 +02:00
Daniel Gultsch
49224335fc
attempt to unregister when receiving push for channel no longer joined
...
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
2019-06-26 17:40:12 +02:00
Daniel Gultsch
7809af9b57
implement FCM push for group chats
2019-06-25 18:15:51 +02:00
Daniel Gultsch
e467fe341e
implement client support for muc push
...
Staying connected to a MUC room hosted on a remote server can be challenging.
If a server reboots it will usually send a shut down notification to all
participants. However even if a client knows that a server was shut down it
doesn’t know when it comes up again. In some corner cases that shut down
notification might not even be delivered successfully leaving the client in a
state where it thinks it is connected but it really isn’t.
The possible work around implemented in this commit is to register the clients
full JID (user@domain.tld/Conversations.r4nd) as an App Server according to
XEP-0357 with the room. (Conversations checks for the push:0 namespace on the
room.)
After cycling through a reboot the first message send to a room will trigger
pubsub notifications to each registered full JID. This event will be used to
trigger a XEP-0410 ping and if necessary a subsequent rejoin of the MUC.
If the resource has become unavailable during down time of the MUC server the
user’s server will respond with an IQ error which in turn leads to the MUC
server disabling that push target.
Leaving a MUC will send a `disable` command. If sending that disable command
failed for some reason (network outage) and the client receives a pubsub
notification for a room it is no longer joined in it will respond with an
item-not-found IQ error which also disables subsequent pushes from the server.
Note: We 0410-ping before a join to avoid unnecessary full joins which can be
quite costly. Further client side optimazations will also surpress pings when
a ping is already in flight to further save traffic.
2019-06-24 18:16:06 +02:00
Daniel Gultsch
b6d059ed89
ping muc after receiving not-acceptable error
2019-06-18 18:40:16 +02:00