Commit graph

4697 commits

Author SHA1 Message Date
Stephen Paul Weber 9ae0475413
Show the name of the sender in search results (#4379)
Just like a MUC, search results lack the context to be sure who sent a message,
so show the name in the result item.
2022-09-14 17:13:17 +02:00
Daniel Gultsch c1abca35da copy bookmarks before passing them to other parts of the app for read
closes #4381
2022-09-14 12:49:18 +02:00
Daniel Gultsch d0efe6eae2 bump recording wait for write to 8s 2022-09-14 12:27:02 +02:00
Daniel Gultsch 6e53ab3694 allow invite only when muc is online. fixes #4218 2022-09-10 12:36:35 +02:00
Daniel Gultsch 82316d13b0 use weak reference to activity when using threads
fixes #4366
2022-09-09 19:06:45 +02:00
Daniel Gultsch a95d0fa8d3 use resolveActivityInfo to display nagivate to button
resolveActivity on the other hand only finds apps that are category_default

fixes #4375
2022-09-09 16:55:50 +02:00
Daniel Gultsch f7996a6c3c catch illegal state exception when copying file 2022-09-07 16:29:51 +02:00
Daniel Gultsch ecbfe33e8d support end-point channel binding as last choice option 2022-09-07 12:08:50 +02:00
Daniel Gultsch 018e0d9edf add (inactive) channel binding end-point code 2022-09-07 11:08:54 +02:00
Daniel Gultsch d4ec1eaf38 refactor processFailure and processChallange into methods 2022-09-07 10:31:11 +02:00
Daniel Gultsch e8bce17940 add scram-sha256 and 512 in their plus variants 2022-09-06 17:39:58 +02:00
Daniel Gultsch 789d1dc225 support tls-unique for TLSv1.2 2022-09-06 17:01:57 +02:00
Daniel Gultsch 6d3d9dfe26 support channel binding with tls-exporter 2022-09-06 16:43:51 +02:00
Daniel Gultsch 5da9f5b3a3 refactor ScramMechanism to support PLUS 2022-09-06 16:28:28 +02:00
Daniel Gultsch b78acb6fca extract channel binding types via XEP-0440 2022-09-06 14:53:12 +02:00
Daniel Gultsch a210568a9c refactor SASL choice into factory; remove unused TagWriter 2022-09-06 09:25:23 +02:00
Millesimus 562ffd2003 preserve new lines when quoting. fixes #3876 2022-09-05 12:19:17 +02:00
Daniel Gultsch 22f4129262 increase quoting depth to 2 2022-09-05 12:17:13 +02:00
Daniel Gultsch eee14a822a add todos 2022-09-05 11:07:25 +02:00
Daniel Gultsch e0bd1d168c do not attempt resume when already in smacks session 2022-09-04 09:28:00 +02:00
Daniel Gultsch 052c58f377 rudimentary bind 2 implementation 2022-09-03 20:17:29 +02:00
Daniel Gultsch e204457c31 show toast warning about unavailable calls when using tor
closes #4103
2022-09-03 15:51:15 +02:00
Daniel Gultsch eb49a7f5e5 fix crash in buggy connection manager. fixes #4368 2022-09-03 12:33:27 +02:00
Daniel Gultsch 00dd9a8058 remove support for sm:2 2022-09-03 12:16:06 +02:00
Daniel Gultsch cb1d7c69a1 remove comment 2022-09-03 11:05:27 +02:00
Daniel Gultsch 4f92ba880b process authorization id in case full jid changes 2022-08-30 09:31:06 +02:00
Daniel Gultsch 3fac7d4992 fix very rare NPE (race condition) 2022-08-30 08:21:32 +02:00
Daniel Gultsch 8f76084a43 add sm-failed processing 2022-08-29 19:44:39 +02:00
Daniel Gultsch 7ea4f64ce4 code clean up for resumed processing 2022-08-29 19:30:03 +02:00
Daniel Gultsch f6ab3dd068 support resume via sasl 2.0 2022-08-29 19:22:25 +02:00
Daniel Gultsch 928a16d31d abort on 'continue' - no client support 2022-08-29 18:53:34 +02:00
Daniel Gultsch 6202cbe26b minor code clean up for tag and element 2022-08-29 18:40:49 +02:00
Daniel Gultsch 5fc8ff899a support logging in via SASL 2 2022-08-29 17:09:52 +02:00
Daniel Gultsch a717917b3d explicitly search for namespaces when processing stream features 2022-08-29 15:09:53 +02:00
Daniel Gultsch b792563fad use non-custom missed called 2022-08-29 14:04:33 +02:00
Daniel Gultsch f8b9e15634 fixups for missed call notifications 2022-08-29 13:01:20 +02:00
Dmitry Markin a6b88ba9e9
Add missed call notifications
Co-authored-by: Daniel Gultsch <daniel@gultsch.de>
2022-08-29 12:41:35 +02:00
Daniel Gultsch e2612709af pulled translations from transifex 2022-08-25 19:26:18 +02:00
Daniel Gultsch e439c223ee add overflow menu action to delete own avatar 2022-08-25 19:22:40 +02:00
Daniel Gultsch ddd08bfe5f issue self ping + rejoin on muc status code 333 2022-08-25 17:12:39 +02:00
Daniel Gultsch d584ffee7d try to improve 'sync bookmarks' description 2022-08-25 07:54:01 +02:00
Daniel Gultsch 7b9cf7bb28 pulled translations from transifex 2022-08-22 11:33:16 +02:00
Daniel Gultsch e8736d5f1b bump guava library 2022-08-22 11:29:04 +02:00
Daniel Gultsch 8111460913 minor code clean up 2022-08-22 10:01:15 +02:00
Stephen Paul Weber 56a6b17e7e
Use the same mechanism for link copying and linkification (#4357)
Prevents copying something different from what was linked, such as in the
message "fine.gif https://example.com"
2022-08-22 09:50:26 +02:00
Daniel Gultsch 41d98da17d set immutable flags for backup notifications 2022-08-12 11:02:22 +02:00
Daniel Gultsch 4fbe2deffc skip empty uris on attach 2022-08-12 10:22:45 +02:00
Daniel Gultsch 7cc96e704e do not retrieve media attributes from encrypted files
fixes #4353
2022-08-12 09:58:35 +02:00
Daniel Gultsch 150f8313a0 make launch conversation and launch tor pending intents immutable 2022-08-11 14:31:27 +02:00
Daniel Gultsch 5a8d70a1f0 pulled translations from transifex 2022-08-11 13:27:25 +02:00
Daniel Gultsch e559b14729 pulled translations from transifex 2022-08-10 19:11:58 +02:00
Daniel Gultsch fe3433e427 do not accept empty credentials as ice-restart 2022-08-10 09:11:09 +02:00
Daniel Gultsch 508e1ac1bd add immutable flag to pending alarm intents 2022-08-09 19:43:10 +02:00
Licaon_Kter cc80a2a758 Fix typo 2022-08-09 17:27:50 +02:00
Daniel Gultsch b3a3f2b930 try to detect if a container contains video or audio
fixes #4321
2022-08-09 09:40:04 +02:00
Daniel Gultsch 5aeed63844 request bluetooth connect permission
fixes #4338
2022-08-08 21:08:32 +02:00
Daniel Gultsch 52ff6f446c add permission checks to appRTCBluetoothManager 2022-08-05 10:56:19 +02:00
Daniel Gultsch 50ba165746 bump targetSdk to 32 2022-08-05 10:52:00 +02:00
Daniel Gultsch d41020ccf3 ignore race condition after reject from notification
fixes #4351
fixes #4261
2022-08-05 10:46:15 +02:00
Daniel Gultsch 67f021426b remove null bytes from strings before creating sql statements in backup 2022-08-04 11:31:58 +02:00
Daniel Gultsch 62a379862e jingle rtp: improve logging and error reporting 2022-08-01 10:14:49 +02:00
Daniel Gultsch 78c3b1f527 pulled translations from transifex 2022-07-22 16:54:18 +02:00
Daniel Gultsch 8027b3be24 parse pep events only from bare jid 2022-07-22 10:39:18 +02:00
Daniel Gultsch dd30951dfb every device is 21+ now 2022-07-22 10:14:01 +02:00
Daniel Gultsch abfe1f1dbd do not show toast when activity is gone. fixes #4335 2022-07-09 14:46:51 +02:00
Daniel Gultsch e455ed4f1a fix orbot detection 2022-07-09 14:46:51 +02:00
Daniel Gultsch 2364d7c46d pulled translations from transifex 2022-07-09 14:46:51 +02:00
Licaon_Kter 4985105711 Here too
...but why was that function created elsewhere if here you just compare this?
2022-07-09 09:21:46 +02:00
Licaon_Kter b97e2deaa2 Show battery dialogue always 2022-07-09 09:21:46 +02:00
Daniel Gultsch d8fd59394c fix array out of bounds. fixes #4334 2022-07-01 15:54:56 +02:00
Daniel Gultsch 73c7d76bd6 add local only flag to foreground service 2022-07-01 15:54:55 +02:00
Daniel Gultsch 65daeff112 pulled translations from transifex 2022-07-01 15:54:55 +02:00
Stephen Paul Weber 84e08933f9 A Quicky user can be a stranger
At some point a refactor changed this check from checking that the quicksy
domain itself is talking to you, to checking that anyone using quicksy is
talking to you, which breaks the notifications from strangers setting for
quicksy users.
2022-06-30 09:30:55 +02:00
Daniel Gultsch d9fa535f00 pulled translations from transifex 2022-06-22 08:02:59 +02:00
Daniel Gultsch 42bd8e6d61 minor code clean up 2022-06-22 07:56:44 +02:00
Daniel Gultsch 17b9ca9dec use item id 'current' for nick as fallback as per XEP-0060 §12.20 2022-06-22 07:18:07 +02:00
Daniel Gultsch 30dff9ac05 pulled translations from transifex 2022-06-14 08:48:04 +02:00
Daniel Gultsch a9dd5a3c76 support sasl/temporary-auth-failure
if the server is unable to query the database throwing a temporary-auth-failure
might be more appropriate
2022-06-14 08:39:58 +02:00
Daniel Gultsch d5ac6e35fc bump agp 2022-05-13 08:28:06 +02:00
Daniel Gultsch 86bb3df8d4 pulled translations from transifex 2022-05-02 08:32:58 +02:00
Daniel Gultsch 85f06f1cd6 do not merge failed decryptions
fixes #4314
2022-05-02 08:29:54 +02:00
Daniel Gultsch 3274baee95 pulled translations from transifex 2022-04-21 17:11:55 +02:00
Daniel Gultsch 544b46ffe1 Revert "flush stanzas in batches"
This reverts commit 6bd552f6a3.

fixes #4313

This turned out to be a rather unnecessary optimization that might cause
problems with wake locks (the app is no longer awake after the 400ms timeout)
2022-04-21 17:05:25 +02:00
Daniel Gultsch d7637192e2 fix NPE during bookmark creation
closes #4312

fixes #4211

thank you @singpolyma
2022-04-21 17:03:26 +02:00
Daniel Gultsch eb9f6653ad null check axolotl service when getting trust 2022-04-08 15:55:16 +02:00
Daniel Gultsch bf8afe0396 check domain name against DNSName to avoid rare crashes 2022-04-08 15:54:53 +02:00
Daniel Gultsch ec02e8a198 work around platform bug when getting restrict background
fixes #4305
2022-04-07 10:47:25 +02:00
Daniel Gultsch 9f3e328f54 pulled translations from transifex 2022-04-07 08:05:12 +02:00
Daniel Gultsch 95e3a6769d retrieve uncompressed file size in HEAD request 2022-03-30 18:45:18 +02:00
Daniel Gultsch eadb1e127b disable knownFileSize on re-download for pgp encrypted files 2022-03-30 09:59:42 +02:00
Daniel Gultsch 09cf5feefa limit posh files to 10k 2022-03-30 09:25:05 +02:00
Daniel Gultsch 7e762eb799 ensure downloaded file does not exceed Content-Length reported by HEAD 2022-03-30 09:03:19 +02:00
Daniel Gultsch 36756fbd41 catch two rare exceptions to fix crash 2022-03-26 08:25:45 +01:00
Daniel Gultsch 8834bc5084 pulled translations from transifex 2022-03-24 17:53:32 +01:00
Daniel Gultsch fbf1cacae3 remove hint about yearly fee for server 2022-03-24 17:53:18 +01:00
Daniel Gultsch 7c6ab7febc fix ability to use GoogleMaps ShareLocationPlugin 2022-03-22 11:45:43 +01:00
Daniel Gultsch 89428b0ad3 pulled translations from transifex 2022-03-14 09:08:27 +01:00
Daniel Gultsch ed98860506 pulled translations from transifex 2022-03-13 07:37:41 +01:00
Daniel Gultsch 1969a23726 pulled translations from transifex 2022-03-11 15:24:10 +01:00
Daniel Gultsch 3c1550b208 show jid only for incoming calls during ringing 2022-03-10 18:40:30 +01:00
Stephen Paul Weber 78048bbd3d Enable WebRTC-BindUsingInterfaceName/Enabled/
This makes 464XLAT networks (such as T-Mobile LTE) work.

https://bugs.chromium.org/p/webrtc/issues/detail?id=10707
2022-03-10 16:29:00 +01:00
Daniel Gultsch 330980391c pulled translations from transifex 2022-03-10 16:14:26 +01:00
Daniel Gultsch 5c4eccec13 be smarter about what files can be deleted 2022-03-10 15:54:23 +01:00
Daniel Gultsch 56f01c29b9 allow deletion of all files 2022-03-10 12:39:43 +01:00
Daniel Gultsch ceceead505 show 'using account …' in incoming call screen 2022-03-07 13:10:57 +01:00
Daniel Gultsch 2f07fccfce show contact jid in call screen
closes #4071
2022-03-07 12:44:33 +01:00
Daniel Gultsch f95ed284b5 bump copyright year 2022-03-07 12:44:33 +01:00
Kim Alvefur aef5292567 Add handling of status code 333
This is used when something goes wrong with a MUC, e.g. a connection
error made the MUC kick you out. In this case you generally want to try
to rejoin.
2022-03-07 09:39:45 +01:00
Daniel Gultsch eb6ae5b03c increase default pw length 2022-03-07 09:18:35 +01:00
Daniel Gultsch 4a5e27130c pulled translations from transifex 2022-03-07 08:42:40 +01:00
Daniel Gultsch 372078629b fix ice candidate sending when different credentials are used 2022-02-25 17:26:36 +01:00
Daniel Gultsch 1f772df74f remove security check that ensures rtp connection was properly finished
this only causes race conditions
2022-02-25 16:24:16 +01:00
Daniel Gultsch d311e39569 code clean up 2022-02-25 14:44:46 +01:00
Daniel Gultsch 9b6a570939 bump agp 2022-02-24 12:41:32 +01:00
Daniel Gultsch be1fcfe4f9 store encrypted pgp files in private cache dir 2022-02-23 16:59:40 +01:00
Daniel Gultsch a3085fbf1f do not restart wakelock if activity is finishing 2022-02-23 15:57:29 +01:00
Daniel Gultsch 35c54f0ae9 delete pre lolipop weOwnFile() 2022-02-23 12:16:49 +01:00
Daniel Gultsch 48f8c1a6a0 use try with resources. remove unused methods 2022-02-23 11:37:48 +01:00
Daniel Gultsch ad493938a0 bump appcompat, migrate to emoji2 and get rid of emoji flavor 2022-02-23 10:37:03 +01:00
Daniel Gultsch 4129ca6af8 fix rare npe 2022-02-23 09:40:47 +01:00
Daniel Gultsch 0b470534f1 store recordings and documents in their respective folders 2022-02-23 09:40:38 +01:00
Daniel Gultsch c03a8b784f write photos to DCIM/Camera 2022-02-22 17:25:48 +01:00
Daniel Gultsch 282109db01 add openkeychain to queries 2022-02-22 17:24:03 +01:00
Daniel Gultsch 6fb465f91a don’t query packages before attaching something 2022-02-22 16:23:51 +01:00
Daniel Gultsch 2cc49e5ba6 bump targetSdk 2022-02-22 16:05:24 +01:00
Daniel Gultsch d6be6ddd18 use full file name for all new files 2022-02-22 16:05:02 +01:00
Daniel Gultsch 8abacd23e8 use new storage location for backup and recordings 2022-02-22 15:14:00 +01:00
Daniel Gultsch 60617618b8 rename method that expand filename 2022-02-22 12:29:40 +01:00
Daniel Gultsch 6bd552f6a3 flush stanzas in batches 2022-02-14 11:46:57 +01:00
Daniel Gultsch cdc239b040 code clean up in TagWriter 2022-02-14 10:27:12 +01:00
Millesimus 2553895300 Fix #4249. 2022-02-13 10:24:01 +01:00
Daniel Gultsch 12463911f1 allow verification of own omemo keys via uri 2022-02-13 10:22:31 +01:00
Daniel Gultsch d7f38a3e5a fix precondition for timeout handling 2022-02-12 10:19:54 +01:00
Daniel Gultsch f2a67f899b pulled translations from transifex 2022-02-09 12:17:29 +01:00
Daniel Gultsch b6442c0bd4 add Samsung S4 to hardware aec blacklist
fixes #4267
2022-01-18 11:30:23 +01:00
Daniel Gultsch eed5c5e743 add additional logging to image compression 2022-01-18 09:49:10 +01:00
Daniel Gultsch 666ca485db pulled translations from transifex 2022-01-13 20:58:47 +01:00
Daniel Gultsch 51db83d629 pulled translations from transifex 2022-01-08 11:14:29 +01:00
Daniel Gultsch db834a1f07 indicate call reconnect in notification 2021-11-19 12:26:11 +01:00
Daniel Gultsch f8a94161db don't play tone going from connect->reconnect->connect 2021-11-19 12:25:27 +01:00
Daniel Gultsch 5d526a77e3 include uncertainty into shared geo uri 2021-11-18 11:24:10 +01:00
Daniel Gultsch a508a81553 externalize rtc config generation into seperate method 2021-11-17 11:33:15 +01:00
Daniel Gultsch 61fb38cd84 clean up some error handling error ICE restarts 2021-11-17 10:49:16 +01:00
Daniel Gultsch 1bf2d5dd8f video calls: leave full screen mode during reconnect 2021-11-16 22:01:48 +01:00
Daniel Gultsch 0a18c8613f assume credentials are the same for all contents when restarting ICE 2021-11-16 17:08:34 +01:00
Daniel Gultsch abb671616c synchronize setDescription calls 2021-11-16 15:17:12 +01:00
Daniel Gultsch 297a843b9c use implicit rollback (needed to be enabled on libwebrtc) 2021-11-16 13:17:10 +01:00
Daniel Gultsch 0698fa0d8c store peer dtls setup for later use in ice restart 2021-11-16 11:21:11 +01:00
Daniel Gultsch 70b5d8d81a set proper peer dtls setup on ice restart received 2021-11-15 21:49:31 +01:00
Daniel Gultsch 0a3947b8e3 terminate with application failure when failing to apply ICE restart
This is fairly unlikely to happen in practice
2021-11-15 17:18:45 +01:00