ganfra
4da18935cd
Merge branch 'develop' into feature/fga/pinned_event_feature_flag
2024-07-30 20:44:51 +02:00
ganfra
a4f14c29cf
Pinned events : add more tests on pin/unpin
2024-07-30 19:13:35 +02:00
ganfra
81c14926d8
Pinned event : log and show snackbar on error
2024-07-30 19:12:29 +02:00
ganfra
3bc6cc0a94
Pinned events : clean up code
2024-07-30 16:40:18 +02:00
ganfra
a289f93079
Pinned event : add some tests
2024-07-30 16:38:11 +02:00
ganfra
ed3593f35a
Pinned events: branch pin/unpin according to current state
2024-07-30 13:32:10 +02:00
ganfra
56b8b377e4
Pinned events: add unpin action
2024-07-30 11:52:45 +02:00
ganfra
4b8b8d1af9
Pinned event : branch pinEvent action
2024-07-29 13:43:57 +02:00
ganfra
6ad547833f
Refactor userEventPermissions
2024-07-29 13:43:47 +02:00
bmarty
d288ace4bd
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ganfra
233a1ff09e
Pinned event: add action on timeline
2024-07-26 18:20:17 +02:00
ganfra
3adc6d0be8
Timeline Action : refactor how it's computed and align with iOS
2024-07-26 18:20:03 +02:00
ganfra
878333cc77
Merge pull request #3222 from element-hq/feature/jme/add-simplified-sliding-sync-toggle
...
Add simplified sliding sync toggle to developer options
2024-07-25 10:37:11 +02:00
ganfra
b974032e64
Merge branch 'develop' into feature/jme/add-simplified-sliding-sync-toggle
2024-07-24 17:35:57 +02:00
ganfra
d1b1e16620
Merge branch 'develop' into feature/fga/room_preview_join_button_fallback
2024-07-24 16:34:35 +02:00
ganfra
f5d215ba0f
Edit : fallback to room.edit when timeline item is not found.
2024-07-24 11:49:16 +02:00
ganfra
d162c8ffab
Join Room : fallback to show Join button when RoomContent is Unknown (preview fails)
2024-07-24 10:33:06 +02:00
ganfra
85d6acfc48
Join Room : makes sure we can join by alias
2024-07-23 21:17:35 +02:00
Jorge Martin Espinosa
1b016946ea
Fix linkification not working for Spanned strings in text messages ( #3233 )
...
* Fix linkification not working for `Spanned` string instead of `Spannable`.
This issue was found as a regression after upgrading the RTE version to `2.37.7`.
* Fix and add tests
2024-07-22 09:09:20 +00:00
ElementBot
9522569860
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-07-22 08:59:47 +00:00
Benoit Marty
94f38f1af5
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
2024-07-22 10:39:48 +02:00
Jorge Martín
fc6436dada
Unify the internal pinunlock.SignOut and the new LogoutUseCase classes
2024-07-19 19:51:49 +02:00
Jorge Martin Espinosa
bc87ff01cf
Cancel ringing call notification on call cancellation ( #3047 )
...
* Cancel ringing call notification on call cancellation
* Improve implementation, add some comments to clarify how it works.
* Make sure the call timeout job is cancelled
2024-07-19 17:51:44 +02:00
ganfra
6ee15e4b6a
Compose : add immutability to some Reaction classes
2024-07-19 17:13:49 +02:00
Jorge Martín
f70a7fcd34
Don't reset the SSS toggle when logged out.
...
Instead, force a logout when toggling the option so user needs to log in again and create a new session using SSS.
2024-07-19 16:32:25 +02:00
Jorge Martín
34015b337e
Add simplified sliding sync toggle to developer options
2024-07-19 14:46:42 +02:00
Benoit Marty
a31e78f186
Merge pull request #3209 from element-hq/feature/bma/fixTruncatedButtons
...
Reduce the risk of text truncation in buttons.
2024-07-18 10:32:48 +02:00
Benoit Marty
e9d40a23a5
Merge pull request #3207 from element-hq/feature/bma/openSourceLicenses
...
Add generated screen to show open source licenses in Gplay variant
2024-07-17 18:59:13 +02:00
Benoit Marty
dea8f78cd6
Merge pull request #3206 from element-hq/feature/bma/updateGrammar
...
Update grammar on Matrix Ids to be more spec compliant and render error instead of infinite loading in room member list screen
2024-07-17 18:20:46 +02:00
Benoit Marty
1dcdde98c2
Reduce the risk of text truncation in buttons.
2024-07-17 17:46:36 +02:00
Benoit Marty
c2c7f6b755
Add generated screen to show open source licenses.
...
For Google Play variant only
2024-07-17 15:53:08 +02:00
Benoit Marty
0255abe504
Fix quality and test compilation.
2024-07-17 11:36:21 +02:00
Benoit Marty
9636611ce8
Render errors in room member list view.
2024-07-17 11:00:14 +02:00
Jorge Martin Espinosa
a6b6d2ab7a
Fix pillification not working for non formatted message bodies ( #3201 )
...
* Fix pillification not working for non formatted message bodies
Pure Markdown bodies weren't being 'pillified' so their mentions were turned into UI elements in the timeline.
A new `pillifiedBody` property was added to `TimelineItemTextBasedContent` to fix this.
* Use shorter version of `textWithMentions` computation
2024-07-17 08:20:47 +00:00
Benoit Marty
eec4b626d0
Fix quality (Konsist failure)
2024-07-16 16:29:33 +02:00
Benoit Marty
3b46ab6523
Ensure that pinKeyMaxWidth and pinKeyMaxHeight are never negative.
...
Fix crash `Exception: java.lang.IllegalStateException: lineHeight can't be negative`
Can be due to the rendering when the Activity is animated maybe?
2024-07-16 16:01:45 +02:00
Benoit Marty
88ed1b6262
Fix typo.
2024-07-16 15:47:21 +02:00
Benoit Marty
e3c7e37f23
When user manually mark a room as read, also dismiss the notifications for this room.
2024-07-16 13:10:30 +02:00
Benoit Marty
2585f8ba52
Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications.
2024-07-16 11:24:41 +02:00
Benoit Marty
591eac4ddc
Merge pull request #3199 from element-hq/feature/bma/improvePip
...
Improve pip and add feature flag.
2024-07-16 10:18:13 +02:00
Jorge Martin Espinosa
89ec904c4a
Restore intentional mentions in the markdown/plain text editor ( #3193 )
...
* Restore intentional mentions in the markdown/plain text editor
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-07-15 18:27:59 +02:00
Benoit Marty
f3b3b97877
Add preview for Call screen in different PipState.
2024-07-15 17:23:03 +02:00
Benoit Marty
a7c6b7e751
When PiP is supported, use Back for top left icon instead of Close. #3197
2024-07-15 17:23:03 +02:00
Benoit Marty
77a42f2198
Call in PiP: when closing PiP, hang up the call.
...
The Activity is actually not destroyed as I expected.
2024-07-15 17:22:34 +02:00
Benoit Marty
b95004fe23
Call in PiP: add feature flag, disabled in release builds.
2024-07-15 16:48:39 +02:00
bmarty
3865709d98
Sync Strings from Localazy
2024-07-15 00:23:30 +00:00
Jorge Martin Espinosa
176755ac33
Subscribe to RoomListItems in the visible range ( #3169 )
...
* Subscribe to `RoomListItems` in the visible range
This ensures the room list items always have updated info.
2024-07-11 10:54:56 +02:00
Jorge Martin Espinosa
bb47ff8f49
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-07-10 16:28:46 +00:00
Benoit Marty
922f65cc96
Some renaming.
2024-07-10 16:27:29 +02:00
Benoit Marty
21fafe2fc9
No need to be a member of the class.
2024-07-10 16:26:09 +02:00