Commit graph

8409 commits

Author SHA1 Message Date
Damir Jelić
91d28658fc crypto: Correctly decode the byte array when importing keys 2021-04-19 18:04:11 +02:00
Damir Jelić
0afdcb35f1 crypto: Clean up some log lines 2021-04-14 12:46:29 +02:00
Damir Jelić
2805772d0a crypto: Notify the rest of the code about received room keys 2021-04-14 12:16:46 +02:00
Damir Jelić
3ba29b4ea9 crypto: Prepare outgoing to-device requests to be sent out 2021-04-14 12:16:09 +02:00
Damir Jelić
5b761ef7d1 crypto: Document the rust Device struct 2021-04-14 12:15:47 +02:00
Damir Jelić
aebfef8fa9 crypto: Remove a unused method 2021-04-14 12:15:30 +02:00
Damir Jelić
7d67c79d29 crypto: Use the key import progress listener on the rust side 2021-04-14 12:14:52 +02:00
Damir Jelić
543a638e87 crypto: Forward some more errors from the rust side to the kotlin side 2021-04-12 15:03:28 +02:00
Damir Jelić
0d708bc35a rust: Update our deps 2021-04-12 15:02:47 +02:00
Damir Jelić
e9e3d129ba crypto: Send out some of our requests in parallel 2021-04-09 19:10:25 +02:00
Damir Jelić
99477914df crypto: Remove the higher level Device since it's unlikely we'll be using it 2021-04-09 14:47:59 +02:00
Damir Jelić
9296cab4fc crypto: Expose more device data from the rust side 2021-04-09 13:53:55 +02:00
Damir Jelić
188d2d57c0 crypto: Use a concurrent hashmap for the live devices update logic 2021-04-09 13:53:31 +02:00
Damir Jelić
74a1c226a4 crypto: Introduce some locks for some of our e2ee operations 2021-04-09 12:42:22 +02:00
Damir Jelić
8692f05e34 crypto: Connect the room key discarding logic 2021-04-09 12:35:13 +02:00
Damir Jelić
427eb5e249 Merge remote-tracking branch 'upstream/develop' into rust 2021-04-09 09:47:00 +02:00
Damir Jelić
5253f9708c crypto: Fix a crash when we access the devices before the olmMachine is set up
The crypto service is fully initialized only after the first sync but EA
seems to access live devices before that. This results in a crash since
we now use the olm machine to access devices.
2021-04-08 15:55:38 +02:00
Damir Jelić
edfd1b2fe0 crypto: Get rid of the DeviceKeysManager 2021-04-08 15:55:10 +02:00
Damir Jelić
08d0787cc9 crypto: More docs 2021-04-08 11:18:48 +02:00
Benoit Marty
3b6234a9a2
Merge pull request #3133 from vector-im/feature/bma/wl_fixes
Weblate fixes
2021-04-07 19:11:16 +02:00
Benoit Marty
b423d5da4c typo 2021-04-07 19:00:02 +02:00
Benoit Marty
e7608469ca Import SAS strings 2021-04-07 18:42:52 +02:00
Benoit Marty
eef6d92b89
Merge pull request #3129 from vector-im/feature/bma/dn_iteration
Empty room name small iteration
2021-04-07 18:41:08 +02:00
Benoit Marty
e61a9e75e8
Merge pull request #3055 from vector-im/feature/bma/get_event
Get event
2021-04-07 18:38:17 +02:00
Benoit Marty
47aeadef7c Add configuration for new Irish language 2021-04-07 18:34:54 +02:00
Benoit Marty
fc202437e8 Fix lint issues 2021-04-07 18:31:46 +02:00
Benoit Marty
ebabb33e79
Merge pull request #3132 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-04-07 18:23:24 +02:00
Weblate
eff560f8f0 Merge branch 'origin/develop' into Weblate. 2021-04-07 15:37:02 +00:00
Danial Behzadi
5971edee14 Translated using Weblate (Persian)
Currently translated at 100.0% (13 of 13 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2021-04-07 15:36:56 +00:00
Nikita Epifanov
57d94c5494 Translated using Weblate (Russian)
Currently translated at 100.0% (13 of 13 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/ru/
2021-04-07 15:36:55 +00:00
Samu Voutilainen
5a988d6f4a Translated using Weblate (Finnish)
Currently translated at 100.0% (13 of 13 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fi/
2021-04-07 15:36:55 +00:00
ozzii
3efd35e27a Translated using Weblate (Serbian)
Currently translated at 28.1% (666 of 2362 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sr/
2021-04-07 15:36:54 +00:00
Nikita Epifanov
e9838f6db1 Translated using Weblate (Russian)
Currently translated at 99.4% (2350 of 2362 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-04-07 15:36:51 +00:00
Daniel Løvbrøtte Olsen
cc1d52171c Translated using Weblate (Norwegian Bokmål)
Currently translated at 62.9% (1486 of 2362 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-04-07 15:36:47 +00:00
Magnus
3250f3bc0e Translated using Weblate (Norwegian Bokmål)
Currently translated at 62.9% (1486 of 2362 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-04-07 15:36:47 +00:00
Samu Voutilainen
39c0c5401f Translated using Weblate (Finnish)
Currently translated at 79.2% (1873 of 2362 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2021-04-07 15:36:47 +00:00
Benoit Marty
7309c1066c Move WifiDetector to the app side
And protect the call to getEvent()
2021-04-07 17:35:46 +02:00
Benoit Marty
dead57b9fe Cleanup 2021-04-07 17:35:46 +02:00
Benoit Marty
b89a258fdf FastLane: Only is Wifi is detected 2021-04-07 17:35:46 +02:00
Benoit Marty
9a124f7630 Done TODO 2021-04-07 17:35:46 +02:00
Benoit Marty
c46f7fed5f Avoid code duplication 2021-04-07 17:35:46 +02:00
Benoit Marty
3a1b8bc33d FastLane: handle push rules 2021-04-07 17:35:46 +02:00
Benoit Marty
f0f66cbd0e Add comment 2021-04-07 17:35:46 +02:00
Benoit Marty
4a0a6e9f01 FastLane: Ignore message edition 2021-04-07 17:35:46 +02:00
Benoit Marty
7f7f90f89e ktlint 2021-04-07 17:35:46 +02:00
Benoit Marty
96153fe92a Get Event after a Push for a faster notification display in some conditions 2021-04-07 17:35:46 +02:00
Benoit Marty
af023669ba Implement FirstThrottler, to gain 200 ms for first refresh 2021-04-07 17:35:25 +02:00
Damir Jelić
6d05f5b993 crypto: Rename newCrypto to OlmMachine.kt 2021-04-07 15:41:27 +02:00
Benoit Marty
0693ce13e4
Merge pull request #3128 from vector-im/feature/bma/various_fixes
Various fixes before release 1.1.4
2021-04-07 15:32:13 +02:00
Benoit Marty
e811c53c44 Improve "was" fallback for Empty rooms. 2021-04-07 15:24:00 +02:00