Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
3 months ago
Jorge Martín
d4f8052696
Unify the internal `pinunlock.SignOut` and the new `LogoutUseCase` classes
3 months ago
Jorge Martin Espinosa
344e07bc0b
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
3 months ago
ganfra
2f0e9ebd93
Compose : add immutability to some Reaction classes
3 months ago
Jorge Martín
ff6ea43237
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.
3 months ago
Jorge Martín
b9f4403408
Add simplified sliding sync toggle to developer options
3 months ago
Benoit Marty
13853a39a5
Reduce the risk of text truncation in buttons.
4 months ago
Benoit Marty
766ae389ce
Add generated screen to show open source licenses.
...
For Google Play variant only
4 months ago
Benoit Marty
263c058843
Fix quality and test compilation.
4 months ago
Benoit Marty
10717b5e48
Render errors in room member list view.
4 months ago
Jorge Martin Espinosa
f5e866e18c
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
4 months ago
Benoit Marty
83a366af2a
Fix quality (Konsist failure)
4 months ago
Benoit Marty
0db221e953
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?
4 months ago
Benoit Marty
459c99e45f
Fix typo.
4 months ago
Benoit Marty
85ceb0296c
When user manually mark a room as read, also dismiss the notifications for this room.
4 months ago
Benoit Marty
6ea629a4d2
Rename interface `NotificationDrawerManager` to `NotificationCleaner` since it actually contains only method to remove notifications.
4 months ago
Jorge Martin Espinosa
2ff5fa67fc
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>
4 months ago
Benoit Marty
a0b8679776
Add preview for Call screen in different PipState.
4 months ago
Benoit Marty
15d4782aa6
When PiP is supported, use Back for top left icon instead of Close. #3197
4 months ago
Benoit Marty
497f5d9f38
Call in PiP: when closing PiP, hang up the call.
...
The Activity is actually not destroyed as I expected.
4 months ago
Benoit Marty
d27e86f396
Call in PiP: add feature flag, disabled in release builds.
4 months ago
bmarty
14511633db
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
5944f112fb
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.
4 months ago
Jorge Martin Espinosa
0be7058416
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>
4 months ago
Benoit Marty
eb8d7e2166
Some renaming.
4 months ago
Benoit Marty
85428fbcfb
No need to be a member of the class.
4 months ago
Benoit Marty
d1a4fd76de
Some renaming.
4 months ago
Benoit Marty
6d6de1ae3d
Rework. Keep `io.element.android.appconfig.LockScreenConfig` as simple as possible.
4 months ago
Benoit Marty
bb5ae89b2f
Introduce ElementThemeApp to avoid code duplication.
4 months ago
Benoit Marty
214c9d2d2b
Fix KtLint issue
4 months ago
Benoit Marty
c73d814220
CallScreenPresenter is reading the current theme, it needs to be in the ElementTheme block. Closes #3153
4 months ago
Benoit Marty
9856ece42a
Ensure `PinUnlockActivity` and `IncomingCallActivity` use the internal theme set by the user.
4 months ago
Benoit Marty
5ccf95018d
Fix test compilation
4 months ago
Benoit Marty
e48b958d52
When clearing cache, ensure that SessionPreferencesStore is removed from the cache.
...
Fixes blank screen after clear cache.
Also cleanup the codebase.
4 months ago
Benoit Marty
fbe70ddf5d
Use session coroutine scope instead of application coroutine scope.
4 months ago
Benoit Marty
962320a0d8
Remove test on API 24 (working locally but not on CI :/)
4 months ago
Jorge Martin Espinosa
d9a498c86a
Reduce delay when selecting room list filters ( #3160 )
...
Previously, this had to wait for a recomposition until it was launched, which took ~100ms in a debug build. With these changes, the side effect is emitted in 10-20ms instead.
4 months ago
Benoit Marty
0093e611cd
Add Ui test on CallScreenView
4 months ago
Benoit Marty
966219b791
Rename method (copy paste error)
4 months ago
Benoit Marty
664f78741d
Add preview for loading state.
4 months ago
Benoit Marty
a005c80fe4
Add support for Picture in Picture for ElementCallActivity
4 months ago
ElementBot
3a91b4f39d
Sync Strings ( #3156 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
4 months ago
renovate[bot]
68efc918ba
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 ( #3145 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31
* Use new Rust client side sorting API
* Make `RoomListEntriesUpdate.describe()` an extension function
* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`
* Fix icon sizes to pass the lint checks
* 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 <benoitm+elementbot@element.io>
4 months ago
Benoit Marty
1a99a9f0e6
Format file. No other change.
4 months ago
Benoit Marty
a7de751f0e
Ensure that all the callback instances are invoked.
4 months ago
Benoit Marty
f5ad2abdd3
Add icon for "Mark as read" and "Mark as unread" action.
4 months ago
Benoit Marty
6a1304a252
Improve click behavior on room timeline title. #3063
4 months ago
ganfra
008ba4fee3
Draft : improve DefaultComposerDraftService code.
4 months ago
ganfra
83066250cc
Draft : add some doc on ComposerDraftStores
4 months ago
jmartinesp
dabaa2d265
Sync Strings from Localazy
4 months ago