Jorge Martin Espinosa
46f78ef700
Integrate Element Call with widget API ( #1581 )
...
* Integrate Element Call with widget API.
- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-19 15:38:43 +00:00
Marco Romano
a814c4a95a
TimelineItemPresenterFactories ( #1609 )
...
DI infrastructure to allow injection of presenters into the timeline.
Add an `@AssistedFactory` of type `TimelineItemPresenterFactory` to a `Presenter` class and bind this factory into the TimelineItemPresenterFactory map multi binding using:
```
@Binds
@IntoMap
@TimelineItemEventContentKey(MyTimelineItemContent::class)
```
A map multibinding of such factories will be available in the `LocalTimelineItemPresenterFactories` composition local for further use down the UI tree.
2023-10-19 15:57:34 +02:00
Marco Romano
5a7f77bc92
Extract more content from audio messages. ( #1607 )
...
`TimelineItemAudioContent`:
- Use `java.time.Duration` instead of milliseconds. This will ease up things in the future because currently milliseconds are sent over the wire but in the future seconds will be sent (as per the stable MSC). Using `Duration` will allow our downstream code to be independent of what's passed over the wire.
- Rename `audioSource` property to `mediaSource` to better match its type.
`AudioMessageType`:
- Add and populate new fields `details` and `isVoiceMessage` to be used by voice messages.
2023-10-19 13:32:43 +02:00
Jorge Martin Espinosa
9aa4c59516
Hide keyboard when exiting the room screen ( #1593 )
2023-10-19 10:49:11 +02:00
ganfra
a896b42fa2
Pin : some clean up and fixes
2023-10-18 15:55:52 +02:00
ganfra
1f97e95a3d
Fix warning
2023-10-18 11:33:34 +02:00
ganfra
d6d553e8e0
Pin code: add some tests
2023-10-18 11:26:02 +02:00
ganfra
8436806571
Pin: rename feature pin to lockscreen
2023-10-17 21:15:01 +02:00
ganfra
981430731d
Pin : move some classes around and introduce PinCodeManager
2023-10-17 18:28:39 +02:00
ganfra
493d67c8ca
Introduce CryptoService for simple cryptographic operations
2023-10-17 18:28:07 +02:00
ganfra
c2a8e13eef
Pin code storage : add way to store the pin
2023-10-17 11:14:46 +02:00
bmarty
586a53653d
Sync Strings from Localazy
2023-10-16 00:09:47 +00:00
Benoit Marty
3fc520160a
Fix issue detected by Konsist.
2023-10-13 15:44:34 +02:00
Benoit Marty
fee54efb4f
Merge pull request #1556 from vector-im/feature/bma/videoLock
...
Ensure screen does not turn off when playing a video (#1519 )
2023-10-13 14:05:30 +02:00
ganfra
5d0eb3d693
Merge pull request #1554 from vector-im/feature/fga/init_pin_unlock
...
[Pin code] : setup the feature
2023-10-13 12:38:41 +02:00
Benoit Marty
3be6e655d7
Fix issue detected by Konsist.
2023-10-12 18:46:14 +02:00
jonnyandrew
12404fab78
[Voice messages] Add voice recording UI ( #1546 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-12 15:17:18 +00:00
ganfra
087142224c
Pin setup: PR review
2023-10-12 16:19:24 +02:00
Benoit Marty
c3bc44bfec
Ensure screen does not turn off when playing a video ( #1519 )
2023-10-12 15:53:05 +02:00
Benoit Marty
7389748f3e
Konsist: add rule obout test class name, and fix existing issue
2023-10-12 15:03:50 +02:00
Benoit Marty
3c41158558
Use existing BooleanProvider
2023-10-12 15:03:50 +02:00
Benoit Marty
a2601c0388
Remove unused import
2023-10-12 14:15:22 +02:00
ganfra
a3e6d691a5
Pin setup : clean up
2023-10-12 12:29:53 +02:00
Benoit Marty
4a7b40fe17
Remove unused import
2023-10-12 12:05:22 +02:00
Benoit Marty
7d985d4588
Merge pull request #1549 from vector-im/feature/bma/unknownMsgtype
...
Render unknown msgtype
2023-10-12 10:56:35 +02:00
ganfra
588565995c
Pin code : add simple grace period
2023-10-11 20:52:19 +02:00
ganfra
bdcd2714cc
Pin : rename PinStateDataSource by PinStateService
2023-10-11 20:38:41 +02:00
ganfra
304ec0b740
Pin unlock : hides behind feature flag (disabled by default)
2023-10-11 20:36:30 +02:00
ganfra
2d5a3a473c
Pin setup with fake lock
2023-10-11 18:09:16 +02:00
Benoit Marty
88ca37984f
Merge pull request #1520 from vector-im/feature/bma/sessionDb
...
Improve session db and improve deleted session behavior
2023-10-11 16:56:54 +02:00
Benoit Marty
6a2881416f
Merge pull request #1526 from vector-im/feature/bma/konsist
...
Konsist
2023-10-11 16:40:22 +02:00
Benoit Marty
bcefbb9861
Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539
2023-10-11 16:18:24 +02:00
Benoit Marty
8c2a5f281b
MessageContent.type cannot be null
2023-10-11 16:14:15 +02:00
Benoit Marty
33943b2ae8
Fix compilation issue and improve test.
2023-10-10 22:21:02 +02:00
Benoit Marty
7c5a41f03d
Konsist: no field should have 'm' prefix, and fix new detected issues.
2023-10-10 22:09:57 +02:00
Benoit Marty
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
2023-10-10 21:42:18 +02:00
Benoit Marty
8be6bad465
SignedOutView: iterate on design.
2023-10-10 21:00:12 +02:00
Benoit Marty
257927f4f5
Import strings for SigneddOut module.
2023-10-10 20:09:05 +02:00
Benoit Marty
8f1ccfccf2
Move SignedOut classes to their own module.
2023-10-10 20:05:07 +02:00
ganfra
9ded4284b2
Setup the pin feature module
2023-10-10 18:09:46 +02:00
Benoit Marty
97fea4e6dd
data object
2023-10-10 17:31:04 +02:00
Benoit Marty
0bc2020411
Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues
2023-10-10 17:31:04 +02:00
Benoit Marty
d55df22db2
Konsist: add test Data class state MUST not have default value, and fix existing issues
2023-10-10 17:31:04 +02:00
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
2023-10-10 15:39:22 +02:00
Benoit Marty
632389daa9
Remove not used dependencies to some accompanist libraries.
2023-10-10 13:48:10 +02:00
bmarty
cd120b408f
Sync Strings from Localazy
2023-10-09 00:09:28 +00:00
Benoit Marty
35b7b661f2
Code review: improve API.
2023-10-05 15:28:38 +02:00
Benoit Marty
8f660facbf
Render emote in the timeline: prefix with sender display name
2023-10-05 11:39:05 +02:00
Benoit Marty
46d5417dd3
avoid else in when statement.
2023-10-05 11:15:26 +02:00
renovate[bot]
1e24e39b2e
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha09 ( #1493 )
...
* Update dependency androidx.compose.material3:material3 to v1.2.0-alpha09
* Fix deprecation issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-10-05 09:57:47 +02:00