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

feat: add Certificates store and validation #2072

Merged
merged 27 commits into from
Nov 29, 2023
Merged

feat: add Certificates store and validation #2072

merged 27 commits into from
Nov 29, 2023

Conversation

siepra
Copy link
Contributor

@siepra siepra commented Nov 15, 2023

Pull Request Checklist

  • I have linked this PR to related GitHub issue.
  • I have updated the CHANGELOG.md file with relevant changes (the file is located at the root of monorepo).

(Optional) Mobile checklist

Please ensure you completed the following checks if you did any changes to the mobile package:

  • I have run e2e tests for mobile
  • I have updated base screenshots for visual regression tests

@@ -3,6 +3,7 @@ import { registerDecorator, ValidationArguments, ValidationOptions } from 'class
import Logger from '../common/logger'

const logger = Logger('registration.validators')

export function IsCsr(validationOptions?: ValidationOptions) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do I get it right, that we want to introduce the same method for certificate? Also, what are we particularly interested in validating inside CertificateContainsFields?

@siepra
Copy link
Contributor Author

siepra commented Nov 15, 2023

At this stage, I've moved logic related to certificates out of storage service into their own store.
Next steps are:

  1. Merge feat: Add CSRs store and validation #2075 into the branch
  2. Write tests for certificates.store
  3. Provide certificates validation

@siepra
Copy link
Contributor Author

siepra commented Nov 16, 2023

At this step automatic tests are passing and the app seemed to work fine when tested manually.

@siepra siepra changed the title chore: start moving certificates to its own store feat: add Certificates store and validation Nov 24, 2023
@siepra siepra marked this pull request as ready for review November 28, 2023 11:56
@siepra siepra requested a review from EmiM November 28, 2023 12:09
@siepra siepra requested review from vinkabuki and leblowl November 28, 2023 12:09
Copy link
Contributor

@EmiM EmiM left a comment

Choose a reason for hiding this comment

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

Please make sure that e2e tests pass on at least one desktop OS

@siepra siepra merged commit 47669f4 into develop Nov 29, 2023
20 of 25 checks passed
@siepra siepra deleted the chore/1899 branch December 8, 2023 12:03
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.

3 participants