Commit Graph

3987 Commits

Author SHA1 Message Date
ganfra
7fb0b36a9e change (media preview config) : manage migration of local data 2025-06-26 21:44:03 +02:00
ganfra
0b748aa8cb change (media preview config) : use the new apis 2025-06-26 20:52:44 +02:00
ganfra
682897cdb6 change (media preview config) : introduce new apis from sdk 2025-06-26 20:34:36 +02:00
Jorge Martin Espinosa
668d91062c Fix duplicate usage of a modifier variable in TextInputBox (#4928) 2025-06-24 16:57:20 +02:00
Jorge Martin Espinosa
407c7ed70a Simplify message composer layout (#4884)
Co-authored-by: ElementBot <android@element.io>
2025-06-24 14:05:28 +02:00
Benoit Marty
1f34125a5f Merge pull request #4925 from element-hq/feature/bma/elementCallCheck
Introduce SessionEnterpriseService.
2025-06-24 12:52:07 +02:00
Benoit Marty
5a5195351d 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
432f1ce50a Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient. 2025-06-24 11:28:25 +02:00
renovate[bot]
eb9204e31f 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]
3cebec9a91 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
475b8543de Space avatar rounded corner has radius of 25% of the width. 2025-06-24 11:00:53 +02:00
Jorge Martin Espinosa
9c6aa97818 Simplify syncing the room list when receiving a push (#4915) 2025-06-24 10:24:05 +02:00
Benoit Marty
9db77db735 Ensure AvatarSize is correctly used in UnsavedAvatar, instead of hard coded size. 2025-06-24 09:58:16 +02:00
Benoit Marty
8e104b7ae5 Move internal elements to internal package. 2025-06-24 09:12:12 +02:00
Benoit Marty
0e982d4435 Replace values() by entries 2025-06-24 09:08:15 +02:00
Benoit Marty
7d7e368bd0 Quality 2025-06-24 09:06:39 +02:00
Benoit Marty
71186c9dd7 Fix regression on preview. 2025-06-24 09:06:29 +02:00
Benoit Marty
341dff7f03 Improve preview of AvatarCluster to show all types. 2025-06-23 22:16:06 +02:00
Benoit Marty
e1bde435f5 Avoid potential infinite loop. 2025-06-23 21:56:20 +02:00
Benoit Marty
ddca92a353 Provide avatarShape: Shape instead of AvatarType to sub composable functions 2025-06-23 21:51:56 +02:00
Benoit Marty
db98e3c146 Extract subcomposable InitialOrImageAvatar 2025-06-23 21:45:59 +02:00
Benoit Marty
7f60fde9dc Remove default param for Avatar.avatarType 2025-06-23 21:36:53 +02:00
Benoit Marty
b532f6e60b Remove default param for AvatarCluster.avatarType 2025-06-23 21:27:40 +02:00
Benoit Marty
f3a885e535 SpaceAvatar can be internal 2025-06-23 21:25:23 +02:00
Benoit Marty
390ecdaedc Cleanup code rework by IDE. 2025-06-23 21:24:40 +02:00
Benoit Marty
041eb88aee Extract UserAvatar to its own file. 2025-06-23 21:24:03 +02:00
Benoit Marty
688fbdd1bd Let AvatarType be the receiver of avatarShape() 2025-06-23 18:34:52 +02:00
Benoit Marty
0f6dd82b97 Move isTombstoned to AvatarType.Space 2025-06-23 18:33:42 +02:00
Benoit Marty
a76730c365 AvatarType is Immutable. 2025-06-23 18:03:53 +02:00
Benoit Marty
290e4be82d Extract ImageAvatar and InitialLetterAvatar to their own files. 2025-06-23 18:02:34 +02:00
Benoit Marty
2bc2cd5472 Cleanup 2025-06-23 17:57:44 +02:00
Benoit Marty
8df920a3ac Introduce AvatarType to be able to render space avatars 2025-06-23 17:08:14 +02:00
Benoit Marty
d524c23b8d 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
a79b8c9c16 Add ability to zoom on video. 2025-06-23 12:09:33 +02:00
夜坂雅
9248b6cfdf 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
7fab4edd41 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
39be607c5c Restore MarkdownEditText.focusSearch override (#4908) 2025-06-20 17:24:17 +02:00
renovate[bot]
304b99d544 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
cee279fd44 change (accept invite) : updates the error title/content dialog for accept/decline actions 2025-06-20 16:40:52 +02:00
ganfra
f710b28dc5 change (accept invite) : map Unknown error to AcceptInvite.Failures.InvalidInvite 2025-06-20 16:36:01 +02:00
Benoit Marty
3ee5ee3f45 a11y: let Markdown/Rich text input render the placeholder to help for accessibility. 2025-06-20 15:00:28 +02:00
Benoit Marty
a4523a8de1 Inline TextInput so that we have code parity in the when statement 2025-06-20 14:20:23 +02:00
Benoit Marty
f0508d342f a11y: Make isTalkbackActive() live.
We made the assumption that the user needs to navigate to the setting to enable or disable the talkback, but there is a way to add a talkback switch on the bottom navigation bar. So the talkback can be enabled/disabled when the application is resumed. Since the UI may render differently depending on the talkback state, we need to make the composable `isTalkbackActive()` backed on a mutable state.
2025-06-20 09:43:01 +02:00
Benoit Marty
5ee33a8d16 Merge pull request #4889 from element-hq/feature/bma/genericNotification
Show generic notification when Event cannot be resolved
2025-06-19 08:56:37 +02:00
ganfra
4cc814590e Merge pull request #4896 from element-hq/feature/fga/fix_dm_predecessor_room_banner
fix (room upgrade) : room predecessor banner on DM room
2025-06-18 18:21:46 +02:00
Richard van der Hoff
9be05262e2 Add a developer option for history sharing on invite (#4821)
Adds a new developer flag, enabling our experimental support for MSC4268.
2025-06-18 17:11:57 +01:00
Benoit Marty
91279d6f0a Update wording of generic notification. 2025-06-18 18:00:50 +02:00
ganfra
5f2050233e fix (room upgrade) : room predecessor banner should be displayed for DM too 2025-06-18 17:40:24 +02:00
renovate[bot]
31bb1848e4 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.18 (#4894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-18 15:10:47 +00:00
Benoit Marty
0a50c9f9cf Add missing test on RustNotificationService 2025-06-18 14:44:57 +02:00