Commit graph

3280 commits

Author SHA1 Message Date
Benoit Marty
64b189c48a Notification with image: provide the mimetype if available. 2024-11-06 11:07:59 +01:00
Benoit Marty
cd481d3ca9 Add a message in the notification for the caption. Fixes #2602 2024-11-06 11:07:59 +01:00
Benoit Marty
47d7eac1ea
Merge pull request #3803 from element-hq/feature/bma/sendCaption
Send caption with image and video
2024-11-06 09:13:34 +01:00
Benoit Marty
4e9f429491
Merge pull request #3776 from element-hq/feature/bma/targetApi35
Target api 35
2024-11-05 09:39:50 +01:00
Benoit Marty
19eb4c8395 Do not allow caption on audio files.
Regular files are not previewed, but prevent caption as well there.
2024-11-04 14:24:39 +01:00
Benoit Marty
39ab2f848a Fix multiple previews issue. 2024-11-04 14:24:39 +01:00
Benoit Marty
223eae9602 Send caption with media 2024-11-04 14:24:39 +01:00
Jorge Martin Espinosa
f7861acd7f
Remove all GPS metadata from images uploaded as media (#3781)
Previously a minimal set of tags were removed, but we should make sure every single one of them is removed.
2024-11-04 10:31:55 +01:00
Benoit Marty
af78197a8f
Merge pull request #3798 from element-hq/sync-localazy
Sync Strings
2024-11-04 09:59:03 +01:00
Benoit Marty
a9618e8193
Merge pull request #3779 from element-hq/feature/bma/mediaUpload
Optimize media upload
2024-11-04 09:43:21 +01:00
bmarty
0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty
1061ea0679 Fix test. 2024-10-31 18:05:13 +01:00
Benoit Marty
48133dcca4 Rename file. 2024-10-31 18:01:56 +01:00
Benoit Marty
74037514c0 Compress png file and generate png thumbnail for png files.
Fix tests
2024-10-31 15:51:45 +01:00
Benoit Marty
7146a6c0d6 Use MimeTypes.Jpeg 2024-10-31 12:49:31 +01:00
Benoit Marty
a772f000e7
Merge pull request #3745 from andybalaam/andybalaam/enable-identity-violation-notifs-unconditionally
Enable identity pinning violation notifications unconditionally
2024-10-31 11:34:38 +01:00
Benoit Marty
1c7b3df10e Optimize media: Compress Png to Png. 2024-10-31 11:04:11 +01:00
Benoit Marty
cabc8c673c Optimize media: always compress video to have maximum 1080 at the greatest size. 2024-10-31 10:53:44 +01:00
Benoit Marty
c0a77e819b Optimize media: enabled by default. 2024-10-31 10:43:09 +01:00
Benoit Marty
1dd2ad0c5c
Merge pull request #3758 from element-hq/feature/bma/editorStateFixture
Editor state fixture and preview improvement
2024-10-31 10:36:01 +01:00
Andy Balaam
50471f8707
Merge branch 'develop' into andybalaam/enable-identity-violation-notifs-unconditionally 2024-10-31 09:13:20 +00:00
Benoit Marty
2e91357433
Merge pull request #3761 from element-hq/feature/bma/improveFakeMatrixRoom
Improve FakeMatrixRoom to be able to check all the parameters.
2024-10-31 09:39:26 +01:00
Benoit Marty
920c50cc3d Compile and target API 35.
Tested OK on a API 35 emulator.
2024-10-31 09:27:52 +01:00
Benoit Marty
c11a503710
Merge pull request #3283 from element-hq/renovate/kotlin
Update kotlin
2024-10-31 08:45:43 +01:00
Benoit Marty
4b98ee92e3 Improve FakeMatrixRoom to be able to check all the parameters. 2024-10-30 18:39:55 +01:00
Benoit Marty
2fa85f73e1
Merge pull request #3755 from element-hq/feature/bma/rotateFirebaseToken
Rotate firebase token in case of error
2024-10-30 17:05:31 +01:00
Benoit Marty
12f5839eef Handle Jorge's remarks. 2024-10-30 16:37:58 +01:00
Benoit Marty
32e462cfc0 Fix import in test. 2024-10-30 15:58:49 +01:00
Benoit Marty
47f8172144 Format files 2024-10-30 15:45:12 +01:00
Benoit Marty
f1050b783e TextComposer: Fix preview color. 2024-10-30 15:23:39 +01:00
Benoit Marty
06d994c9d2 TextComposer: Add more preview content. 2024-10-30 15:19:51 +01:00
Benoit Marty
b79ab2e1e5 Fix Preview issue with TextComposerReplyPreview 2024-10-30 15:13:01 +01:00
Benoit Marty
04b9044608 Optimize code for Preview.
There should be no change in the preview.
2024-10-30 15:10:13 +01:00
Benoit Marty
26a4441d64 Create fixtures for TextEditorState. 2024-10-30 14:48:18 +01:00
Benoit Marty
a77a6b88ee Now that FCM token can be rotated, let the FirebaseTokenTest observe the value. 2024-10-30 11:54:10 +01:00
Benoit Marty
6bde224695 Add quick fix in notification troubleshot test to perform a Firebase token rotation 2024-10-30 11:54:10 +01:00
Benoit Marty
4aa1afec5a Firebase token: the beginning of the token is always the same, print out the end of it. 2024-10-30 11:54:09 +01:00
Benoit Marty
5bc7b897cc
Merge branch 'develop' into renovate/kotlin 2024-10-30 11:14:29 +01:00
Benoit Marty
1c020bcf26
Merge pull request #3750 from element-hq/feature/bma/cryptoIteration
UI iteration on the encryption settings
2024-10-30 11:11:35 +01:00
Benoit Marty
2fd4d86d01 Change wording to "Verify identity" 2024-10-29 21:49:08 +01:00
Benoit Marty
666cedd66e
Merge pull request #3733 from element-hq/feature/bma/incomingVerification
Incoming session verification
2024-10-29 18:03:28 +01:00
Benoit Marty
f03a432bb2 Remove blank line. 2024-10-29 18:03:08 +01:00
Benoit Marty
229f843a2d Move TextWithLabelMolecule to the designsystem module. 2024-10-29 16:43:26 +01:00
Benoit Marty
77e45d4523 ListItem: allow list item to be clickable even when disabled. 2024-10-29 12:20:25 +01:00
Benoit Marty
f508f3e38f Remove blank line 2024-10-29 11:50:58 +01:00
Benoit Marty
870ae5fb54
Merge pull request #3744 from element-hq/feature/bma/resizeMedia
Add setting to compress image and video
2024-10-29 09:47:04 +01:00
Benoit Marty
b8b38208f4 Incoming session verification request
Add more log to the state machines
Ensure the block cannot be cancelled, else if the Rust SDK emit a new state during the API execution, the state machine may cancel the api call.
Let VerificationFlowState values match the SDK api for code clarity.
Rename sub interface for clarity.
Migrate tests to the new FakeVerificationService.
2024-10-29 09:26:15 +01:00
Benoit Marty
a899a0e129 Fix API break. 2024-10-28 21:19:33 +01:00
Benoit Marty
87336aedff Fix API break. 2024-10-28 21:05:26 +01:00
Benoit Marty
3a6d65b75d Fix test. 2024-10-28 13:52:53 +01:00