mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #562] [MERGED] feat: |Worker| add REMOVE_ALL_ATTACHMENT and REMOVE_EXCEED_SIZE_ATTAC… #625
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#625
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/562
Author: @dreamhunter2333
Created: 1/18/2025
Status: ✅ Merged
Merged: 1/18/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
24829b6feat: |Worker| add REMOVE_ALL_ATTACHMENT and REMOVE_EXCEED_SIZE_ATTACHMENT📊 Changes
8 files changed (+77 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
vitepress-docs/docs/en/cli.md(+4 -0)📝
vitepress-docs/docs/zh/guide/cli/worker.md(+4 -0)📝
worker/src/admin_api/worker_config.ts(+3 -0)➕
worker/src/email/check_attachment.ts(+48 -0)📝
worker/src/email/index.ts(+9 -1)📝
worker/src/types.d.ts(+2 -0)📝
worker/wrangler.toml.template(+4 -0)📄 Description
#447
User description
…HMENT
PR Type
enhancement, documentation
Description
Add configuration options to remove email attachments.
Implement logic to remove attachments based on size or configuration.
Update documentation to reflect new configuration options.
Update changelog with new features.
Changes walkthrough 📝
worker_config.ts
Add attachment removal configuration optionsworker/src/admin_api/worker_config.ts
REMOVE_EXCEED_SIZE_ATTACHMENTandREMOVE_ALL_ATTACHMENTconfiguration options.
check_attachment.ts
Implement attachment removal logicworker/src/email/check_attachment.ts
index.ts
Integrate attachment removal into email processingworker/src/email/index.ts
types.d.ts
Add types for new configuration optionsworker/src/types.d.ts
REMOVE_ALL_ATTACHMENTandREMOVE_EXCEED_SIZE_ATTACHMENT.CHANGELOG.md
Update changelog with new featuresCHANGELOG.md
cli.md
Document new attachment removal optionsvitepress-docs/docs/en/cli.md
worker.md
Document new attachment removal options in Chinesevitepress-docs/docs/zh/guide/cli/worker.md
wrangler.toml.template
Add attachment removal options to templateworker/wrangler.toml.template
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.