Skip to content
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

Support for v2 of MSC3903 #7372

Merged
merged 4 commits into from
Feb 15, 2023
Merged

Support for v2 of MSC3903 #7372

merged 4 commits into from
Feb 15, 2023

Conversation

hughns
Copy link
Member

@hughns hughns commented Feb 14, 2023

  • Support for org.matrix.msc3903.rendezvous.v2.curve25519-aes-sha256 whilst maintaining compatibility with org.matrix.msc3903.rendezvous.v1.curve25519-aes-sha256
  • Improves the feedback in case of valid code but of unsupported algorithm or transport.
  • Added some test cases.
  • Fixed scenario where invalid QR would have led to app crashing.

Pull Request Checklist

  • I read the contributing guide
  • UI change has been tested on both light and dark themes, in portrait and landscape orientations and on iPhone and iPad simulators
  • Accessibility has been taken into account.
  • Pull request is based on the develop branch
  • Pull request contains a changelog file in ./changelog.d
  • You've made a self review of your PR
  • Pull request includes screenshots or videos of UI changes
  • Pull request includes a sign off

Signed-off-by: Hugh Nimmo-Smith [email protected]

@hughns hughns marked this pull request as ready for review February 14, 2023 18:05
@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Base: 12.07% // Head: 12.11% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (c9dda44) compared to base (6c3131b).
Patch coverage: 71.73% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7372      +/-   ##
===========================================
+ Coverage    12.07%   12.11%   +0.04%     
===========================================
  Files         1638     1638              
  Lines       162005   162025      +20     
  Branches     66520    66529       +9     
===========================================
+ Hits         19557    19632      +75     
+ Misses      141802   141747      -55     
  Partials       646      646              
Flag Coverage Δ
uitests 55.52% <100.00%> (+0.16%) ⬆️
unittests 5.97% <58.69%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ogin/Common/Service/MatrixSDK/QRLoginService.swift 7.08% <0.00%> (-0.21%) ⬇️
...RLogin/Common/Service/QRLoginServiceProtocol.swift 0.00% <ø> (ø)
Riot/Modules/Rendezvous/RendezvousService.swift 77.77% <100.00%> (+1.30%) ⬆️
...ailure/AuthenticationQRLoginFailureViewModel.swift 61.70% <100.00%> (+2.61%) ⬆️
.../MockAuthenticationQRLoginFailureScreenState.swift 100.00% <100.00%> (ø)
...ojiPicker/Data/EmojiMart/EmojiItem+EmojiMart.swift 95.34% <0.00%> (-0.31%) ⬇️
...tSwiftUI/Modules/Room/Composer/View/Composer.swift 82.77% <0.00%> (+7.65%) ⬆️
...Modules/Room/Composer/View/FormattingToolbar.swift 85.00% <0.00%> (+10.00%) ⬆️
...I/Modules/Room/Composer/Model/ComposerModels.swift 89.61% <0.00%> (+19.48%) ⬆️
...odules/Room/PollHistory/View/SegmentedPicker.swift 58.92% <0.00%> (+22.26%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@sonarcloud
Copy link

sonarcloud bot commented Feb 15, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@hughns hughns merged commit 64c0a54 into develop Feb 15, 2023
@hughns hughns deleted the hughns/msc3903-v2 branch February 15, 2023 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants