Commit graph

4346 commits

Author SHA1 Message Date
Daniel Gultsch 3892015310
introduce setting to ignore invites from strangers 2024-04-22 12:49:27 +02:00
Daniel Gultsch d0945c35ee
add realme x50 to bad devices list
by now we probably have enough evidence that all realme devices
below Android 12 (or maybe 13) are broken

we just need to figure out how to properly put the entire vendor on
a list
2024-04-21 16:11:56 +02:00
Daniel Gultsch 538a714e29
fix formating for previous commit 2024-04-20 10:58:20 +02:00
Daniel Gultsch ed2e0ab73c
getting and setting audio devices on Android 14 when not integrated should go to fallback 2024-04-20 10:51:31 +02:00
Daniel Gultsch cfc22ba2af
stop linter from warning about feature check 2024-04-19 17:34:35 +02:00
Daniel Gultsch 027a4e139a
delay integrated audio routing on callee end until picked up 2024-04-19 10:01:23 +02:00
Daniel Gultsch 961e0bb025
use bold done all for displayed 2024-04-18 14:36:44 +02:00
Daniel Gultsch 1d4d2c6664
add vendor and android version to 'about' section
that way a screenshot of the settings is a one stop shop for maintaining our
broken device list
2024-04-18 10:10:21 +02:00
Daniel Gultsch d1552c9397
add more realme devices to broken call integration list 2024-04-18 10:10:21 +02:00
Daniel Gultsch c1193f059b
add Realme XT to list of broken devices 2024-04-17 16:05:53 +02:00
Daniel Gultsch 9cabc0262f
request READ_MEDIA_* permission when restoring backup on fdroid version 2024-04-17 14:58:44 +02:00
Daniel Gultsch 7088c1f507
delay legacy audio routing until after call has been accepted
fixes #249
2024-04-17 11:29:13 +02:00
Daniel Gultsch 9d01af239a
play ringtone through notification
in 484f633180 we switched from letting the notification play the ringtone and handle the vibration to doing it ourselves.

this had two reasons. The ringtone selector in the android notification settings was broken at times and we wanted to silence the notification when pressing volume down.

This commit essentially reverts that change. We fixed the ringtone selection by handling it internally in Conversations and simply recreating the entire channel. Silencing the notification can be achieved by re-posting it with onlyAlertOnce set to true (I guess we didn’t know that at the time)
2024-04-17 10:32:20 +02:00
Daniel Gultsch 244c29cd6f
start to maintain list of devices with broken call integration 2024-04-16 08:51:40 +02:00
Daniel Gultsch 960b20db3e
introduce 'large font' setting 2024-04-16 08:35:50 +02:00
Daniel Gultsch f75c061627
do not show captcha dialog when activity is gone 2024-04-16 08:34:33 +02:00
Daniel Gultsch ee57ba7fba
app: use static variables to refer to config settings 2024-04-15 18:49:27 +02:00
Daniel Gultsch 97eb7d4e48
persist 'cancelled' annotation on failed file transfer 2024-04-15 18:15:01 +02:00
Daniel Gultsch 3a489741e7
fix audio player time display + progress for long audio files 2024-04-15 18:11:22 +02:00
Daniel Gultsch e950d431bc
use internal location viewer for in text geo uris 2024-04-15 10:14:14 +02:00
Daniel Gultsch a3cc91dc11
replace FlowLayout with constraint layout 2024-04-15 10:14:14 +02:00
Daniel Gultsch 699b8723e0
make bubbles slightly distinct in non color mode 2024-04-15 10:14:14 +02:00
Daniel Gultsch 376374263c
do not show message status for RTP
we don’t track them well enough (we could though)
2024-04-15 10:14:14 +02:00
Daniel Gultsch b0bc2c2856
omit type of encryption from message hint 2024-04-15 10:14:14 +02:00
Daniel Gultsch d5ef06055f
refactor message status. use more icons 2024-04-15 10:14:13 +02:00
Daniel Gultsch b62f244c63
fix default value for colorful chat bubbles 2024-04-12 09:34:52 +02:00
Daniel Gultsch 13a879841f
fix cancelled p2p ft showing up as such 2024-04-12 08:38:46 +02:00
Daniel Gultsch 11d435f327
enable MDS support 2024-04-09 17:30:07 +02:00
Daniel Gultsch e8bdd5de7a
style dynamic tags 2024-04-09 11:09:14 +02:00
Daniel Gultsch 0ec46d1d34
trigger message deletion after toggling setting 2024-04-09 10:42:44 +02:00
Daniel Gultsch 38bff563ae
use slighter darker shades for send button in dark theme 2024-04-08 18:51:45 +02:00
Daniel Gultsch 32de58ce65
add require channel binding 2024-04-08 17:20:39 +02:00
Daniel Gultsch 359b386a6c
fix 'create backup' button 2024-04-08 16:07:37 +02:00
Daniel Gultsch b752508adb
remove autojoin setting 2024-04-08 15:32:52 +02:00
Daniel Gultsch ecf0e23144
remove quiet hours 2024-04-08 14:25:14 +02:00
Daniel Gultsch b7b4a78761
Merge branch '2.14.x' 2024-04-08 14:20:20 +02:00
Daniel Gultsch 96bf407bf0
fix rare crashes in call integration 2024-04-08 14:12:30 +02:00
Daniel Gultsch 5d1362f385
fix back button in AboutActivity 2024-04-08 10:37:20 +02:00
Daniel Gultsch 03ee84bf35
fix crash when toggling setting after rotation 2024-04-08 10:05:07 +02:00
Daniel Gultsch 67e01af5ef
flip sent/received bubble colors 2024-04-08 10:04:34 +02:00
Daniel Gultsch dbebb7feed
trigger endpoint renewal when up settings change 2024-04-08 08:20:08 +02:00
Daniel Gultsch e84d66874c
flip 'never send crash reports' to positive 2024-04-08 08:10:13 +02:00
Daniel Gultsch dc0a139392
collapse start chat button 2024-04-08 07:45:44 +02:00
Daniel Gultsch b30a88e7a5
make notification tone picker work 2024-04-07 20:35:01 +02:00
Daniel Gultsch 85771fc26c
redesign settings screen (WIP) 2024-04-07 20:05:43 +02:00
Daniel Gultsch ed332020fd
fix typos 2024-04-05 15:32:36 +02:00
Daniel Gultsch a2c44aac8a
use vector drawable for notification icon 2024-04-05 13:32:52 +02:00
Daniel Gultsch 347f995c21
use 'chat' and 'archive' instead of 'conversation' and 'close' 2024-04-05 07:53:19 +02:00
Daniel Gultsch 6e43248135
apply Material 3 theme to all activites 2024-04-04 11:38:27 +02:00
Daniel Gultsch c294a24f4e
add some call integration debug aids 2024-04-04 09:57:01 +02:00
Daniel Gultsch b90906b973
make RtpSessionActivity onNewIntent and onBackendConnected run through the same code 2024-04-03 20:51:48 +02:00
Daniel Gultsch ba1861f958
Merge branch '2.13.x' 2024-04-03 08:34:06 +02:00
Daniel Gultsch 0e9f4e5265
Channel discovery service / okttp needs bundled letsencrypt too 2024-04-03 08:33:21 +02:00
Daniel Gultsch f22d19f7d0
disable mds for bug fix release 2024-03-30 14:54:28 +01:00
Daniel Gultsch cb37321ecb
rtp session propsoal: fix race condition with very fast 'busy' or 'error' 2024-03-30 11:15:41 +01:00
Daniel Gultsch c527e76337
parse invalid jingle actions 2024-03-30 08:48:09 +01:00
Daniel Gultsch 14fb903522
use fake 'tel:0' address on Android 8 2024-03-29 21:22:53 +01:00
Daniel Gultsch 283f363088
use voice call stream to play connect sound 2024-03-29 06:55:24 +01:00
Daniel Gultsch 26dde5370a
use distinct notification id for video transcoder 2024-03-28 13:53:29 +01:00
Daniel Gultsch 378efe1a8a
do not crash when error notification comes after service has shut down 2024-03-27 14:44:17 +01:00
Daniel Gultsch fbfb6c803f
catch early exception in video transcoder 2024-03-27 14:43:34 +01:00
Daniel Gultsch 6b37b6377b
remember mds display state until after mam catchup 2024-03-27 14:11:20 +01:00
Daniel Gultsch dd73b01ab1
rudimentary XEP-0490 implementation 2024-03-27 10:30:14 +01:00
Daniel Gultsch f18ec53233
minor safeguard to ensure call integration ends 2024-03-25 10:58:20 +01:00
Daniel Gultsch 6b5fb6fee6
deliver session-initiate before integrating call
otherwise there could potentially be race conditions with
showIncomingCallUi being called before we have media information
2024-03-25 10:39:31 +01:00
Daniel Gultsch 21732237d4
add safeguards to ringtone playing twice 2024-03-25 08:50:44 +01:00
Daniel Gultsch 400cbd8eee
channel discovery screen code clean up 2024-03-20 07:26:20 +01:00
Daniel Gultsch 3e333eb972
catch exception when checking phone lock state 2024-03-19 18:00:12 +01:00
Daniel Gultsch 3d5d257707
fix system feature detection for call integration 2024-03-16 16:31:32 +01:00
Daniel Gultsch 72d194d8ff
treat delayed destruction call integration as busy 2024-03-16 16:31:32 +01:00
Daniel Gultsch a2c67a6e38
ensure that jingle ft transport is terminated 2024-03-12 19:01:39 +01:00
Daniel Gultsch 0f50f71176
prevent deletion of bookmark w/o also closing conversation 2024-03-12 09:22:26 +01:00
Daniel Gultsch 53029906bc
Merge branch '2.13.x' 2024-03-10 17:41:17 +01:00
Daniel Gultsch 9ad5b68d57
do not attempt unique/exporter channel binding on non conscrypt sockets 2024-03-10 17:40:41 +01:00
Daniel Gultsch e5cffa11be
fix stanza counting error after inline SM enable 2024-03-10 17:38:56 +01:00
Daniel Gultsch 5cca842e66
fix return to call 2024-03-07 13:37:40 +01:00
Daniel Gultsch 71763902f8
do not use call integration on devices w/o telephony support 2024-03-07 11:38:21 +01:00
Daniel Gultsch 20e1f54277
play ringback sound on android 6/7 2024-03-05 13:08:43 +01:00
kosyak cf889b3450 fix npe 2024-03-04 18:34:51 +01:00
Daniel Gultsch 29978a0f2a
null check SurfaceTextureHelper 2024-03-04 09:49:34 +01:00
Daniel Gultsch b9a19dc6c7
do not terminate jingle ft session twice (after iq timeout) 2024-03-04 09:49:34 +01:00
Daniel Gultsch 00f52226d8
execute all account state managments on ping thread 2024-03-04 09:49:33 +01:00
Daniel Gultsch 86b733e159
prevent receiving (as share with target) file URIs
as Element (Matrix client) demonstrated again file URIs are unnecessarily dangerous. On Android 7+ there is no good reason to process them anymore
2024-03-04 09:49:33 +01:00
p42ity e1a2d81294 Added Oukitel WP12 Pro and Volla Phone X to the list of AAC sensitive devices (truncated voice messages workaround) 2024-03-02 12:39:22 +01:00
kosyak c427596107 get rid of command blicks 2024-02-28 22:45:02 +01:00
kosyak 79c7a3748c improve swipe gesture 2024-02-28 22:44:24 +01:00
kosyak 7b239d5412 fix timeout 2024-02-28 22:43:48 +01:00
kosyak dd7a1c1bdb fix npe 2024-02-28 19:29:20 +01:00
kosyak 1726fc86e3 fix notifications fallback color 2024-02-28 19:24:30 +01:00
Daniel Gultsch 6f8d8b9330
log reason for SM resume failure 2024-02-28 12:01:18 +01:00
Daniel Gultsch bd2b9b414e
do not enforce main thread for getting audio devices
fixes #206
2024-02-23 18:02:16 +01:00
Daniel Gultsch f1abfbdf35
work around dead system exception when querying active network 2024-02-23 09:54:13 +01:00
Daniel Gultsch 7eaad9842c
remove mic availability check 2024-02-23 09:54:13 +01:00
Daniel Gultsch ca1d8b4d1b
fix race condition accessing rtpSender 2024-02-23 09:54:13 +01:00
Daniel Gultsch e416a6c4eb
maintain phone accounts only for enabled accounts 2024-02-23 09:54:12 +01:00
Daniel Gultsch a04dc6e4ad
show warning when call integration accounts exceed 10 2024-02-23 09:54:12 +01:00
Daniel Gultsch d2d76322b9
show speaker configuration during ACCEPTING 2024-02-23 09:54:12 +01:00
Daniel Gultsch 18dea352b0
send jmi finish alongside session terminate 2024-02-23 09:54:12 +01:00
Daniel Gultsch 21b8bf424a
skip automatic audio device selection when BT is available 2024-02-23 09:54:12 +01:00
Daniel Gultsch a78747eaa2
react to onSilence() and stop ringtone 2024-02-23 09:54:12 +01:00