Commit graph

3827 commits

Author SHA1 Message Date
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
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
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 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 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 85f06f1cd6 do not merge failed decryptions
fixes #4314
2022-05-02 08:29:54 +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 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 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 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
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 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 6fb465f91a don’t query packages before attaching something 2022-02-22 16:23:51 +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