Commit graph

4823 commits

Author SHA1 Message Date
Daniel Gultsch 0dca7f8a5a
JMI: send 'ringing' and receipts only for contacts
fixes #110
2023-10-01 08:05:40 +02:00
Daniel Gultsch ac3ce93c56
fix stun url generation 2023-10-01 08:02:55 +02:00
Daniel Gultsch c9b80254e4
add more logging to unroutable jingle messages 2023-09-30 15:56:06 +02:00
Daniel Gultsch 860723810b
support per-app language settings 2023-09-30 10:02:22 +02:00
Daniel Gultsch 6660877bcf
jingle: trim media attribute values
Movim has trailing whitespace around some of their media attributes

<source ssrc="1892824964" xmlns="urn:xmpp:jingle:apps:rtp:ssma:0">
  <parameter name="msid" value="{a98821d7-b298-4130-925a-ff6c510734c0} {f45dfc5c-2fa7-42b4-85e5-935e786b3feb} " xmlns="urn:xmpp:jingle:apps:rtp:ssma:0"/>
  <parameter name="cname" value="{63b1042b-5cb5-4411-b2a5-bdff92ae45be}" xmlns="urn:xmpp:jingle:apps:rtp:ssma:0"/>
</source>

our WebRTC doesn’t like that. We trim the value even though this seems to be a Movim bug.
2023-09-30 07:55:08 +02:00
Daniel Gultsch 86f46ece83
revert back to AAC for voice messages
iOS can not do opus out of the box
2023-09-29 18:42:31 +02:00
ghose 503b04e8e0 Translated using Weblate (Galician)
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/gl/
2023-09-29 16:21:43 +00:00
Daniel Gultsch 05c79ff29d
version bump webrtc to m117 2023-09-29 16:19:01 +02:00
Daniel Gultsch 3e9c08a4aa
include date in backup file name
since `account.ceb` might have previously been created by a different application
(for example f-droid and user is on play now) or copied over via the file
manager Conversations might not have permission to write over an existing file.

we include the date so we always get a new file

fixes #105
2023-09-25 10:56:24 +02:00
Daniel Gultsch 2adff4a92c
catch rare instances of foreground service not allowed to start 2023-09-25 09:22:29 +02:00
hamburger1024 205472bcc7
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2023-09-24 12:53:09 +00:00
licaon-kter 1750811978
Translated using Weblate (Romanian)
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ro/
2023-09-24 12:53:09 +00:00
SomeTr 5eafc26392
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/uk/
2023-09-24 12:53:09 +00:00
Eryk Michalak bc4fb100fa
Translated using Weblate (Polish)
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/pl/
2023-09-24 12:53:09 +00:00
gallegonovato caec09ec7e
Translated using Weblate (Spanish)
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-09-24 12:53:09 +00:00
nautilusx 78298a2df3
Translated using Weblate (German)
Currently translated at 100.0% (968 of 968 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/de/
2023-09-24 12:53:09 +00:00
Daniel Gultsch 8ba90f266e
add explicit error message for outdated backup files 2023-09-20 17:00:04 +02:00
Daniel Gultsch b4c3334d7e
add a few TODOs wrt tie breaks 2023-09-14 14:39:32 +02:00
Daniel Gultsch fdd7f2926f
support 'ringing' jingle message 2023-09-14 11:22:19 +02:00
Daniel Gultsch 00ae1ca762
fix group chat shortcuts 2023-09-11 16:38:57 +02:00
Daniel Gultsch c6501a3ad4
fix UUIDv4 calculation 2023-09-08 14:19:18 +02:00
Stephen Paul Weber 11e6cb9693
Use conversation notifications
Allows for per-conversation priority and sound
2023-09-07 13:08:23 +02:00
botorfj 033bdfa58f Translated using Weblate (Turkish)
Currently translated at 97.9% (947 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/tr/
2023-09-06 11:48:26 +00:00
Nikita Karamov 24280959e3 Translated using Weblate (Russian)
Currently translated at 99.8% (966 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ru/
2023-09-06 11:48:26 +00:00
ghose a4e5ad8684 Translated using Weblate (Galician)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/gl/
2023-09-06 11:48:26 +00:00
SomeTr e3d8e54c93 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/uk/
2023-09-06 11:48:26 +00:00
gallegonovato 8de354e3cd Translated using Weblate (Spanish)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/es/
2023-09-06 11:48:26 +00:00
hamburger1024 f12d7ef78f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2023-09-06 11:48:26 +00:00
licaon-kter a3e4329259 Translated using Weblate (Romanian)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ro/
2023-09-06 11:48:26 +00:00
Eryk Michalak 4c679af736 Translated using Weblate (Polish)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/pl/
2023-09-06 11:48:26 +00:00
random_r 03dee0d8c2 Translated using Weblate (Italian)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/it/
2023-09-06 11:48:26 +00:00
ghose 4346609914 Translated using Weblate (Galician)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/gl/
2023-09-06 11:48:26 +00:00
nautilusx 088f88f4b0 Translated using Weblate (German)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/de/
2023-09-06 11:48:26 +00:00
SomeTr 2901275d43 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (967 of 967 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/uk/
2023-09-06 11:48:26 +00:00
Daniel Gultsch d5ae2f4b41
look at roomconfig_changesubject and roominfo_changesubject
fixes #90
2023-09-06 13:47:35 +02:00
Daniel Gultsch 1b05cbd665
use opus for voice messages on Android 10
recipients need at least Android 5 to play the message; however
Conversations has been Android 5+ for a while now
2023-08-20 07:59:45 +02:00
Daniel Gultsch 09f6343ced
Security: Introduce backup file format v2
This switches the SQL based backup format to something JSON based.

The SQL based format has always been prone to SQL injections that, for example, could delete other messages or preexisting accounts in the app. This hasn’t been a concern this far because why would anyone purposely try to restore a faulty backup? However the argument has been made that a user can be socially engineered to restore an exploited backup file.
Before version 2.12.8 a third party app could even trigger the restore process, leaving the backup password entry dialog the only hurdle.
On top of that it has been demonstrated that a backup file can be crafted in a way that puts preexisting credentials into a 'pending' message to an attacker ultimately leading to that information being leaked.

While destorying information has always been deemed an acceptable risk, leaking information is one step too far.

Starting with Conversations 2.12.9 Conversations will no longer be able to read v1 backup files. This means if you are restoring on a new device and you have a v1 backup file you must first install Conversations <= 2.12.8, restore the backup, and then upgrade to Conversations >= 2.12.9.

ceb2txt¹ has support for v2 backup files. Conceivably ceb2txt could be extended to convert between v1 and v2 file formats. (ceb2txt already recreates the database from v1 files; It is relatively straight forward to create v2 files from that database. Pull requests welcome.)

¹: https://github.com/iNPUTmice/ceb2txt/
2023-08-17 12:07:51 +02:00
Daniel Gultsch 9a662a7e55
disable opeing ceb files from file manager 2023-08-16 14:00:42 +02:00
SomeTr dc83eb9f42
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (966 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/uk/
2023-08-13 19:53:04 +00:00
0eoc 510f9d8019
Translated using Weblate (Russian)
Currently translated at 99.5% (962 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/ru/
2023-08-12 05:50:45 +00:00
hamburger1024 892b53090f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (966 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/zh_Hans/
2023-08-09 23:53:04 +00:00
SomeTr 0a973b6678 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (966 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/uk/
2023-08-08 08:40:21 +00:00
Daniel Gultsch b4a07d0093
remove channel discovery from Google Play build flavor 2023-08-08 10:39:36 +02:00
Daniel Gultsch 7a9f18f223
play tones as music when silent only on android 12+ 2023-08-08 09:04:26 +02:00
SomeTr 7c710e4c5d
Translated using Weblate (Ukrainian)
Currently translated at 99.7% (964 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/uk/
2023-08-04 05:53:03 +00:00
random_r adf96f5f6a
Translated using Weblate (Italian)
Currently translated at 100.0% (966 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/it/
2023-07-25 09:38:07 +00:00
Karma78 8d89c33da4
Translated using Weblate (Vietnamese)
Currently translated at 99.8% (965 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/vi/
2023-07-02 16:38:05 +00:00
Daniel Gultsch 12b34426fc
add ј to list 2023-06-29 09:56:49 +02:00
Daniel Gultsch d588e942e6
q is not cyrillic but ԛ and х are 2023-06-29 09:45:50 +02:00
tuongdai252 0de4939f7f Translated using Weblate (Vietnamese)
Currently translated at 99.8% (965 of 966 strings)

Translation: Conversations/Android App (shared)
Translate-URL: https://translate.codeberg.org/projects/conversations/android-app-shared/vi/
2023-06-27 15:03:49 +00:00