182 Commits
Author SHA1 Message Date
yibaiba 8b631f12f1 fix: separate UDP health from VoWiFi gating 2026-09-12 22:37:08 +08:00
yibaiba 4852c7d337 fix: verify SOCKS5 UDP relay traffic 2026-09-12 20:57:12 +08:00
yibaiba cdb81fb4a3 fix(vowifi): expose SMS receive degradation 2026-09-10 09:34:49 +08:00
Ray de2e71819c fix(vowifi): base health on operational IMS readiness 2026-09-10 08:55:33 +08:00
yibaiba 63c4b2743e fix(dashboard): keep runtime VoLTE phone mode on home cards
Dashboard overwrote worker config with yaml, so Unicom native VoLTE lost
phone_mode and rendered as VoWiFi. Take policy from runtime, attach
native_volte, and merge the same fields from the device list.
2026-09-09 23:25:21 +08:00
yibaiba 31c055c3b4 fix(web): show native VoLTE path on the dashboard
When phone_mode is volte, the home focus uses SIM/LTE/PDN/IMS/Voice instead of the unused VoWiFi stages.
2026-09-09 22:58:14 +08:00
yibaiba b8e470e3d7 fix: scope PCSC PIN retries to the current SIM 2026-09-09 20:11:50 +08:00
yibaiba 9baf96f4e8 test(web): align source assertions with i18n 2026-09-09 09:59:03 +08:00
Ray cf20230850 fix(web): show IMS SMS send readiness 2026-09-08 20:52:11 +08:00
yibaiba 961f17a232 fix(web): use console text colors on the logs header
The header sits on the dark console surface, so page text tokens made the title disappear in light theme.
2026-09-08 19:48:54 +08:00
yibaiba 55bd0d0aa8 fix(web): follow the latest SMS page without reloading the whole thread
Open conversations at the newest messages, page history on demand, and skip silent thread refetches when nothing new arrived.
2026-09-08 19:38:40 +08:00
yibaiba bd177400d6 feat(web): restore Chinese and English UI language switching
Add a locale catalog and switcher. The console language is stored in the browser; the sidebar gear toggles it, and the login page keeps a dedicated control.
2026-09-08 17:24:04 +08:00
yibaiba 02c9d7a28d fix: preserve historical SMS unread state and IMS recovery attempts
Mark historical SMS windows by exact message IDs while retaining the latest-thread watermark API. Validate message ownership and update persisted unread counts atomically.

Match IMS recovery completion to the registered path and failure generation so stale REGISTER/downlink success cannot erase replacement backoff or Retry-After.

Validation: 294 frontend tests, typecheck, targeted lint, SMS backend tests, and IMS/runtime race checks passed. Added regression coverage for both failures; live carrier integration was not run.
2026-09-07 10:45:12 +08:00
yibaiba c9a63731a9 fix(sms): locate notification messages outside inbox windows 2026-09-06 23:49:47 +08:00
yibaiba 1cfc0d3d95 feat(sms): add global inbox notifications and unread count 2026-09-06 23:27:22 +08:00
yibaiba 34e5bdf959 fix: harden VoWiFi proxy recovery handling 2026-09-05 17:25:45 +08:00
yibaiba a6f43a2ea9 feat(vowifi): let cards pin or randomly pick country proxy nodes
Allow multiple upstream proxies per country, card-level pin or
direct override, and restart WiFi calling when the route changes.
2026-09-05 16:32:58 +08:00
yibaiba ea8bb49581 fix: invalidate stale contact page loads 2026-09-04 21:08:30 +08:00
yibaiba 3585faf899 fix: keep contact groups consistent across pages 2026-09-04 21:00:20 +08:00
yibaiba 4fb699f446 fix: harden IMS recovery and contact updates 2026-09-04 20:13:35 +08:00
yibaiba eea9a22edd fix: preserve contact identities and VoWiFi health timing 2026-09-04 18:01:57 +08:00
yibaiba c8f6d98778 test(web): assert select-all loads remaining contact pages 2026-09-04 16:54:52 +08:00
yibaiba 6970335f50 feat(phone): page contacts and load more on scroll
Add limit/offset listing, keep search by loading remaining pages,
and leave a short drag-import hint in the contacts drawer.
2026-09-04 16:47:30 +08:00
yibaiba bf0320db0f fix(web): tighten contact drawer actions and dialog stacking
Replace the chip row with a compact three-action toolbar, drop the
always-visible drop strip, and raise MessageBox overlays above the
contacts drawer.
2026-09-04 16:24:47 +08:00
yibaiba 0c3ec6bfa0 fix(phone): harden contact drawer interactions 2026-09-04 16:07:18 +08:00
yibaiba dede511355 feat(phone): import and export contacts from common phone books
Parse iOS, Google, Samsung, Xiaomi, Huawei, OPPO, and vivo vCard/CSV
exports, keep multiple numbers under one person, and add batch
import, export, delete, and drag-and-drop in the contacts drawer.
2026-09-04 15:53:34 +08:00
yibaiba 4f156d4823 fix(web): correct contact picker and popper layouts 2026-09-04 15:18:30 +08:00
yibaiba 40eaeba7a7 fix(phone): harden IMS recovery and contact identity state 2026-09-04 13:26:21 +08:00
yibaiba 261102cbad feat(vowifi): track WiFi Calling health 2026-09-04 11:37:16 +08:00
Cursor Agentandyibaiba 48d0378f4f fix(web): lock Element Plus input tokens to 16px, nav chips to 12px
QA still saw runway fields because --el-border-radius-base was 20.
Set EP input/select tokens and wrappers to 16px; keep cards 24 and
primary buttons pill.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 04:59:56 +00:00
Cursor Agentandyibaiba ea40a5cd09 fix(web): keep single-line inputs at 16px and sidebar selection at 12px
QA wanted soft fields, not racetrack pills, and a 12px active nav chip.
Cards stay 24px and primary buttons stay pill.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 04:56:05 +00:00
Cursor Agentandyibaiba 444a757557 fix(web): bump navy radii so login and console read as pills
Raise shared radius tokens and Element Plus variables so cards/dialogs
sit at 20–24px, and keep inputs/buttons/textareas on capsule radii.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 03:25:03 +00:00
Cursor Agentandyibaiba 24b86148c9 fix(web): round navy-light surfaces to match cream/navy feel
Bump radius tokens and replace leftover boxy corners on cards, inputs,
drawers, and chips. Login IA and nav stay unchanged.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 03:14:20 +00:00
Cursor Agentandyibaiba 230d35aa88 fix(web): keep light cards on soft radius and light border
Tone navy-light elevation back to little/no shadow so surfaces match the mock’s feel without changing login or dashboard IA.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 02:57:20 +00:00
Cursor Agentandyibaiba 6b71afec35 revert(web): drop login landing IA; keep palette/feel alignment
Restore the two-pane login and existing dashboard content. Remove the preview card, signal calendar, and module chips. Keep navy-light cream/navy/accent tokens and lean cards, inputs, and marks toward the mock feel.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 02:55:30 +00:00
Cursor Agentandyibaiba 1a28845694 test(web): match login submit copy in brand source check
Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 02:49:51 +00:00
Cursor Agentandyibaiba 5d21a03fa6 feat(web): recast login landing and dashboard preview card
Replace the two-pane login with the cream landing (headline, account fields, demo workspace card) and restyle the logged-in dashboard to the same signal-calendar / module-picker language.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 02:48:54 +00:00
Cursor Agentandyibaiba 76edda5bdb fix(web): split light nav chrome from navy button fill
Sidebar and login brand column now paint --ui-nav-surface / --ui-bg
instead of the old --ui-nav navy block. Primary buttons stay
--ui-primary-solid #0B3558. Remove leftover sidebar text-white.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 02:19:42 +00:00
Cursor Agentandyibaiba aa3609a22d fix(web): make navy-light shell light, keep consoles dark
navy-light --ui-nav is now a white surface with navy labels so the
sidebar and login identity match the light shell. AT/logs keep a dark
console via --ui-console. Sun icon shows on navy-light.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-02 02:13:27 +00:00
Cursor Agentandyibaiba e4ad42a30a fix(web): map leftover command/task subtle text to --ui-muted
The six target views already had no Tailwind gray-* classes. Commands
and tasks still referenced undefined --ui-text-subtle, which fell back
to generic gray. Secondary copy now uses --ui-muted; phone titles
explicitly use --ui-text. No new palette and no structure changes.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-01 17:15:44 +00:00
Cursor Agentandyibaiba 6cee74d578 fix(web): keep secondary copy on --ui-muted instead of navy text
Designer split: titles and primary labels stay --ui-text; descriptions,
timestamps, and former gray-400/500 utilities use --ui-muted (#5B6B7A).
html.classic only aliases the new token to the existing muted color.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-01 17:13:10 +00:00
Cursor Agentandyibaiba 2a8c42a3ac fix(web): replace leftover Tailwind gray palette with --ui-* tokens
Sweep remaining text/bg/border/divide gray-* and dark:white/gray pairs
so navy-light uses navy tokens instead of generic gray. html.classic
tokens and page structure are unchanged.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-01 17:09:20 +00:00
Cursor Agentandyibaiba 2671b490dd fix(web): replace leftover teal/hex leaks with --ui-* tokens
Login branding, logs console, and AT terminal now follow the navy pair. Sweep remaining hardcoded palette literals in web/src; keep classic token definitions and white-on-navy buttons.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-01 16:12:51 +00:00
Cursor Agentandyibaiba 03392c40e8 test(web): count classic --ui-info token alongside navy pair
Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-01 15:19:43 +00:00
Cursor Agentandyibaiba 6a65b79b54 feat(web): add navy-light/navy-night theme pair and keep classic dark
Replace the default token pair with navy-light and navy-night, keep the previous dark theme as Classic in Settings, and leave the header sun button as a two-state navy toggle.

Co-authored-by: yibaiba <yibaiba@users.noreply.github.com>
2026-09-01 15:17:43 +00:00
yibaibaandCursor c4f359cb1e fix(phone): stop incoming ringing after remote hangup
Map QMI disconnecting and early CANCEL/BYE to a missed call, and use standalone titles so WeCom, QQ, Feishu, and other channels no longer stack 通话结束.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 16:21:11 +08:00
yibaiba 84ebdc8eab fix(esim): recover Lebara UK 204/04 identity without deleting the profile
When a Lebara UK eSIM flips to 20404, reset the same ICCID with Disable/Enable or a parking profile, wait for a stable 23487 IMSI, then start VoWiFi. Keep the RF lock. Do not start VoWiFi during recover or on classify-failure for unrelated cards.
2026-09-01 16:09:07 +08:00
yibaiba 3f7d232af4 fix(device): retry native VoLTE start and show LTE RSRP
Why: a transient AT/QMI timeout aborted native IMS provision, and QMI LTE placeholder RSSI made the overview look like there was no signal.

Why this works: native VoLTE start retries timeout-class errors, serializes AT on one port, and the overview uses RSRP when RSSI is a sentinel. Shutdown now takes the stop context so IMS can finish Contact Expires=0.

Remaining: Lebara UK RF-lock and unique-MBN failures stay non-retryable.
2026-09-01 12:26:37 +08:00
yibaiba 40dbc7cf31 feat(ut): add Vodafone xcap PDN and hide 呼叫设置
Why: Ut is HTTPS to an operator-internal IPv4 XCAP host, not SIP. IMS IPv6-only could not reach it, and CS-only devices still opened the page and waited on 502.

Why this works: Vodafone UK starts a second SWu session with APN xcap and omits INITIAL_CONTACT. Errors no longer leak the XCAP URL. The sidebar drops 呼叫设置; /ut redirects home.

Remaining: the xcap PDN gets IPv4, but TCP to the XCAP address still times out.
2026-09-01 12:26:23 +08:00
yibaiba a0203084b0 feat(phone): map hold-unavailable and surface call waiting
Hold that is not aligned returns 503 with a Chinese message. A second
inbound CallWaiting stays in the active list and is shown on the phone
page and call bar.
2026-08-31 00:46:58 +08:00