Commit Graph

4484 Commits

Author SHA1 Message Date
Benoit Marty 65c6da1480 Use the blurHash if available, when the thumbnailSource is null, and if not available render the image icon for image file. 2023-11-08 15:34:06 +01:00
ganfra 1e244b2ffd Merge pull request #1757 from vector-im/feature/fga/lock_polish
LockScreen polish
2023-11-08 14:02:53 +01:00
Benoit Marty 334f4f78d8 Merge pull request #1759 from vector-im/feature/bma/recoveryKeyWithSpaces
Recovery key with spaces
2023-11-08 14:01:30 +01:00
Benoit Marty 8e7075b920 Merge pull request #1770 from vector-im/feature/bma/noBannerIfKeyBackIsEnabled
Show full history if key backup is enabled.
2023-11-08 14:00:25 +01:00
renovate[bot] 9e66180d20 Update kotlin (#1697)
* Update kotlin

* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-08 12:58:14 +00:00
ganfra 4f519a817a Lock screen : fix one more test. 2023-11-08 13:45:28 +01:00
ganfra ffcb1bd67b Update features/ftue/impl/src/test/kotlin/io/element/android/features/ftue/impl/DefaultFtueStateTests.kt
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-11-08 12:54:25 +01:00
Benoit Marty f64eb5218c Show full history if key backup is enabled. 2023-11-08 12:41:15 +01:00
renovate[bot] ede72b069c Update android.gradle.plugin to v8.1.3 (#1762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-08 12:37:52 +01:00
ganfra f067163004 Lockscreen : should fix tests 2023-11-08 12:01:54 +01:00
Benoit Marty d99ed8517e Merge pull request #1767 from vector-im/feature/bma/encryptedMessages
Feature/bma/encrypted messages
2023-11-08 11:58:38 +01:00
ElementBot 78d15c130d Update screenshots 2023-11-08 10:57:06 +00:00
Benoit Marty 64a00eec16 Fix test after wording change. 2023-11-08 11:44:34 +01:00
Jorge Martin Espinosa 74e5bf18fc Iterate design on Settings screen (#1763)
* Iterate design on Settings screen:

- Set new icons provided by design.
- Replace `PreferenceText` usages with `ListItem`.
- Add missing icons, and a new way to group them for previews.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-08 11:31:17 +01:00
Jorge Martin Espinosa b57fddf19c Lower max RAM usage for gradle to avoid CI issues (#1766) 2023-11-08 09:45:55 +00:00
Benoit Marty e4a8e369c1 Merge pull request #1760 from vector-im/renovate/org.maplibre.gl-android-plugin-annotation-v9-2.x
Update dependency org.maplibre.gl:android-plugin-annotation-v9 to v2.0.2
2023-11-08 10:16:11 +01:00
Marco Romano 26eecb33dd Voice messages: Don't crash if mxc uri is invalid (#1756)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

- [ ] Feature
- [x] Bugfix
- [ ] Technical
- [ ] Other :

## Content

Code now checks whether the mx uri is invalid and handles the error condition properly.

## Motivation and context

https://github.com/vector-im/element-x-android/pull/1748#discussion_r1384557443

## Screenshots / GIFs

<!--
We have screenshot tests in the project, so attaching screenshots to a PR is not mandatory, as far as there
is a Composable Preview covering the changes. In this case, the change will appear in the file diff.
Note that all the UI composables should be covered by a Composable Preview.

Providing a video of the change is still very useful for the reviewer and for the history of the project.

You can use a table like this to show screenshots comparison.
Uncomment this markdown table below and edit the last line `|||`:
|copy screenshot of before here|copy screenshot of after here|

|Before|After|
|-|-|
|||
 -->

## Tests

<!-- Explain how you tested your development -->

- Step 1
- Step 2
- Step ...

## Tested devices

- [ ] Physical
- [ ] Emulator
- OS version(s):

## Checklist

<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->

- [ ] Changes have been tested on an Android device or Android emulator with API 23
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
- [ ] Pull request is based on the develop branch
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
- [ ] You've made a self review of your PR
2023-11-08 07:46:00 +01:00
renovate[bot] b4c12b608c Update dependency org.maplibre.gl:android-plugin-annotation-v9 to v2.0.2 2023-11-07 20:13:58 +00:00
ganfra d4f6a1814a Merge pull request #1761 from vector-im/renovate/org.maplibre.gl-android-sdk-ktx-v7-2.x
Update dependency org.maplibre.gl:android-sdk-ktx-v7 to v2.0.2
2023-11-07 21:13:22 +01:00
ganfra dc0c33fa5a Lock screen : fix code quality 2023-11-07 21:08:02 +01:00
ganfra 05e99adfc4 Lock : fix race condition on setup pin 2023-11-07 21:06:26 +01:00
renovate[bot] e2237e0779 Update dependency org.maplibre.gl:android-sdk-ktx-v7 to v2.0.2 2023-11-07 18:06:41 +00:00
ganfra 04afa8c200 LockScreen : fix one more navigation issue 2023-11-07 18:22:40 +01:00
ElementBot 57e3fab357 Update screenshots 2023-11-07 17:02:32 +00:00
Benoit Marty a818807677 UTD: Change wording from "Decryption error" to "Waiting for this message" 2023-11-07 17:52:06 +01:00
Benoit Marty 095a6f7825 RecoveryKey: Let any password manager provide the key and change keyboard type to password. 2023-11-07 17:43:54 +01:00
Benoit Marty 735c6e857a RecoveryKey: Do not apply a visual transformation if the key has spaces, to let user enter passphrase 2023-11-07 17:35:23 +01:00
Benoit Marty c9a7fa88b6 RecoveryKey: remove space if a recovery key is pasted in the TextField 2023-11-07 17:27:50 +01:00
Jorge Martin Espinosa 26c28ff972 Message composer isn't resized when changing the replied to message (#1750) 2023-11-07 16:59:58 +01:00
ganfra 67bdb78f98 LockScreen : reduce delay before validation step in setup 2023-11-07 16:30:25 +01:00
ganfra d524e7b4bd LockScreen : do not show the entire setup flow when changing the pin is settings 2023-11-07 16:23:41 +01:00
ganfra 5a417ba498 LockScreen : refact some code and add secureFlag 2023-11-07 15:55:53 +01:00
Jorge Martin Espinosa 1fe45cde18 Improve confusing text in the 'ready to start verification' screen (#1751)
* Improve confusing text in the 'ready to start verification' screen

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-07 14:33:26 +01:00
Benoit Marty 2de508c6d5 Merge pull request #1737 from vector-im/feature/bma/improvePages
Create UserStoryFlowPage
2023-11-07 14:30:38 +01:00
Jorge Martin Espinosa 52c9565ac8 Fix crash on logout (#1749) 2023-11-07 14:24:31 +01:00
renovate[bot] d0092d8dbe Update dependency io.sentry:sentry-android to v6.33.1 (#1752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:31:28 +01:00
ElementBot b2d0504ec7 Update screenshots 2023-11-07 12:08:26 +00:00
Benoit Marty 7bd2ccd2a9 FlowStepPage: make onBackClicked nullable and remove canGoBack. 2023-11-07 10:59:22 +01:00
Benoit Marty 163bc8703f Rename UserStoryFlowPage to FlowStepPage
Rename UserStoryFlowPage to FlowStepPage
2023-11-07 10:59:22 +01:00
Benoit Marty 3483eaaa00 Fix issue about modifier. 2023-11-07 10:57:34 +01:00
ElementBot 993f08e427 Update screenshots 2023-11-07 10:57:34 +01:00
Benoit Marty 3e3a7c5516 Let SecureBackupEnterRecoveryKeyView use UserStoryFlowPage. 2023-11-07 10:57:34 +01:00
Benoit Marty 256eb23acf Let SecureBackupEnableView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty 7e63f196d9 Use ButtonColumnMolecule 2023-11-07 10:53:21 +01:00
Benoit Marty 310bd5bb49 Let SecureBackupDisableView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty 85fa899b5d Let LogoutView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty c77ebabcb2 Let SecureBackupSetupView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty 9fa6026483 Create UserStoryFlowPage.
This will reduce some boilerplate and copy pasting we have in the codebase.
2023-11-07 10:53:21 +01:00
renovate[bot] 74ccdf83f6 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.67 (#1747)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.67

* Fix breaking change in `RustMediaLoader`.

* Fix breaking change in `DefaultCallWidgetSettingsProvider`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-11-07 07:53:24 +00:00
Benoit Marty 23c3e30876 Merge pull request #1745 from vector-im/feature/bma/lint
Feature/bma/lint
2023-11-06 18:50:22 +01:00