mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #407] [MERGED] feat: update webhook to support global webhook #564
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#564
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/407
Author: @dreamhunter2333
Created: 8/14/2024
Status: ✅ Merged
Merged: 8/14/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
b4909f4feat: update webhook to support global webhook📊 Changes
17 files changed (+416 additions, -216 deletions)
View changed files
📝
frontend/src/components/MailBox.vue(+7 -7)📝
frontend/src/components/SendBox.vue(+3 -3)➕
frontend/src/components/WebhookComponent.vue(+179 -0)📝
frontend/src/views/Admin.vue(+9 -3)📝
frontend/src/views/Index.vue(+3 -1)➕
frontend/src/views/admin/MailWebhook.vue(+30 -0)📝
frontend/src/views/common/Login.vue(+2 -2)📝
frontend/src/views/index/SendMail.vue(+5 -8)📝
frontend/src/views/index/Webhook.vue(+13 -114)📝
vitepress-docs/docs/zh/guide/ui/worker.md(+2 -0)📝
worker/src/admin_api/index.ts(+11 -0)➕
worker/src/admin_api/mail_webhook_settings.ts(+55 -0)📝
worker/src/common.ts(+75 -0)📝
worker/src/constants.ts(+1 -0)📝
worker/src/email/index.ts(+2 -2)📝
worker/src/mails_api/webhook_settings.ts(+2 -76)📝
worker/src/models/index.ts(+17 -0)📄 Description
User description
#383
PR Type
Enhancement, Tests, Documentation
Description
WebhookComponentfor managing webhook settings, including fetching, saving, and testing functionalities.MailWebhookfor managing mail webhook settings using theWebhookComponent.Admin.vueandIndex.vueviews to include new tabs and localization keys for webhook settings.Webhook.vueview to use the newWebhookComponent.USER_ROLESvariable.Changes walkthrough 📝
12 files
WebhookComponent.vue
New Webhook Component with Fetch, Save, and Test Functionalitiesfrontend/src/components/WebhookComponent.vue
settings.
Admin.vue
Add Mail Webhook Tab and Update Localizationfrontend/src/views/Admin.vue
Index.vue
Update Localization and Tab Name for Webhook Settingsfrontend/src/views/Index.vue
MailWebhook.vue
Add Mail Webhook Settings Viewfrontend/src/views/admin/MailWebhook.vue
SendMail.vue
Update Alert and Button Layout in SendMail Viewfrontend/src/views/index/SendMail.vue
Webhook.vue
Refactor Webhook View to Use New WebhookComponentfrontend/src/views/index/Webhook.vue
index.ts
Add API Endpoints for Mail Webhook Settingsworker/src/admin_api/index.ts
mail_webhook_settings.ts
Implement Mail Webhook Settings Handlersworker/src/admin_api/mail_webhook_settings.ts
common.ts
Add Functions to Send and Trigger Webhooksworker/src/common.ts
constants.ts
Add Constant for Admin Mail Webhook Settings Keyworker/src/constants.ts
webhook_settings.ts
Refactor Webhook Settings to Use Common Functionsworker/src/mails_api/webhook_settings.ts
index.ts
Add WebhookSettings Classworker/src/models/index.ts
1 files
index.ts
Fix Typo in Trigger Webhook Function Callworker/src/email/index.ts
1 files
worker.md
Update Documentation for USER_ROLES Variable Formatvitepress-docs/docs/zh/guide/ui/worker.md
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.