Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
4 months ago
Jorge Martin Espinosa
04e503177b
Notifications: simplify the flow by removing persistence ( #2924 )
...
* Notifications: simplify the flow by removing persistence.
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
5 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Benoit Marty
6b611bedfc
Move files to correct package.
11 months ago
Benoit Marty
7889ff118c
Restore test for image sending, now that computing Thumbnail can fail.
11 months ago
Benoit Marty
ca751aac12
ThumbnailUtils.createImageThumbnail can throw IOException, and we can ignore it.
11 months ago
Benoit Marty
d3654ef284
`blurhash` cannot be null here
11 months ago
Benoit Marty
ee766ecf26
Providing a thumbnail when sending a media is now optional.
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
048ab7c603
Provide CoroutineDispatchers to ImageCompressor
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
jonnyandrew
b476654489
Record and send voice messages ( #1596 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
ffef9d936a
Fix: WebP images can't be sent as media. ( #1501 )
...
* Fix: WebP images can't be sent as media.
* Place the `BitmapFactory.Options` mode change and comment where it belongs.
1 year ago
Jorge Martin Espinosa
1d3d1fe480
Fix the orientation of sent images ( #1190 )
...
* Fix the orientation of sent images
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
Jorge Martin Espinosa
648e2c378d
Fix sent videos being cropped ( #1124 )
1 year ago
Benoit Marty
7083abcf09
migrate `object` to `data object` ( #1135 )
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
1f3efdfe46
Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here)
1 year ago
ganfra
e9a34eb46d
Media: upload audio
1 year ago
ganfra
3d0e6a4130
Media: render audio content
1 year ago
Benoit Marty
2452d8aa91
Fix the 6 issues reported by Sonar.
1 year ago
ganfra
f976291731
Media: fix detekt
1 year ago
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
1 year ago
ganfra
d4526e52c6
Matrix rust sdk: update to 0.1.20 (and fix compilation issues)
1 year ago
ganfra
458cd2d4f3
Media: keep the name of the file when possible
1 year ago
ganfra
62b66b2111
Media : some improvements and cleaning
1 year ago
ganfra
f51d6a3cfd
Media : branch upload to preview screen (need improvement)
1 year ago
ganfra
5176499195
Media: fix encrypted media
1 year ago
ganfra
e3ad4ee06f
Media : extract an extension method to mediaupload
1 year ago
Jorge Martin Espinosa
89b9db3be6
[Media upload] Upload image, video and files ( #411 )
...
* Add media upload
* Display media upload error messages using a Snackbar.
1 year ago
Jorge Martin Espinosa
5eaa40a14b
[Media upload] Media pre-processing ( #403 )
...
* Create `mediaupload` module for media pre-processing.
* Split `mediapicker` and `mediaupload` modules.
1 year ago