Commit Graph

8799 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
Valere 4abfc1fd2b Fix space test + room history visibility bug 2021-05-05 17:46:58 +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
Vancha b05f53453a Translated using Weblate (Frisian)
Currently translated at 94.4% (17 of 18 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fy/
2021-05-05 08:34:51 +00:00
zeritti ad1832efbc Translated using Weblate (Czech)
Currently translated at 94.4% (17 of 18 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2021-05-05 08:34:51 +00:00
LinAGKar 51ea772579 Translated using Weblate (Swedish)
Currently translated at 99.0% (2416 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-05-05 08:34:50 +00:00
Besnik Bleta abd8e987b8 Translated using Weblate (Albanian)
Currently translated at 99.4% (2425 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-05-05 08:34:49 +00:00
Andrejs 0d041cbf11 Translated using Weblate (Latvian)
Currently translated at 84.1% (2051 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-05-05 08:34:43 +00:00
Vancha 89a08ca2a0 Translated using Weblate (Frisian)
Currently translated at 23.5% (573 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-05-05 08:34:42 +00:00
Thibault Martin e4e9707ab7 Translated using Weblate (French)
Currently translated at 99.9% (2437 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-05-05 08:34:32 +00:00
libexus 42b8f74f5e Translated using Weblate (German)
Currently translated at 97.4% (2375 of 2438 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-05-05 08:34:28 +00: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