Commit Graph
194 Commits
Author SHA1 Message Date
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 bf433ea45b 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
yibaiba e44e1e4323 fix(esim): decode dropped or pasted QR images and keep LPA tokens
Prefer LPA payloads over labeled SM-DP+ text, fall back to the form
host when an activation blob does not parse, and accept QR screenshots
via drag-and-drop or clipboard paste.
2026-08-27 18:18:26 +08:00
yibaiba 14a66303e4 fix(esim): install profiles from market QR activation codes
Accept GSMA LPA:1$ payloads, Apple-wrapped URLs, host$token strings,
and labeled SM-DP+/activation-code emails so VOXI, Giffgaff, Airalo
and similar cards can be added from the QR rather than a bare host.
2026-08-27 17:35:55 +08:00
yibaiba 0326d8861e fix(ui): open a DTMF pad from the floating call bar
The keypad button only routed to /phone, so it did nothing when the
phone page was already open. Toggle an in-bar dial pad after the call
is connected and send DTMF from there.
2026-08-24 19:09:56 +08:00
yibaiba 5f3f913275 test: drop a live ICCID from overview fixtures
The VoLTE presentation fixture copied a real SIM ICCID. Use zeros.
2026-08-24 18:47:42 +08:00
yibaiba e79d2ee3c5 fix(phone): drop ghost ringing after QMI slot reuse
A just-ended native call can reappear on QMI call id 1 and be stored as
a new inbound ringing row. Ignore the same number on that slot for 3s,
close leftover in-progress records on process start, and refresh active
calls when the phone event stream drops.
2026-08-24 18:34:27 +08:00
yibaiba 45d203b4f9 fix(phone): always publish call_ended after hangup
Hangup could return 204 while native VoLTE never emitted CallEnded, so
the page stayed on 挂断中. Finish the phone-layer call after a successful
hangup or reject, replay events when after_id is from a previous process,
and apply restarted SSE ids instead of dropping them.
2026-08-24 18:21:49 +08:00
yibaiba 2aff241c18 fix(ui): blur header IMEI and ICCID with identity toggle
The workspace header printed full IMEI/ICCID while the identity card
below already masked them. Both now share the same visibility switch.
2026-08-24 15:26:10 +08:00
yibaiba 3142ea305e fix(volte): show native IMS on device overview stage
Overview still keyed off vowifi_enabled, so a registered VoLTE modem
looked like Wi-Fi Calling waiting for an ePDG tunnel.
2026-08-24 15:16:20 +08:00
yibaiba b5e785f32a fix(volte): stop treating native mode as WiFi calling
Card policy already stored phone_mode=volte with airplane off, but the
embedded UI still classified any non-cellular mode as WiFi calling and
locked flight. Device list also dropped PhoneMode when merging yaml.
2026-08-24 15:04:24 +08:00
yibaiba 855e6a4a63 fix(volte): address native call and enable review bugs
Reuse of QMI call ids, inbound PCMU SDP, IMS client leak,
Lebara live classify, and VoLTE policy mirroring.
2026-08-24 10:00:17 +08:00
yibaiba e403ec9599 feat(volte): implement native IMS bring-up and PCMU SDP
Map China PLMN to a unique MBN, wait for LTE and IMS PDN, and
give /phone a local PCMU endpoint. Unknown PLMNs fail closed.
2026-08-24 08:57:24 +08:00
yibaiba 1bbb861531 feat(volte): add audio runtime and PCMU bridge
Keep cellular on software IMS. Native VoLTE can bind ALSA by USB
parent path and bridge 8 kHz PCMU frames without claiming UAC ready.
2026-08-24 00:35:35 +08:00
yibaiba e550d2edd5 feat(volte): add native VoLTE phone mode on QDC507
Keep wifi and cellular software IMS. VoLTE camps LTE, enables
modem IMS over AT, and routes /phone through QMI VOICE.
2026-08-23 21:55:46 +08:00
yibaiba 273de3e931 feat(web): label personal Weixin as conversational 2026-08-20 14:28:44 +08:00
yibaiba d22874111d feat: add Lebara UK NextGen WiFi calling and radio lock
Add the 234/87 preset and keep shared eSIMs off domestic cells so a dual-IMSI flip to 20404 cannot kill UK WFC.
2026-08-19 14:58:04 +08:00
yibaiba c3e8e8539f fix: preserve notification binding and DNS state 2026-08-19 12:20:40 +08:00
yibaiba 84b86ecccd fix: put SOCKS5 keepalive and Feishu binding on the right layers
Move UDP associate keepalive into Socks5Transport, reuse staged ePDG DNS with cache only after timeout, and share one trusted Feishu binding helper.
2026-08-19 11:50:11 +08:00
yibaiba e7b6f8a051 fix: authorize Feishu chats and refresh bound notification IDs
First Feishu private chat now binds the sender, later group messages
require that user, and QR apply records the scanner Open ID. Settings
polling merges bound IDs without wiping in-progress form edits.
2026-08-19 11:24:00 +08:00
yibaiba 61541a3c95 fix: reply to Feishu bot chats and bind chat IDs
Plain messages were dropped because only slash commands were handled.
First chat now sends help, later text asks for /help, and group @mentions
are stripped. Chat IDs persist like WeCom so settings and outbound
notifications fill in after the first message.

Recordings stay file cards unless the file is already opus. The lame/AMR
stack cannot encode Feishu voice bubbles, so ffmpeg is not added.
2026-08-19 11:00:42 +08:00
yibaiba de5c5b03a0 fix: keep QR activate hints and fill bound bot user IDs
Show the post-scan send-a-message hint without remounting settings, merge runtime Weixin/WeCom bindings into the form, treat WeCom QR init as waiting, and accept numeric iLink message IDs so personal Weixin can receive again.
2026-08-19 10:14:28 +08:00