Commit graph

6375 commits

Author SHA1 Message Date
ganfra
447a10cb06 Add ApplicationConfig object to help tweaking the application / brand name used across the application. 2024-04-10 16:57:18 +02:00
Benoit Marty
ffede8b13b Use productionApplicationName, set to "Element", instead of "Element X", and use ot for screen_onboarding_welcome_message 2024-04-10 16:45:14 +02:00
Benoit Marty
a4cb241767 String screen_create_new_recovery_key_list_item_1 now needs the desktop application name. 2024-04-10 12:36:41 +02:00
Benoit Marty
98572125b1 String screen_onboarding_welcome_message now needs the application name. 2024-04-10 12:36:41 +02:00
Benoit Marty
810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
Benoit Marty
075510c425 Add desktopApplicationName to BuildMeta. 2024-04-10 12:36:41 +02:00
Benoit Marty
7a5c8b8053 Delete config sooner in the script.
It will give more visibility on errors if any.
2024-04-10 12:36:00 +02:00
Benoit Marty
bd7db569f4 Localazy: search for forbidden term ("Element" for now) 2024-04-10 12:34:40 +02:00
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
d0f26777da
Remove Room moderation feature flag (#2678)
* Remove the feature flag

* Add changelog

* Increase login timeout for Maestro
2024-04-09 17:53:07 +02:00
renovate[bot]
ecd2974fef
Update dependency io.sentry:sentry-android to v7.8.0 (#2680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 17:43:05 +02: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
Jorge Martin Espinosa
63f7defb07
Display members section when there are members in the room, not admins (#2679)
* Display members section when there are members in the room, not admins

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 13:08:40 +00:00
Benoit Marty
46bb960fcb
Merge pull request #2673 from element-hq/renovate/io.sentry-sentry-android-7.x
Update dependency io.sentry:sentry-android to v7.7.0
2024-04-09 11:30:16 +02:00
Benoit Marty
956630d6ac
Merge pull request #2661 from element-hq/renovate/dependencyanalysis
Update dependencyAnalysis to v1.31.0
2024-04-09 10:18:34 +02:00
Benoit Marty
db71d03bd6
Merge pull request #2677 from element-hq/renovate/peaceiris-actions-gh-pages-4.x
Update peaceiris/actions-gh-pages action to v4
2024-04-09 10:18:03 +02:00
renovate[bot]
05ab649b71
Update peaceiris/actions-gh-pages action to v4 2024-04-08 20:05:37 +00:00
Benoit Marty
014061facf
Merge pull request #2674 from element-hq/feature/bma/roomSuggestion
Room / User suggestions
2024-04-08 17:26:54 +02:00
Benoit Marty
16d289e180 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +02:00
Benoit Marty
523b1644a2 Add UI test on CreateRoomRootView 2024-04-08 15:42:31 +02:00
Benoit Marty
470e8ff581 Add UI test on AddPeopleView 2024-04-08 15:28:48 +02:00
renovate[bot]
6c135a842b
Update dependency io.sentry:sentry-android to v7.7.0 2024-04-08 12:43:00 +00:00
Benoit Marty
8128a595c8
Merge pull request #2667 from SpiritCroc/avatar-fallback
Fall back to initials avatar when image avatar doesn't work
2024-04-08 14:42:11 +02:00
ElementBot
15f3f0ecfc Update screenshots 2024-04-08 12:03:05 +00:00
Benoit Marty
1c66254e74 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
Benoit Marty
649204238c Add functions trackRecentlyVisitedRoom and getRecentlyVisitedRooms 2024-04-08 11:40:41 +02:00
Jorge Martin Espinosa
b6ceb8c697
Improve UI for notification permission screen in onboarding (#2660)
* Improve UI for notification permission screen in onboarding

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 10:58:37 +02:00
Jorge Martin Espinosa
8e2f7a35cb
Categorise members by role in the ChangeRoles screen (#2595)
* Categorise members by role in the ChangeRoles screen

* Fix automatic reload of member list when either the membership or power levels change

* Replace empty space with disabled checkbox

* Add 'pending' label to members who are in invited state

* Implement new designs

* Fix string issue in confirm recovery key screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 08:54:38 +00:00
renovate[bot]
192a1d2107
Update dependency io.element.android:compound-android to v0.0.6 (#2670)
* Update dependency io.element.android:compound-android to v0.0.6

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 10:28:42 +02:00
SpiritCroc
e4b76e0e89 Add back debugPlaceholderAvatar for inspection mode 2024-04-08 09:59:02 +02:00
renovate[bot]
d5a5aafcda
Update sqldelight to v2.0.2 (#2665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 09:46:06 +02:00
Benoit Marty
415a5679be
Merge pull request #2669 from element-hq/sync-localazy
Sync Strings
2024-04-08 09:24:19 +02:00
bmarty
e6bd14a1a9 Sync Strings from Localazy 2024-04-08 00:20:53 +00:00
SpiritCroc
f704cca678 Fall back to initials avatar when image avatar doesn't work
Initially I had it implemented such that it would only fallback on
error, but actually it's nice to have also while loading if it takes
a while to load the avatar.
2024-04-07 19:18:30 +02:00
Benoit Marty
a46ff73655
Merge pull request #2664 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.13
2024-04-05 19:30:32 +02:00
renovate[bot]
704889c64f
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.13 2024-04-05 11:39:14 +00:00
Benoit Marty
103743c338
Merge pull request #2663 from element-hq/feature/bma/testChangeRolesView
Fix a bunch of small issues around moderation and test change roles view
2024-04-05 13:37:58 +02:00
Benoit Marty
c0caa907aa Move usersWithRole() function to a dedicated file and make it a documented extension of MatrixRoom. 2024-04-05 12:43:41 +02:00
Benoit Marty
34f3208fc0 Fix documentation 2024-04-05 12:07:11 +02:00
Benoit Marty
fd1ff97c53 Add comment for clarity 2024-04-05 12:01:29 +02:00
Benoit Marty
f2afc9ccda Remove blank line 2024-04-05 10:52:44 +02:00
ElementBot
3a6959585b Update screenshots 2024-04-05 08:37:52 +00:00
Benoit Marty
3fdc281bd3 No need to use CompositionLocalProvider here. 2024-04-05 10:27:49 +02:00
Benoit Marty
0a14ed67af Add UI test on ChangeRolesView 2024-04-05 10:12:29 +02:00
Benoit Marty
705490d142
Merge pull request #2659 from element-hq/feature/bma/moreTest
Remove some dead code and add tests on RetrySendMessageMenu
2024-04-05 09:47:03 +02:00
Benoit Marty
2cb056711d SearchBar handle the back press when it is active, there is no need to handle the event here. 2024-04-05 09:23:36 +02:00
renovate[bot]
6f20746227
Update dependencyAnalysis to v1.31.0 2024-04-05 00:19:54 +00:00
Benoit Marty
97491c3f3f Member role: only count and display joined members. 2024-04-04 19:17:36 +02:00
Benoit Marty
04eb59bd07 Ensure SearchBar are displayed with max width. 2024-04-04 18:45:56 +02:00
Benoit Marty
5f071daf64 Fix non-scrollable screens. 2024-04-04 18:36:14 +02:00