Commit Graph

3195 Commits

Author SHA1 Message Date
Benoit Marty
80a052c7cf Merge pull request #3694 from element-hq/feature/bma/oidcPrompt
OIDC prompt
2024-10-17 09:16:02 +02:00
Benoit Marty
71a0d2c565 Merge pull request #3695 from element-hq/feature/bma/improveComposerPaddings
Improve composer paddings
2024-10-16 22:55:51 +02:00
Benoit Marty
f1391a1e9e Merge pull request #3671 from element-hq/bma/improveRoomModeration
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
d6407d6995 Restore fun interface for a sweeter code. 2024-10-16 17:12:46 +02:00
Benoit Marty
62f6791865 Remove unused isLocal field. 2024-10-16 16:19:04 +02:00
Benoit Marty
83de862fc1 Fix other API change: EventShieldsProvider and EventTimelineItemDebugInfoProvider have been replaced by LazyTimelineItemProvider 2024-10-16 16:10:16 +02:00
Benoit Marty
5027fb5fe3 Fix other API change: map new value Membership.KNOCKED 2024-10-16 16:09:33 +02:00
Benoit Marty
2724815d79 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty
3f58f4b793 Fix API update regrading OidcPrompt. 2024-10-16 14:58:04 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
82519cf7a4 Reduce start padding, the InReplyToView already have a 8 end padding. 2024-10-16 14:11:57 +02:00
Benoit Marty
07848a30dc Add preview on ComposerModeView 2024-10-16 14:11:55 +02:00
Benoit Marty
097d0567ac Extract methods aMessageComposerModeEdit() and aMessageComposerModeReply() 2024-10-16 13:50:58 +02:00
Benoit Marty
751b5f73bf Reduce end padding of the composer, to give more space when composing messages. 2024-10-16 13:37:50 +02:00
Benoit Marty
2c66e3a128 Change type of parameter to MessageComposerMode.Special 2024-10-16 13:01:09 +02:00
Benoit Marty
d468a009d5 Room moderation: make it more reactive and simplify the code. 2024-10-16 11:49:15 +02:00
Benoit Marty
0113cd522d Rename some classes which implement PreviewParameterProvider according to the new naming convention.
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty
2ef302cb8c Merge pull request #3686 from element-hq/feature/bma/identityChangeWording
Add userId in identity change warning banner
2024-10-16 11:15:56 +02:00
Jorge Martin Espinosa
6b2aa7eb8c Refresh room summaries when date or time changes in the device (#3683)
* Add `DateTimeObserver` to rebuild the room summary data when the date/time changes.

* Add time changed action too, to trigger when the user manually changes date/time

* Fix timezone issue by adding `TimezoneProvider`, fix tests

* Create test for `DateTimeObserver` usage in `RoomListDataSource`

* Create aRoomListRoomSummaryFactory function.

* Improve test by faking the lastMessageTimestampFormatter

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-16 09:10:58 +00:00
Benoit Marty
9fc6b01a0c Add userId in identity change warning banner #3678 2024-10-15 18:02:23 +02:00
Benoit Marty
e72567c4ac Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty
ccaa34de83 Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty
e490769444 AcceptDeclineInviteState: create ConfirmingDeclineInvite to host InviteData when confirming decline of invite. 2024-10-14 11:19:18 +02:00
Benoit Marty
f2df8a2064 AsyncActionView: provide the value to the confirmationDialog lambda. 2024-10-14 11:02:47 +02:00
Benoit Marty
97fb7bc2fa Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
bmarty
29a489df0b Sync Strings from Localazy 2024-10-14 00:27:28 +00:00
Benoit Marty
928ab08925 Add missing import 2024-10-10 20:35:12 +02:00
Jorge Martin Espinosa
9db6e97d31 Remove unused RoomSummary cache (#3647) 2024-10-10 15:50:28 +00:00
Benoit Marty
354349df19 Merge pull request #3648 from element-hq/feature/bma/identityChangeFeatureFlag
Add feature flag IdentityPinningViolationNotifications.
2024-10-10 17:20:29 +02:00
Benoit Marty
f0f22d8f03 Merge pull request #3646 from element-hq/feature/bma/qrCodeFF
Enable Login with QR code in release builds.
2024-10-10 17:17:08 +02:00
Benoit Marty
88c617d13e Add feature flag IdentityPinningViolationNotifications.
Disabled in production build, enabled by default on other builds.
2024-10-10 16:28:15 +02:00
Benoit Marty
6f7df87656 Enable Login with QR code in release builds. 2024-10-10 15:53:52 +02:00
ganfra
8b788fe74a misc : makes sure to always use the same size for fetching avatar thumbnail so caching works properly. 2024-10-10 14:09:49 +02:00
Jorge Martin Espinosa
e44b5ad98d Upgrade Kotlin to v2.0 (#3594)
* Bump Kotlin to v2.0

* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-10 08:32:00 +00:00
renovate[bot]
6ec39e1e76 fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03 (#3583)
* fix(deps): update dependency androidx.compose:compose-bom to v2024.09.03

* Fix the `LinearProgressIndicator` new style

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2024-10-09 11:50:11 +00:00
ganfra
f43c92723b Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
Rework room summary
2024-10-09 11:44:45 +02:00
ganfra
65fe6ae0f3 misc: extract toSelectRoomInfo method 2024-10-09 11:13:27 +02:00
ganfra
bd59d115e6 misc : rework getRoomInfoFlow (by using getRoomSummaryFlow) 2024-10-08 21:36:38 +02:00
ganfra
d73b1bad91 misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo. 2024-10-08 21:34:34 +02:00
Benoit Marty
3801f85a9c Do not render pin violation in clear room. 2024-10-08 18:30:08 +02:00
Benoit Marty
f7a3f707fb Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
c8ff0d5641 Fix code quality. 2024-10-08 11:09:46 +02:00
Benoit Marty
351f058f06 Fix compilation issues. 2024-10-08 10:27:07 +02:00
Benoit Marty
67140fe165 Do what the doc says: if no CustomChrome tab is available, try to open the Url in any installed browser. 2024-10-08 09:10:12 +02:00
Benoit Marty
9d815d26b4 Pin user identity. 2024-10-07 22:19:13 +02:00
Benoit Marty
9b94edcfa3 Render PinViolation above the composer. 2024-10-07 22:18:32 +02:00
Benoit Marty
3514933c53 Add component ComposerAlertMolecule 2024-10-07 22:15:34 +02:00
Benoit Marty
6bdb12f053 Remove unused import. 2024-10-07 18:08:51 +02:00
Benoit Marty
08673f44ce Use backgroundScope 2024-10-07 17:46:19 +02:00
Benoit Marty
724c183639 Remove dependencies to other presenters to FullScreenIntentPermissionsPresenter.
Also do some renaming since FullScreenIntentPermissionsPresenter interface can be removed.
2024-10-07 17:45:18 +02:00