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 validate- and receiveEmailSubmission to TypeScript #755

Merged
merged 33 commits into from
Dec 9, 2020

Conversation

mantariksh
Copy link
Contributor

@mantariksh mantariksh commented Nov 30, 2020

This PR migrates validateEmailSubmission and receiveEmailSubmission to TypeScript.

Tests

  • Submit an email mode form with an email field with autoreply, as well as multiple attachments with the same filename. Check that the attachment filenames are de-duplicated in both the admin response and the email confirmation.

@mantariksh mantariksh force-pushed the ref/ts-email-subs-busboy branch from ac6ec23 to 524f05b Compare November 30, 2020 09:59
@mantariksh mantariksh marked this pull request as ready for review November 30, 2020 10:02
@mantariksh mantariksh force-pushed the ref/ts-email-subs-prepare branch from 861a48e to 5e8ccc5 Compare December 1, 2020 13:01
@mantariksh mantariksh force-pushed the ref/ts-email-subs-busboy branch from 524f05b to 941e349 Compare December 1, 2020 14:21
@mantariksh mantariksh force-pushed the ref/ts-email-subs-prepare branch from 7df99e9 to d0d6aca Compare December 2, 2020 03:09
@mantariksh mantariksh force-pushed the ref/ts-email-subs-busboy branch from 941e349 to c11f660 Compare December 2, 2020 03:14
@mantariksh mantariksh requested review from karrui and tshuli and removed request for karrui December 2, 2020 03:15
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

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

whew. lgtm

@mantariksh mantariksh force-pushed the ref/ts-email-subs-prepare branch from 177ec12 to e03f926 Compare December 7, 2020 07:51
@mantariksh mantariksh force-pushed the ref/ts-email-subs-busboy branch from 9f35e27 to c01dac6 Compare December 7, 2020 09:17
@mantariksh mantariksh changed the base branch from ref/ts-email-subs-prepare to develop December 7, 2020 09:17
@mantariksh
Copy link
Contributor Author

don't merge yet, need to make improvements to the tests

@mantariksh
Copy link
Contributor Author

@karrui re-requesting your review for commit ba61d14 pls!

@mantariksh mantariksh requested a review from karrui December 8, 2020 05:05
@mantariksh mantariksh force-pushed the ref/ts-email-subs-busboy branch from 72b4967 to 945511c Compare December 8, 2020 09:00
@mantariksh
Copy link
Contributor Author

don't merge before we figure out why large attachments are crashing staging

@mantariksh mantariksh merged commit b085e5b into develop Dec 9, 2020
@mantariksh mantariksh mentioned this pull request Dec 10, 2020
@liangyuanruo liangyuanruo deleted the ref/ts-email-subs-busboy branch January 26, 2021 13:53
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