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.
11 months ago
Marco Romano
79d2941fe4
Include desugaring lib also in library modules ( #1604 )
...
## Type of change
- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :
## Content
Includes the `coreLibraryDesugaring(libs.android.desugar)` dependency in all modules which use one of our gradle plugins.
## Motivation and context
Right now desugaring is enabled also in library modules but the desugar dependency is not included in those.
This causes some unwanted side effects such as being unable to run compose previews in an emu.
This change will also include the desugar dependency in those libraries.
11 months ago
ganfra
a896b42fa2
Pin : some clean up and fixes
11 months ago
ganfra
d6d553e8e0
Pin code: add some tests
11 months ago
ganfra
493d67c8ca
Introduce CryptoService for simple cryptographic operations
11 months ago
ganfra
85102e3793
Crypto: add a small cryptography library module with CipherFactory
11 months ago
Benoit Marty
21e24990c4
Improve and fix build_rust_sdk.sh after PR review
11 months ago
Benoit Marty
cc2664c519
Use local SDK if the file exist
11 months ago
Benoit Marty
819576867d
Always register the pusher when application starts
11 months ago
bmarty
586a53653d
Sync Strings from Localazy
11 months ago
Marco Romano
57ccafca42
Other fixes as per https://cashapp.github.io/sqldelight/2.0.0/upgrading-2.0/
11 months ago
Marco Romano
2d3d007e60
Find and replace
11 months ago
ganfra
76bbe4dbeb
Misc: remove usage of blocking methods #1563
11 months ago
renovate[bot]
054d0a7145
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62 ( #1562 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62
* Add `sendVoiceMessage()` API from https://github.com/matrix-org/matrix-rust-sdk/pull/2697
* Fix other breaking changes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
11 months ago
jonnyandrew
12404fab78
[Voice messages] Add voice recording UI ( #1546 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
c3bc44bfec
Ensure screen does not turn off when playing a video ( #1519 )
11 months ago
Benoit Marty
12996e8253
Improve comment.
11 months ago
Benoit Marty
7389748f3e
Konsist: add rule obout test class name, and fix existing issue
11 months ago
Benoit Marty
8f8a5746e5
Konsist: add test about PreviewParameterProvider class name and fix existing issues.
11 months ago
Benoit Marty
3c41158558
Use existing `BooleanProvider`
11 months ago
Benoit Marty
30b509456c
Add some comment in the files manipulating the session DB
11 months ago
Benoit Marty
9bacf9df8e
Add DB versions to test all migrations
11 months ago
Benoit Marty
1938525201
Fix DB migration test. Does not require a migration apparently.
11 months ago
ganfra
304ec0b740
Pin unlock : hides behind feature flag (disabled by default)
11 months ago
ganfra
2d5a3a473c
Pin setup with fake lock
11 months ago
Benoit Marty
71b836a4c6
Fix test, and distinguish failure message.
11 months ago
Benoit Marty
bcefbb9861
Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539
11 months ago
Benoit Marty
8c2a5f281b
MessageContent.type cannot be null
11 months ago
Benoit Marty
1b0e044565
Move `OtherState` to its own file.
11 months ago
Benoit Marty
8482e2da6f
Move `FormattedBody` to its own file.
11 months ago
Benoit Marty
d8a30f30c5
Move `MembershipChange` to its own file.
11 months ago
Benoit Marty
4c97a63cd3
Move `MessageFormat` to its own file.
11 months ago
Benoit Marty
9cb8537c4e
Move `MessageType` to its own file.
11 months ago
Benoit Marty
2962032fe5
Move `InReplyTo` to its own file.
11 months ago
Benoit Marty
7c5a41f03d
Konsist: no field should have 'm' prefix, and fix new detected issues.
12 months ago
Benoit Marty
257927f4f5
Import strings for SigneddOut module.
12 months ago
Benoit Marty
97fea4e6dd
data object
12 months ago
Benoit Marty
d55df22db2
Konsist: add test Data class state MUST not have default value, and fix existing issues
12 months ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
12 months ago
jonnyandrew
6e9d19884c
Refactor composer UI components to separate files ( #1506 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
12 months ago
Benoit Marty
8bbcb973c4
Fix test.
12 months ago
Benoit Marty
96867bccf2
Database version 4: add isTokenValid and loginType fields
...
Generate database with model version 4
12 months ago
Benoit Marty
6761a5e2fb
Fix test compilation
12 months ago
Benoit Marty
c3a0deb201
Code quality.
12 months ago
Benoit Marty
6be984efc8
Do not restore session with invalid token.
12 months ago
Benoit Marty
266f93cc28
Add SignedOutNode, to handle session behind deleted from outside (no support for soft-logout)
12 months ago
Benoit Marty
124d6bf95f
SignedOut mode - WIP
12 months ago
Benoit Marty
8305912b14
Map the new fields of `SessionData`.
12 months ago
Benoit Marty
a424bc26ed
Need this now.
12 months ago
Benoit Marty
a1afdeb6d3
Generate database with model version 3, to unit test database migration.
...
https://cashapp.github.io/sqldelight/1.5.4/multiplatform_sqlite/migrations/
12 months ago