Commit graph

6791 commits

Author SHA1 Message Date
Christian Schneppe
1d3cf6410d move metadata to fastlane 2021-04-12 18:39:30 +02:00
Daniel Gultsch
dd8cde4600 properly error out if upload fails. fixes #4052
(cherry picked from commit 202bde46ed8629442db3bd56596c5560270af508)
2021-04-12 18:23:54 +02:00
Christian Schneppe
d43d2f7f9f tidy up 2021-04-12 18:16:31 +02:00
Christian Schneppe
4a3693f558 change user-agent to android's default one 2021-04-12 18:12:58 +02:00
Christian Schneppe
f7921f1744 fix youtube replacement for web previews 2021-04-12 18:12:18 +02:00
Christian Schneppe
a172008c4e 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
27fc1da576 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
60c4099ded use ToastCompat everywhere 2021-04-10 21:26:01 +02:00
Christian Schneppe
7c30f789bf add try-catch for location activitys 2021-04-10 21:24:49 +02:00
Christian Schneppe
7156fc5657 fix try-catch for cleanAllOldNotificationChannels 2021-04-10 21:10:27 +02:00
Christian Schneppe
db8bff7685 Don't try to get individual notifications if conversation = null 2021-04-10 21:07:10 +02:00
Daniel Gultsch
6daf9b874d when receiving out-of-order session-init in terminal state do not move to terminal again
fixes #4049

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

Closes #4050

(cherry picked from commit 0fc191d0040e02fd809e4a634f77784b50ebd236)
2021-04-10 12:20:04 +02:00
Daniel Gultsch
206a28b4dd log track class in onAddTrack
(cherry picked from commit 30c9e7399e0188a80c23e09edaf782fc651c364d)
2021-04-10 12:20:01 +02:00
Daniel Gultsch
c5f1dcd2ab don’t show video call button if no camera is available
(cherry picked from commit 08f27ddcf840385d3a02264e4782cecbe246212d)
2021-04-10 12:19:37 +02:00
Daniel Gultsch
90dc63c669 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 1822a71c2a80ce31dac1b8a4df25acf012171b43)
2021-04-10 12:19:25 +02:00
Daniel Gultsch
352929cacc catch security exception when reading file
(cherry picked from commit 77f448692cd752e1d54b45cbb69024ae2bbc6a77)
2021-04-10 12:16:32 +02:00
Daniel Gultsch
43f72152c7 clear dns cache on network switch
(cherry picked from commit ff756647a96055e19397ef77cbf3ae5c5b3f1b7a)
2021-04-10 12:15:30 +02:00
Daniel Gultsch
5971877dea disable omemo by default for *.covid.monal.im domains
(cherry picked from commit 9a7fc3d9b8a001e80097cb7762a738c71281a2e1)
2021-04-10 12:15:14 +02:00
Daniel Gultsch
13671f9a98 remove logging from needsUploading()
(cherry picked from commit aad34783ad018327ad3ca43e1adda7728a769048)
2021-04-10 12:14:28 +02:00
Daniel Gultsch
d8b2d3ba0c use http proxy below android 7.1
(cherry picked from commit 914ea9c398853b0b3da7df68bd55274ea5f74db0)
2021-04-10 12:14:13 +02:00
Daniel Gultsch
dae4c05d3f show popup dialog when backup has been started. fixes #4031
(cherry picked from commit 02b16063c68b235bc8e207fb7c59cc59e76a8347)
2021-04-10 12:14:00 +02:00
Christian Schneppe
1a44ad5b4b make concurrent up-/downloads and progressbar working again 2021-04-10 12:10:59 +02:00
Daniel Gultsch
8eaea3e9f8 clean up code for posh cache
(cherry picked from commit 4ac64f3a3bf66819342d47d44203ebd5e806b508)
2021-04-10 00:09:08 +02:00
Daniel Gultsch
a18f8bb113 port POSH code to OkHttp
(cherry picked from commit 8b90c1c498f711357133eedf66c7060dc19ee48e)
2021-04-10 00:09:04 +02:00
Daniel Gultsch
2b18efc6f8 remove unused method
(cherry picked from commit 70fc08314f82f1b6fea23780e47d85c44e9d4297)
2021-04-10 00:09:00 +02:00
Daniel Gultsch
705d7a5adb use okhttp to fetch captcha
(cherry picked from commit ce7f59a76c474533af61f4a6c0c18e9e118bb491)
2021-04-10 00:08:48 +02:00
Daniel Gultsch
ea401f2dcc migrate redirection urls to HttpUrl
(cherry picked from commit 1cd95aefa66fb30890ebce8b9874eb36315d77ae)
2021-04-10 00:08:32 +02:00
Daniel Gultsch
a0048752a8 use settable futures for slot requester
(cherry picked from commit a6244d986a679f64555ab336cad13fbeeee9956d)
2021-04-10 00:05:13 +02:00
Daniel Gultsch
9d279ed18e disable extmap_allow_mixed by default
(cherry picked from commit 8ac97b0027373ae504361eca54defae6372d0ace)
2021-04-10 00:04:24 +02:00
Daniel Gultsch
5ec0eba38f fix 'checking file size' status display
(cherry picked from commit 72828c6c4e20a907826011adae4a622d6574ceed)
2021-04-10 00:03:49 +02:00
Daniel Gultsch
6caea181ed do not display toast for cancelled downloads
(cherry picked from commit 38ef69a926ec6d91f6c8b2ad6112e1ef75b9a2ff)
2021-04-10 00:03:44 +02:00
Daniel Gultsch
081469e171 only overwrite body in text messages
(cherry picked from commit aaac8296b324e422711e3c5fb315ab8ee81841b0)
2021-04-10 00:01:42 +02:00
Daniel Gultsch
e346c6bb60 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 e217551a8294dc44aa4acd9d0d5692285108c3a5)
2021-04-09 23:49:22 +02:00
Daniel Gultsch
8b6e933c5e WIP migrate HTTP Upload code to OkHttp 2021-04-09 23:13:31 +02:00
Daniel Gultsch
91792c4599 Stanza.getErrorCondation only ever needs the tag name
(cherry picked from commit b09a1432a347e9700ace8aa8fe729f53bfcfac80)
2021-04-09 23:08:41 +02:00
Daniel Gultsch
a2c0638eea parse extmap-allow-mixed
(cherry picked from commit 6f1b71970d4f519b7c99ece3bf099e18dc2cdd9a)
2021-04-09 23:08:27 +02:00
Daniel Gultsch
40618ab06e switch to unified plan
(cherry picked from commit 3baacf8862d22fe8b0a03d333d7c25cca1e28b63)
2021-04-09 23:08:21 +02:00
Daniel Gultsch
564566d094 complain if mLineIndex can not be found when receiving candidates
(cherry picked from commit 2681ad82e11d716510ba951181aa648d20671bfb)
2021-04-09 23:08:12 +02:00
Daniel Gultsch
18afcf3710 kill pending queries when archiving conversation
(cherry picked from commit 8764d11ccedf247adf825318545b9ccf39115824)
2021-04-09 23:08:06 +02:00
Daniel Gultsch
73086ae9a6 minor code clean up
(cherry picked from commit 3c60de54cb56a957383831596aee9c0ae0a88ba2)
2021-04-09 23:06:55 +02:00
Christian Schneppe
2f031a4ba6 fix memory calculation 2021-04-09 23:03:06 +02:00
Christian Schneppe
cea2ca594d 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
06dc244591 fix showing bmp files in MediaViewerActivity 2021-03-19 20:56:29 +01:00
Christian Schneppe
ff5c351ffa catch NPE while getting directory sizes and external storage usage 2021-03-18 17:05:34 +01:00
Christian Schneppe
f383c376b1 fix crash on creating/deleting bookmarks
fixes #564
2021-03-17 21:34:02 +01:00
Christian Schneppe
212e6fc1d8 add changelogs for fdroid 2021-03-15 19:43:55 +01:00
Christian Schneppe
0d68233733 don't overwrite body for files messages in group chats 2021-03-13 20:47:39 +01:00
Christian Schneppe
aab84b2842 small changes for file transfers 2021-03-13 14:48:49 +01:00