Commit graph

108 commits

Author SHA1 Message Date
Jorge Martin Espinosa
cf072fa1e1
Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00
Jorge Martin Espinosa
1045f99d18
Add SessionData.needsVerification field (#2672)
* Add `SessionData.needsVerification`:
  - Allows us to add a skip button for debug builds.
  - We can have the verification state almost instantly.
  - It doesn't depend on network availability to know the verification state and display the UI.
* Add DB migration.
- Make the skip button in the verification flow skip the whole flow including the completed screen.
- Save the session as verified in `RustEncryptionService.recover(recoveryKey)`.
* Enforce session verification for existing users too.
* Fix verification confirmed screen subtitle (typo in id, was using the wrong string)
* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:28:12 +02:00
bmarty
e6bd14a1a9 Sync Strings from Localazy 2024-04-08 00:20:53 +00:00
Jorge Martin Espinosa
41287c5f59
Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
bmarty
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
ElementBot
dac54e7154
Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
bmarty
4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
7710876089 Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
bd8b234f59 Use method references, and avoid using navigateUp(): let the parent Node decide how to navigate. 2024-02-22 08:57:12 +01:00
Benoit Marty
1c4e02797b Fix test clicking on enter recovery key calls the expected callback 2024-02-21 18:30:57 +01:00
Benoit Marty
7d41fbffbc Remove empty line. 2024-02-21 18:30:57 +01:00
Benoit Marty
8605efc3df Add tests on VerifySelfSessionView 2024-02-21 18:30:57 +01:00
Benoit Marty
67190bdd1d Fix parameter order. 2024-02-21 18:30:57 +01:00
Benoit Marty
4345f26d0b Add a way to enter recovery key to verify the session. 2024-02-21 18:30:08 +01:00
Jorge Martin Espinosa
e68139bf46
Display banned users in room member list (#2415)
* Display banned users in room member list

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-20 10:07:06 +01:00
Benoit Marty
b104dba845 Remove Modifier parameter in private function when only default value is used.
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
ElementBot
6bc080c279
Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
7b2341aec7 Rename Async to AsyncData 2024-01-04 16:30:56 +01:00
bmarty
e6f4a7364f Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
bmarty
e60508a631 Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty
10a254d834 Fix issue on SAS Emoji 30 (smiley) 2023-12-11 22:25:31 +01:00
Benoit Marty
8667d4bf92 Rename Emoji drawable using numbers. 2023-12-11 22:24:13 +01:00
Benoit Marty
80d8197691 Rename key of string for SAS emoji 2023-12-11 21:38:27 +01:00
Benoit Marty
0a16af1d4f
Merge pull request #1965 from vector-im/feature/bma/emojiRepresentation
Fix emoji representation
2023-12-11 17:51:58 +01:00
Benoit Marty
0d73a18d9e Rename EmojiResource 2023-12-11 17:22:25 +01:00
Benoit Marty
dc5aa5ba1e Add preview for SAS Emojis. 2023-12-11 16:41:28 +01:00
bmarty
f4acc87e5f Sync Strings from Localazy 2023-12-11 00:10:04 +00:00
Benoit Marty
5ea809e2de Merge branch 'develop' into feature/bma/emojiRepresentation 2023-12-08 19:51:07 +01:00
Benoit Marty
df599f57f5 and remove file... 2023-12-08 19:51:02 +01:00
Benoit Marty
39cca2ce09 Sync localazy using fixed script 2023-12-08 19:24:35 +01:00
Benoit Marty
0460081175 Fix issue with id resource folder. 2023-12-08 19:17:35 +01:00
Benoit Marty
97107abc52 Layout optimization 2023-12-08 17:16:10 +01:00
Benoit Marty
6a779dda36 Add support for SAS verification with numbers. 2023-12-08 17:12:55 +01:00
Benoit Marty
cdec7048ac Update test. 2023-12-08 16:52:12 +01:00
Benoit Marty
5001a6fbe1 Update regarding SDK change on verification data 2023-12-08 16:41:56 +01:00
Benoit Marty
44ca59cecc Refacto a bit for clarity 2023-12-06 14:42:10 +01:00
Benoit Marty
47717540ad Use SAS string resource, for i18n. 2023-12-06 14:26:50 +01:00
Benoit Marty
10d5268d0f SAS emoji: use embedded drawable (#1953) 2023-12-06 14:10:05 +01:00
Benoit Marty
24d3981261 Run the script again. 2023-12-05 12:25:59 +01:00
bmarty
fced91addb Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Jorge Martin Espinosa
ba4d3a70c7
Try to make all collections used in Compose code immutable (#1922)
* Try to make all collections used in Compose code immutable.

Mark sealed interfaces as `@Immutable` too

* Add gradle code to check the compose compiler reports

* Fix some more unstable classes
2023-11-29 15:02:08 +00:00
ElementBot
12b3196471
Sync Strings (#1892)
* Sync Strings from Localazy

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: jonnyandrew <jonnya@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-28 09:52:23 +01:00
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to compound-android library (#1888)
* Replace tokens & icons with the external Compound ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-27 10:30:07 +01:00
ElementBot
3bf34eae01
Sync Strings (#1789)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-11-13 12:31:34 +01:00