[PR #406] [MERGED] fix: DISABLE_ADMIN_PASSWORD_CHECK still show admin password modal #562

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

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406
Author: @dreamhunter2333
Created: 8/14/2024
Status: Merged
Merged: 8/14/2024
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • 8a9a7fc fix: DISABLE_ADMIN_PASSWORD_CHECK still show admin password modal

📊 Changes

9 files changed (+1635 additions, -1598 deletions)

View changed files

📝 frontend/package.json (+13 -13)
📝 frontend/pnpm-lock.yaml (+1014 -1017)
📝 frontend/src/api/index.js (+3 -0)
📝 frontend/src/store/index.js (+6 -1)
📝 vitepress-docs/docs/zh/guide/quick-start.md (+23 -0)
📝 vitepress-docs/docs/zh/guide/ui/worker.md (+4 -1)
📝 worker/package.json (+9 -9)
📝 worker/pnpm-lock.yaml (+562 -557)
📝 worker/src/commom_api.ts (+1 -0)

📄 Description

User description

#390


PR Type

Bug fix, Enhancement, Documentation


Description

  • Added disableAdminPasswordCheck to the settings response in the backend.
  • Updated global state and admin page visibility logic in the frontend to consider disableAdminPasswordCheck.
  • Added error handling for missing domains in the settings response.
  • Updated several frontend and worker dependencies to their latest versions.
  • Added a new section for the upgrade process in the documentation.
  • Added a note about string format for variables in the documentation.

Changes walkthrough 📝

Relevant files
Enhancement
2 files
commom_api.ts
Add `disableAdminPasswordCheck` to settings response         

worker/src/commom_api.ts

  • Added disableAdminPasswordCheck to the settings response.
+1/-0     
index.js
Update global state and admin page visibility logic           

frontend/src/store/index.js

  • Added disableAdminPasswordCheck to global state.
  • Updated showAdminPage computed property to consider
    disableAdminPasswordCheck.
  • +6/-1     
    Bug fix
    1 files
    index.js
    Add error handling for missing domains in settings response

    frontend/src/api/index.js

    • Added error handling for missing domains in settings response.
    +3/-0     
    Dependencies
    2 files
    package.json
    Update frontend dependencies                                                         

    frontend/package.json

    • Updated several frontend dependencies to their latest versions.
    +13/-13 
    package.json
    Update worker dependencies                                                             

    worker/package.json

    • Updated several worker dependencies to their latest versions.
    +9/-9     
    Documentation
    2 files
    quick-start.md
    Add upgrade process documentation                                               

    vitepress-docs/docs/zh/guide/quick-start.md

    • Added a new section for the upgrade process.
    +23/-0   
    worker.md
    Add note about string format for variables                             

    vitepress-docs/docs/zh/guide/ui/worker.md

    • Added a note about string format for variables.
    +4/-1     
    Additional files (token-limit)
    2 files
    pnpm-lock.yaml
    ...                                                                                                           

    frontend/pnpm-lock.yaml

    ...

    +1297/-1300
    pnpm-lock.yaml
    ...                                                                                                           

    worker/pnpm-lock.yaml

    ...

    +562/-557

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions


    🔄 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/406 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 8/14/2024 **Status:** ✅ Merged **Merged:** 8/14/2024 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`8a9a7fc`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/8a9a7fcf534bfc754658a974851e16de014ff5d1) fix: DISABLE_ADMIN_PASSWORD_CHECK still show admin password modal ### 📊 Changes **9 files changed** (+1635 additions, -1598 deletions) <details> <summary>View changed files</summary> 📝 `frontend/package.json` (+13 -13) 📝 `frontend/pnpm-lock.yaml` (+1014 -1017) 📝 `frontend/src/api/index.js` (+3 -0) 📝 `frontend/src/store/index.js` (+6 -1) 📝 `vitepress-docs/docs/zh/guide/quick-start.md` (+23 -0) 📝 `vitepress-docs/docs/zh/guide/ui/worker.md` (+4 -1) 📝 `worker/package.json` (+9 -9) 📝 `worker/pnpm-lock.yaml` (+562 -557) 📝 `worker/src/commom_api.ts` (+1 -0) </details> ### 📄 Description ### **User description** #390 ___ ### **PR Type** Bug fix, Enhancement, Documentation ___ ### **Description** - Added `disableAdminPasswordCheck` to the settings response in the backend. - Updated global state and admin page visibility logic in the frontend to consider `disableAdminPasswordCheck`. - Added error handling for missing domains in the settings response. - Updated several frontend and worker dependencies to their latest versions. - Added a new section for the upgrade process in the documentation. - Added a note about string format for variables in the documentation. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>2 files</summary><table> <tr> <td> <details> <summary><strong>commom_api.ts</strong><dd><code>Add `disableAdminPasswordCheck` to settings response</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/commom_api.ts - Added `disableAdminPasswordCheck` to the settings response. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-fe2dec25bee7d722fe8aa25b616c21bd12b8123e26469f5cac11c9164be783c3">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>index.js</strong><dd><code>Update global state and admin page visibility logic</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/src/store/index.js <li>Added <code>disableAdminPasswordCheck</code> to global state.<br> <li> Updated <code>showAdminPage</code> computed property to consider <br><code>disableAdminPasswordCheck</code>.<br> </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-0c36ce15651c51795b411359e8caaf5af7960c82674b4f2015b8dd5f480fde2c">+6/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Bug fix</strong></td><td><details><summary>1 files</summary><table> <tr> <td> <details> <summary><strong>index.js</strong><dd><code>Add error handling for missing domains in settings response</code></dd></summary> <hr> frontend/src/api/index.js - Added error handling for missing domains in settings response. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-80f7e17c8e1f299b7316ce792286ebcaab67ed3afc050e3c5019ed33ab61b34b">+3/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>2 files</summary><table> <tr> <td> <details> <summary><strong>package.json</strong><dd><code>Update frontend dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/package.json - Updated several frontend dependencies to their latest versions. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655">+13/-13</a>&nbsp; </td> </tr> <tr> <td> <details> <summary><strong>package.json</strong><dd><code>Update worker dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/package.json - Updated several worker dependencies to their latest versions. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-89dc6f41a53ce13f2da5a00dd34868762e6cd0df46eddc9f5c3c4510b1493870">+9/-9</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>2 files</summary><table> <tr> <td> <details> <summary><strong>quick-start.md</strong><dd><code>Add upgrade process documentation</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> vitepress-docs/docs/zh/guide/quick-start.md - Added a new section for the upgrade process. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-f531686509cdb2aab070cd8a2574e350c1a6f4ef36242ea9e463e344cdc51af0">+23/-0</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>worker.md</strong><dd><code>Add note about string format for variables</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> vitepress-docs/docs/zh/guide/ui/worker.md - Added a note about string format for variables. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-ed132f8c7a4d0a1bd98a708c0577a087c30833499ef59c1f30f1b819a351290d">+4/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Additional files (token-limit)</strong></td><td><details><summary>2 files</summary><table> <tr> <td> <details> <summary><strong>pnpm-lock.yaml</strong><dd><code>...</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/pnpm-lock.yaml ... </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-41b1ff3a74ba81fa74c8dd225d66d81573be3f2990e1d98b9b09798b147d40a8">+1297/-1300</a></td> </tr> <tr> <td> <details> <summary><strong>pnpm-lock.yaml</strong><dd><code>...</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/pnpm-lock.yaml ... </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/406/files#diff-b40cf923090a5fb5f6cc0d6ce716c560645419d762871abb50383fdb423288c6">+562/-557</a></td> </tr> </table></details></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:31:48 +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#562
    No description provided.