Commit graph

8674 commits

Author SHA1 Message Date
Benoit Marty
2acfb29416 Some cleanup 2021-05-05 17:54:56 +02:00
Valere
99d4471799 space beta people screen 2021-05-05 17:54:56 +02:00
Benoit Marty
b09e509db7
Merge pull request #3259 from vector-im/feature/bca/spaces_advertise_beta
Invite bottom sheet + fixes + beta tag
2021-05-05 16:26:54 +02:00
Benoit Marty
17e57fe86c Fix small issue 2021-05-05 16:24:47 +02:00
Benoit Marty
64a37c251d
Merge pull request #3264 from vector-im/feature/bma/fix_3245
Compress video and improve file too big error detection
2021-05-05 15:50:21 +02:00
Benoit Marty
080bdf1495 Fix long line 2021-05-05 15:48:11 +02:00
Valere
168633b466 Code review 2021-05-05 14:55:02 +02:00
Valere
ecceb0fb03 code review 2021-05-05 11:33:28 +02:00
Valere
b9b3832ee3 Invite bottom sheet + fixes + beta tag 2021-05-05 11:33:28 +02:00
Benoit Marty
e28556dd1b Create TemporaryFileCreator to avoid code duplication 2021-05-05 11:26:36 +02:00
Benoit Marty
590d8fc849 Also test the effect of completeExceptionally() 2021-05-05 11:12:06 +02:00
Benoit Marty
62207f02f0 Properly handle the compression cancellation
It should never occur though
2021-05-05 10:53:52 +02:00
Benoit Marty
8d52829918 Fix issue in logs 2021-05-05 10:49:57 +02:00
Benoit Marty
9e4f1147f4 Fix an issue with the layout dialog_photo_or_video.xml on Dark theme. Light theme does not use .Bridge, so no reason to use it for Dark theme.
I hope there will be no regression though...
2021-05-04 23:26:06 +02:00
Benoit Marty
2a411ccf6c Handle properly the case where the video compression is not necessary 2021-05-04 23:14:18 +02:00
Benoit Marty
efc08b376b Transcoder.transcode() already operated on a background thread 2021-05-04 22:50:42 +02:00
Benoit Marty
dd325c4e91
Merge pull request #3270 from vector-im/feature/bma/remove_jcenter
https://github.com/Piasy/BigImageViewer is now hosted on mavenCentral()
2021-05-04 17:32:23 +02:00
Benoit Marty
fb42b869dd Fix false positive with lint 2021-05-04 17:31:04 +02:00
Benoit Marty
d8bdf8e625 Rename file (ktlint) 2021-05-04 17:24:48 +02:00
Benoit Marty
61380bf48a Use Junit import 2021-05-04 15:28:52 +02:00
Benoit Marty
edbfc2e2e9 Add details about events with attachment in the bottomsheet 2021-05-04 13:50:49 +02:00
Benoit Marty
c502e971a1 Use Long for size like for the other models (FileInfo, AudioInfo, VideoInfo) 2021-05-04 13:35:03 +02:00
Benoit Marty
bcf6dcbf70 Compute new video dimension after compression 2021-05-04 12:47:21 +02:00
Benoit Marty
6347564365 Change the library to compress video for licensing reason 2021-05-04 12:17:43 +02:00
Benoit Marty
ee7518bf51 Dependabot missed this one (?) 2021-05-04 10:51:07 +02:00
Benoit Marty
4189db0f89 Use Junit import 2021-05-04 10:50:31 +02:00
Benoit Marty
9d225b7826 Fixed! 2021-05-03 21:14:06 +02:00
Benoit Marty
12c4f3c6f7 Fix video thumbnail not displayed in when replying and in bottom sheet
Also create some extensions for future use
2021-05-03 21:14:06 +02:00
Benoit Marty
f7949100a7 Sent video does not contains duration (#3272)
When using the file picker (and not the media picker).
Now when using the file picker, we detect the mime type and we send the correct event
Also some code duplication
2021-05-03 21:14:06 +02:00
Benoit Marty
d9ffce7e0d Add option to record a video from the camera
Replace #2411
2021-05-03 21:13:47 +02:00
Benoit Marty
30a54cfdbc User can now select video when selecting Gallery to send attachments to a room 2021-05-03 21:13:47 +02:00
Benoit Marty
570cffd3ed Fix small copy paste error 2021-05-03 21:13:47 +02:00
Benoit Marty
d7cbae7c47 Fix a regression with video size 2021-05-03 21:13:47 +02:00
Benoit Marty
e510de1ccc Display video/image compression progress 2021-05-03 21:13:47 +02:00
Benoit Marty
765380ab95 Fix potential issue with video message conten 2021-05-03 21:13:47 +02:00
Benoit Marty
d6b6768f41 Cleanup 2021-05-03 21:13:47 +02:00
Benoit Marty
5213309587 Send the Thumbnail after the main content, for the case the main content fails if too large. 2021-05-03 21:13:47 +02:00
Benoit Marty
e1e4b03532 Do not serialize "soft_logout" 2021-05-03 21:13:47 +02:00
Benoit Marty
e108534a2a Improve file too big error detection and rendering (#3245) 2021-05-03 21:13:47 +02:00
Benoit Marty
4a23d31271 Fix regression on sending error indicator color 2021-05-03 21:13:47 +02:00
Benoit Marty
8ff65b3816 Add a video indicator on the miniature (videos are now previewable) 2021-05-03 21:13:47 +02:00
Benoit Marty
5e1c503d2e Compress video before sending (#442) 2021-05-03 21:13:47 +02:00
Benoit Marty
a377a595b9 Cleanup file, this belongs to the main build.gradle file 2021-05-03 21:13:25 +02:00
Benoit Marty
75a4455d15 reorder methods 2021-05-03 21:13:25 +02:00
Benoit Marty
c9abdb5def
Merge pull request #3267 from SpiritCroc/read_marker
Fix updating read marker automatically
2021-05-03 00:29:06 +02:00
Benoit Marty
0a9fdea26d https://github.com/Piasy/BigImageViewer is now hosted on mavenCentral() 2021-05-03 00:27:28 +02:00
SpiritCroc
e3204c32a1 Fix updating read marker automatically
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2021-05-01 13:33:53 +02:00
Benoit Marty
8edbd323de
Merge pull request #3266 from SpiritCroc/missing_sender
Fix missing sender information after edits
2021-05-01 10:53:59 +02:00
SpiritCroc
47aa787ecb Fix missing sender information after edits
Fixes https://github.com/vector-im/element-android/issues/3184
2021-05-01 10:11:15 +02:00
Benoit Marty
c4a4a5d41c
Merge pull request #3258 from vector-im/feature/bma/fix_3250
Delete and react to stickers (#3250)
2021-04-30 18:11:55 +02:00