Benoit Marty
846dbc2b18
Add media upload setting.
...
Compress media regarding the settings.
Image compression change quality to 78%
Video compression change size to 720 x 48
4 days ago
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
Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
3 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
Benoit Marty
ec8cb2e32f
Change Test class suffix.
5 months ago
Jorge Martín
cc9c04b1a3
Fix SDK integration
8 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
ee766ecf26
Providing a thumbnail when sending a media is now optional.
11 months ago
Benoit Marty
655d8305a1
Using Exception is OK here.
11 months ago
Benoit Marty
1df3817808
Use MimeTypes object instead of hard-coded strings.
11 months ago
Marco Romano
0e4141863b
Always treat waveform as List<Float> ( #1663 )
...
[MSC3246](https://github.com/matrix-org/matrix-spec-proposals/pull/3246 ) specifies the waveform as a list of ints because:
> Because floating point numbers are not allowed in Matrix events
Though DSP on audio data is almost always done using their floating point representation.
This PR brings the float<->int rescaling in the `matrix` module so that the application code can always work with float waveform samples.
1 year ago
jonnyandrew
b476654489
Record and send voice messages ( #1596 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
983b83a56f
Media upload cancellation ( #1058 )
...
* Initial implementation of media upload cancellation
* Add tests
* Add changelog
* Update screenshots
* Add documentation
* Fix lint issues
* Fix review comments
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
9fbdef4bd2
Fix warning ('when' is exhaustive so 'else' is redundant here)
1 year ago
ganfra
e9a34eb46d
Media: upload audio
1 year ago
ganfra
f090aa021e
Media upload: branch progress callback to UI
1 year ago
ganfra
2115db7af5
Rust sdk update: make the app compile
1 year ago
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
1 year ago
Jorge Martín
87990c425c
Fix small issues, improve `Result.flatMap`
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
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.
2 years ago