Commit graph

8653 commits

Author SHA1 Message Date
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
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
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
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
Benoit Marty
aa9f4c2e6e
Merge pull request #3166 from tobymurray/patch-1
Related to #1793, allow cleartext to LAN domains
2021-04-30 18:09:07 +02:00
Benoit Marty
589be8b15f
Update vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt 2021-04-30 11:56:45 +02:00
Benoit Marty
6180076512 Delete and react to stickers (#3250) 2021-04-30 11:14:36 +02:00
Toby Murray
33337bd772 Allow cleartext to some LAN domains
This functionality exists in the desktop client, so hoping to mirror that as much as Android allows

This addresses a number of the use cases touched on in #1793. Enabling clear text to various official and standard LAN-only domains means it's easier to develop the Android application, as a Matrix server can be deployed locally without much fuss anywhere on the developer's LAN. This can reduce the reliance on a DNS or SSL certificates when neither are really relevant to the functionality of the client/server. In particular, managing SSL certs without a public domain is a pain in the butt.

At the same time, this does not significantly diminish the security of Element Android, as at the current time these domains are either explicitly not valid TLDs or conventionally not TLDs (so would be an unexpected change if they were to become so). In the event e.g. `.home` becomes a TLD, it would be appropriate to remove it from this list.
2021-04-30 00:47:57 -04:00
Benoit Marty
38e83e1f35
Merge pull request #3249 from vector-im/feature/bma/fixwl
Feature/bma/fixwl
2021-04-29 20:55:22 +02:00
Benoit Marty
5d9d984c73
Merge pull request #3235 from vector-im/feature/bca/spaces_justme_beta
Just me spaces support
2021-04-29 17:47:19 +02:00
Benoit Marty
90f4a9490d Fix lint issues 2021-04-29 17:33:14 +02:00
Benoit Marty
d28c6039c0 Fix issue in string template 2021-04-29 17:06:46 +02:00
Benoit Marty
bea9abd9a6
Merge pull request #3248 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-04-29 17:05:00 +02:00
Benoit Marty
ab68903d7f Fix wording issue (#3242) 2021-04-29 15:47:31 +02:00
Weblate
79f125cccd Merge branch 'origin/develop' into Weblate. 2021-04-29 13:38:14 +00:00
Benoit Marty
98177da6b1
Merge pull request #3197 from vector-im/feature/bma/crashfix
WIP - introduce sessionScope
2021-04-29 15:34:42 +02:00
Benoit Marty
659d012e13
Merge pull request #3247 from vector-im/feature/bma/master_main
`master` branch has been renamed to `main`
2021-04-29 14:29:49 +02:00
Benoit Marty
55f1f56fec master branch has been renamed to main
Also in project vector-im/jitsi_libre_maven
2021-04-29 12:29:52 +02:00
Valere
30d7c73b2d code review 2021-04-29 11:56:57 +02:00
Valere
f89a7496aa Add action to create new room 2021-04-29 11:51:07 +02:00
Valere
31ffa65fd0 Update add room screen as per design 2021-04-29 11:51:07 +02:00
Valere
7465ac2ef6 Add just me space flow Initial commit 2021-04-29 11:51:07 +02:00
Benoit Marty
264eb3b0a2
Merge pull request #3246 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.22
Bump libphonenumber from 8.12.21 to 8.12.22
2021-04-29 11:12:29 +02:00
Benoit Marty
e073563a67 Cleanup 2021-04-29 11:10:41 +02:00
ganfra
80b155e042 Refact coroutine session scope 2021-04-29 11:10:41 +02:00