David Langley
b7ebff0e75
Add new ui for room notifications screen
...
- Add new ui for room notifications screen
- Fix error when changing default notification setting.
2023-10-20 21:08:44 +01:00
David Langley
3ecabd71c0
Merge branch 'develop' into dla/feature/custom_room_notification_settings_list
2023-10-19 16:36:30 +01:00
David Langley
4b43168913
Fix tests and lint
2023-10-19 16:17:57 +01:00
Marco Romano
d7054fb34d
Add global context.cacheDir provider. ( #1606 )
...
## Type of change
- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :
## Content
Dagger now provides the app's `cacheDir` when requesting a `@CacheDirectory File` type.
## Motivation and context
To support some upcoming code that needs the `cacheDir` to be changed during tests.
2023-10-19 14:07:45 +02:00
Marco Romano
80870adfe3
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
Marco Romano
fb02f698d7
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.
2023-10-19 09:00:32 +00:00
David Langley
af4a1d3fd6
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list
2023-10-18 22:07:14 +01:00
ganfra
988b6243d1
Merge pull request #1592 from vector-im/feature/fga/setup_crypto_for_pin
...
Feature/fga/setup crypto for pin
2023-10-18 17:21:47 +02:00
ganfra
39e38514d8
Pin : some clean up and fixes
2023-10-18 15:55:52 +02:00
ganfra
3b73f171d0
Pin code: add some tests
2023-10-18 11:26:02 +02:00
Benoit Marty
ef5326ff72
Merge pull request #1582 from vector-im/feature/bma/buildSdk
...
Add script to build the rust sdk locally and from different repo / branch
2023-10-18 11:03:36 +02:00
ganfra
cec489793b
Introduce CryptoService for simple cryptographic operations
2023-10-17 18:28:07 +02:00
David Langley
72e7d92571
Add tests
2023-10-17 16:08:35 +01:00
ganfra
e5dd0330a7
Crypto: add a small cryptography library module with CipherFactory
2023-10-17 14:18:28 +02:00
Benoit Marty
359db36172
Improve and fix build_rust_sdk.sh after PR review
2023-10-16 18:29:25 +02:00
Benoit Marty
9596b5efc5
Merge pull request #1573 from vector-im/sync-localazy
...
Sync Strings
2023-10-16 15:28:22 +02:00
Benoit Marty
b06dbb566e
Use local SDK if the file exist
2023-10-16 13:31:26 +02:00
Benoit Marty
36727f7ab7
Always register the pusher when application starts
2023-10-16 10:50:16 +02:00
bmarty
379139a88f
Sync Strings from Localazy
2023-10-16 00:09:47 +00:00
Marco Romano
f32817e71f
Other fixes as per https://cashapp.github.io/sqldelight/2.0.0/upgrading-2.0/
2023-10-13 15:17:12 +02:00
Marco Romano
0e1a8d506d
Find and replace
2023-10-13 14:55:12 +02:00
Benoit Marty
5f56961fd0
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
c6a6ccc844
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
ganfra
9d12d82112
Misc: remove usage of blocking methods #1563
2023-10-13 12:16:31 +02:00
renovate[bot]
31d5e7395f
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 >
2023-10-13 08:19:30 +00:00
jonnyandrew
ffa6c43503
[Voice messages] Add voice recording UI ( #1546 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-10-12 15:17:18 +00:00
Benoit Marty
0c2a6468b5
Merge pull request #1555 from vector-im/feature/bma/fixDbMigrationTest
...
Feature/bma/fix db migration test
2023-10-12 16:23:01 +02:00
Benoit Marty
a71fb431d3
Ensure screen does not turn off when playing a video ( #1519 )
2023-10-12 15:53:05 +02:00
Benoit Marty
3583aed69a
Improve comment.
2023-10-12 15:48:13 +02:00
Benoit Marty
7afae87b3e
Konsist: add rule obout test class name, and fix existing issue
2023-10-12 15:03:50 +02:00
Benoit Marty
eebc39fab7
Konsist: add test about PreviewParameterProvider class name and fix existing issues.
2023-10-12 15:03:50 +02:00
Benoit Marty
84594caad3
Use existing BooleanProvider
2023-10-12 15:03:50 +02:00
Benoit Marty
11ddb4a8cc
Add some comment in the files manipulating the session DB
2023-10-12 14:59:06 +02:00
Benoit Marty
8e8821ca1c
Add DB versions to test all migrations
2023-10-12 14:53:14 +02:00
Benoit Marty
7797b4c48a
Fix DB migration test. Does not require a migration apparently.
2023-10-12 14:53:00 +02:00
Benoit Marty
07a2643bd2
Merge pull request #1549 from vector-im/feature/bma/unknownMsgtype
...
Render unknown msgtype
2023-10-12 10:56:35 +02:00
ganfra
760ea44e9d
Pin unlock : hides behind feature flag (disabled by default)
2023-10-11 20:36:30 +02:00
ganfra
a2ebf39cb5
Pin setup with fake lock
2023-10-11 18:09:16 +02:00
Benoit Marty
305fb81b8a
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
ed7534aea7
Fix test, and distinguish failure message.
2023-10-11 16:55:48 +02:00
Benoit Marty
2e8be3a3d1
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
266612f9da
MessageContent.type cannot be null
2023-10-11 16:14:15 +02:00
Benoit Marty
24963915b9
Move OtherState to its own file.
2023-10-11 16:06:49 +02:00
Benoit Marty
8e581109aa
Move FormattedBody to its own file.
2023-10-11 16:05:47 +02:00
Benoit Marty
345c032a4e
Move MembershipChange to its own file.
2023-10-11 16:05:19 +02:00
Benoit Marty
987b97a4b9
Move MessageFormat to its own file.
2023-10-11 16:04:41 +02:00
Benoit Marty
f6bd33231d
Move MessageType to its own file.
2023-10-11 16:03:18 +02:00
Benoit Marty
d79affb3a4
Move InReplyTo to its own file.
2023-10-11 16:01:36 +02:00
Benoit Marty
69c46c993e
Konsist: no field should have 'm' prefix, and fix new detected issues.
2023-10-10 22:09:57 +02:00
Benoit Marty
352d89fdfb
Import strings for SigneddOut module.
2023-10-10 20:09:05 +02:00