mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #765] [MERGED] feat: add empty address cleanup feature #751
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#751
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/765
Author: @dreamhunter2333
Created: 11/13/2025
Status: ✅ Merged
Merged: 11/13/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/email📝 Commits (3)
5f3b640feat: add empty address cleanup featuree8da2b2chore: update dependencies7e15902docs: update CHANGELOG for empty address cleanup feature📊 Changes
12 files changed (+1239 additions, -1267 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
frontend/package.json(+1 -1)📝
frontend/pnpm-lock.yaml(+332 -346)📝
frontend/src/views/admin/Maintenance.vue(+16 -0)📝
pages/package.json(+1 -1)📝
vitepress-docs/package.json(+2 -2)📝
vitepress-docs/pnpm-lock.yaml(+359 -383)📝
worker/package.json(+6 -6)📝
worker/pnpm-lock.yaml(+504 -528)📝
worker/src/common.ts(+7 -0)📝
worker/src/models/index.ts(+2 -0)📝
worker/src/scheduled.ts(+7 -0)📄 Description
User description
Summary
Add functionality to clean up email addresses that have never received any emails and were created more than N days ago in the maintenance page.
Changes
Backend
worker/src/models/index.ts): AddedenableEmptyAddressAutoCleanupandcleanEmptyAddressDaystoCleanupSettingstypeworker/src/common.ts): ImplementedemptyAddresscleanup type that deletes addresses with no emails older than N daysworker/src/scheduled.ts): Added auto-cleanup support for empty addresses in cron jobFrontend
frontend/src/views/admin/Maintenance.vue): Added new form item with:Features
batchDeleteAddressWithData()for safe cascade deletion of all related dataTest Plan
🤖 Generated with Claude Code
PR Type
Enhancement, Tests
Description
Added empty address cleanup feature for unused email addresses.
Updated frontend UI to support manual and auto cleanup.
Enhanced backend logic to handle empty address cleanup.
Updated dependencies and version to v1.1.0.
Changes walkthrough 📝
4 files
Added UI controls for empty address cleanup.Implemented backend logic for empty address cleanup.Extended CleanupSettings model for empty address cleanup.Integrated empty address cleanup into scheduled tasks.1 files
Updated changelog for version v1.1.0.4 files
Updated frontend dependencies and version to v1.1.0.Updated pages dependencies and version to v1.1.0.Updated vitepress-docs dependencies and version to v1.1.0.Updated worker dependencies and version to v1.1.0.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.