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

refactor: Migrate the rest of the filters to handleEncryptedSubmission #1474

Merged
merged 6 commits into from
Mar 29, 2021

Conversation

frankchn
Copy link
Contributor

Problem

Part of the set of pull requests that addresses #149

Solution

Migrate VerifiedContentMiddleware.encryptVerifiedSpcpFields, EncryptSubmissionMiddleware.prepareEncryptSubmission, encryptSubmissions.saveResponseToDb, webhookVerifiedContentFactory.post, SubmissionsMiddleware.sendEmailConfirmations.

I believe all these filters are used elsewhere in the code, so not deleting them yet.

@frankchn frankchn requested a review from liangyuanruo March 29, 2021 03:14
liangyuanruo
liangyuanruo previously approved these changes Mar 29, 2021
Copy link
Contributor

@liangyuanruo liangyuanruo left a comment

Choose a reason for hiding this comment

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

I believe all these filters are used elsewhere in the code, so not deleting them yet.

thanks for pointing this out - could we get your help to update those to use the same controller pattern too? perhaps in a separate PR...

@liangyuanruo liangyuanruo dismissed their stale review March 29, 2021 03:37

Code LGTM, to re-approve after tests pass

@frankchn frankchn requested a review from liangyuanruo March 29, 2021 04:58
@frankchn
Copy link
Contributor Author

@liangyuanruo fixed tests :)

Copy link
Contributor

@liangyuanruo liangyuanruo left a comment

Choose a reason for hiding this comment

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

LGTM barring minor merge conflicts

@frankchn frankchn merged commit d6c2745 into develop Mar 29, 2021
@frankchn frankchn deleted the frank-controllers-3 branch March 29, 2021 18:12
@tshuli tshuli mentioned this pull request Apr 6, 2021
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