Commit graph

6844 commits

Author SHA1 Message Date
Christian Schneppe
d4b7e27ef9 move metadata to fastlane 2021-04-12 18:39:30 +02:00
Daniel Gultsch
4df5eb1ef9 properly error out if upload fails. fixes #4052
(cherry picked from commit 202bde46ed)
2021-04-12 18:23:54 +02:00
Christian Schneppe
eed5ad685c tidy up 2021-04-12 18:16:31 +02:00
Christian Schneppe
0770bdfcb4 change user-agent to android's default one 2021-04-12 18:12:58 +02:00
Christian Schneppe
4e7a867e60 fix youtube replacement for web previews 2021-04-12 18:12:18 +02:00
Christian Schneppe
644aaeea20 show dialog while stopping voice recorder
partly fixes https://codeberg.org/kriztan/blabber.im/issues/532
2021-04-10 23:23:46 +02:00
Christian Schneppe
4307f66510 change audiofocus while playing voice messages
fixes https://codeberg.org/kriztan/blabber.im/issues/552
2021-04-10 22:15:37 +02:00
Christian Schneppe
29c37cd6be use ToastCompat everywhere 2021-04-10 21:26:01 +02:00
Christian Schneppe
6c299307bd add try-catch for location activitys 2021-04-10 21:24:49 +02:00
Christian Schneppe
fac47b3924 fix try-catch for cleanAllOldNotificationChannels 2021-04-10 21:10:27 +02:00
Christian Schneppe
acd18a6552 Don't try to get individual notifications if conversation = null 2021-04-10 21:07:10 +02:00
Daniel Gultsch
d806d5cd48 when receiving out-of-order session-init in terminal state do not move to terminal again
fixes #4049

(cherry picked from commit 9fc04c4b1e)
2021-04-10 12:20:18 +02:00
Daniel Gultsch
8c62aee3f2 fix HTTP up/download for users that dont trust system CAs
(cherry picked from commit 55b2f2656d)
2021-04-10 12:20:13 +02:00
Daniel Gultsch
c127c8b44d migrate hasInternetConnection() to new api
Thank you to @ailicic for figuring out the new API.

Closes #4050

(cherry picked from commit 0fc191d004)
2021-04-10 12:20:04 +02:00
Daniel Gultsch
cefcc7041b log track class in onAddTrack
(cherry picked from commit 30c9e7399e)
2021-04-10 12:20:01 +02:00
Daniel Gultsch
8058ee4369 don’t show video call button if no camera is available
(cherry picked from commit 08f27ddcf8)
2021-04-10 12:19:37 +02:00
Daniel Gultsch
94c3645058 Do not crash when receiving video call on device w/o camera
Upon accepting a video call on a device that can not establish a video track on
its own (for example by not having a camera), displaying the video enable/disable
button would fail. This commit defaults this button to disabled.

(cherry picked from commit 1822a71c2a)
2021-04-10 12:19:25 +02:00
Daniel Gultsch
6b08bff979 catch security exception when reading file
(cherry picked from commit 77f448692c)
2021-04-10 12:16:32 +02:00
Daniel Gultsch
953145be1b clear dns cache on network switch
(cherry picked from commit ff756647a9)
2021-04-10 12:15:30 +02:00
Daniel Gultsch
2181e2b105 disable omemo by default for *.covid.monal.im domains
(cherry picked from commit 9a7fc3d9b8)
2021-04-10 12:15:14 +02:00
Daniel Gultsch
d01645c05d remove logging from needsUploading()
(cherry picked from commit aad34783ad)
2021-04-10 12:14:28 +02:00
Daniel Gultsch
14ba8bbb2d use http proxy below android 7.1
(cherry picked from commit 914ea9c398)
2021-04-10 12:14:13 +02:00
Daniel Gultsch
9fd9fb52cc show popup dialog when backup has been started. fixes #4031
(cherry picked from commit 02b16063c6)
2021-04-10 12:14:00 +02:00
Christian Schneppe
17a9c99384 make concurrent up-/downloads and progressbar working again 2021-04-10 12:10:59 +02:00
Daniel Gultsch
f77aa5ec6b clean up code for posh cache
(cherry picked from commit 4ac64f3a3b)
2021-04-10 00:09:08 +02:00
Daniel Gultsch
c07120187c port POSH code to OkHttp
(cherry picked from commit 8b90c1c498)
2021-04-10 00:09:04 +02:00
Daniel Gultsch
cb8bd2c447 remove unused method
(cherry picked from commit 70fc08314f)
2021-04-10 00:09:00 +02:00
Daniel Gultsch
08f3a5b3e9 use okhttp to fetch captcha
(cherry picked from commit ce7f59a76c)
2021-04-10 00:08:48 +02:00
Daniel Gultsch
0aa112cf07 migrate redirection urls to HttpUrl
(cherry picked from commit 1cd95aefa6)
2021-04-10 00:08:32 +02:00
Daniel Gultsch
f3b5d672de use settable futures for slot requester
(cherry picked from commit a6244d986a)
2021-04-10 00:05:13 +02:00
Daniel Gultsch
bca2c71885 disable extmap_allow_mixed by default
(cherry picked from commit 8ac97b0027)
2021-04-10 00:04:24 +02:00
Daniel Gultsch
9102e016da fix 'checking file size' status display
(cherry picked from commit 72828c6c4e)
2021-04-10 00:03:49 +02:00
Daniel Gultsch
2b306418a2 do not display toast for cancelled downloads
(cherry picked from commit 38ef69a926)
2021-04-10 00:03:44 +02:00
Daniel Gultsch
857a77dcf9 only overwrite body in text messages
(cherry picked from commit aaac8296b3)
2021-04-10 00:01:42 +02:00
Daniel Gultsch
473317cac0 migrate to OkHttp instead of HttpUrlConnection
OkHttp gives us more fine grained control over the HTTP library and frees us from any platform bugs

(cherry picked from commit e217551a82)
2021-04-09 23:49:22 +02:00
Daniel Gultsch
6cc4468d53 WIP migrate HTTP Upload code to OkHttp 2021-04-09 23:13:31 +02:00
Daniel Gultsch
ab16d480e4 Stanza.getErrorCondation only ever needs the tag name
(cherry picked from commit b09a1432a3)
2021-04-09 23:08:41 +02:00
Daniel Gultsch
f09093af08 parse extmap-allow-mixed
(cherry picked from commit 6f1b71970d)
2021-04-09 23:08:27 +02:00
Daniel Gultsch
8b0efec1e4 switch to unified plan
(cherry picked from commit 3baacf8862)
2021-04-09 23:08:21 +02:00
Daniel Gultsch
968e268ce3 complain if mLineIndex can not be found when receiving candidates
(cherry picked from commit 2681ad82e1)
2021-04-09 23:08:12 +02:00
Daniel Gultsch
ac9f7c7210 kill pending queries when archiving conversation
(cherry picked from commit 8764d11cce)
2021-04-09 23:08:06 +02:00
Daniel Gultsch
2b5cb8e56b minor code clean up
(cherry picked from commit 3c60de54cb)
2021-04-09 23:06:55 +02:00
Christian Schneppe
426e769ef5 fix memory calculation 2021-04-09 23:03:06 +02:00
Christian Schneppe
623af792e9 fix youtube replacement and message merge separator
fixes https://codeberg.org/kriztan/blabber.im/issues/553
2021-04-09 22:58:29 +02:00
Christian Schneppe
fca15131bf fix showing bmp files in MediaViewerActivity 2021-03-19 20:56:29 +01:00
Christian Schneppe
af9f558838 catch NPE while getting directory sizes and external storage usage 2021-03-18 17:05:34 +01:00
Christian Schneppe
a9d67b7f88 fix crash on creating/deleting bookmarks
fixes #564
2021-03-17 21:34:02 +01:00
Christian Schneppe
c61617c1f4 add changelogs for fdroid 2021-03-15 19:43:55 +01:00
Christian Schneppe
9594adcfed don't overwrite body for files messages in group chats 2021-03-13 20:47:39 +01:00
Christian Schneppe
798f1944a8 small changes for file transfers 2021-03-13 14:48:49 +01:00