mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[PR #394] [MERGED] feat: add EMAIL_KV_BLACK_LIST #558
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#558
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/394
Author: @dreamhunter2333
Created: 8/11/2024
Status: ✅ Merged
Merged: 8/11/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
d67d5dbfeat: add EMAIL_KV_BLACK_LIST📊 Changes
8 files changed (+48 additions, -8 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
frontend/package.json(+1 -1)📝
frontend/src/api/index.js(+1 -1)📝
frontend/src/views/admin/AccountSettings.vue(+14 -1)📝
worker/src/admin_api/index.ts(+10 -2)📝
worker/src/constants.ts(+2 -1)➕
worker/src/email/black_list.ts(+16 -0)📝
worker/src/email/index.ts(+3 -2)📄 Description
User description
#379
PR Type
Enhancement, Bug fix
Description
fromBlockListin the admin account settings to block specific email addresses.fromBlockListfield in both GET and POST requests.0.7.1and documented the changes in the changelog.Changes walkthrough 📝
AccountSettings.vue
Add email address block list field in admin settingsfrontend/src/views/admin/AccountSettings.vue
fromBlockListfor blocking email addresses.index.ts
Handle fromBlockList in admin APIworker/src/admin_api/index.ts
fromBlockListin GET and POST requests.EMAIL_KV_BLACK_LIST.constants.ts
Define EMAIL_KV_BLACK_LIST constantworker/src/constants.ts
EMAIL_KV_BLACK_LIST.v0.7.1.black_list.ts
Implement email address blocking logicworker/src/email/black_list.ts
index.ts
Integrate email blocking in email handlingworker/src/email/index.ts
isBlockedfunction to reject emails from blocked addresses.index.js
Fix potential error handling issue in APIfrontend/src/api/index.js
message.CHANGELOG.md
Update changelog for version 0.7.1CHANGELOG.md
configuration.
package.json
Bump frontend package version to 0.7.1frontend/package.json
0.7.1.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.