Damir Jelić
711e607fca
crypto: Improve the docs a bit
2021-04-20 14:34:54 +02:00
Damir Jelić
389273d56a
crypto: Rename the share_group_session method
2021-04-20 14:34:32 +02:00
Damir Jelić
09c0ca10e5
crypto: Enable the sending of outgoing to-device requests
2021-04-20 14:33:43 +02:00
Damir Jelić
ed902fc42a
crypto: Improve the startup log line
2021-04-20 14:33:01 +02:00
Damir Jelić
8bfb7a6e0c
crypto: Connect the room key requesting to the rust side
2021-04-20 13:29:52 +02:00
Damir Jelić
0db07011b1
crypto: Return our own device from the store as well
...
The Kotlin side doesn't differentiate between our own device and other
devices of our own user while the Rust side does, create and return our
own device when it's requested from the store using trusted data.
2021-04-19 19:25:56 +02:00
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ć
aebfef8fa9
crypto: Remove a unused method
2021-04-14 12:15:30 +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ć
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
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
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
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
Damir Jelić
6d05f5b993
crypto: Rename newCrypto to OlmMachine.kt
2021-04-07 15:41:27 +02:00
Benoit Marty
923715aeb3
Add method for name fallback when there is only one member
2021-04-07 15:19:33 +02:00
Benoit Marty
15c51cad17
Improve interface, name are not nullable
2021-04-07 15:17:02 +02:00
Benoit Marty
2495fa49f3
Improve code clarity
2021-04-07 12:39:36 +02:00
Benoit Marty
c459c4f90c
Change snow chat effect message type from "nic.custom.snow" to "io.element.effect.snowfall"
2021-04-07 11:17:46 +02:00
Benoit Marty
3a81521eab
Restore previous log when a request fails
2021-04-07 11:17:46 +02:00
Benoit Marty
e3cd916105
Fix mandatory parameter in API ( #3065 )
2021-04-06 16:25:16 +02:00
Benoit Marty
8b15008eba
Merge branch 'develop' into feature/bma/displayname_fallback
2021-04-06 14:31:32 +02:00
Benoit Marty
7d88d038f5
Merge pull request #3102 from vector-im/dependabot/gradle/moshi_version-1.12.0
...
Bump moshi_version from 1.11.0 to 1.12.0
2021-04-06 14:22:12 +02:00
Benoit Marty
c30bcfeba0
Merge pull request #3121 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.21
...
Bump libphonenumber from 8.12.20 to 8.12.21
2021-04-06 14:20:42 +02:00
Benoit Marty
33c1da5aa1
Fix copyright
2021-04-06 14:15:05 +02:00
Benoit Marty
3109d111a4
Merge pull request #3092 from vector-im/feature/bca/paged_room_list
...
Room List performance PR (use Live PagedList via Monarchy)
2021-04-06 14:13:47 +02:00
Benoit Marty
f42d143679
Merge pull request #3097 from vector-im/feature/bma/retrofit_suspend
...
Migrate Retrofit interface to coroutine calls
2021-04-06 14:11:07 +02:00
Benoit Marty
5dc28c0564
Fix avatar for DM when other user has left
2021-04-06 09:57:33 +02:00
Benoit Marty
15a463d748
Small rework
2021-04-06 09:57:33 +02:00
Benoit Marty
7e74e6a6f4
Call getFixedRoomMemberContent() when loading room members of a room
...
It fixes bad names for Empty room
2021-04-06 09:57:33 +02:00