Commit Graph

5655 Commits

Author SHA1 Message Date
Marco Romano
61b623041b WIP: Poll History 2023-12-01 09:28:07 +01:00
renovate[bot]
233e6d8de2 Update dependency io.element.android:compound-android to v0.0.2 (#1908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:22:34 +01:00
ElementBot
ee77131c61 Update screenshots 2023-12-01 06:58:55 +00:00
ganfra
270c4612f5 Merge pull request #1920 from vector-im/feature/fga/dynamic_room_list_incremental_load
RoomList: introduce incremental loading to improve performances.
2023-11-30 19:51:13 +01:00
ganfra
2a10dd20b3 Add changelog #1920 2023-11-30 18:13:11 +01:00
ganfra
03a2e31d46 Merge branch 'develop' into feature/fga/user_detail_direct_chat 2023-11-30 18:10:51 +01:00
renovate[bot]
32a04859cf Update dependency com.squareup:kotlinpoet to v1.15.2 2023-11-30 17:05:56 +00:00
ganfra
cd28687eb4 StartDM : add tests 2023-11-30 18:05:26 +01:00
Benoit Marty
602eb9be2e Fix test compilation and fixture. 2023-11-30 16:07:20 +01:00
Benoit Marty
f4ec6e3e6f Add unit test for VectorFileLogger 2023-11-30 15:52:45 +01:00
Benoit Marty
f7694860cd Add unit test for AndroidLocalMediaActions 2023-11-30 15:41:40 +01:00
renovate[bot]
fa2bcf0349 Update dependency io.sentry:sentry-android to v7 2023-11-30 14:37:01 +00:00
Benoit Marty
3baa782642 Add unit test for AndroidLocalMediaFactory 2023-11-30 15:07:59 +01:00
Benoit Marty
abf31768a6 Add unit test for FileExtensionExtractor 2023-11-30 14:56:01 +01:00
Benoit Marty
0acaa19a16 Add unit test for AndroidFileSizeFormatter 2023-11-30 14:36:59 +01:00
Benoit Marty
70f59826dd Let package match namespace 2023-11-30 14:05:27 +01:00
Benoit Marty
87158e7321 Fix compilation issue on minimal app. 2023-11-30 13:55:55 +01:00
Benoit Marty
b6c8ef2aa3 Fix compilation warning 2023-11-30 13:55:55 +01:00
ganfra
b57a94943f Branch StartDM in the RoomMemberDetails screen 2023-11-30 13:07:50 +01:00
ganfra
118f1c1459 Add StartDMAction to further share code 2023-11-30 13:07:24 +01:00
Jorge Martin Espinosa
48ef9cda19 Remove warnings in the compose compiler reports configuration gradle code (#1932) 2023-11-30 11:42:26 +01:00
ElementBot
cbd2945342 Update screenshots 2023-11-30 10:33:26 +00:00
Benoit Marty
05ca140a3a Read Receipt Row should not swipe when user swipe to reply to a message. 2023-11-30 11:08:45 +01:00
Benoit Marty
17c8787e17 Expand group when clicking on grouped read receipt. 2023-11-30 11:00:17 +01:00
renovate[bot]
482728425d Update dependency gradle to v8.5 (#1924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:59:42 +01:00
Benoit Marty
802eba66fa Small refacto: use isOwn instead of isMe 2023-11-30 10:58:28 +01:00
Jorge Martin Espinosa
0a91184e4a 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
renovate[bot]
b94ee9fb0a Update dependency androidx.compose.material3:material3 to v1.2.0-alpha12 (#1929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:30:13 +01:00
Benoit Marty
c26b24235f Fix chevron orientation according to design and animate the change. 2023-11-30 10:07:33 +01:00
renovate[bot]
cb63f27e13 Update dependency androidx.webkit:webkit to v1.9.0 2023-11-29 18:36:23 +00:00
renovate[bot]
5bff4677fb Update dependency org.matrix.rustcomponents:sdk-android to v0.1.72 (#1928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 17:43:07 +00:00
Benoit Marty
605b971c0c Merge pull request #1926 from vector-im/renovate/actions-setup-java-4.x
Update actions/setup-java action to v4
2023-11-29 17:59:12 +01:00
Benoit Marty
955b315597 Cleanup 2023-11-29 17:27:16 +01:00
renovate[bot]
4a95a49843 Update actions/setup-java action to v4 2023-11-29 16:04:07 +00:00
Benoit Marty
8bf5d5eee8 Disable failing tests for AndroidMediaPreProcessor 2023-11-29 17:03:27 +01:00
Benoit Marty
fcd8b86c64 Add tests for AndroidMediaPreProcessor 2023-11-29 17:03:27 +01:00
Benoit Marty
3e166e3d89 Using Exception is OK here. 2023-11-29 17:03:27 +01:00
Benoit Marty
1673fe7354 Remove useless suspend modifier 2023-11-29 17:03:27 +01:00
Benoit Marty
6f1bf9b666 Log errors 2023-11-29 17:02:38 +01:00
Benoit Marty
475bf376f9 Provide CoroutineDispatchers to ImageCompressor 2023-11-29 17:02:38 +01:00
Benoit Marty
68a125595e Let test asset be saved using git-LFS 2023-11-29 17:02:38 +01:00
ganfra
69d0a5c7b1 Creates a startDM method so we can reuse it for the new flow 2023-11-29 16:16:09 +01:00
renovate[bot]
8953b9cdae Update wysiwyg to v2.20.0 (#1921)
* Update wysiwyg to v2.20.0

* Workaround line height for composer, remove unused test code.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-29 16:04:40 +01:00
Jorge Martin Espinosa
c739ebc0ee 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
c697baf585 Use the right avatar for DMs in DM rooms (#1917) 2023-11-29 13:06:48 +01:00
ganfra
a324e18982 RoomList: introduce incremental loading to improve performances. 2023-11-29 11:53:15 +01:00
Marco Romano
c6fdc79f83 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
c69d610b6c 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
bbc4d18a9d 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
d0cc8c0b2f Merge pull request #1910 from vector-im/feature/bma/fixRRscroll
Fix issues around read receipt
2023-11-28 17:45:38 +01:00