mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #401] [MERGED] feat: add ADDRESS_REGEX #561
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#561
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/401
Author: @dreamhunter2333
Created: 8/12/2024
Status: ✅ Merged
Merged: 8/13/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
d6d888efeat: add ADDRESS_REGEX📊 Changes
9 files changed (+43 additions, -5 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
frontend/src/store/index.js(+1 -0)📝
frontend/src/views/common/Login.vue(+16 -4)📝
vitepress-docs/docs/en/cli.md(+2 -0)📝
vitepress-docs/docs/zh/guide/cli/worker.md(+2 -0)📝
worker/src/commom_api.ts(+1 -0)📝
worker/src/common.ts(+17 -1)📝
worker/src/types.d.ts(+1 -0)📝
worker/wrangler.toml.template(+2 -0)📄 Description
PR Type
Enhancement, Documentation
Description
ADDRESS_REGEXconfiguration.ADDRESS_REGEXconfiguration option.Changes walkthrough 📝
5 files
Login.vue
Add dynamic email validation using regexfrontend/src/views/common/Login.vue
addressRegexcomputed property to handle dynamic regex for emailvalidation.
addressRegex.commom_api.ts
Include address regex in settings API responseworker/src/commom_api.ts
addressRegexto the settings API response.common.ts
Add dynamic regex fetching for email name sanitizationworker/src/common.ts
DEFAULT_NAME_REGEXconstant.getNameRegexfunction to fetch and compile regex fromenvironment.
getNameRegex.types.d.ts
Update Bindings type with ADDRESS_REGEXworker/src/types.d.ts
ADDRESS_REGEXtoBindingstype.index.js
Add addressRegex to openSettings statefrontend/src/store/index.js
addressRegextoopenSettingsstate.4 files
CHANGELOG.md
Update CHANGELOG for ADDRESS_REGEX configurationCHANGELOG.md
ADDRESS_REGEXconfiguration.cli.md
Document ADDRESS_REGEX configuration in English CLI guidevitepress-docs/docs/en/cli.md
ADDRESS_REGEXconfiguration.worker.md
Document ADDRESS_REGEX configuration in Chinese CLI guidevitepress-docs/docs/zh/guide/cli/worker.md
ADDRESS_REGEXconfiguration.wrangler.toml.template
Add ADDRESS_REGEX configuration example in templateworker/wrangler.toml.template
ADDRESS_REGEXconfiguration example.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.