Commit Graph

4127 Commits

Author SHA1 Message Date
ganfra
d12fa5c8fa Pin unlock : add signout prompt 2023-10-20 18:52:56 +02:00
ganfra
02c5873fc9 Pin unlock : best effort for small height 2023-10-20 17:57:29 +02:00
ganfra
223942fda9 Pin unlock : fix some ui 2023-10-20 16:35:54 +02:00
ganfra
9822d8825e Pin unlock : start branching logic 2023-10-20 15:43:55 +02:00
ganfra
56a612e1c5 Pin : move some classes around 2023-10-20 15:23:10 +02:00
ganfra
fbced52fee Lockscreen: renaming 2023-10-20 15:15:19 +02:00
ganfra
11adae6cd0 Merge branch 'develop' into feature/fga/pin_auth_ui 2023-10-20 14:54:22 +02:00
Benoit Marty
007a7daa07 Merge pull request #1614 from vector-im/feature/bma/removeAppNameProvider
Remove AppNameProvider, we have buildMeta now.
2023-10-20 14:28:05 +02:00
Benoit Marty
84cf3aa005 Merge pull request #1601 from vector-im/renovate/com.google.firebase-firebase-bom-32.x
Update dependency com.google.firebase:firebase-bom to v32.4.0
2023-10-20 14:27:08 +02:00
Benoit Marty
7b57b27c1f Merge pull request #1615 from vector-im/bma/feature/fixMeastro2
Maestro No need to close the keyboard after fix from #1593
2023-10-20 14:26:19 +02:00
Marco Romano
7e8f78c05d Document the nuances in UserId and SessionId types. (#1616) 2023-10-20 12:25:20 +00:00
Benoit Marty
ee60744530 Revert "Maestro No need to close the keyboard after fix from #1593"
This reverts commit dd623ceb63.
2023-10-20 12:09:19 +02:00
Benoit Marty
72eb1dca0a Maestro No need to close the keyboard after fix from #1593 2023-10-20 12:08:59 +02:00
Benoit Marty
dd623ceb63 Maestro No need to close the keyboard after fix from #1593 2023-10-20 12:05:11 +02:00
ganfra
677f06623a Merge pull request #1608 from vector-im/feature/fga/pin_create_ui
Feature/fga/pin create UI
2023-10-20 11:50:11 +02:00
ElementBot
1b9cc7ded5 Update screenshots 2023-10-20 09:12:23 +00:00
ganfra
78d264c6fc Create PIN : hopefully fix remaining issues 2023-10-20 10:54:59 +02:00
Benoit Marty
623ac05644 Fix small issue in the script. 2023-10-20 10:52:13 +02:00
Benoit Marty
7386da257c Remove AppNameProvider, we have buildMeta now. 2023-10-20 10:41:39 +02:00
renovate[bot]
177a5bc78a 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
e38ce7d9e0 Update screenshots 2023-10-19 20:39:07 +00:00
ganfra
833bff9ba9 Merge branch 'develop' into feature/fga/pin_create_ui 2023-10-19 22:26:21 +02:00
ganfra
6dfba0f0c4 Create pin : fix some spacing 2023-10-19 22:23:19 +02:00
ganfra
753a80fc29 Pin auth : simple first iteration on ui 2023-10-19 21:58:12 +02:00
Jorge Martin Espinosa
5e547269e7 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
ElementBot
1c1db6a444 Update screenshots 2023-10-19 15:24:30 +00:00
ganfra
8ae07ba74b Create pin : fix konsist 2023-10-19 16:32:58 +02:00
ganfra
6c8e0bd86e Create pin : change digit size box 2023-10-19 16:29:16 +02:00
ganfra
c08cd13e0e Pin create: use localazy strings 2023-10-19 16:28:20 +02:00
Marco Romano
cf3039c6f3 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
bde2705654 Pin create: add test for presenter 2023-10-19 15:45:11 +02: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
ElementBot
537fc68778 Update screenshots 2023-10-19 10:47:03 +00:00
ganfra
7ba9a0af77 Create pin : render failures 2023-10-19 12:34:29 +02:00
ganfra
e5bcfb3936 Create pin : remove PinCodeManager and add TODO 2023-10-19 12:18:26 +02:00
ganfra
cbd2ba50e7 Pin create : improve clear validation 2023-10-19 12:16:30 +02:00
ganfra
63fbb4412b Pin create : add some more states to manage validation and confirmation 2023-10-19 12:11:14 +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
Jorge Martin Espinosa
643fe1a5e5 Hide keyboard when exiting the room screen (#1593) 2023-10-19 10:49:11 +02:00
renovate[bot]
7c04f27092 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]
564cd4e258 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]
59c2728df3 Update dependency com.google.firebase:firebase-bom to v32.4.0 2023-10-19 01:04:02 +00:00
ganfra
f07a687630 Create pin : start handling the text field 2023-10-18 21:20:47 +02: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
53feff04a1 Pin : start create pin view 2023-10-18 17:04:23 +02:00
ganfra
5146e92187 Fix kover... 2023-10-18 16:52:45 +02:00
ganfra
39e38514d8 Pin : some clean up and fixes 2023-10-18 15:55:52 +02:00
ElementBot
441b469dc5 Update screenshots 2023-10-18 13:22:53 +00:00
ganfra
e6b0d5f7ae Revert settings.gradle.kts 2023-10-18 11:57:57 +02:00