Valere
8bebcc93e7
remove some force unwrap
2021-11-25 15:58:59 +01:00
Valere
7fd9ca03be
Use new isUserTracked API
2021-11-25 15:42:52 +01:00
Valere
9118b26d2f
Fix DM are not e2e by default
2021-11-25 14:36:23 +01:00
Damir Jelić
38644f0aa2
crypto: Rewrap and use the new isUserTracked method
2021-11-24 14:42:48 +01:00
Valere
a5c500cccd
Cleaning + fix copyright
2021-11-19 15:31:23 +01:00
Valere
c01998ddd3
Cleaning
2021-11-19 15:16:29 +01:00
Valere
9e055d9793
post rebase fix
2021-11-19 15:14:04 +01:00
Valere
f209ae26bc
Wire compute room shields with rust
2021-11-19 13:29:42 +01:00
Damir Jelić
ae635e2b0a
Merge remote-tracking branch 'upstream/develop' into upstream-merge2
2021-11-17 15:35:07 +01:00
Damir Jelić
50cdbaf041
crypto: Update to the latest rust-sdk version
2021-11-17 14:58:14 +01:00
Damir Jelić
097f05af57
crypto: Throw exceptions when restoring a recovery key from a passphrase
2021-11-17 13:43:37 +01:00
Damir Jelić
e5af7e6109
crypto: Update for the new room key import result
2021-11-17 13:43:37 +01:00
Damir Jelić
7cb143e970
crypto: Don't create a new salt when we just want to rederive a recovery key
2021-11-17 13:43:37 +01:00
Damir Jelić
50268540c3
crypto: Try to import the recovery key if it was gossiped to us
2021-11-17 13:43:37 +01:00
Damir Jelić
d6ecc7d330
crypto: Connect the backup disabling method
2021-11-17 13:43:37 +01:00
Damir Jelić
5c7b248ed2
crypto: Back up room keys when we create or receive new ones
2021-11-17 13:43:37 +01:00
Damir Jelić
f9476f12af
crypto: Correctly continue backing up room keys
2021-11-17 13:43:37 +01:00
Damir Jelić
2b8783b489
crypto: Add support for key backup restoring
2021-11-17 13:43:37 +01:00
Damir Jelić
3b93d6b08c
crypto: Fill out all the methods to support backups
2021-11-17 13:43:37 +01:00
Damir Jelić
021041fc2e
crypto: Support to send out backup HTTP requests
2021-11-17 13:43:37 +01:00
Damir Jelić
406fd0d8d5
crypto: Initial support for server-side backups of room keys
2021-11-17 13:43:22 +01:00
Benoit Marty
0fd29d763c
Markdown and sploiler in roomlist + spoiler in notifications ( #4483 )
...
Render markdown in room list and make notifications spoiler aware, per MSC3124
Reorder when case to put the most common on top
Co-authored-by: Onuray Sahin <onurays@element.io>
Co-authored-by: Wasabi\preston <1337paf92@gmail.com>
2021-11-17 10:21:48 +00:00
Benoit Marty
855b672f48
Add content scanner service ( #4392 )
...
* Add content scanner APIs
* Move to content scanner matrix SDK to FOSS
* Update file service
* Refactoring
* Replace matrix callbacks by coroutines
* Fix lint errors
* Add changelog
Co-authored-by: yostyle <yoanp@element.io>
2021-11-17 11:18:20 +01:00
Adam Brown
10a460bf0c
Sign out crash - Realm configuration mismatch ( #4480 )
...
Dispatching session events to a specified session instance instead of always querying the session manager
- fixes the close session flow causing the session to be recreated
2021-11-17 10:39:46 +01:00
Benoit Marty
be3aafeef2
Merge pull request #4433 from vector-im/feature/bma/android12
...
Android12
2021-11-16 13:27:33 +01:00
Benoit Marty
35e2a1083b
Merge pull request #4360 from vector-im/feature/ons/poll
...
Poll Feature - Create
2021-11-15 14:05:40 +01:00
Benoit Marty
df60b0c2b7
Merge pull request #4430 from vector-im/feature/adm/feature-notification-images
...
Notification images
2021-11-15 12:46:51 +01:00
Benoit Marty
fb8b720a3b
Add comment to run on Android 12
2021-11-15 12:25:42 +01:00
Benoit Marty
0a9845af30
@OnLifecycleEvent is deprecated, use DefaultLifecycleObserver instead
2021-11-15 12:24:48 +01:00
Benoit Marty
9429b039de
androidx.lifecycle:lifecycle-common-java8 -> androidx.lifecycle:lifecycle-common
...
https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0
2021-11-15 12:24:48 +01:00
Benoit Marty
a1630b5546
androidx.lifecycle:lifecycle-extensions is deprecated
...
See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
2021-11-15 12:24:48 +01:00
dependabot[bot]
3b469921a6
Bump robolectric from 4.6.1 to 4.7
...
Bumps [robolectric](https://github.com/robolectric/robolectric ) from 4.6.1 to 4.7.
- [Release notes](https://github.com/robolectric/robolectric/releases )
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.6.1...robolectric-4.7 )
---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 10:03:30 +00:00
Benoit Marty
afe05eddc2
Merge pull request #4456 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.37
...
Bump libphonenumber from 8.12.36 to 8.12.37
2021-11-15 11:02:07 +01:00
dependabot[bot]
ad48223273
Bump libphonenumber from 8.12.36 to 8.12.37
...
Bumps [libphonenumber](https://github.com/google/libphonenumber ) from 8.12.36 to 8.12.37.
- [Release notes](https://github.com/google/libphonenumber/releases )
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md )
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.36...v8.12.37 )
---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 23:08:34 +00:00
Onuray Sahin
89db5a6ecd
Lint fixes.
2021-11-11 11:52:01 +03:00
yostyle
6ddf3f6e5a
Fix lint errors
2021-11-10 22:31:23 +01:00
yostyle
7a78bc6866
Replace matrix callbacks by coroutines
2021-11-10 21:57:45 +01:00
yostyle
98ae9d0e8a
Refactoring
2021-11-10 21:57:44 +01:00
yostyle
016f3faeea
Update file service
2021-11-10 21:57:44 +01:00
yostyle
0ad66446e7
Move to content scanner matrix SDK to FOSS
2021-11-10 21:57:44 +01:00
yostyle
80a42d0a55
Add content scanner APIs
2021-11-10 21:57:44 +01:00
Valere
b304ef82fc
add comments
2021-11-10 17:41:06 +01:00
Valere
5b76d4b682
Fix fallback otk support
2021-11-10 16:55:34 +01:00
Adam Brown
9dd01d5b20
Merge pull request #4429 from vector-im/feature/adm/relogin-sanity-check
...
Sign out - Sign in sanity check & nightly sanity check
2021-11-08 20:21:15 +00:00
Adam Brown
9c1d6e0484
avoiding null unwrapping by merging the contains check with eagerly throwing if the session component is missing
2021-11-08 17:14:00 +00:00
Adam Brown
7646f7ce32
updating copyright header
2021-11-08 15:24:08 +00:00
Adam Brown
037d1fcf52
adding catch around the push event dispatching to match previous behaviour
2021-11-08 15:24:08 +00:00
Adam Brown
5190ef4280
replacing separated push listener callbacks with a single onEvents callback
...
- simplifies the handling of notifications, will allow us to reduce redundant synchronisations and suspend the entire notification update (will be needed for supporting images)
2021-11-08 15:24:07 +00:00
Adam Brown
2d1aed1839
separating the stopping of in-flight tasks form the cleaning up of the session state
...
- by stopping the session tasks before invalidating the current session we're able to avoid any extra token failures which retrigger the signout flow
2021-11-08 14:50:58 +00:00
Adam Brown
52731cf59d
double checking the sync state in order to avoid redundant invalid token events
2021-11-08 14:50:58 +00:00