Commit Graph

1840 Commits

Author SHA1 Message Date
ganfra
a34604512d Pin: add tests and make LockScreenConfig an injectable data class 2023-10-25 18:39:39 +02:00
ganfra
b135670196 Pin : clean remaining pin code attempts 2023-10-25 16:54:34 +02:00
ganfra
1d314e198a PIN: clean pin code storage 2023-10-25 16:45:42 +02:00
ganfra
ed4815c40a PIN: fix and add tests 2023-10-25 16:13:30 +02:00
ganfra
432e209618 PIN unlock : makes sure to load the pin size from storage 2023-10-25 15:07:05 +02:00
ganfra
d59eaab7a8 PIN: add callback on LockScreenEntryPoint 2023-10-25 11:27:19 +02:00
ganfra
f105455bd6 PIN: branch SignOut 2023-10-25 11:15:15 +02:00
ganfra
3e60773166 PIN : branch the mandatory flow 2023-10-24 18:13:41 +02:00
ganfra
645c699a6b PIN : start branching logic 2023-10-24 14:19:52 +02:00
ganfra
b0f27c111e PIN : add some tests to PinEntry 2023-10-24 11:35:11 +02:00
ganfra
080b77fc69 Setup pin : let time for ui to refresh before switching to confirmation step 2023-10-24 11:30:53 +02:00
ganfra
3733ee7e80 PinEntryTextField : add isSecured parameter 2023-10-24 11:30:43 +02:00
ganfra
6ee1c2eb4c PIN : fix some pin setup related code 2023-10-23 20:56:39 +02:00
ganfra
cf4ac261a9 Fix dagger compilation 2023-10-23 20:55:58 +02:00
ganfra
afe6d5a870 Lock settings : branch the flow 2023-10-23 18:11:02 +02:00
ganfra
eb15ca3901 Merge branch 'develop' into feature/fga/pin_settings 2023-10-23 17:36:12 +02:00
ganfra
40f677192a Merge pull request #1624 from vector-im/feature/fga/pin_auth_ui
PIN : unlock screen ui
2023-10-23 16:35:22 +02:00
ganfra
bf88fa55dd PIN : fix tests with new LockScreenConfig 2023-10-23 16:03:11 +02:00
ganfra
d66bd4a459 PIN unlock : adjust ui a bit 2023-10-23 15:38:24 +02:00
ganfra
d21623e523 Pin: add LockScreenConfig and address PR reviews 2023-10-23 15:30:17 +02:00
Benoit Marty
bf8cf00c51 Remove unused import 2023-10-23 14:01:23 +02:00
Benoit Marty
577527902f Konsist: add test to ensure that functions with @PreviewsDayNight contain ElementTheme composable, and fix existing issues. 2023-10-23 12:23:27 +02:00
ganfra
4075fcca05 Lock settings : create UI 2023-10-23 12:12:53 +02:00
ganfra
f283594fbd PIN : add test for SetupPinPresenter 2023-10-23 11:41:08 +02:00
ganfra
f6b9a8be9a PIN: fix konsist 2023-10-23 11:00:47 +02:00
ganfra
ff56a51be5 PIN : fix warning 2023-10-23 10:34:49 +02:00
ganfra
32f9ddc44b Pin : fix tests after rename 2023-10-23 10:32:43 +02:00
jonnyandrew
3a39e747fd Fix issue where text is cleared when cancelling a reply (#1617) 2023-10-23 08:31:32 +00:00
ElementBot
46bfbc06fa Sync Strings (#1623)
* Sync Strings from Localazy

* Fix strings

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-10-23 08:20:49 +00:00
renovate[bot]
7c5fab732b Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63 (#1619)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63

* Update Element Call integrated APIs

* Take into account the new `MessageType.Other` from the SDK

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-10-20 22:32:59 +02:00
ganfra
710b2c52f1 Fix some warnings 2023-10-20 20:38:27 +02:00
ganfra
5fc04bd079 Fix compilation 2023-10-20 20:26:04 +02:00
ganfra
9104e7d585 Pin unlock : better PinKeypad management 2023-10-20 20:25:54 +02:00
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
ganfra
78d264c6fc Create PIN : hopefully fix remaining issues 2023-10-20 10:54:59 +02: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
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