Commit Graph

4337 Commits

Author SHA1 Message Date
Benoit Marty
a165b8aab5 Change FeatureFlagService.isFeatureEnabled return value from Boolean to Flow<Boolean> 2023-10-31 16:49:19 +01:00
renovate[bot]
255dadba50 Update dependency io.gitlab.arturbosch.detekt to v1.23.2 (#1699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 08:19:33 +01:00
Benoit Marty
63cf5ef5b1 Merge pull request #1648 from vector-im/feature/bma/secureBackup
Secure backup
2023-10-30 21:29:54 +01:00
Benoit Marty
b28347a482 Merge pull request #1696 from vector-im/renovate/com.google.firebase-firebase-bom-32.x
Update dependency com.google.firebase:firebase-bom to v32.5.0
2023-10-30 20:35:54 +01:00
ElementBot
6250276475 Update screenshots 2023-10-30 19:31:26 +00:00
Benoit Marty
0e2e854885 Merge pull request #1687 from vector-im/sync-localazy
Sync Strings
2023-10-30 20:20:29 +01:00
Benoit Marty
3b0c51198d Fix test. 2023-10-30 20:16:18 +01:00
Benoit Marty
29e1e9b316 Secure Storage: improve API for waitForBackupUploadSteadyState() 2023-10-30 20:16:18 +01:00
Benoit Marty
4898d8012c Secure backup and sign out: add TopBar with Back button. 2023-10-30 20:16:18 +01:00
Benoit Marty
ddd9ca40fc Enter recovery key: add Done ime action. 2023-10-30 20:16:18 +01:00
Benoit Marty
8152acfcde Replace it by when. 2023-10-30 20:16:18 +01:00
Benoit Marty
1c57a5c35e Move SecureBackupConfig to the appconfig module. 2023-10-30 20:16:18 +01:00
renovate[bot]
c952b49ee6 Update dependency com.google.firebase:firebase-bom to v32.5.0 2023-10-30 19:16:00 +00:00
Marco Romano
4994296fa7 Fix wrong CompoundColors mapping (#1692)
* Fix wrong CompoundColors mapping

Fixes https://github.com/vector-im/compound/issues/262

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-30 18:22:42 +01:00
Jorge Martin Espinosa
22767031d9 Fix issues with stuck 'loading...' state and hangup (#1690)
* Fix issues with stuck 'loading...' state and hangu
2023-10-30 17:01:54 +01:00
bmarty
340a4b5b4f Sync Strings from Localazy 2023-10-30 14:50:36 +00:00
Benoit Marty
42029d6cd2 Merge pull request #1598 from vector-im/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2023.10.01
2023-10-30 14:38:16 +01:00
Benoit Marty
06edf6d2f2 Merge pull request #1679 from vector-im/renovate/org.robolectric-robolectric-4.x
Update dependency org.robolectric:robolectric to v4.11
2023-10-30 14:36:11 +01:00
Benoit Marty
fdf4bb494b Merge pull request #1688 from vector-im/feature/fixMaestro
Fix Maestro test
2023-10-30 14:35:42 +01:00
jonnyandrew
59a4d34a1a Improve composer UI scaling (#1689) 2023-10-30 12:41:05 +00:00
jonnyandrew
6f49d689f4 Keep screen on during voice message recording (#1684) 2023-10-30 12:37:10 +00:00
jonnyandrew
b1fffdc9e9 Add haptic feedback to voice message record button (#1686) 2023-10-30 12:01:39 +00:00
Benoit Marty
72e46b259a Fix Maestro test 2023-10-30 12:41:16 +01:00
Benoit Marty
84ddef3e6c Merge pull request #1680 from vector-im/sync-localazy
Sync Strings
2023-10-30 12:38:41 +01:00
Jorge Martin Espinosa
69c0a3b6be Enable Element Call integration in rooms by default (#1685)
Also change base url to `call.element.dev`.
2023-10-30 11:33:22 +00:00
Marco Romano
10ff9742e1 Voice message button: Show proper disabled color. (#1682)
Also changes a bit our own IconButton api to allow to mirror material's and allow color customization.
2023-10-30 10:51:22 +00:00
Marco Romano
5e43083f7c Add a11y label to voice messages (#1683) 2023-10-30 10:41:15 +00:00
Benoit Marty
d6a862581d Merge pull request #1670 from vector-im/feature/bma/topBarInPage
Top bar in page
2023-10-30 10:46:25 +01:00
bmarty
458e2a1b58 Sync Strings from Localazy 2023-10-30 00:10:04 +00:00
renovate[bot]
f6c442e32b Update dependency org.robolectric:robolectric to v4.11 2023-10-29 01:52:03 +00:00
Marco Romano
08e2bed5db Don't show body in replies to voice messages but rather show "Voice message" string (#1673)
Story: https://github.com/vector-im/element-meta/issues/2106
2023-10-27 21:57:05 +00:00
Marco Romano
ec198ce2e9 Blink red dot while recording voice message (#1677)
Story: https://github.com/vector-im/element-meta/issues/2084
2023-10-27 21:12:43 +00:00
jonnyandrew
4dfe8121b4 Show voice message preview player progress (#1675)
* Show voice message preview player progress

* Update screenshots

* Fix test

* Some nits over mediaplayer stuff

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Marco Romano <marcor@element.io>
2023-10-27 20:43:52 +00:00
Marco Romano
f7ed09eb82 Create 1669.feature (#1674)
Add changelog item for voice messages
2023-10-27 16:45:33 +00:00
Benoit Marty
6cc60e7d35 Merge pull request #1662 from vector-im/feature/bma/secureBackupUi
Secure backup UI
2023-10-27 18:36:38 +02:00
Marco Romano
a33a36cb35 Use correct icon tint in voice message preview player (#1672)
Action item from design review.
2023-10-27 16:24:16 +00:00
Benoit Marty
c13dc6c11b Add topBar parameter to HeaderFooterPage and use a Scaffold. 2023-10-27 18:21:05 +02:00
jonnyandrew
ac90b74a4f Merge pull request #1671 from vector-im/jonny/voice-message-fixes
Fix voice message preview player playing after delete/send
2023-10-27 16:49:38 +01:00
Benoit Marty
8ac677797f Merge pull request #1666 from vector-im/feature/bma/mergeFallbackNotification
Display a single notification for unable to decrypt Event received form push (fallback notification)
2023-10-27 17:42:22 +02:00
Marco Romano
b137e1f1ab Track errors in VoiceMessagePresenter (#1667)
Story: https://github.com/vector-im/element-meta/issues/2085
2023-10-27 15:23:53 +00:00
Marco Romano
473ac2dcc1 Default enable voice message feature flag (#1669)
:party
2023-10-27 15:16:32 +00:00
Marco Romano
ad01421b22 Enable swipe to reply on voice messages (#1668)
With the new waveform view it does not conflict anymore.
2023-10-27 15:10:56 +00:00
jonnyandrew
e3bb3c55b6 Ensure sending pauses audio 2023-10-27 16:05:35 +01:00
jonnyandrew
1683049b0c Ensure deleting pauses audio 2023-10-27 16:05:34 +01:00
jonnyandrew
fca94692f6 Refactor waveform factory function 2023-10-27 16:05:34 +01:00
Marco Romano
d05dd11485 Split VoiceMessageType from AudioMessageType (#1664)
Currently, for compatibility reasons, we implement MSC3245v1 which puts the voice data inside an audio message type. Though at times it seems impractical to deal with a single message type which effectively represents 2 different kinds of messages.

This PR creates a new message type called `VoiceMessageType` which is used whenever we receive an event with `"msgtype": "m.audio"` which also has the `"org.matrix.msc3245.voice": {}` field. This makes it easier to process voice messages as different entities throughout the rest of the codebase.
2023-10-27 16:02:16 +02:00
David Langley
f1b98e8746 Merge pull request #1659 from vector-im/langleyd/live_waveform
Live waveform
2023-10-27 14:41:16 +01:00
David Langley
eb8e6e7dce Merge branch 'langleyd/live_waveform' of https://github.com/vector-im/element-x-android into langleyd/live_waveform 2023-10-27 13:55:45 +01:00
David Langley
fe2d2554c0 Fix documentation 2023-10-27 13:55:42 +01:00
Benoit Marty
f409b31e8a Display a single notification for all the fallback notifications.
When dismissed, dismiss all the fallback notifications in the model.
2023-10-27 14:55:10 +02:00