Commit Graph

4488 Commits

Author SHA1 Message Date
ganfra 967e9cad85 change (media preview config) : address review remarks 2025-07-01 11:22:03 +02:00
ganfra 26a19d6f99 Merge branch 'develop' into feature/fga/csam_preferences_server 2025-07-01 09:50:48 +02:00
Benoit Marty 225a775d3e Merge pull request #4960 from element-hq/feature/bma/minApiLevel
Update min api level to 33 for Element enterprise
2025-07-01 09:07:16 +02:00
ganfra 7fb6eeb398 change (media preview config) : clean code 2025-06-30 21:54:17 +02:00
ganfra 773fa1657a Merge branch 'develop' into feature/fga/csam_preferences_server 2025-06-30 21:42:06 +02:00
ganfra ca46166c67 change (media preview config) : final refactoring and tests 2025-06-30 21:31:58 +02:00
Benoit Marty c804fe0558 Add "View avatar" content description to all clickable Avatar that will open the avatar preview. (#4948)
* Add "View avatar" content description to all clickable Avatar that will open the avatar preview.

* Improve accessibility of avatar images.
2025-06-30 17:06:10 +02:00
Benoit Marty 4de44b702e Fix test regression on API 33. 2025-06-30 17:01:00 +02:00
Benoit Marty 71ff72750c Fix test regression on API 33. 2025-06-30 17:01:00 +02:00
Benoit Marty cb091106b6 Fix test regression on API 33. 2025-06-30 17:00:59 +02:00
Benoit Marty 1b05c2a965 Split RoomListPresenter and introduce HomePresenter 2025-06-30 09:50:22 +02:00
bmarty 284241a4ec Sync Strings from Localazy 2025-06-30 00:33:54 +00:00
Benoit Marty 082b012bc5 Fix incorrect import 2025-06-27 15:51:13 +02:00
Benoit Marty 67f36f3d74 Add missing import 2025-06-27 15:48:14 +02:00
Benoit Marty b02aa0d546 Add TODO 2025-06-27 15:25:02 +02:00
Benoit Marty 60083ad5ea Rename module roomlist to home 2025-06-27 15:24:50 +02: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
ganfra 98b60d46b1 change (media preview config) : handle loading and failure ui 2025-06-26 20:53:00 +02:00
ganfra 5332246bde change (media preview config) : use the new apis 2025-06-26 20:52:44 +02:00
Benoit Marty adf539473d Show version on OnBoarding screen. 2025-06-26 18:24:36 +02:00
Benoit Marty e806d07865 Extract and unit test MultipleTapToUnlock 2025-06-26 17:45:42 +02:00
Benoit Marty 871fb88018 a11y: improve content description of the clear filter button. Change from "Clear" to "Clear filters" 2025-06-26 15:28:53 +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
Jorge Martin Espinosa 17dfd18f5d Display error dialog if Element Call can't be joined (#4919) 2025-06-25 08:43:29 +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 655e2c212d Add unit test on ChooseAccountProviderState so that the coverage is above 90%
Fixes issue:
Rule 'Check code coverage of states' violated: instructions covered percentage for class 'io.element.android.features.login.impl.screens.chooseaccountprovider.ChooseAccountProviderState' is 88.571400, but expected minimum is 90
2025-06-24 10:41:44 +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 cadca03a7e Add preview with an image. 2025-06-24 09:18:28 +02:00
Benoit Marty 8281a9d8ce Quality 2025-06-24 09:06:39 +02:00
Benoit Marty 52ad634504 Remove default param for Avatar.avatarType 2025-06-23 21:36:53 +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
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
ganfra c857f7a243 change (accept invite) : fix tests after api break 2025-06-20 18:14:34 +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 512ed810f7 Improve preview of AttachmentsPreviewViewPreview to have the case with a caption. 2025-06-20 14:55:45 +02:00
Benoit Marty a20af8674f Merge pull request #4904 from element-hq/feature/bma/roomDebugInfo
Room debug info
2025-06-20 13:49:42 +02:00
Benoit Marty 416188824d Suppress LargeClass on test. 2025-06-20 10:33:30 +02:00
Benoit Marty d8a09535ba Remove unused import 2025-06-20 10:29:52 +02:00
Benoit Marty 9baa540281 Use CompoundIcons.Code() instead of CompoundDrawables.ic_compound_code 2025-06-20 10:13:48 +02:00
Benoit Marty d4388062b0 Debug info: render the roomId in the room details screen when developer mode is enabled. 2025-06-20 10:12:12 +02:00
Benoit Marty be62f2cd69 a11y: now that the grouped events are read one by one, we also need to reverse the order because the timeline is last message at the top when screen reader is enabled. 2025-06-20 09:34:38 +02:00
Benoit Marty 44940fc093 a11y: improve accessibility on grouped state events header. 2025-06-19 17:08:05 +02:00