Benoit Marty
6ad2c99576
Use AsyncView in EditDefaultNotificationSettingView
1 year ago
Benoit Marty
cc5321f65a
Use AsyncView in NotificationSettingsView
1 year ago
Benoit Marty
1e09d9c65f
Use AsyncView in ReportMessageView
1 year ago
Benoit Marty
31d1685709
Use AsyncView in OidcView
1 year ago
Benoit Marty
662b1f8f50
Use AsyncView in CreateRoomRootView
1 year ago
Benoit Marty
c6ee35f567
Use AsyncView in ConfigureRoomView
1 year ago
bmarty
2fca8412b2
Sync Strings from Localazy
1 year ago
Benoit Marty
21200df294
Konsist: check that if `sealed interface` is used in parameter of `Composable`, it has the `@Stable` or `@Immutable` annotation
1 year ago
Benoit Marty
3092ca23f0
Konsist: check if sealed class could be sealed interface and fix existing issues.
1 year ago
jonnyandrew
ddc1e1d0cc
Display duration of recorded voice message ( #1733 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
14dc8e1059
Replace suffixes for `@PreviewsDayNight` annotation ( #1736 )
...
* Replace suffix for PreviewsDayNight annotation
* Rename Preview, since its filename was way too long
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
f6d7a014a7
Remove other useless `lazy` wrapping.
1 year ago
Benoit Marty
250389633b
Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas.
1 year ago
renovate[bot]
c63601a615
Update dependency io.nlopez.compose.rules:detekt to v0.3.3 ( #1638 )
...
* Update dependency io.nlopez.compose.rules:detekt to v0.3.3
* Fix lint issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
jonnyandrew
83a6395688
Add time to voice message composer UI ( #1720 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
jonnyandrew
dab5e0d0ca
Add analytics for voice messages ( #1706 )
1 year ago
Benoit Marty
23cf703925
Fix maestro test.
1 year ago
Benoit Marty
6143ea8764
Fix tests
1 year ago
Benoit Marty
d09d95b269
Avoid runBlocking. Start with a nullable boolean.
1 year ago
Benoit Marty
5013ff061e
Secure backup: create a feature flag (disabled)
1 year ago
Benoit Marty
7e1b991654
Consider keys are backing up only for SteadyStateException.Connection
1 year ago
Benoit Marty
2f62779ad4
Sign out: handle no network error.
1 year ago
Benoit Marty
4fb825b5cb
TimelineEncryptedHistoryBannerView: render depend on verification and key backup state ( #1576 )
1 year ago
Benoit Marty
20d6383b8a
Map new state `BackupUploadState.Error`
1 year ago
ganfra
01f4175b79
Pin unlock : implement design for in-app unlock
1 year ago
ganfra
6832b1f2db
Feature/fga/biometric unlock ( #1702 )
...
* Biometric unlock : refactor a bit existing classes
* Biometric unlock : first implementation
* Biometric: add ui for biometric setup
* Biometric unlock : use localazy strings
* Biometric unlock setup : branch skip/allow events
* Biometric : fix tests
* Biometrics: add small test
* Biometric : clean up
* Update screenshots
* Biometric unlock : address some PR review
* Biometric : improve a bit edge cases
* Fix lint issues
---------
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Jorge Martin Espinosa
355ee95964
[Element Call] Keep MatrixClient alive while the call is working ( #1695 )
...
* Element Call: keep MatrixClient alive to get event updates
1 year ago
Benoit Marty
b5c68f1b95
Fix tests
1 year ago
jonnyandrew
95a2152714
Fix long press on voice message with screen reader ( #1704 )
...
As a workaround, disable seeking within the waveform so that it does
not interfere with the long press menu.
Seeking behaviour is already suboptimal given that there is no spoken
feedback about the current seek position. No core functionality is
lost as voice messages can be played using a screen reader.
1 year ago
Benoit Marty
2d2088ce9a
Fix test.
1 year ago
Benoit Marty
90b377b3a5
Secure Storage: improve API for `waitForBackupUploadSteadyState()`
1 year ago
Benoit Marty
0db487fa42
Secure backup and sign out: add TopBar with Back button.
1 year ago
Benoit Marty
dc1bbb0145
Enter recovery key: add Done ime action.
1 year ago
Benoit Marty
19236c0602
Replace it by when.
1 year ago
Benoit Marty
12efed3a94
Move SecureBackupConfig to the appconfig module.
1 year ago
Jorge Martin Espinosa
356a321788
Fix issues with stuck 'loading...' state and hangup ( #1690 )
...
* Fix issues with stuck 'loading...' state and hangu
1 year ago
bmarty
ffd02b831e
Sync Strings from Localazy
1 year ago
jonnyandrew
e98ed3f0aa
Keep screen on during voice message recording ( #1684 )
1 year ago
Jorge Martin Espinosa
e64f822f5a
Enable Element Call integration in rooms by default ( #1685 )
...
Also change base url to `call.element.dev`.
1 year ago
Marco Romano
7651cf1b33
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.
1 year ago
Marco Romano
2aa9bf967b
Add a11y label to voice messages ( #1683 )
1 year ago
bmarty
8350382440
Sync Strings from Localazy
1 year ago
Marco Romano
563aaa6102
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
1 year ago
jonnyandrew
8121d1a6de
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>
1 year ago
Marco Romano
81122ec33b
Track errors in VoiceMessagePresenter ( #1667 )
...
Story: https://github.com/vector-im/element-meta/issues/2085
1 year ago
Marco Romano
ed91930a97
Enable swipe to reply on voice messages ( #1668 )
...
With the new waveform view it does not conflict anymore.
1 year ago
jonnyandrew
08ba8e182a
Ensure sending pauses audio
1 year ago
jonnyandrew
71644910e8
Ensure deleting pauses audio
1 year ago
Marco Romano
a07286ace9
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.
1 year ago
Marco Romano
0e4141863b
Always treat waveform as List<Float> ( #1663 )
...
[MSC3246](https://github.com/matrix-org/matrix-spec-proposals/pull/3246 ) specifies the waveform as a list of ints because:
> Because floating point numbers are not allowed in Matrix events
Though DSP on audio data is almost always done using their floating point representation.
This PR brings the float<->int rescaling in the `matrix` module so that the application code can always work with float waveform samples.
1 year ago