Benoit Marty
fd42c78b15
Sync again
11 months ago
Benoit Marty
f44a4a3a31
Fix `AlsoCouldBeApply` issue.
11 months ago
Benoit Marty
5af1a786e5
Sync string again after removing problematic translations from Localazy.
11 months ago
Benoit Marty
66ac1e271f
Add notification setting to enable/disable being notified for room invite ( #1944 )
11 months ago
Benoit Marty
1779e53e93
Let RustNotificationSettingsService handle the lifecycle of `notificationSettings`, and call `setDelegate(null)`
11 months ago
Benoit Marty
69888c8a21
Sync string again after removing problematic translations from Localazy.
11 months ago
Benoit Marty
ab8e4f1422
Add Konsist test to use isTrue() instead of isEqualTo(true), and fix existing issues.
11 months ago
Benoit Marty
b2d9b41946
Add Konsist test to use isFalse() instead of isEqualTo(false), and fix existing issues.
11 months ago
Benoit Marty
fa590202c3
Add Konsist test to check that `assertThat` is imported, and fix existing issues.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
Benoit Marty
5ae5f994eb
Fix compilation issue
11 months ago
ganfra
785a27151e
StartDMAction : small improvements after review
11 months ago
Benoit Marty
95b922c272
Remove unused import.
11 months ago
ganfra
3efbf4747d
StartDM : add tests
11 months ago
Benoit Marty
cc5c9b4136
Fix test compilation and fixture.
11 months ago
Benoit Marty
b7a6d8996a
Add unit test for AndroidLocalMediaActions
11 months ago
Benoit Marty
0dcb9202d3
Add unit test for AndroidLocalMediaFactory
11 months ago
Benoit Marty
c3908e7a6c
Add unit test for FileExtensionExtractor
11 months ago
Benoit Marty
0f599ab970
Add unit test for AndroidFileSizeFormatter
11 months ago
Benoit Marty
3e2ff5113d
Let package match namespace
11 months ago
ganfra
e8eb9c0840
Add StartDMAction to further share code
11 months ago
Benoit Marty
4c016a9f3d
Small refacto: use `isOwn` instead of `isMe`
11 months ago
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>
11 months ago
Benoit Marty
cf8abae20c
Cleanup
11 months ago
Benoit Marty
62833c8bec
Disable failing tests for AndroidMediaPreProcessor
11 months ago
Benoit Marty
7e8794bc6e
Add tests for AndroidMediaPreProcessor
11 months ago
Benoit Marty
655d8305a1
Using Exception is OK here.
11 months ago
Benoit Marty
a7d78cae78
Remove useless `suspend` modifier
11 months ago
Benoit Marty
048ab7c603
Provide CoroutineDispatchers to ImageCompressor
11 months ago
ganfra
ab2dc827f0
Creates a startDM method so we can reuse it for the new flow
11 months ago
renovate[bot]
59f8641973
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>
11 months ago
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
11 months ago
ganfra
fda114d648
RoomList: introduce incremental loading to improve performances.
11 months ago
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.
11 months ago
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 .
11 months ago
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>
11 months ago
Jorge Martin Espinosa
4de256b69c
Add special notifications for mentions ( #1846 )
...
* Add special notifications for mentions
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
ElementBot
12b3196471
Sync Strings ( #1892 )
...
* Sync Strings from Localazy
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: jonnyandrew <jonnya@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
11 months ago
Benoit Marty
1df3817808
Use MimeTypes object instead of hard-coded strings.
11 months ago
Benoit Marty
9059126b2e
Use `kotlin.time.Duration` instead of `java.time.Duration`. Also use `Duration` in `TimelineItemVideoContent`, like in `TimelineItemAudioContent` and `TimelineItemVoiceContent`
11 months ago
Benoit Marty
9afba239bb
Fix: This number should be separated by underscores in order to increase readability
11 months ago
Benoit Marty
a02c5c2b44
Add test for DefaultNotificationDrawerManager
11 months ago
Benoit Marty
b61b45dd0c
NotificationEventPersistence is now an interface, to allow in-memory implementation.
11 months ago
Benoit Marty
a09fa1c5ad
Add test for NotificationEventPersistence
11 months ago
Benoit Marty
73ebffab2e
Add coverage for NotificationBitmapLoader
11 months ago
Benoit Marty
7cb6740dd6
Remove useless try catch.
11 months ago
Benoit Marty
abf1de7f42
Fix issue in RoomGroupMessageCreator
11 months ago
Benoit Marty
435827af28
Add test for RoomGroupMessageCreator
11 months ago
Benoit Marty
5a979e6237
Add test for NotificationCreator
11 months ago
Benoit Marty
1fdf8dad1f
Rename NotificationFactory to NotificationCreator to fix the name clash.
11 months ago