Commit graph

2180 commits

Author SHA1 Message Date
Benoit Marty
045c701c7b
Merge pull request #1959 from vector-im/feature/bma/clipUsernames
Clip usernames
2023-12-06 17:17:27 +01:00
Benoit Marty
e8e2e95e02 Follow SDK method renaming: fix_recovery_issues() got renamed to recover() 2023-12-05 17:40:47 +01:00
Benoit Marty
573dc2a7af Ensure user display name is clipped to the Text area (#1950) 2023-12-05 17:20:58 +01:00
Benoit Marty
8f5fed48ab
Merge pull request #1955 from vector-im/feature/bma/notificationForInvites
Add setting to disable notification for invites
2023-12-05 16:52:25 +01:00
Benoit Marty
b98351ec36
Merge pull request #1952 from vector-im/sync-localazy
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
24d3981261 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty
fd42c78b15 Sync again 2023-12-05 11:25:47 +01:00
Benoit Marty
5af1a786e5 Sync string again after removing problematic translations from Localazy. 2023-12-04 18:03:21 +01:00
Benoit Marty
0c7ae98099 Remove empty lines 2023-12-04 17:50:21 +01:00
Benoit Marty
66ac1e271f Add notification setting to enable/disable being notified for room invite (#1944) 2023-12-04 17:50:21 +01:00
Benoit Marty
69888c8a21 Sync string again after removing problematic translations from Localazy. 2023-12-04 16:24:05 +01:00
Benoit Marty
dfa5ee028b Fix small error 2023-12-04 15:47:20 +01:00
Benoit Marty
abd90acd8c Add Konsist test to use isNull() instead of isEqualTo(null), and fix existing issue. 2023-12-04 15:30:57 +01:00
Benoit Marty
9e731f40ca Add Konsist test to use isEmpty() instead of isEqualTo(empty), and fix existing issue. 2023-12-04 15:27:06 +01:00
Benoit Marty
ab8e4f1422 Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues. 2023-12-04 15:23:36 +01:00
Benoit Marty
b2d9b41946 Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues. 2023-12-04 15:21:50 +01:00
Benoit Marty
fa590202c3 Add Konsist test to check that assertThat is imported, and fix existing issues. 2023-12-04 15:18:01 +01:00
bmarty
fced91addb Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Benoit Marty
b7361f2b48
Merge pull request #1925 from vector-im/feature/bma/testAndroidMediaPreProcessor
Feature/bma/test android media pre processor
2023-12-01 13:53:55 +01:00
ganfra
15d86c2981
Merge pull request #1938 from vector-im/feature/fga/user_detail_direct_chat
Feature/fga/user detail direct chat
2023-12-01 13:46:01 +01:00
ganfra
785a27151e StartDMAction : small improvements after review 2023-12-01 11:28:29 +01:00
Benoit Marty
33e8080d63
Merge pull request #1936 from vector-im/feature/bma/testAndroidLocalMediaActions
Test android local media actions and other classes
2023-12-01 09:38:40 +01:00
Benoit Marty
fa3422f858
Merge pull request #1934 from vector-im/feature/bma/timelineFixes
Timeline fixes
2023-12-01 09:37:41 +01:00
ganfra
1921b4f18f Merge branch 'develop' into feature/fga/user_detail_direct_chat 2023-11-30 18:10:51 +01:00
ganfra
3efbf4747d StartDM : add tests 2023-11-30 18:05:26 +01:00
Benoit Marty
a12f83b399 Add unit test for VectorFileLogger 2023-11-30 15:52:45 +01:00
Benoit Marty
5d92919611 Fix compilation warning 2023-11-30 13:55:55 +01:00
ganfra
e55fab29e4 Branch StartDM in the RoomMemberDetails screen 2023-11-30 13:07:50 +01:00
ganfra
e8eb9c0840 Add StartDMAction to further share code 2023-11-30 13:07:24 +01:00
Benoit Marty
ef530debc0 Read Receipt Row should not swipe when user swipe to reply to a message. 2023-11-30 11:08:45 +01:00
Benoit Marty
18bbc8ca24 Expand group when clicking on grouped read receipt. 2023-11-30 11:00:17 +01:00
Jorge Martin Espinosa
2e8d5ac86a
Set a default power level to join calls in room (#1927)
* Set a default power level to join calls.

Also, create new rooms taking this power level into account.

* Modify test to make sure we display the disabled state even when there is an ongoing call

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-30 09:47:48 +00:00
Benoit Marty
6bb296240b Fix chevron orientation according to design and animate the change. 2023-11-30 10:07:33 +01:00
Benoit Marty
813983c452 Log errors 2023-11-29 17:02:38 +01:00
ganfra
ab2dc827f0 Creates a startDM method so we can reuse it for the new flow 2023-11-29 16:16:09 +01:00
Jorge Martin Espinosa
ba4d3a70c7
Try to make all collections used in Compose code immutable (#1922)
* Try to make all collections used in Compose code immutable.

Mark sealed interfaces as `@Immutable` too

* Add gradle code to check the compose compiler reports

* Fix some more unstable classes
2023-11-29 15:02:08 +00:00
Jorge Martin Espinosa
8b7c53262f
Use the right avatar for DMs in DM rooms (#1917) 2023-11-29 13:06:48 +01:00
Marco Romano
6ea26dd6c4
Upgrade to rust sdk 0.1.71 (#1905)
https://github.com/matrix-org/matrix-rust-components-kotlin/releases/tag/sdk-v0.1.71

There are breaking changes as specified in: https://github.com/vector-im/element-x-android/issues/1898 plus the one related to the poll history feature.
2023-11-29 10:34:51 +01:00
Marco Romano
f186a85ed0
Rename params in NodeFactories for clarity (#1916)
- `context` is now `buildContext` to reflect that it's of type `BuildContext` (and not an android `Context`).
- `NODE` generic type param is now `N` to stick with Java convention: https://docs.oracle.com/javase/tutorial/java/generics/types.html.
2023-11-29 10:01:07 +01:00
Jorge Martin Espinosa
ab8402a4dc
Open room member avatar in a media viewer (#1911)
* Open room member avatar in viewer.

The `MediaViewer` was extracted to its own library module.

* Update screenshots

* Restore KSP processor in `:libraries:mediaviewer:api`, this should generate Showkase components again.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 17:39:41 +00:00
Benoit Marty
76d6d1f12b
Merge pull request #1910 from vector-im/feature/bma/fixRRscroll
Fix issues around read receipt
2023-11-28 17:45:38 +01:00
jonnyandrew
4e43a93dde
Confirm back navigation when editing a poll only if the poll was changed (#1886)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 15:33:49 +00:00
Benoit Marty
bc60abd30b Move TimelineItemRow to its own file. 2023-11-28 15:21:02 +01:00
Benoit Marty
14b504b715 Fix code quality. 2023-11-28 15:12:40 +01:00
Benoit Marty
40c91a8196 Compute aggregatedReadReceipts in a background worker. 2023-11-28 15:10:42 +01:00
Benoit Marty
ea3bb87bac Reduce bottom padding for state event 2023-11-28 15:00:38 +01:00
Benoit Marty
fe10c970dc Add read receipt on StateEvents 2023-11-28 14:46:15 +01:00
Benoit Marty
682c681fb2 Add read receipt on GroupedEvents 2023-11-28 14:26:37 +01:00
jonnyandrew
a0548dfdc4
Add option to delete a poll while editing the poll (#1895)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 13:25:18 +00:00
Benoit Marty
393feb7215 Use List constructor. 2023-11-28 14:17:57 +01:00