mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[PR #539] [MERGED] feat: |UI| add JUNK_MAIL_FORCE_PASS_LIST #610
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#610
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/539
Author: @dreamhunter2333
Created: 12/30/2024
Status: ✅ Merged
Merged: 12/30/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
8d23387feat: |UI| add JUNK_MAIL_FORCE_PASS_LIST📊 Changes
7 files changed (+37 additions, -18 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
vitepress-docs/docs/en/cli.md(+2 -0)📝
vitepress-docs/docs/zh/guide/cli/worker.md(+3 -1)📝
worker/src/admin_api/worker_config.ts(+1 -0)📝
worker/src/email/check_junk.ts(+27 -17)📝
worker/src/types.d.ts(+1 -0)📝
worker/wrangler.toml.template(+2 -0)📄 Description
User description
#531
PR Type
enhancement, documentation
Description
JUNK_MAIL_FORCE_PASS_LISTto the admin API configuration to allow specifying mandatory checks for junk mail.check_junk.tsto validate emails against theJUNK_MAIL_FORCE_PASS_LIST.Bindingstype definition to includeJUNK_MAIL_FORCE_PASS_LIST.JUNK_MAIL_FORCE_PASS_LISTin the wrangler template.Changes walkthrough 📝
worker_config.ts
Add `JUNK_MAIL_FORCE_PASS_LIST` to admin API configurationworker/src/admin_api/worker_config.ts
JUNK_MAIL_FORCE_PASS_LISTto the configuration object.check_junk.ts
Implement `JUNK_MAIL_FORCE_PASS_LIST` logic in junk mail checkworker/src/email/check_junk.ts
getStringArrayutility function.JUNK_MAIL_FORCE_PASS_LISTfor junk mailvalidation.
passedList.types.d.ts
Update `Bindings` type with `JUNK_MAIL_FORCE_PASS_LIST`worker/src/types.d.ts
JUNK_MAIL_FORCE_PASS_LISTtoBindingstype definition.CHANGELOG.md
Document `JUNK_MAIL_FORCE_PASS_LIST` configurationCHANGELOG.md
JUNK_MAIL_FORCE_PASS_LISTconfiguration.cli.md
Add `JUNK_MAIL_FORCE_PASS_LIST` documentation in English CLI guidevitepress-docs/docs/en/cli.md
JUNK_MAIL_FORCE_PASS_LISTconfiguration.worker.md
Add `JUNK_MAIL_FORCE_PASS_LIST` documentation in Chinese CLI guidevitepress-docs/docs/zh/guide/cli/worker.md
JUNK_MAIL_FORCE_PASS_LISTconfiguration inChinese.
wrangler.toml.template
Add `JUNK_MAIL_FORCE_PASS_LIST` example in wrangler templateworker/wrangler.toml.template
JUNK_MAIL_FORCE_PASS_LISTconfiguration example.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.