Benoit Marty
eef0fbf4be
Fix "Arrow is redundant when parameter list is empty"
...
And other issues that ktlint now reports
2025-10-30 14:33:25 +01:00
Benoit Marty
ea616be814
Fix "Backing property is only allowed when a matching property or function exists"
2025-10-30 13:27:19 +01:00
Benoit Marty
2e67c9c757
Use KtLint version 1.7.1
2025-10-30 13:04:26 +01:00
Jorge Martin Espinosa
6c3b280ecd
Fix marking a room as read re-instantiates its timeline ( #5628 )
...
* Add `Timeline.markAsRead` to avoid reinstantiating the timeline using `Room.markAsRead`
* Mark as read when exiting the room screen, destroy the timeline when fully closed
* Ensure `MarkAsFullyReadAndExit` event can only be processed once
* Fix `DelayedVisibility` not being displayed in previews
2025-10-30 08:39:06 +01:00
renovate[bot]
bb61126c96
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.29 ( #5625 )
...
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.29
* Rename `NoPointer` to `NoHandle` for the Rust FFI fakes
* `@Ignore` tests broken by FFI direct mapping
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-10-29 22:56:03 +01:00
Benoit Marty
fc2a630033
Merge pull request #5622 from element-hq/feature/bma/mediaForward
...
Add ability to forward a media from the media viewer and the gallery
2025-10-29 13:15:42 +01:00
Benoit Marty
f75a2cc12c
Merge branch 'develop' into feature/bma/mediaForward
...
# Conflicts:
# appnav/src/main/kotlin/io/element/android/appnav/room/joined/JoinedRoomLoadedFlowNode.kt
2025-10-29 12:41:58 +01:00
renovate[bot]
1aaf363f5f
fix(deps): update dependencyanalysis to v3.4.0 ( #5624 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-29 11:56:32 +01:00
ganfra
7baae58964
Merge pull request #5619 from element-hq/feature/fga/space_members
...
Space : add view members entry
2025-10-29 10:53:45 +01:00
renovate[bot]
742866d69d
fix(deps): update dependency com.github.matrix-org:matrix-analytics-events to v0.29.2 ( #5621 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-29 09:18:39 +01:00
Benoit Marty
bf26a8b93c
Rename fun.
2025-10-29 09:04:58 +01:00
Benoit Marty
70cbf3c090
Improve code on ShareNode
2025-10-29 09:03:37 +01:00
Jorge Martin Espinosa
84d0338ed3
Fix issues with WorkManager on Android 12 and below ( #5606 )
...
* Add `getForegroundInfo` implementation to try to fix issues with WorkManager on Android 12 and below
This may be a MIUI-only issue as I couldn't reproduce it with several emulators on Android 11, 12 and 13.
* Use `setExpedited` only on Android 13 or higher, it's not needed on older versions
* Use an actual string resource, fix tests
* Fix review comments
* Fix broken test with Element Pro:
Instead of using Robolectric with API < 33 (since Pro uses minSdk 33) use a `BuildVersionSdkIntProvider`
* Remove `getForegroundInfo` and the associated permission, as we expect it to be dead code
* Fix lint issues
* Cleanup NotificationIdProvider
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-10-28 20:06:57 +00:00
Benoit Marty
d7109be89e
Add missing tests.
2025-10-28 20:28:37 +01:00
Benoit Marty
e6c72df67f
Remove unused dependency
2025-10-28 18:48:21 +01:00
ElementBot
ce264caef1
Update screenshots
2025-10-28 17:47:27 +00:00
Benoit Marty
26ce78d27d
Confirm exit without saving change in room details edit screen ( #5618 )
...
* Room details edit screen: add confirmation dialog when leaving without saving pending changes.
* Improve preview coverage.
* Update screenshots
* Introduce AsyncAction.ConfirmingCancellation and use it for leaving room edition without saving change.
* Fix issue in comment
* Use new `ConfirmingCancellation` object in Change Roles screen
---------
Co-authored-by: ElementBot <android@element.io>
2025-10-28 18:25:51 +01:00
Benoit Marty
5d021a557c
Simplify the presenter
2025-10-28 18:21:06 +01:00
Benoit Marty
1e66db9a28
EventId cannot be null here.
2025-10-28 18:15:25 +01:00
Benoit Marty
95c735a90e
Add Forward action to MediaDetailsBottomSheet. Closes #5454
...
Improve API of Callback when forwarding Event.
2025-10-28 18:13:53 +01:00
ganfra
c3ab897ffc
Merge pull request #5602 from element-hq/renovate/dependencyanalysis
...
fix(deps): update dependencyanalysis to v3.3.0
2025-10-28 18:06:06 +01:00
ganfra
d0a0247a1a
Merge pull request #5620 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
...
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.28
2025-10-28 18:05:17 +01:00
Jorge Martín
0d40a2fd79
Fix api breaks:
...
- `ComposerDraft` now takes a list of media attachments.
- `HumanQrLoginException` has a couple of new cases.
- `Client.loginWithQrCode` now returns a `LoginWithQrCodeHandle`, which we need to call using `scan` to have the same behaviour as before.
2025-10-28 17:14:40 +01:00
renovate[bot]
64be18da36
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.28
2025-10-28 15:49:23 +00:00
Benoit Marty
7f22777ad9
Extract code for forwarding Event to its own modules.
2025-10-28 15:42:39 +01:00
ganfra
52f48268b1
feature(space): add view members entry
2025-10-28 11:21:10 +01:00
ganfra
83d8151012
Merge pull request #5614 from element-hq/feature/fga/space_flow_inject_room
...
Misc : space flow inject room
2025-10-28 10:05:04 +01:00
Jorge Martin Espinosa
2af5570231
Revert "Make sure declining a call stops observing the ringing call state (#5…" ( #5615 )
...
This reverts commit 651263111e .
2025-10-27 17:25:56 +01:00
ganfra
ef52fb38f2
misc(navigation) : fix tests on space module
2025-10-27 14:15:32 +01:00
ganfra
81161c4c5a
misc(navigation) : fix and add test on JoinedRoomLoadedFlowNode
2025-10-27 13:54:33 +01:00
ElementBot
b1addb4521
Sync Strings from Localazy ( #5610 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-27 13:53:07 +01:00
ElementBot
1024c513ee
Update screenshots
2025-10-27 10:56:46 +00:00
ganfra
819e916e3c
Merge branch 'develop' into feature/fga/space_flow_inject_room
2025-10-27 11:41:26 +01:00
ganfra
7f04a9fcf7
misc(navigation) : add onDetailsClick on SpaceView
2025-10-27 10:11:57 +01:00
ganfra
da95a4b838
misc(navigation) : makes SpaceFlowGraph child of RoomGraph
2025-10-24 20:48:22 +02:00
Benoit Marty
9baf948b35
Merge pull request #5592 from element-hq/feature/bma/constValKey
...
Improve how data is handled for the WorkManager.
2025-10-24 19:20:44 +02:00
Benoit Marty
a9bc148d00
Merge pull request #5607 from element-hq/feature/bma/notificationStyle
...
Update notification style
2025-10-24 19:20:18 +02:00
ganfra
35531baff3
Merge pull request #5597 from element-hq/feature/fga/space_room_update_divider
...
design(space): let SpaceRoomItemView divider be full width
2025-10-24 18:36:15 +02:00
Benoit Marty
1080319b36
Update ref.
2025-10-24 18:29:45 +02:00
Benoit Marty
b6b0ad91ce
Let notifications uses the brandColor.
2025-10-24 18:22:41 +02:00
ganfra
450aaf1ef3
Fix ktlint
2025-10-24 18:15:15 +02:00
Benoit Marty
a11af0c2b2
Remove element_logo_green.xml from the diagnostic notification.
2025-10-24 17:06:03 +02:00
Benoit Marty
6e9af83b6a
Let notifications uses the brandColor.
2025-10-24 17:04:48 +02:00
ganfra
6c42250145
misc(navigation) : use JoinedRoomLoadedFlowNode as parent of SpaceFlowNode
2025-10-24 16:26:54 +02:00
ElementBot
5229f5df23
Update screenshots
2025-10-24 14:22:53 +00:00
ganfra
72fda96df1
design(space): let divider be full width
...
# Conflicts:
# features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt
2025-10-24 16:07:16 +02:00
ganfra
f5e7a43f69
Merge pull request #5605 from element-hq/renovate/org.sonarqube-7.x
...
Update plugin sonarqube to v7.0.1.6134
2025-10-24 15:38:34 +02:00
Benoit Marty
257325022c
Fix warning
2025-10-24 15:09:45 +02:00
Benoit Marty
211c07c7e9
Quick reply action: use icon from compound
2025-10-24 13:25:38 +02:00
Benoit Marty
ac5c3ba607
Accept / reject invitation actions: use icons from compound
2025-10-24 13:23:59 +02:00