feat: |UI| add JUNK_MAIL_FORCE_PASS_LIST #539
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
#531
PR Type
enhancement, documentation
Description
JUNK_MAIL_FORCE_PASS_LIST
to the admin API configuration to allow specifying mandatory checks for junk mail.check_junk.ts
to validate emails against theJUNK_MAIL_FORCE_PASS_LIST
.Bindings
type definition to includeJUNK_MAIL_FORCE_PASS_LIST
.JUNK_MAIL_FORCE_PASS_LIST
in the wrangler template.Changes walkthrough 📝
worker_config.ts
Add `JUNK_MAIL_FORCE_PASS_LIST` to admin API configuration
worker/src/admin_api/worker_config.ts
JUNK_MAIL_FORCE_PASS_LIST
to the configuration object.check_junk.ts
Implement `JUNK_MAIL_FORCE_PASS_LIST` logic in junk mail check
worker/src/email/check_junk.ts
getStringArray
utility function.JUNK_MAIL_FORCE_PASS_LIST
for junk mailvalidation.
passedList
.types.d.ts
Update `Bindings` type with `JUNK_MAIL_FORCE_PASS_LIST`
worker/src/types.d.ts
JUNK_MAIL_FORCE_PASS_LIST
toBindings
type definition.CHANGELOG.md
Document `JUNK_MAIL_FORCE_PASS_LIST` configuration
CHANGELOG.md
JUNK_MAIL_FORCE_PASS_LIST
configuration.cli.md
Add `JUNK_MAIL_FORCE_PASS_LIST` documentation in English CLI guide
vitepress-docs/docs/en/cli.md
JUNK_MAIL_FORCE_PASS_LIST
configuration.worker.md
Add `JUNK_MAIL_FORCE_PASS_LIST` documentation in Chinese CLI guide
vitepress-docs/docs/zh/guide/cli/worker.md
JUNK_MAIL_FORCE_PASS_LIST
configuration inChinese.
wrangler.toml.template
Add `JUNK_MAIL_FORCE_PASS_LIST` example in wrangler template
worker/wrangler.toml.template
JUNK_MAIL_FORCE_PASS_LIST
configuration example.