[PR #739] [MERGED] feat: add cleanup for unbound addresses feature #730

Closed
opened 2026-02-26 21:32:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/739
Author: @dreamhunter2333
Created: 10/12/2025
Status: Merged
Merged: 10/12/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/email


📝 Commits (1)

  • d396648 feat: add cleanup for unbound addresses feature

📊 Changes

4 files changed (+31 additions, -0 deletions)

View changed files

📝 frontend/src/views/admin/Maintenance.vue (+16 -0)
📝 worker/src/common.ts (+6 -0)
📝 worker/src/models/index.ts (+2 -0)
📝 worker/src/scheduled.ts (+7 -0)

📄 Description

User description

  • Add unboundAddress cleanup type to backend cleanup logic
  • Update CleanupSettings model with unbound address fields
  • Add scheduled task for automatic unbound address cleanup
  • Add UI controls in admin Maintenance panel for manual cleanup
  • Add i18n support (en/zh) for unbound address cleanup labels
  • Clean addresses not bound to any user created before n days

🤖 Generated with Claude Code


PR Type

Enhancement, Documentation


Description

  • Added cleanup functionality for unbound addresses in backend logic.

  • Updated UI in the admin Maintenance panel for manual cleanup.

  • Integrated i18n support for unbound address cleanup labels (en/zh).

  • Implemented scheduled task for automatic unbound address cleanup.


Changes walkthrough 📝

Relevant files
Enhancement
Maintenance.vue
Added UI and i18n for unbound address cleanup                       

frontend/src/views/admin/Maintenance.vue

  • Added UI controls for unbound address cleanup in admin Maintenance
    panel.
  • Added i18n support for unbound address cleanup labels in English and
    Chinese.
  • Updated cleanup model to include unbound address cleanup settings.
  • +16/-0   
    common.ts
    Added backend logic for unbound address cleanup                   

    worker/src/common.ts

  • Added backend logic for unbound address cleanup.
  • Implemented SQL query to delete unbound addresses older than specified
    days.
  • +6/-0     
    index.ts
    Updated CleanupSettings model for unbound address cleanup

    worker/src/models/index.ts

  • Updated CleanupSettings model to include unbound address cleanup
    fields.
  • +2/-0     
    scheduled.ts
    Added scheduled task for unbound address cleanup                 

    worker/src/scheduled.ts

  • Added scheduled task for automatic unbound address cleanup.
  • Integrated unbound address cleanup into the scheduled cleanup process.
  • +7/-0     

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/739 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 10/12/2025 **Status:** ✅ Merged **Merged:** 10/12/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/email` --- ### 📝 Commits (1) - [`d396648`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/d396648699fc3818b41b7a46236828ed0501306b) feat: add cleanup for unbound addresses feature ### 📊 Changes **4 files changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/views/admin/Maintenance.vue` (+16 -0) 📝 `worker/src/common.ts` (+6 -0) 📝 `worker/src/models/index.ts` (+2 -0) 📝 `worker/src/scheduled.ts` (+7 -0) </details> ### 📄 Description ### **User description** - Add unboundAddress cleanup type to backend cleanup logic - Update CleanupSettings model with unbound address fields - Add scheduled task for automatic unbound address cleanup - Add UI controls in admin Maintenance panel for manual cleanup - Add i18n support (en/zh) for unbound address cleanup labels - Clean addresses not bound to any user created before n days 🤖 Generated with [Claude Code](https://claude.ai/code) ___ ### **PR Type** Enhancement, Documentation ___ ### **Description** - Added cleanup functionality for unbound addresses in backend logic. - Updated UI in the admin Maintenance panel for manual cleanup. - Integrated i18n support for unbound address cleanup labels (en/zh). - Implemented scheduled task for automatic unbound address cleanup. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>Maintenance.vue</strong><dd><code>Added UI and i18n for unbound address cleanup</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/views/admin/Maintenance.vue <li>Added UI controls for unbound address cleanup in admin Maintenance <br>panel.<br> <li> Added i18n support for unbound address cleanup labels in English and <br>Chinese.<br> <li> Updated cleanup model to include unbound address cleanup settings. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/739/files#diff-68808e9c7bcf8b34a2d45265cca130c547b77e75a97350ea7d16682e69922ae4">+16/-0</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>common.ts</strong><dd><code>Added backend logic for unbound address cleanup</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/common.ts <li>Added backend logic for unbound address cleanup.<br> <li> Implemented SQL query to delete unbound addresses older than specified <br>days. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/739/files#diff-fcc08fd5aa3c190d0d45c7e3dd208e5ee831d360b272fdd5869607cf472c5eb1">+6/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Updated CleanupSettings model for unbound address cleanup</code></dd></summary> <hr> worker/src/models/index.ts <li>Updated <code>CleanupSettings</code> model to include unbound address cleanup <br>fields. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/739/files#diff-430bcc4ffa98738e7419c774a53ba2ce8b5127a36b3741e89bf36b95a56f02bc">+2/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>scheduled.ts</strong><dd><code>Added scheduled task for unbound address cleanup</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/scheduled.ts <li>Added scheduled task for automatic unbound address cleanup.<br> <li> Integrated unbound address cleanup into the scheduled cleanup process. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/739/files#diff-32db4dd84c910f05f07a8a392340ce79b637bcb01d929f6df09f3ba94acfa9b7">+7/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:44 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#730
    No description provided.