Benoit Marty
cc5c9b4136
Fix test compilation and fixture.
10 months ago
Benoit Marty
b7a6d8996a
Add unit test for AndroidLocalMediaActions
10 months ago
Benoit Marty
0dcb9202d3
Add unit test for AndroidLocalMediaFactory
10 months ago
Benoit Marty
c3908e7a6c
Add unit test for FileExtensionExtractor
10 months ago
Benoit Marty
0f599ab970
Add unit test for AndroidFileSizeFormatter
10 months ago
Benoit Marty
3e2ff5113d
Let package match namespace
10 months ago
ganfra
e8eb9c0840
Add StartDMAction to further share code
10 months ago
Benoit Marty
4c016a9f3d
Small refacto: use `isOwn` instead of `isMe`
10 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>
10 months ago
Benoit Marty
cf8abae20c
Cleanup
10 months ago
Benoit Marty
62833c8bec
Disable failing tests for AndroidMediaPreProcessor
10 months ago
Benoit Marty
7e8794bc6e
Add tests for AndroidMediaPreProcessor
10 months ago
Benoit Marty
655d8305a1
Using Exception is OK here.
10 months ago
Benoit Marty
a7d78cae78
Remove useless `suspend` modifier
10 months ago
Benoit Marty
048ab7c603
Provide CoroutineDispatchers to ImageCompressor
10 months ago
ganfra
ab2dc827f0
Creates a startDM method so we can reuse it for the new flow
10 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>
10 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
10 months ago
ganfra
fda114d648
RoomList: introduce incremental loading to improve performances.
10 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.
10 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 .
10 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>
10 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>
10 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>
10 months ago
Benoit Marty
1df3817808
Use MimeTypes object instead of hard-coded strings.
10 months ago
Benoit Marty
9059126b2e
Use `kotlin.time.Duration` instead of `java.time.Duration`. Also use `Duration` in `TimelineItemVideoContent`, like in `TimelineItemAudioContent` and `TimelineItemVoiceContent`
10 months ago
Benoit Marty
9afba239bb
Fix: This number should be separated by underscores in order to increase readability
10 months ago
Benoit Marty
a02c5c2b44
Add test for DefaultNotificationDrawerManager
10 months ago
Benoit Marty
b61b45dd0c
NotificationEventPersistence is now an interface, to allow in-memory implementation.
10 months ago
Benoit Marty
a09fa1c5ad
Add test for NotificationEventPersistence
10 months ago
Benoit Marty
73ebffab2e
Add coverage for NotificationBitmapLoader
10 months ago
Benoit Marty
7cb6740dd6
Remove useless try catch.
10 months ago
Benoit Marty
abf1de7f42
Fix issue in RoomGroupMessageCreator
10 months ago
Benoit Marty
435827af28
Add test for RoomGroupMessageCreator
10 months ago
Benoit Marty
5a979e6237
Add test for NotificationCreator
10 months ago
Benoit Marty
1fdf8dad1f
Rename NotificationFactory to NotificationCreator to fix the name clash.
10 months ago
Benoit Marty
3b6c92943c
Remove dead code.
10 months ago
jonnyandrew
583131de6a
Display edited poll indicator in the timeline
10 months ago
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to `compound-android` library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
jonnyandrew
8fcec4a006
Allow polls to be edited ( #1869 )
...
Polls can be edited if they do not have any votes
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
ganfra
656fcbd5e4
Fix see room in room list after leaving it #1006
10 months ago
Benoit Marty
cd0d0574b7
More removal of dead code.
10 months ago
Benoit Marty
68463c2e0c
Remove `UnknownMessageType`, should be handled by `OtherMessageType` now.
10 months ago
Benoit Marty
bc5dd79cec
Remove unused code to increase code coverage.
10 months ago
Benoit Marty
9fe9d88dc8
Small rework code to avoid dead code.
10 months ago
Benoit Marty
ec459165db
Add tests for `NotifiableEventResolver`
10 months ago
Jorge Martin Espinosa
d413aa1ee3
Add plain text representation of messages ( #1850 )
...
* Add plain text representation of messages.
This is used in the room list as the last message in a room, in the message summary when a message is selected, in the 'replying to' block, in the 'replied to' block in a message in the timeline, and in notifications.
10 months ago
Jorge Martin Espinosa
e13b204f4b
Run 'record screenshots' flow if label is present ( #1860 )
...
* Run 'record screenshots' flow if label is present
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
ganfra
0fb4eb005c
RoomList : rework a bit the api and make usage of entriesWithDynamicAdapters
10 months ago
Benoit Marty
ae0c3edd24
Remove default value for lambda.
...
We enforce a value to be provided and it's better for code coverage.
10 months ago