Commit Graph

1905 Commits

Author SHA1 Message Date
Benoit Marty
e8a489b5cd SAS emoji: use embedded drawable (#1953) 2023-12-06 14:10:05 +01:00
Benoit Marty
e9b7f3d52a Merge pull request #1961 from vector-im/feature/bma/keyBackupIteration
Key backup iteration
2023-12-06 11:18:50 +01:00
Benoit Marty
436220d6f6 Map new CALL_MEMBER state, and fix issue on fun canUserJoinCall(). 2023-12-06 10:40:59 +01:00
Benoit Marty
89a9da81e9 Map RecoveryException 2023-12-05 18:11:33 +01:00
Benoit Marty
1131bc88c9 Follow SDK method renaming: fix_recovery_issues() got renamed to recover() 2023-12-05 17:40:47 +01:00
Benoit Marty
aec3fbcc47 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
ef5927d0bc Merge pull request #1952 from vector-im/sync-localazy
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
b43ddd36b9 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty
0375017d69 Sync again 2023-12-05 11:25:47 +01:00
Benoit Marty
0bd1ff9d02 Fix AlsoCouldBeApply issue. 2023-12-04 18:07:04 +01:00
Benoit Marty
09e812cd8d Sync string again after removing problematic translations from Localazy. 2023-12-04 18:03:21 +01:00
Benoit Marty
c0dac24a60 Add notification setting to enable/disable being notified for room invite (#1944) 2023-12-04 17:50:21 +01:00
Benoit Marty
2b83951a4b Let RustNotificationSettingsService handle the lifecycle of notificationSettings, and call setDelegate(null) 2023-12-04 17:50:21 +01:00
Benoit Marty
525cab275e Sync string again after removing problematic translations from Localazy. 2023-12-04 16:24:05 +01:00
Benoit Marty
7c58a843dc Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues. 2023-12-04 15:23:36 +01:00
Benoit Marty
65924eac6b Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues. 2023-12-04 15:21:50 +01:00
Benoit Marty
45883975c4 Add Konsist test to check that assertThat is imported, and fix existing issues. 2023-12-04 15:18:01 +01:00
bmarty
ad2ca01094 Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Benoit Marty
10f513786e Merge pull request #1942 from vector-im/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.73
2023-12-01 17:49:20 +01:00
Benoit Marty
44f397687e Fix compilation issue 2023-12-01 15:29:45 +01:00
Benoit Marty
df897e4fb8 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
1c56addb2b 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
8ff2454ed0 StartDMAction : small improvements after review 2023-12-01 11:28:29 +01:00
Benoit Marty
743c6a9f35 Remove unused import. 2023-12-01 09:39:33 +01:00
Benoit Marty
f15469b9d3 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
9862f7a770 Merge pull request #1934 from vector-im/feature/bma/timelineFixes
Timeline fixes
2023-12-01 09:37:41 +01: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
03a2e31d46 Merge branch 'develop' into feature/fga/user_detail_direct_chat 2023-11-30 18:10:51 +01: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
f7694860cd Add unit test for AndroidLocalMediaActions 2023-11-30 15:41:40 +01: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
ganfra
118f1c1459 Add StartDMAction to further share code 2023-11-30 13:07:24 +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
Benoit Marty
955b315597 Cleanup 2023-11-29 17:27:16 +01: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
475bf376f9 Provide CoroutineDispatchers to ImageCompressor 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
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