Commit graph

3384 commits

Author SHA1 Message Date
ganfra
8a3489c160
Merge pull request #3260 from element-hq/feature/fga/start_sync_on_push
Feature/fga/start sync on push
2024-08-01 12:14:42 +02:00
ganfra
d8532c0d19 Sync on push : fix CallScreenPresenterTests after last changes. 2024-08-01 11:21:05 +02:00
ganfra
0b32dbebb5 tests : refactor some classes 2024-07-31 21:14:29 +02:00
ganfra
7279aa03c5 Pinned events : clean up more banner code 2024-07-31 15:51:19 +02:00
ganfra
e96a11f5e5 Pinned events : clean up banner code and add small test. 2024-07-31 13:44:46 +02:00
ganfra
8852735b70 Merge branch 'develop' into feature/fga/pinned_message_banner_ui 2024-07-31 13:11:51 +02:00
renovate[bot]
6b8dba6bb2
Update dependency io.nlopez.compose.rules:detekt to v0.4.8 (#3254)
* Update dependency io.nlopez.compose.rules:detekt to v0.4.8

* Fix new lint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-07-31 11:08:11 +02:00
ganfra
6743e3b52c Pinned events : add more tests on pin/unpin 2024-07-30 20:55:11 +02:00
ganfra
cbae8fdfd6 Merge branch 'develop' into feature/fga/pinned_event_feature_flag 2024-07-30 20:44:51 +02:00
ganfra
d5bc6828b9 Pinned events : add more tests on pin/unpin 2024-07-30 19:13:35 +02:00
ganfra
38fb26e3c6 Pinned event : log and show snackbar on error 2024-07-30 19:12:29 +02:00
ganfra
46f5115c0a Pinned events : clean up code 2024-07-30 16:40:18 +02:00
ganfra
66e06d7d1c Pinned event : add some tests 2024-07-30 16:38:11 +02:00
ganfra
5e47c98699 Pinned events: branch pin/unpin according to current state 2024-07-30 13:32:10 +02:00
ganfra
97cf00ec96 Pinned events: add unpin action 2024-07-30 11:52:45 +02:00
ganfra
6cf64b263e Pinned event : branch pinEvent action 2024-07-29 13:43:57 +02:00
ganfra
210e2092cd Refactor userEventPermissions 2024-07-29 13:43:47 +02:00
bmarty
76804d9e48 Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ganfra
c9a89c77ef Pinned event: add action on timeline 2024-07-26 18:20:17 +02:00
ganfra
0149007dd4 Timeline Action : refactor how it's computed and align with iOS 2024-07-26 18:20:03 +02:00
ganfra
03a0e4fa08 Pinned event : hide/show banner on timeline scroll 2024-07-25 18:37:46 +02:00
ganfra
56e1957d3d Merge remote-tracking branch 'origin/develop' into feature/fga/pinned_message_banner_ui 2024-07-25 17:59:04 +02:00
ganfra
27027371c0
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
60fdee32bf Merge branch 'develop' into feature/jme/add-simplified-sliding-sync-toggle 2024-07-24 17:35:57 +02:00
ganfra
d421a6c99b Merge branch 'develop' into feature/fga/room_preview_join_button_fallback 2024-07-24 16:34:35 +02:00
ganfra
a23e5e2400 Edit : fallback to room.edit when timeline item is not found. 2024-07-24 11:49:16 +02:00
ganfra
0dd8303467 Join Room : fallback to show Join button when RoomContent is Unknown (preview fails) 2024-07-24 10:33:06 +02:00
ganfra
aebcc52309 Join Room : makes sure we can join by alias 2024-07-23 21:17:35 +02:00
ganfra
c76ff38f00 Pinned messages : introduces banner view 2024-07-23 13:05:59 +02:00
Jorge Martin Espinosa
a888b4d43c
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
1f01bd73c4
Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
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
2024-07-22 10:39:48 +02:00
Jorge Martín
d4f8052696 Unify the internal pinunlock.SignOut and the new LogoutUseCase classes 2024-07-19 19:51:49 +02:00
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
2024-07-19 17:51:44 +02:00
ganfra
2f0e9ebd93 Compose : add immutability to some Reaction classes 2024-07-19 17:13:49 +02:00
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.
2024-07-19 16:32:25 +02:00
Jorge Martín
b9f4403408 Add simplified sliding sync toggle to developer options 2024-07-19 14:46:42 +02:00
Benoit Marty
2216c11039
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
5e6ac6fa57
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
0ddc306f01
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
13853a39a5 Reduce the risk of text truncation in buttons. 2024-07-17 17:46:36 +02:00
Benoit Marty
766ae389ce Add generated screen to show open source licenses.
For Google Play variant only
2024-07-17 15:53:08 +02:00
Benoit Marty
263c058843 Fix quality and test compilation. 2024-07-17 11:36:21 +02:00
Benoit Marty
10717b5e48 Render errors in room member list view. 2024-07-17 11:00:14 +02:00
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
2024-07-17 08:20:47 +00:00
Benoit Marty
83a366af2a Fix quality (Konsist failure) 2024-07-16 16:29:33 +02:00
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?
2024-07-16 16:01:45 +02:00
Benoit Marty
459c99e45f Fix typo. 2024-07-16 15:47:21 +02:00
Benoit Marty
85ceb0296c 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
6ea629a4d2 Rename interface NotificationDrawerManager to NotificationCleaner since it actually contains only method to remove notifications. 2024-07-16 11:24:41 +02:00