Skip to content

Sign in with QR code #2793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 67 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
855647f
QrCode login: enable and navigate to new Node
bmarty Feb 27, 2024
cb0287a
QrCode login: Intro screen with Camera permission
bmarty Feb 27, 2024
188e5e1
QrCode Scanner - WIP
bmarty Feb 27, 2024
8af1d52
to merge if it works.
bmarty Feb 29, 2024
ad608bb
WIP changes:
jmartinesp Apr 10, 2024
6f36885
Add new code confirmation and connection not secure screens
jmartinesp Apr 11, 2024
2a30842
WIP: start integrating Rust SDK APIs.
jmartinesp Apr 12, 2024
253ce12
Set up QR code login flow up to failure at the end
jmartinesp Apr 23, 2024
c9a2e29
Add localized strings
jmartinesp Apr 23, 2024
c83e6c5
Fix multiple `ClientBuilder` instances being created
jmartinesp Apr 23, 2024
92ea84c
Use `checkCodeString` for the check code value instead
jmartinesp Apr 23, 2024
0542be7
Finish the login flow on a successful QR code login
jmartinesp Apr 24, 2024
a3ba41c
WIP changes to try to fix verification state
jmartinesp Apr 24, 2024
4803864
Reuse existing code and simplify the flow
jmartinesp Apr 25, 2024
8f35a7b
Remove unnecessary 'link new device' option
jmartinesp Apr 25, 2024
a580355
Actually cancel the QR code login and do a cleanup of any lingering c…
jmartinesp Apr 25, 2024
2fc6499
Add some tests to onboarding screen
jmartinesp Apr 25, 2024
f4b51f9
Add some tests to QR code intro screen
jmartinesp Apr 25, 2024
d6ef9be
Fix generic error screen not being displayed
jmartinesp Apr 26, 2024
5791d32
More tests
jmartinesp Apr 26, 2024
7b2c4ad
Add minimal tests to `QrCodeLoginFlowNode`.
jmartinesp Apr 26, 2024
dc435f8
Workaround QrCodeErrorView crash
jmartinesp Apr 26, 2024
18a8fd8
Fix QR code login and verification
jmartinesp Apr 26, 2024
def8af2
Fix navigation issues in login flow by actually resetting the state o…
jmartinesp Apr 26, 2024
f3b2aa8
Actually `QrCodeLoginManagerImpl` doesn't need to be a singleton
jmartinesp Apr 26, 2024
14775d5
Add and fix tests
jmartinesp Apr 29, 2024
bf87cfe
Display the 'establishing secure connection' after the QR code is suc…
jmartinesp Apr 29, 2024
1ec15c0
Update strings
jmartinesp Apr 29, 2024
57e7379
Move `OnboardingConfig` to `appconfig` module
jmartinesp Apr 29, 2024
e12c19e
More tests, rename `QrCodeLoginManagerImpl` to `DefaultQrCodeLoginMan…
jmartinesp Apr 29, 2024
6bd9135
Merge remote-tracking branch 'origin/develop' into feature/bma/signIn…
jmartinesp Apr 30, 2024
f01de85
Fix merge issues
jmartinesp Apr 30, 2024
f4a24cc
Fix lint issues, update strings
jmartinesp May 3, 2024
261aef6
Use custom Rust SDK version
jmartinesp May 3, 2024
e8acd32
Merge remote-tracking branch 'origin/develop' into feature/bma/signIn…
jmartinesp May 3, 2024
4141f7a
Adapt to changes in SDK
jmartinesp May 6, 2024
b38ec55
Fix reading several incorrect QR codes breaking previews
jmartinesp May 9, 2024
3b56690
Use SNAPSHOT version for the Rust SDK
jmartinesp May 10, 2024
338f819
Only display the preview view when it's receiving video input
jmartinesp May 10, 2024
fe2e2f3
Add error mapping
jmartinesp May 17, 2024
a503634
Merge remote-tracking branch 'origin/develop' into feature/bma/signIn…
jmartinesp May 17, 2024
c70a890
WIP: mapping errors to error screens
jmartinesp May 17, 2024
fdbcd04
Add error handling (to be tested)
jmartinesp May 20, 2024
ac1e464
Use Zxing-CPP instead of outdated Zxing `v3.3.3`
jmartinesp May 21, 2024
5d474e2
Add new error codes and screens
jmartinesp May 24, 2024
1356778
Create `QrCodeLoginScope` to isolate the feature and make sure `QrCod…
jmartinesp May 24, 2024
91cdb8c
Merge remote-tracking branch 'origin/develop' into feature/bma/signIn…
jmartinesp May 24, 2024
14b21dd
Fix and improve tests and related code
jmartinesp May 24, 2024
43276e3
Fix lint issues
jmartinesp May 24, 2024
c50ec27
Update screenshots
May 24, 2024
f4e8f3b
Bump Matrix Rust SDK to `v0.2.21` and fix conflicts
jmartinesp May 29, 2024
3336a3b
Merge branch 'misc/jme/rust-sdk-0.2.21' into feature/bma/signInWithQr…
jmartinesp May 29, 2024
32e1609
Add QR code login FF enabled only for debug and nightly builds
jmartinesp May 29, 2024
53f5f09
Add new `QrLoginException.OtherDeviceNotSignedIn` and remove `QrLogin…
jmartinesp May 29, 2024
bfd27ed
Bump SDK, fix tests and lint issues
jmartinesp May 29, 2024
13c5007
Merge remote-tracking branch 'origin/develop' into feature/bma/signIn…
jmartinesp May 29, 2024
b81556f
Fix more lint issues
jmartinesp May 29, 2024
fdc1f8f
Update screenshots
May 29, 2024
9f615c4
Use enum for login flow type
jmartinesp May 30, 2024
0688064
Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppSc…
jmartinesp May 30, 2024
6ff42bc
Add bottom padding to the camera preview in `QrCodeScanView`
jmartinesp May 30, 2024
13c97ca
Update screenshots
May 30, 2024
a2ac07a
Update strings
jmartinesp May 31, 2024
6b5e558
Merge remote-tracking branch 'origin/develop' into feature/bma/signIn…
jmartinesp May 31, 2024
6375be4
Update screenshots
May 31, 2024
eab9676
Fix lint issues
jmartinesp May 31, 2024
7fad1a6
Fix maestro tests
jmartinesp May 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Button is close to the CameraView?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try to fix it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6ff42bc, I thought it was going to be harder to fix.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading