mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #524] [MERGED] feat: support send mail from admin portal(no balance limit) #602
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#602
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/524
Author: @dreamhunter2333
Created: 12/22/2024
Status: ✅ Merged
Merged: 12/22/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
8c30c5efeat: support send mail from admin portal(no balance limit)📊 Changes
9 files changed (+245 additions, -9 deletions)
View changed files
📝
CHANGELOG.md(+3 -1)📝
frontend/src/views/Admin.vue(+6 -0)➕
frontend/src/views/admin/SendMail.vue(+199 -0)📝
worker/src/admin_api/index.ts(+4 -0)➕
worker/src/admin_api/send_mail.ts(+22 -0)📝
worker/src/mails_api/send_mail_api.ts(+5 -2)📝
worker/src/user_api/oauth2.ts(+2 -2)📝
worker/src/user_api/passkey.ts(+2 -2)📝
worker/src/user_api/user.ts(+2 -2)📄 Description
User description
#523
PR Type
Enhancement, Bug fix
Description
SendMailcomponent to the admin portal for sending emails./admin/send_mailfor sending emails by admin without balance limit.sendMailfunction to support admin email sending.Changes walkthrough 📝
8 files
Admin.vue
Add `SendMail` tab and localization in Admin viewfrontend/src/views/Admin.vue
SendMailcomponent.sendMailtab with localization for English and Chinese.SendMail.vue
Create `SendMail` component for admin email functionalityfrontend/src/views/admin/SendMail.vue
SendMailcomponent for sending emails.subject, and content.
index.ts
Add endpoint for sending emails by adminworker/src/admin_api/index.ts
sendMailbyAdminfunction./admin/send_mailfor sending emails.send_mail.ts
Implement `sendMailbyAdmin` function for admin email sendingworker/src/admin_api/send_mail.ts
sendMailbyAdminfunction to handle email sending.sendMailfunction fromsend_mail_api.send_mail_api.ts
Update `sendMail` function to support admin email sendingworker/src/mails_api/send_mail_api.ts
sendMailfunction to support admin email sending withoutbalance limit.
oauth2.ts
Extend JWT expiration to 90 days in OAuth2 APIworker/src/user_api/oauth2.ts
passkey.ts
Extend JWT expiration to 90 days in Passkey APIworker/src/user_api/passkey.ts
user.ts
Extend JWT expiration to 90 days in User APIworker/src/user_api/user.ts
1 files
CHANGELOG.md
Update changelog with recent changes and fixesCHANGELOG.md
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.