mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #588] [MERGED] feat: |Worker| NO_LIMIT_SEND_ROLE support multi role splited by ',' #646
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#646
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/588
Author: @dreamhunter2333
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/22/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
470b8e4feat: |Worker| NO_LIMIT_SEND_ROLE support multi role splited by ','📊 Changes
8 files changed (+24 additions, -10 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
vitepress-docs/docs/en/cli.md(+2 -1)📝
vitepress-docs/docs/zh/guide/worker-vars.md(+1 -1)📝
worker/src/admin_api/worker_config.ts(+2 -2)📝
worker/src/mails_api/index.ts(+3 -2)📝
worker/src/mails_api/send_mail_api.ts(+3 -2)📝
worker/src/utils.ts(+10 -1)📝
worker/wrangler.toml.template(+2 -1)📄 Description
PR Type
enhancement, documentation
Description
Support for multiple roles in
NO_LIMIT_SEND_ROLEusing comma separation.Added
getSplitStringListValueutility function for splitting strings.Updated relevant files to use
getSplitStringListValueforNO_LIMIT_SEND_ROLE.Documentation updates for the new
NO_LIMIT_SEND_ROLEformat.Changes walkthrough 📝
worker_config.ts
Update NO_LIMIT_SEND_ROLE to support multiple rolesworker/src/admin_api/worker_config.ts
getSplitStringListValuefrom utils.getSplitStringListValueforNO_LIMIT_SEND_ROLE.index.ts
Enhance NO_LIMIT_SEND_ROLE handling in mails APIworker/src/mails_api/index.ts
getSplitStringListValuefrom utils.getSplitStringListValueforNO_LIMIT_SEND_ROLE.send_mail_api.ts
Support multiple roles in send mail APIworker/src/mails_api/send_mail_api.ts
getSplitStringListValuefrom utils.getSplitStringListValueforNO_LIMIT_SEND_ROLE.utils.ts
Add utility function for splitting stringsworker/src/utils.ts
getSplitStringListValuefunction to split strings by delimiter.CHANGELOG.md
Update changelog for NO_LIMIT_SEND_ROLE enhancementCHANGELOG.md
NO_LIMIT_SEND_ROLEmulti-role support.cli.md
Update CLI documentation for NO_LIMIT_SEND_ROLEvitepress-docs/docs/en/cli.md
NO_LIMIT_SEND_ROLE.worker-vars.md
Update worker vars documentation for NO_LIMIT_SEND_ROLEvitepress-docs/docs/zh/guide/worker-vars.md
NO_LIMIT_SEND_ROLE.wrangler.toml.template
Update wrangler template for NO_LIMIT_SEND_ROLEworker/wrangler.toml.template
NO_LIMIT_SEND_ROLE.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.