[PR #7012] feat(tgbot): improve admin workflows, presets, renewal and sharing #6578

Open
opened 2026-11-02 04:09:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/7012
Author: @HamedSanaei
Created: 10/29/2026
Status: 🔄 Open

Base: main ← Head: feat/tgbot-admin-workflows-7010


📝 Commits (10+)

  • b5ff50b fix(tgbot): restore the admin's client link and QR buttons
  • c49a71d chore(tgbot): integrate admin link navigation from #6986
  • 20882df fix(runtime): preserve protocol accounts during client renewal
  • bda0209 feat(clients): persist confirmed admin plans and renewals
  • e2fc227 feat(tgbot): add localized admin plans, renewal and exports
  • 2df5a2c fix(tgbot): show unique online clients without inferred inbounds
  • 2898ced docs(tgbot): explain confirmed admin workflows and sharing
  • b586656 fix(nodes): let acknowledged lifecycle updates settle
  • 8e98631 Merge remote-tracking branch 'origin/main' into pr/6986
  • 5768d0d docs(tgbot): drop the mocked-up client card screenshots

📊 Changes

68 files changed (+6045 additions, -227 deletions)

View changed files

📝 .github/workflows/ci.yml (+3 -3)
📝 docs/content/docs/en/operations/telegram-bot.mdx (+136 -2)
➕ docs/public/images/tgbot-admin-workflows-7010.png (+0 -0)
📝 internal/database/model/model.go (+9 -0)
📝 internal/mtproto/manager.go (+65 -17)
➕ internal/mtproto/quota_reset_test.go (+138 -0)
📝 internal/web/runtime/local.go (+27 -13)
➕ internal/web/runtime/local_client_account_test.go (+122 -0)
➕ internal/web/service/client_admin_mtproto_test.go (+110 -0)
➕ internal/web/service/client_admin_pending.go (+69 -0)
➕ internal/web/service/client_admin_postgres_test.go (+193 -0)
➕ internal/web/service/client_admin_recovery_test.go (+189 -0)
➕ internal/web/service/client_admin_restart_test.go (+125 -0)
➕ internal/web/service/client_admin_workflow.go (+859 -0)
➕ internal/web/service/client_admin_workflow_test.go (+676 -0)
📝 internal/web/service/client_crud.go (+24 -21)
📝 internal/web/service/client_locks.go (+28 -1)
📝 internal/web/service/client_lookup.go (+16 -0)
➕ internal/web/service/client_plans.go (+237 -0)
➕ internal/web/service/client_plans_test.go (+187 -0)

...and 48 more files

📄 Description

Summary

Adds private-admin plan management, confirmed quick creation and renewal, and a unified client Share / Export menu to the existing Telegram screens. Audits Persian bot localization and shows unique local/remote online clients without inferring active inbounds from configuration attachments.

Why

Closes #7010.

Related: #6984, #6986, #4778. This branch integrates the latest #6986 head (2d09348c) and its original commit (b5ff50b7), preserving authorship and one set of Links / QR handlers and tests. #6986 remains open. Actual per-connection inbound attribution (#4778) and deferred renewal (#6298) remain outside this change.

Type of change

  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Documentation
  • Tests only
  • Build / CI / tooling
  • Other

Areas affected

  • Frontend (UI / panel pages)
  • Backend (API endpoints, login, settings)
  • Xray config generation
  • Subscription (share links / Clash / JSON)
  • Statistics / traffic counters
  • Database / migrations
  • Install / upgrade script
  • Docker image
  • Multi-node (sub-nodes)
  • Telegram bot

Behavior

Area Result
Localization Persian bot wording, navigation and draft text are localized. New English keys are present in all 14 locales; English and Persian have complete new copy, with English fallback text for the other locales. Parameter/HTML regression tests cover the bot subtree.
Share / Export Client card offers a global-aware summary, primary subscription URL, all generated individual links as a UTF-8 TXT document, and a QR encoding that same primary URL. Optional JSON URL follows existing settings. Existing link generation and self-service screens remain in use.
Plans Persistent create/edit/delete/list/select interface reuses the existing client wizard, quota/expiry/IP pickers and a lightweight paged inbound picker. Presets contain reusable limits and attachment IDs, never credentials. Inbounds, protocol combinations and node versions are revalidated at execution.
Creation / renewal /add ali A, /renew ali A, /renew ali 30gb 30d, and keyboard alternatives require an owner-bound confirmation preview. Cancellation, stale client/plan versions, retries, concurrent confirmations and process restarts are covered.
Online clients Local and node identities are deduplicated without per-client inbound queries or misleading active-inbound labels. Remote identities remain visible when the local core is stopped.

Renewal and persistence

  • Replace (default): reset previous usage, replace quota, and calculate the new calendar expiry from confirmation time. Presets can instead start expiry on first use.
  • Extend: retain consumption, add to a finite quota and extend expiry. Existing unlimited quota/expiry remain unlimited; an unstarted first-use duration is extended as a negative duration. The preview explicitly distinguishes both modes.
  • Preserve protocol identifiers, subscription ID, Telegram binding, IP limit, attachments, unknown client metadata and existing automatic-renewal schedules.
  • Preserve disabled, non-depleted clients. A depleted client is enabled only after both quota and expiry recover. The model does not store the cause of disablement; for an intentionally disabled, already depleted client, the preview offers Keep disabled after renewal, persisted with the operation.
  • Plans and confirmation receipts use namespaced rows in the existing settings table. No tables, columns, migrations, HTTP routes or API artifacts are added. Full database backups retain these rows; resetting panel settings removes them. Pending previews expire after 20 minutes; old completed/uncommitted receipts are pruned after 31 days in bounded batches. Unresolved committed receipts are retained, with per-client pending indexes and reset ownership stored in the same existing settings table.
  • Renewal quota, expiry, reset accounting and receipt transition commit together through the existing traffic writer. Runtime work and acknowledged node reset delivery happen after the transaction. A retry never reapplies committed quota/reset changes. Success is reported only after required synchronization succeeds.
  • Client creation uses ClientService.Create and inherits its per-inbound application behavior. Partial failures retain a stable operation/subscription identity for safe retry. An interrupted creation with no safely captured baseline requires reviewing the existing client rather than overwriting later edits.
  • Existing node lifecycle/reset safeguards are retained. A regression fix prevents stale pending-reset snapshots from reverting the renewed canonical client or its stored JSON, while still accepting newly reported clients. Existing global reset semantics are reused; no new cross-panel quota-period protocol is introduced.

Security and performance

Every new command, callback and stateful input rechecks the sender and authorized private chat. Durable confirmations bind the owner, target identity and baseline; inline queries remain read-only. Export URLs are validated, HTML is escaped, filenames are sanitized and message/caption limits have explicit fallbacks. TXT exports have no arbitrary link-count limit.

Preset changes use revisions; confirmations serialize per client and coordinate with existing inbound mutation locks. Settings reads select public setting keys rather than loading operation receipts. Inbound labels use minimal selects, 400-ID batches and 20-row paging. Existing creation, traffic accounting and runtime dispatch are reused, including a shared runtime account mapping that preserves Shadowsocks ciphers, VLESS reverse tags and WireGuard keepalives.

Follow-up review fixes

Addresses the three MEDIUM and one LOW findings from reviewed head 16cd2c22:

  • Preserve ClientService.Create's restart result on success and partial failure. Failed local renewal application requests Xray recovery; remote failures retain node synchronization without requesting a local restart.
  • Keep stale-preview checks before commit. After commit, retries reconcile current canonical state after edits, depletion or first-use activation without repeating quota, expiry or traffic-reset changes. New previews expose unresolved receipts and distinguish Retry committed renewal from Confirm separate renewal. Per-client reset ownership prevents older receipts resetting a newer MTProto package.
  • Restore legacy subscription URI behavior in the shared builder. Validate raw custom URLs only in new exports, and keep invalid optional JSON URIs from breaking primary Links / individual-link / QR screens.
  • An unsupported MTProto reset endpoint (404) restarts only the affected sidecar with current limits and fresh baselines. Authentication, server and network errors remain errors. Interrupted restarts retain their desired configuration for retry; unrelated inbounds remain running.

The latest #6986 follow-ups are integrated without duplicate navigation or tests. A separate trial merge with #7014 at a92c5f9b required resolving its moved structural block in inbound_node.go; retaining the frozen-lifecycle and pending-reset guards there passed workflow, snapshot, runtime and node-contract regressions. #7014's features are not included here, and this review revision does not modify inbound_node.go.

How was this tested?

Validation on published head e189268cae375617d460bfd172928a318f2a2434:

  • Focused red → green regressions reproduce restart loss, committed retries after lifecycle edits, legacy URI rejection, unsupported MTProto reset and late receipt replay against a newer package.
  • make verify: passed, including the full shuffled Go suite, bot authorization/localization, generation, lint, formatting, typechecking, Go/frontend/Storybook builds and OpenAPI comparison. Frontend: 222 files / 2,045 tests passed.
  • make race: passed locally and in CI; no data races.
  • make node-e2e: passed, including both enrollment scopes and the three-panel global-traffic/reset/recreation chain.
  • Real PostgreSQL 16: all five durable-first tests passed, including workflow commit-failure rollback, concurrent confirmation, lifecycle changes, pending-receipt visibility, database reopen and exactly-once accounting.
  • FuzzParseLink and FuzzDecodeCertPin: passed, 30 seconds each.
  • Docs: frozen-lockfile install, typecheck, lint, format check, 112 tests and production build passed.
  • Existing admin and self-service link/QR screens, new export paths, both JSON settings, foreign-user rejection and all locale template parameters remain covered. MTProto tests use real child-process replacement and HTTP responses; the existing account tests decode actual gRPC payloads.
  • git diff --check: passed. No generated API changes.

The first, heavily concurrent local verify run hit four unchanged Outbound form test timeouts. All 22 tests in that file then passed in isolation with the original timeouts, followed by the successful complete verify run above. No tests, assertions or timeout settings were weakened.

GitHub CI on e189268cae375617d460bfd172928a318f2a2434: all 12 check runs passed, including race, node E2E, PostgreSQL, frontend and the separate docs build.

Screenshots / recordings

The image below renders recorded Bot API screen content from regression tests with fictional clients. It is not a screenshot from a live Telegram account; paginated preview text is combined for readability.

Recorded admin workflow screen content

Breaking changes

None. Existing HTTP request/response contracts, portable client exports, self-service access and automatic-renewal scheduling are unchanged. No deployment or production-server changes were performed.

External runtime delivery retains the existing retry/acknowledgement model; it is not a distributed transaction with Xray or sidecars. The old-MTProto fallback restarts the affected whole MTProto instance and can disconnect its clients; it does not restart unrelated MTProto inbounds or turn remote failures into a global Xray restart. Contract tests exercise real gRPC and HTTP endpoints, but no live Telegram account or production traffic was used. Active-inbound attribution remains limited as described above.

Checklist

  • I tested the change locally and confirmed the described behavior.
  • I added or updated tests for the new behavior (when applicable).
  • go build ./... and the test suite pass locally.
  • For frontend changes: npm run lint, npm run typecheck, and npm run build pass.
  • I updated the Wiki / README / API docs if user-facing behavior changed.
  • My commits follow the project's existing message style.
  • I have no unrelated changes mixed into this PR.

🔄 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/MHSanaei/3x-ui/pull/7012 **Author:** [@HamedSanaei](https://github.com/HamedSanaei) **Created:** 10/29/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/tgbot-admin-workflows-7010` --- ### 📝 Commits (10+) - [`b5ff50b`](https://github.com/MHSanaei/3x-ui/commit/b5ff50b7e093ef57134146412c332e78522729dd) fix(tgbot): restore the admin's client link and QR buttons - [`c49a71d`](https://github.com/MHSanaei/3x-ui/commit/c49a71d1b33aabce4a236398473aca56e3cfb0d3) chore(tgbot): integrate admin link navigation from #6986 - [`20882df`](https://github.com/MHSanaei/3x-ui/commit/20882df4c7d96d3d1b0cc763100d716b9c173f9d) fix(runtime): preserve protocol accounts during client renewal - [`bda0209`](https://github.com/MHSanaei/3x-ui/commit/bda0209d38e3519897b6ccc8bd177bfcaddecff0) feat(clients): persist confirmed admin plans and renewals - [`e2fc227`](https://github.com/MHSanaei/3x-ui/commit/e2fc227dcae8c510377e42006b86f13dfd5e4132) feat(tgbot): add localized admin plans, renewal and exports - [`2df5a2c`](https://github.com/MHSanaei/3x-ui/commit/2df5a2c14df8b9b32a81fda2c77025db2cff1646) fix(tgbot): show unique online clients without inferred inbounds - [`2898ced`](https://github.com/MHSanaei/3x-ui/commit/2898cedb2ddd09ad6fd2e4ab07e9c383f38eeab8) docs(tgbot): explain confirmed admin workflows and sharing - [`b586656`](https://github.com/MHSanaei/3x-ui/commit/b58665625da1b25a538eeca4e834076b40437e70) fix(nodes): let acknowledged lifecycle updates settle - [`8e98631`](https://github.com/MHSanaei/3x-ui/commit/8e986316966a7c2b8f536339ede2b55f1f493023) Merge remote-tracking branch 'origin/main' into pr/6986 - [`5768d0d`](https://github.com/MHSanaei/3x-ui/commit/5768d0d9cd69a085614b3936f97347f2070247ee) docs(tgbot): drop the mocked-up client card screenshots ### 📊 Changes **68 files changed** (+6045 additions, -227 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+3 -3) 📝 `docs/content/docs/en/operations/telegram-bot.mdx` (+136 -2) ➕ `docs/public/images/tgbot-admin-workflows-7010.png` (+0 -0) 📝 `internal/database/model/model.go` (+9 -0) 📝 `internal/mtproto/manager.go` (+65 -17) ➕ `internal/mtproto/quota_reset_test.go` (+138 -0) 📝 `internal/web/runtime/local.go` (+27 -13) ➕ `internal/web/runtime/local_client_account_test.go` (+122 -0) ➕ `internal/web/service/client_admin_mtproto_test.go` (+110 -0) ➕ `internal/web/service/client_admin_pending.go` (+69 -0) ➕ `internal/web/service/client_admin_postgres_test.go` (+193 -0) ➕ `internal/web/service/client_admin_recovery_test.go` (+189 -0) ➕ `internal/web/service/client_admin_restart_test.go` (+125 -0) ➕ `internal/web/service/client_admin_workflow.go` (+859 -0) ➕ `internal/web/service/client_admin_workflow_test.go` (+676 -0) 📝 `internal/web/service/client_crud.go` (+24 -21) 📝 `internal/web/service/client_locks.go` (+28 -1) 📝 `internal/web/service/client_lookup.go` (+16 -0) ➕ `internal/web/service/client_plans.go` (+237 -0) ➕ `internal/web/service/client_plans_test.go` (+187 -0) _...and 48 more files_ </details> ### 📄 Description ## Summary Adds private-admin plan management, confirmed quick creation and renewal, and a unified client Share / Export menu to the existing Telegram screens. Audits Persian bot localization and shows unique local/remote online clients without inferring active inbounds from configuration attachments. ## Why Closes #7010. Related: #6984, #6986, #4778. This branch integrates the latest #6986 head (`2d09348c`) and its original commit (`b5ff50b7`), preserving authorship and one set of Links / QR handlers and tests. #6986 remains open. Actual per-connection inbound attribution (#4778) and deferred renewal (#6298) remain outside this change. ## Type of change - [x] Bug fix - [x] New feature - [ ] Refactoring (no behavior change) - [x] Documentation - [ ] Tests only - [x] Build / CI / tooling - [ ] Other ## Areas affected - [ ] Frontend (UI / panel pages) - [x] Backend (API endpoints, login, settings) - [x] Xray config generation - [x] Subscription (share links / Clash / JSON) - [x] Statistics / traffic counters - [x] Database / migrations - [ ] Install / upgrade script - [ ] Docker image - [x] Multi-node (sub-nodes) - [x] Telegram bot ### Behavior | Area | Result | | --- | --- | | Localization | Persian bot wording, navigation and draft text are localized. New English keys are present in all 14 locales; English and Persian have complete new copy, with English fallback text for the other locales. Parameter/HTML regression tests cover the bot subtree. | | Share / Export | Client card offers a global-aware summary, primary subscription URL, all generated individual links as a UTF-8 TXT document, and a QR encoding that same primary URL. Optional JSON URL follows existing settings. Existing link generation and self-service screens remain in use. | | Plans | Persistent create/edit/delete/list/select interface reuses the existing client wizard, quota/expiry/IP pickers and a lightweight paged inbound picker. Presets contain reusable limits and attachment IDs, never credentials. Inbounds, protocol combinations and node versions are revalidated at execution. | | Creation / renewal | `/add ali A`, `/renew ali A`, `/renew ali 30gb 30d`, and keyboard alternatives require an owner-bound confirmation preview. Cancellation, stale client/plan versions, retries, concurrent confirmations and process restarts are covered. | | Online clients | Local and node identities are deduplicated without per-client inbound queries or misleading active-inbound labels. Remote identities remain visible when the local core is stopped. | ### Renewal and persistence - **Replace (default):** reset previous usage, replace quota, and calculate the new calendar expiry from confirmation time. Presets can instead start expiry on first use. - **Extend:** retain consumption, add to a finite quota and extend expiry. Existing unlimited quota/expiry remain unlimited; an unstarted first-use duration is extended as a negative duration. The preview explicitly distinguishes both modes. - Preserve protocol identifiers, subscription ID, Telegram binding, IP limit, attachments, unknown client metadata and existing automatic-renewal schedules. - Preserve disabled, non-depleted clients. A depleted client is enabled only after both quota and expiry recover. The model does not store the cause of disablement; for an intentionally disabled, already depleted client, the preview offers **Keep disabled after renewal**, persisted with the operation. - Plans and confirmation receipts use namespaced rows in the existing `settings` table. **No tables, columns, migrations, HTTP routes or API artifacts are added.** Full database backups retain these rows; resetting panel settings removes them. Pending previews expire after 20 minutes; old completed/uncommitted receipts are pruned after 31 days in bounded batches. Unresolved committed receipts are retained, with per-client pending indexes and reset ownership stored in the same existing settings table. - Renewal quota, expiry, reset accounting and receipt transition commit together through the existing traffic writer. Runtime work and acknowledged node reset delivery happen after the transaction. A retry never reapplies committed quota/reset changes. Success is reported only after required synchronization succeeds. - Client creation uses `ClientService.Create` and inherits its per-inbound application behavior. Partial failures retain a stable operation/subscription identity for safe retry. An interrupted creation with no safely captured baseline requires reviewing the existing client rather than overwriting later edits. - Existing node lifecycle/reset safeguards are retained. A regression fix prevents stale pending-reset snapshots from reverting the renewed canonical client or its stored JSON, while still accepting newly reported clients. Existing global reset semantics are reused; no new cross-panel quota-period protocol is introduced. ### Security and performance Every new command, callback and stateful input rechecks the sender and authorized private chat. Durable confirmations bind the owner, target identity and baseline; inline queries remain read-only. Export URLs are validated, HTML is escaped, filenames are sanitized and message/caption limits have explicit fallbacks. TXT exports have no arbitrary link-count limit. Preset changes use revisions; confirmations serialize per client and coordinate with existing inbound mutation locks. Settings reads select public setting keys rather than loading operation receipts. Inbound labels use minimal selects, 400-ID batches and 20-row paging. Existing creation, traffic accounting and runtime dispatch are reused, including a shared runtime account mapping that preserves Shadowsocks ciphers, VLESS reverse tags and WireGuard keepalives. ### Follow-up review fixes Addresses the [three MEDIUM and one LOW findings](https://github.com/MHSanaei/3x-ui/pull/7012#issuecomment-6589509739) from reviewed head `16cd2c22`: - Preserve `ClientService.Create`'s restart result on success and partial failure. Failed local renewal application requests Xray recovery; remote failures retain node synchronization without requesting a local restart. - Keep stale-preview checks before commit. After commit, retries reconcile current canonical state after edits, depletion or first-use activation without repeating quota, expiry or traffic-reset changes. New previews expose unresolved receipts and distinguish **Retry committed renewal** from **Confirm separate renewal**. Per-client reset ownership prevents older receipts resetting a newer MTProto package. - Restore legacy subscription URI behavior in the shared builder. Validate raw custom URLs only in new exports, and keep invalid optional JSON URIs from breaking primary Links / individual-link / QR screens. - An unsupported MTProto reset endpoint (404) restarts only the affected sidecar with current limits and fresh baselines. Authentication, server and network errors remain errors. Interrupted restarts retain their desired configuration for retry; unrelated inbounds remain running. The latest #6986 follow-ups are integrated without duplicate navigation or tests. A separate trial merge with #7014 at `a92c5f9b` required resolving its moved structural block in `inbound_node.go`; retaining the frozen-lifecycle and pending-reset guards there passed workflow, snapshot, runtime and node-contract regressions. #7014's features are not included here, and this review revision does not modify `inbound_node.go`. ## How was this tested? Validation on published head `e189268cae375617d460bfd172928a318f2a2434`: - Focused red → green regressions reproduce restart loss, committed retries after lifecycle edits, legacy URI rejection, unsupported MTProto reset and late receipt replay against a newer package. - `make verify`: **passed**, including the full shuffled Go suite, bot authorization/localization, generation, lint, formatting, typechecking, Go/frontend/Storybook builds and OpenAPI comparison. Frontend: **222 files / 2,045 tests passed**. - `make race`: **passed** locally and in CI; no data races. - `make node-e2e`: **passed**, including both enrollment scopes and the three-panel global-traffic/reset/recreation chain. - Real PostgreSQL 16: **all five durable-first tests passed**, including workflow commit-failure rollback, concurrent confirmation, lifecycle changes, pending-receipt visibility, database reopen and exactly-once accounting. - `FuzzParseLink` and `FuzzDecodeCertPin`: **passed**, 30 seconds each. - Docs: frozen-lockfile install, typecheck, lint, format check, **112 tests** and production build **passed**. - Existing admin and self-service link/QR screens, new export paths, both JSON settings, foreign-user rejection and all locale template parameters remain covered. MTProto tests use real child-process replacement and HTTP responses; the existing account tests decode actual gRPC payloads. - `git diff --check`: **passed**. No generated API changes. The first, heavily concurrent local verify run hit four unchanged Outbound form test timeouts. All 22 tests in that file then passed in isolation with the original timeouts, followed by the successful complete verify run above. No tests, assertions or timeout settings were weakened. [GitHub CI](https://github.com/MHSanaei/3x-ui/actions/runs/41570796427) on `e189268cae375617d460bfd172928a318f2a2434`: **all 12 check runs passed**, including race, node E2E, PostgreSQL, frontend and the separate docs build. ## Screenshots / recordings The image below renders **recorded Bot API screen content from regression tests with fictional clients**. It is not a screenshot from a live Telegram account; paginated preview text is combined for readability. ![Recorded admin workflow screen content](https://raw.githubusercontent.com/HamedSanaei/3x-ui/2898cedb2ddd09ad6fd2e4ab07e9c383f38eeab8/docs/public/images/tgbot-admin-workflows-7010.png) ## Breaking changes None. Existing HTTP request/response contracts, portable client exports, self-service access and automatic-renewal scheduling are unchanged. No deployment or production-server changes were performed. External runtime delivery retains the existing retry/acknowledgement model; it is not a distributed transaction with Xray or sidecars. The old-MTProto fallback restarts the affected whole MTProto instance and can disconnect its clients; it does not restart unrelated MTProto inbounds or turn remote failures into a global Xray restart. Contract tests exercise real gRPC and HTTP endpoints, but no live Telegram account or production traffic was used. Active-inbound attribution remains limited as described above. ## Checklist - [x] I tested the change locally and confirmed the described behavior. - [x] I added or updated tests for the new behavior (when applicable). - [x] `go build ./...` and the test suite pass locally. - [x] For frontend changes: `npm run lint`, `npm run typecheck`, and `npm run build` pass. - [x] I updated the Wiki / README / API docs if user-facing behavior changed. - [x] My commits follow the project's existing message style. - [x] I have no unrelated changes mixed into this PR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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
MHSanaei/3x-ui#6578
No description provided.