Commit Graph
214 Commits
Author SHA1 Message Date
yibaiba d8f2dd6cdb 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 87be39230b fix(sms): locate notification messages outside inbox windows 2026-09-06 23:49:47 +08:00
yibaiba 324915fbca feat(sms): add global inbox notifications and unread count 2026-09-06 23:27:22 +08:00
yibaiba 604ca53312 fix: harden VoWiFi proxy recovery handling 2026-09-05 17:25:45 +08:00
yibaiba f8e16e7246 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 5751bc5cc4 fix: invalidate stale contact page loads 2026-09-04 21:08:30 +08:00
yibaiba 79e44bd0e7 fix: keep contact groups consistent across pages 2026-09-04 21:00:20 +08:00
yibaiba ce25e7e427 fix: harden IMS recovery and contact updates 2026-09-04 20:13:35 +08:00
yibaiba 562023b4fb fix: preserve contact identities and VoWiFi health timing 2026-09-04 18:01:57 +08:00
yibaiba 88647e711f test(web): assert select-all loads remaining contact pages 2026-09-04 16:54:52 +08:00
yibaiba 1e4a1c86f9 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 ad115610ec 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 81641988e2 fix(phone): harden contact drawer interactions 2026-09-04 16:07:18 +08:00
yibaiba c9f2d7d3a7 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 f1f3b32656 fix(web): correct contact picker and popper layouts 2026-09-04 15:18:30 +08:00
yibaiba 826e5c1b49 fix(phone): harden IMS recovery and contact identity state 2026-09-04 13:26:21 +08:00
yibaiba fe10925723 feat(phone): let users add contacts from the phone page
Show a name/number form on the contacts list and a save button on the
dialer so contacts can be created without waiting for an incoming call.
2026-09-04 11:58:19 +08:00
yibaiba 69054c8beb feat(phone): add number geolocation, notify attribution, and contacts list
Embed CN phone.dat plus libphonenumber for country/carrier lookup, show
that on SMS/call notifications, and list saved contacts on the Phone page.
2026-09-04 11:55:06 +08:00
yibaiba c753d7897c feat(vowifi): track WiFi Calling health 2026-09-04 11:37:16 +08:00
yibaiba 7aa1ab75c7 feat(phone): show caller carrier/region and save contacts
Incoming calls and the call log resolve 10086/10010 and mobile
prefixes to 中国移动/中国联通, plus country for international
numbers. Names saved as contacts replace the raw number on screen.
2026-09-04 11:18:54 +08:00
Cursor Agentandyibaiba 8d64ea8885 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 4b1e0266a7 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 b8b2b4e142 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 69ba878e57 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 36848bee64 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 8c5f7f9222 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 efc1cf5ba7 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 cdf7d7b272 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 2c07bccf42 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 7c0dbd4f0c 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 0f3d9a099e 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 f1afe1418a 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 f285077f9f 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 7bbe2d5aec 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 3fd608a459 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 fe8275818c 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 b414f1e135 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 9d3e0d06a7 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 54ebcb3690 fix(volte): skip unusable UAC and keep China SIMs on native IMS
DJI/Baiwang USB audio enumerates but opening PCM kills QMI on the
same composite. Skip QPCMV and ALSA there; QPCMV failure also skips
PCM open. Working UAC is unchanged. China MCC 460/461 force native
VoLTE. Rebuild QMI when the proxy socket dies during a native call.
2026-09-01 14:22:20 +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 c01e6e5126 feat(ut): configure simservs through XCAP instead of USSI
Why: IR.92 2.3.2 requires Ut/XCAP for call forwarding, identity restriction, and barring; MMI codes are not Ut.
Why this works: GET/PUT simservs uses If-Match and one service per request; 404 retries an alternate XUI; missing XCAP PDN returns a visible error.
Remaining: production still needs the XCAP PDN transport wired to the second SWu; browser evidence was not collected in this session.
2026-08-31 14:12:18 +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
yibaiba 49f97a50b5 feat(device): record VoWiFi MWI on runtime DTOs and teardown
Keep the latest RFC 3842 snapshot on the pool, attach it to device
runtime JSON, and clear it when VoWiFi is disabled. Call-waiting
notify is forwarded from the same dispatcher.
2026-08-31 00:46:58 +08:00
yibaibaandCursor 593cb967bc feat(vowifi): close SMS, hold, outbound, and SWu protocol gaps
Register now advertises outbound, prefers Service-Route then Path, and
tears down RFC 3680 subscriptions in-dialog. Voice adds hold/resume and
RFC 4028 timers; SWu sends AKA' bidding, IKE fragmentation, redirect
limits, and a correctly coded AUTS. Host SMS gets SMMA backpressure and
CS fallback without double-send.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 23:19:43 +08:00
yibaiba 4df9b5d6ba fix(ui): show SIM PLMN on the dashboard when WiFi calling has no serving operator
The focus stage and device cards were treating an uncamped VoWiFi
modem as unavailable even though the home MCC/MNC was already known.
2026-08-27 20:02:28 +08:00
yibaiba a3f41e0a6b fix(ui): fall back to SIM operator when the header has no serving name
WiFi calling leaves the modem uncamped, so the workspace title used to
say the operator was unavailable while identity already showed the
home PLMN.
2026-08-27 19:50:35 +08:00
yibaiba 6fc7ec54ec fix(phone): keep cellular retry and wifi-idle overview copy
Same-mode no-op only applies to WiFi calling. Overview stays on the
wifi path when the start switch is off instead of claiming cellular.
2026-08-27 19:38:34 +08:00
yibaiba bb4cccda50 feat(phone): start WiFi calling with a switch under the mode picker
Keep phone_mode as the path. Turning the switch off only stops the
service instead of forcing a change to cellular or VoLTE.
2026-08-27 19:20:26 +08:00
yibaiba aaf774b8bc feat(esim): decode activation QR images and PDFs on the server
Upload screenshots or carrier PDFs to decode LPA:1$ payloads so install
no longer depends on the browser BarcodeDetector API.
2026-08-27 18:39:03 +08:00