mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #717] [MERGED] feat: add var DISABLE_CUSTOM_ADDRESS_NAME and CREATE_ADDRESS_DEFAULT_… #716
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#716
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/717
Author: @dreamhunter2333
Created: 9/3/2025
Status: ✅ Merged
Merged: 9/4/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/email📝 Commits (2)
711378cfeat: add var DISABLE_CUSTOM_ADDRESS_NAME and CREATE_ADDRESS_DEFAULT_DOMAIN_FIRST8e5293ffix: enhance input validation with trim() for address creation📊 Changes
14 files changed (+99 additions, -39 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
README.md(+2 -2)📝
frontend/src/api/index.js(+1 -0)📝
frontend/src/store/index.js(+1 -0)📝
frontend/src/views/common/Login.vue(+10 -5)📝
vitepress-docs/docs/zh/guide/feature/new-address-api.md(+2 -2)📝
vitepress-docs/docs/zh/guide/worker-vars.md(+13 -11)📝
worker/src/commom_api.ts(+2 -0)📝
worker/src/common.ts(+36 -6)📝
worker/src/mails_api/index.ts(+8 -4)📝
worker/src/telegram_api/common.ts(+15 -8)📝
worker/src/telegram_api/telegram.ts(+1 -1)📝
worker/src/types.d.ts(+2 -0)📝
worker/wrangler.toml.template(+4 -0)📄 Description
User description
…DOMAIN_FIRST
PR Type
Enhancement, Bug fix, Documentation
Description
Introduced
DISABLE_CUSTOM_ADDRESS_NAMEto disable custom email names.Added
CREATE_ADDRESS_DEFAULT_DOMAIN_FIRSTfor domain prioritization.Enhanced input validation with
trim()to handle whitespace issues.Updated documentation and configuration templates for new features.
Changes walkthrough 📝
7 files
Added support for disabling custom email names in UIExposed `DISABLE_CUSTOM_ADDRESS_NAME` in API settingsAdded random name generation and improved input validationIntegrated random name generation in email creation APIEnhanced Telegram API to handle custom name disablingAdded `disableCustomAddressName` to frontend API settingsAdded `disableCustomAddressName` to global state5 files
Updated Telegram command description for new featuresDocumented new features in changelogMinor formatting updates in READMEUpdated API documentation for random name generationDocumented new environment variables for email settings2 files
Added new environment variables to type definitionsAdded new configuration options to template🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.