Commit graph

3996 commits

Author SHA1 Message Date
Benoit Marty
4de44b702e Fix test regression on API 33. 2025-06-30 17:01:00 +02:00
bmarty
284241a4ec Sync Strings from Localazy 2025-06-30 00:33:54 +00:00
Benoit Marty
fe9fbe894c
Merge pull request #4944 from element-hq/feature/bma/version
Replace the Report a problem button with the app's version on the on boading screen.
2025-06-27 14:45:18 +02:00
Jorge Martin Espinosa
2f6ce3da33
Element Call: remove top app bar and add it inside the webview instead (#4927)
Co-authored-by: ElementBot <android@element.io>
2025-06-27 08:41:10 +02:00
Benoit Marty
e806d07865 Extract and unit test MultipleTapToUnlock 2025-06-26 17:45:42 +02:00
Benoit Marty
3b687a129c a11y: improve content description of the close formatting button. Change from "Close" to "Cancel and close text formatting" 2025-06-26 15:55:15 +02:00
Benoit Marty
bdaeaf25aa Fix quality issues on Composables 2025-06-26 13:03:24 +02:00
Benoit Marty
c5cdcc4d37 Fix typo 2025-06-26 13:03:23 +02:00
Benoit Marty
71e309f6c3 Split function into separate files. 2025-06-26 13:03:22 +02:00
Benoit Marty
aedd98d34a Add NavigationBar component 2025-06-26 13:03:21 +02:00
renovate[bot]
7d3f4cbb09
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.25 (#4936)
Fix broken API changes:
- `RoomInfo.isPublic` is now optional, so we need to assume its default value in some places of the app.
- `RoomInfo.userPowerLevels` is now `RoomInfo.roomPowerLevels` and also contains this info.
- `ClientBuilder` now uses a `DecryptionSettings` value.
- The call widget settings provider now internally uses a different Rust type.
- `Client.clearCache` now takes a `syncService` so it can stop it.

---

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-25 19:25:42 +00:00
ganfra
385b8c37cb misc : simplify timeline diff logic 2025-06-24 22:41:41 +02:00
Jorge Martin Espinosa
e752323f37
Fix duplicate usage of a modifier variable in TextInputBox (#4928) 2025-06-24 16:57:20 +02:00
Jorge Martin Espinosa
a10734de02
Simplify message composer layout (#4884)
Co-authored-by: ElementBot <android@element.io>
2025-06-24 14:05:28 +02:00
Benoit Marty
6a088396ed
Merge pull request #4925 from element-hq/feature/bma/elementCallCheck
Introduce SessionEnterpriseService.
2025-06-24 12:52:07 +02:00
Benoit Marty
004863208a
Merge pull request #4923 from element-hq/feature/bma/spaceAvatar2
Iterate on avatar to be able to render Space avatar Part2
2025-06-24 12:05:59 +02:00
Benoit Marty
25ba79a681 Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient. 2025-06-24 11:28:25 +02:00
renovate[bot]
bfd684cd53
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.23 (#4917)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.23

* Fix API break.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-06-24 11:23:20 +02:00
renovate[bot]
342aae624a
fix(deps): update dependency org.robolectric:robolectric to v4.15.1 (#4911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-24 11:06:45 +02:00
Benoit Marty
b8f22fc3eb Space avatar rounded corner has radius of 25% of the width. 2025-06-24 11:00:53 +02:00
Jorge Martin Espinosa
fb1d0760b7
Simplify syncing the room list when receiving a push (#4915) 2025-06-24 10:24:05 +02:00
Benoit Marty
045ca6fbb2 Ensure AvatarSize is correctly used in UnsavedAvatar, instead of hard coded size. 2025-06-24 09:58:16 +02:00
Benoit Marty
6cbed45acf Move internal elements to internal package. 2025-06-24 09:12:12 +02:00
Benoit Marty
6161e20f6c Replace values() by entries 2025-06-24 09:08:15 +02:00
Benoit Marty
8281a9d8ce Quality 2025-06-24 09:06:39 +02:00
Benoit Marty
69ceceab41 Fix regression on preview. 2025-06-24 09:06:29 +02:00
Benoit Marty
57ffa2615c Improve preview of AvatarCluster to show all types. 2025-06-23 22:16:06 +02:00
Benoit Marty
abd92d05d4 Avoid potential infinite loop. 2025-06-23 21:56:20 +02:00
Benoit Marty
14bb7d3bd1 Provide avatarShape: Shape instead of AvatarType to sub composable functions 2025-06-23 21:51:56 +02:00
Benoit Marty
9e65b7fa63 Extract subcomposable InitialOrImageAvatar 2025-06-23 21:45:59 +02:00
Benoit Marty
52ad634504 Remove default param for Avatar.avatarType 2025-06-23 21:36:53 +02:00
Benoit Marty
63d8d9b09e Remove default param for AvatarCluster.avatarType 2025-06-23 21:27:40 +02:00
Benoit Marty
b36f68b8c4 SpaceAvatar can be internal 2025-06-23 21:25:23 +02:00
Benoit Marty
0cc11ba626 Cleanup code rework by IDE. 2025-06-23 21:24:40 +02:00
Benoit Marty
a676d5fae1 Extract UserAvatar to its own file. 2025-06-23 21:24:03 +02:00
Benoit Marty
2bcffe80de Let AvatarType be the receiver of avatarShape() 2025-06-23 18:34:52 +02:00
Benoit Marty
59aec12906 Move isTombstoned to AvatarType.Space 2025-06-23 18:33:42 +02:00
Benoit Marty
e202fbfbd9 AvatarType is Immutable. 2025-06-23 18:03:53 +02:00
Benoit Marty
dddf046b43 Extract ImageAvatar and InitialLetterAvatar to their own files. 2025-06-23 18:02:34 +02:00
Benoit Marty
2ac94f2827 Cleanup 2025-06-23 17:57:44 +02:00
Benoit Marty
3669128e60 Introduce AvatarType to be able to render space avatars 2025-06-23 17:08:14 +02:00
Benoit Marty
ae96bc632f
Merge pull request #4916 from element-hq/feature/bma/zoomVideo2
Add ability to zoom on video.
2025-06-23 13:46:43 +02:00
Benoit Marty
bece4a0ecd Add ability to zoom on video. 2025-06-23 12:09:33 +02:00
夜坂雅
3f520f5a0a
refactor: Migrate SQLCipher Android to new API (#4874)
Co-authored-by: Benoit Marty <benoitm@element.io>
2025-06-23 09:29:44 +02:00
ganfra
0a4d32f3d3
Merge pull request #4909 from element-hq/feature/fga/invalid-invite
Change : handle invalid invite error
2025-06-20 18:42:09 +02:00
Jorge Martin Espinosa
4eb4692531
Restore MarkdownEditText.focusSearch override (#4908) 2025-06-20 17:24:17 +02:00
renovate[bot]
dada0bc35b
fix(deps): update dependency org.robolectric:robolectric to v4.15 (#4901)
* fix(deps): update dependency org.robolectric:robolectric to v4.15

* It seems that there's been some improvement on Robolectric 4.15 so this can be tested properly now.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-06-20 17:23:20 +02:00
ganfra
57a8d30021 change (accept invite) : updates the error title/content dialog for accept/decline actions 2025-06-20 16:40:52 +02:00
ganfra
b0e3f818c3 change (accept invite) : map Unknown error to AcceptInvite.Failures.InvalidInvite 2025-06-20 16:36:01 +02:00
Benoit Marty
ff95c4365d a11y: let Markdown/Rich text input render the placeholder to help for accessibility. 2025-06-20 15:00:28 +02:00