Commit graph

4424 commits

Author SHA1 Message Date
Benoit Marty
12f5ee5b1b Fix small issue in the script. 2023-10-20 10:52:13 +02:00
Benoit Marty
510bdd47af Remove AppNameProvider, we have buildMeta now. 2023-10-20 10:41:39 +02:00
renovate[bot]
0664f01c89
Update dependency org.jsoup:jsoup to v1.16.2 (#1613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 08:56:10 +02:00
ElementBot
a0cde93b1d Update screenshots 2023-10-19 20:39:07 +00:00
ganfra
20c2ee9e3a Merge branch 'develop' into feature/fga/pin_create_ui 2023-10-19 22:26:21 +02:00
ganfra
b4173fbe46 Create pin : fix some spacing 2023-10-19 22:23:19 +02:00
ganfra
784415f698 Pin auth : simple first iteration on ui 2023-10-19 21:58:12 +02:00
ElementBot
85ae33a0fd Update screenshots 2023-10-19 16:08:50 +00:00
David Langley
f56fd2488b Merge branch 'dla/feature/custom_room_notification_settings_list' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list 2023-10-19 16:57:37 +01:00
David Langley
f1cf9b6e31 Fix typo and preview 2023-10-19 16:57:35 +01:00
ElementBot
aa78255b4b Update screenshots 2023-10-19 15:47:25 +00:00
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
David Langley
e2adecbcf4
Merge branch 'develop' into dla/feature/custom_room_notification_settings_list 2023-10-19 16:36:30 +01:00
ElementBot
0b295b7f2a Update screenshots 2023-10-19 15:24:30 +00:00
David Langley
7505ac8eda Fix tests and lint 2023-10-19 16:17:57 +01:00
ganfra
b5a9dc80dd Create pin : fix konsist 2023-10-19 16:32:58 +02:00
ganfra
55282417a8 Create pin : change digit size box 2023-10-19 16:29:16 +02:00
ganfra
7ebe6719da Pin create: use localazy strings 2023-10-19 16:28:20 +02: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
ganfra
e88a5fc858 Pin create: add test for presenter 2023-10-19 15:45:11 +02:00
Marco Romano
33f5c8efb8
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
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
ElementBot
3a4d32f79d Update screenshots 2023-10-19 10:47:03 +00:00
ganfra
caf6d6b674 Create pin : render failures 2023-10-19 12:34:29 +02:00
ganfra
539854b18c Create pin : remove PinCodeManager and add TODO 2023-10-19 12:18:26 +02:00
ganfra
7b611e7c7a Pin create : improve clear validation 2023-10-19 12:16:30 +02:00
ganfra
c15a193d4a Pin create : add some more states to manage validation and confirmation 2023-10-19 12:11:14 +02:00
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.
2023-10-19 09:00:32 +00:00
Jorge Martin Espinosa
9aa4c59516
Hide keyboard when exiting the room screen (#1593) 2023-10-19 10:49:11 +02:00
renovate[bot]
6bec6235b4
Update dependency io.sentry:sentry-android to v6.32.0 (#1602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 10:48:23 +02:00
renovate[bot]
a73378b0ce
Update dependency androidx.recyclerview:recyclerview to v1.3.2 (#1599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 08:51:21 +02:00
renovate[bot]
9039186e2c
Update dependency com.google.firebase:firebase-bom to v32.4.0 2023-10-19 01:04:02 +00:00
renovate[bot]
0ab13c6131
Update dependency androidx.sqlite:sqlite-ktx to v2.4.0 2023-10-18 21:47:52 +00:00
David Langley
b5ca65ed0f Fix enabled state and ClearError events. 2023-10-18 22:30:29 +01:00
David Langley
87b8bfe99d 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
David Langley
8d6ef153d9 Fix switch and radio buttons toggling to invalid intermediate states. 2023-10-18 21:44:37 +01:00
renovate[bot]
1fd2fe1366
Update dependency androidx.compose:compose-bom to v2023.10.01 2023-10-18 20:35:06 +00:00
ganfra
4416c0133a Create pin : start handling the text field 2023-10-18 21:20:47 +02:00
ganfra
00e885fa9f
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
a2e7baddc2 Pin : start create pin view 2023-10-18 17:04:23 +02:00
ganfra
436c9e83f0 Fix kover... 2023-10-18 16:52:45 +02:00
ganfra
a896b42fa2 Pin : some clean up and fixes 2023-10-18 15:55:52 +02:00
ElementBot
c635281954 Update screenshots 2023-10-18 13:22:53 +00:00
ganfra
1d94b30b9f Revert settings.gradle.kts 2023-10-18 11:57:57 +02:00
Jorge Martin Espinosa
e5a8fd9635
Make sure Konsist tests always run (#1590)
* Make sure Konsist tests always run

* Update tests/konsist/build.gradle.kts

Co-authored-by: Benoit Marty <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-10-18 09:41:47 +00: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
Benoit Marty
c4bbc4ef3d
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
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