Daniel Gultsch
0fc191d004
migrate hasInternetConnection() to new api
...
Thank you to @ailicic for figuring out the new API.
Closes #4050
2021-03-29 10:58:15 +02:00
Daniel Gultsch
ff756647a9
clear dns cache on network switch
2021-03-23 21:03:58 +01:00
Daniel Gultsch
4ac64f3a3b
clean up code for posh cache
2021-03-22 15:15:35 +01:00
Daniel Gultsch
8b90c1c498
port POSH code to OkHttp
2021-03-22 14:32:31 +01:00
Daniel Gultsch
739d20428a
optimize imports
2021-03-21 21:39:04 +01:00
Daniel Gultsch
aaac8296b3
only overwrite body in text messages
2021-03-19 19:51:13 +01:00
Daniel Gultsch
e217551a82
migrate to OkHttp instead of HttpUrlConnection
...
OkHttp gives us more fine grained control over the HTTP library and frees us from any platform bugs
2021-03-19 14:57:20 +01:00
Daniel Gultsch
b09a1432a3
Stanza.getErrorCondation only ever needs the tag name
2021-03-18 11:35:41 +01:00
Daniel Gultsch
8764d11cce
kill pending queries when archiving conversation
2021-03-16 10:22:52 +01:00
Daniel Gultsch
bf25b24967
modify away when locked behaviour to locked || screen off
...
this new behaviour still takes care of not going online when quickly
checking for the time but it also includes systems that don’t have a
lock screen or incorrectly report being unlocked.
2021-03-13 10:52:06 +01:00
Daniel Gultsch
0fa06d65b5
overwrite body for plaintext group chat messages only
2021-03-07 09:59:09 +01:00
Daniel Gultsch
e947a3f808
modify boyy on muc reflection
2021-03-06 12:43:59 +01:00
Daniel Gultsch
4a175f915d
version bump to 2.9.8-beta
2021-03-04 09:25:20 +01:00
Daniel Gultsch
9450d49b0b
do not vibrate when in DND mode
2021-02-24 10:35:33 +01:00
Daniel Gultsch
24f2f52512
limit http upload / download to 4 parallel connections
2021-02-22 09:24:41 +01:00
Daniel Gultsch
0812bae1ab
do not run alpha check on jpegs
2021-02-20 10:08:43 +01:00
Daniel Gultsch
6bfe16f044
replace away when screen off with away when locked
...
fixes #3978
2021-02-19 15:59:56 +01:00
Daniel Gultsch
53da64b7e2
do not attempt to play 'none' ringtone
...
trying to play 'none' ringtone resulted in the default ring tone being played
2021-02-19 15:31:01 +01:00
Daniel Gultsch
ebb38d7d75
consume volume down event
2021-02-18 22:16:28 +01:00
Daniel Gultsch
484f633180
let Conversations (not Android) play ringtone and vibration
...
fixes #3972 fixes #3801 fixes #3931
2021-02-18 20:55:31 +01:00
Daniel Gultsch
149224a073
do not deduplicate disco queries
...
Conversations used to deduplicate disco queries based on their hash.
However that relies on the first query to go through (device to actually
respond) and to respond properly (hash matches).
Creating a proper retry behaviour for this is actually quite challanging.
(which one would you try next, how long do you wait?)
2021-02-17 18:14:18 +01:00
Daniel Gultsch
db447f845e
resend session proposal on rebind
2021-02-12 11:36:44 +01:00
Daniel Gultsch
6cab0ad496
make rtp proposal tracked by SM. fixes #3983
2021-02-12 10:35:13 +01:00
mimi89999
d51b4380d7
Add variable app name in res strings
...
Closes #3988
2021-02-10 11:35:49 +00:00
maxim432
156c4da2b3
Fix couple of leaks
2021-01-30 17:56:54 -08:00
Daniel Gultsch
2155a50875
do not compress images with alpha channels
2021-01-29 21:25:00 +01:00
Daniel Gultsch
9c9a953281
pluralize x_unread_conversations string
2021-01-23 11:25:22 +01:00
Daniel Gultsch
8ce7bfb95e
automated code clean up
2021-01-23 09:25:34 +01:00
Daniel Gultsch
e711b3d294
remember last rtp capability
2021-01-22 08:24:19 +01:00
Daniel Gultsch
eea484af01
move SMS receiver into its own BroadcastReceiver
2021-01-20 08:14:36 +01:00
Daniel Gultsch
26a4598f3c
automatically receive Quicksy SMS. fixes #3962
...
requires new version of QuicksyServer
2021-01-19 15:45:43 +01:00
Ferdinand Pöll
453ca7c0ed
Migrate from Android Support Library to AndroidX
...
Unignored gradle.properties since androidX requires additions there
See also https://developer.android.com/jetpack/androidx/migrate
2021-01-18 20:49:35 +01:00
Daniel Gultsch
bfccfba00e
fix in call notification being shown twice
2021-01-15 13:03:54 +01:00
Daniel Gultsch
5b48b4027e
code clean up
2021-01-15 10:45:03 +01:00
Daniel Gultsch
372ddbfb49
Revert "offline presences aborts session proposals. fixes #3943 "
...
This reverts commit f23016c967
.
2021-01-06 09:03:42 +01:00
Daniel Gultsch
f23016c967
offline presences aborts session proposals. fixes #3943
2020-12-22 17:50:26 +01:00
Daniel Gultsch
d1490673bb
work around race condition after opening easy invite dialog
2020-12-11 11:29:23 +01:00
Daniel Gultsch
f584179f2f
store avatars in cache folder
2020-12-10 19:05:04 +01:00
Daniel Gultsch
303e205276
if file extension doesn’t exist. try to guess from content type. fixes #3939
2020-12-06 19:22:36 +01:00
Daniel Gultsch
00e1a93014
fixed typo in easy invites request code
2020-12-01 22:39:56 +01:00
Daniel Gultsch
1f392a688d
initial (untested) support for easy onboarding invites
2020-12-01 20:31:30 +01:00
Daniel Gultsch
c7ec6a9dae
let media scanner scan backup file. fixes #3913
...
note that the ROMs I tested this on don’t require scanning for it
to appear on MTP. However it certainly don’t hurt either.
2020-11-15 10:43:21 +01:00
Daniel Gultsch
73dac680e5
show notification if message failed to deliver. closes #3540
2020-09-01 14:04:38 +02:00
Daniel Gultsch
c48499253b
set content description for all avatars
2020-08-31 13:05:10 +02:00
Daniel Gultsch
35af8894d2
search individual conversations. fixes #3243
2020-08-29 08:16:08 +02:00
Daniel Gultsch
d158eeaf72
terminate jingle call when regular call starts
2020-08-24 12:47:54 +02:00
Daniel Gultsch
91e94db747
extend isBusyState to check phone state as well
2020-08-24 09:51:26 +02:00
Daniel Gultsch
f3362ebde5
add start/install orbot to error notification if applicable. fixes #3846
2020-08-19 15:29:25 +02:00
Daniel Gultsch
70c10fd0de
listen to orbot events instead of using intent result to reconnect account
2020-08-19 13:57:33 +02:00
Daniel Gultsch
f5f9075da2
FileObserver: start monitoring new directories when they are created
2020-07-30 12:55:19 +02:00