39 Commits
Author SHA1 Message Date
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 5295bd24e1 feat: bind Weixin on QR and add Feishu scan-to-create
Save the Weixin scanner as the default notify target and remind
users to message Weixin, WeCom, and Telegram bots after connect.
Add Feishu QR onboarding using the accounts registration flow
Hermes uses, then persist App ID and App Secret.
2026-08-19 09:30:36 +08:00
yibaiba 300098edef fix: camp without data and align radio/network UI
Airplane still turns the radio off. Network only starts a data session, so an idle card can stay registered with no traffic. Device list, card policy, overview, and the dialer now describe that split, including that a cellular call temporarily brings data up.
2026-08-17 15:48:14 +08:00
yibaiba 3069a9bd6a fix: say cellular needs Network instead of idle dial-ready
The dialer no longer labels an unnetworked cellular device as waiting to connect on call. API replies also tell the user to turn Network on before on_demand or always can camp.
2026-08-17 15:08:57 +08:00
yibaiba 588e16a992 fix: stop cellular idle VoWiFi recover and restore data toggle
Skip desired-state recover for cellular on_demand so idle devices
do not start SWu. Probe the cellular path before IMS and fall back
to the country proxy when the bearer cannot reach the internet.
Allow the network switch to stay on with cellular software phone.

Bump Docker image to 2.0.4.
2026-08-17 10:39:36 +08:00
yibaiba f45264f8ce fix: only restart software phone when mode actually changes
Compare previous phone_mode/data_strategy before RestartVoWiFi so a
repeat enable does not bounce an already-running stack. Cellular enable
no longer claims the device entered airplane mode.
2026-08-17 09:36:45 +08:00
yibaiba 3c0d79742a fix: harden docker runtime, PushPlus transport, and DB write logs
Align the Hub Dockerfile with Dockerfile.github so recordings keep
AMR/MP3 codecs and healthcheck. Send PushPlus over HTTPS with a timeout.
Log traffic rollup, SMS persist, and device IP update failures without
changing call/SMS success semantics.

Bump image to 2.0.3.
2026-08-17 01:35:52 +08:00
yibaiba 1401576259 feat(updater): check Docker Hub versions 2026-08-14 19:53:04 +08:00
yibaiba 0780cbee84 feat(server): make built-in https optional 2026-08-14 19:27:06 +08:00
yibaiba 7059e1335f feat(auth): guide first-login password changes 2026-08-14 17:39:16 +08:00
yibaiba 1d262da390 fix(notify): serialize QR credential finalization 2026-08-14 14:16:28 +08:00
yibaiba 8d54ab3767 fix(settings): serialize notification persistence 2026-08-14 13:45:13 +08:00
yibaiba 037a461911 feat(web): persist disclaimer acceptance in database 2026-08-14 12:57:55 +08:00
yibaiba 445c9c39f5 feat(notify): add QQ bot QR onboarding 2026-08-14 12:36:11 +08:00
yibaiba 42e1f2a695 feat(notify): add WeCom bot QR setup
Why: HiDeck needs the Hermes-compatible WeCom smart-robot onboarding flow without requiring OpenClaw or replacing the existing Webhook channel.

Why this works: use the WeCom admin QR endpoints, persist masked manual or scanned credentials, and keep wecom_bot configuration independent from legacy Webhook settings.

Remaining: the long-lived WebSocket command and media pipelines are implemented in the following mission rows.
2026-08-14 12:05:21 +08:00
yibaiba 045f455e46 refactor(go): move module to yibaiba/hideck 2026-08-14 11:48:09 +08:00
yibaiba 314aa1c2e5 feat(notify): add Weixin QR login flow
Why: VoHive needs native personal WeChat onboarding without requiring OpenClaw.

Why this works: authenticated settings routes drive an isolated iLink QR state machine with bounded refreshes, persist confirmed credentials through the private runtime store, and never return the bot token.

Remaining: real WeChat scanning needs a user account; inbound polling and media delivery follow in the active mission.
2026-08-14 11:36:11 +08:00
yibaiba 139b421075 feat(notify): add WeCom notification channel 2026-08-14 10:29:46 +08:00
yibaiba f22c499173 fix(sms): persist unread state and target ICCID 2026-08-13 20:23:32 +08:00
yibaiba 4919b0d080 feat(server): serve phone UI over managed HTTPS
Run HTTP and TLS listeners together, issue a persistent local CA certificate
with host SANs, support provided certificates, and expose only the CA public cert.
2026-08-13 14:35:18 +08:00
yibaiba ce33da3ce7 feat(phone): add leased call session API
Manage one active call per device, browser control leases, recovery,
terminal classification, SSE replay, history, and authenticated controls.
2026-08-13 13:56:26 +08:00
yibaiba 98a754efc3 feat(voice): persist playable MP3 call recordings 2026-08-13 11:40:20 +08:00
yibaiba f800dc6a2f feat(esim): add explicit profile disable flow 2026-08-13 11:26:58 +08:00
yibaiba 11e3239d43 feat(automation): add scheduled device tasks 2026-08-13 08:16:39 +08:00
yibaiba 1e80204b89 fix command center realtime balance flow 2026-08-12 08:08:07 +08:00
yibaiba 5e92ae29b5 [command-center-followup-01] align public API contract 2026-08-12 01:03:32 +08:00
yibaiba 85753711f3 [command-center-04] expose authenticated command APIs 2026-08-12 00:11:15 +08:00
yibaiba 1f43d077ea [fix-nine-regressions-08] add OpenWrt dynamic interface mapping 2026-08-11 16:21:18 +08:00
yibaiba 3f3693fe6b [fix-nine-regressions-07] make QMI MBIM switches transactional 2026-08-11 15:53:51 +08:00
yibaiba 4a748b1cf5 [fix-nine-regressions-04] bind modem SMS to explicit SIM identity 2026-08-11 13:53:01 +08:00
yibaiba ff2f1478a7 [fix-nine-regressions-02] render timestamps in device timezone 2026-08-11 13:19:24 +08:00
yibaiba 36fea12adb [fix-nine-regressions-01] persist card policy before runtime changes 2026-08-11 13:03:55 +08:00
yibaiba 3fcbaed1ed [restore-vowifi-37] restore root runtime host 2026-08-11 09:43:18 +08:00
yibaiba 3535d5c70b [test] allow disabling SMS rate limit 2026-08-10 12:57:34 +08:00
yibaiba 824305cec1 [rewrite-vowifi-sms-followup-21] restore IMS signaling keepalive 2026-08-08 17:37:57 +08:00
yibaiba 522cc2b870 [rewrite-vowifi-sms-followup-10] expose authenticated VoWiFi call API 2026-08-08 13:11:12 +08:00
yibaibaandClaude Fable 5 6a55aceeb9 feat(api): add SMS rate limiting (hourly 3 / daily 10)
Port the SMS rate limiter from github.com/yibaiba/vohive:
- sms_rate_limit.go: limiter with first-hour (3) and daily (10) quotas,
  local-midnight daily reset
- server.go: smsLimiter field + lazy smsRateLimiter(); handleSendSMS returns
  429 sms_rate_limited before the backend send
- sms_rate_limit_test.go: 4 tests (first-hour block, daily block, midnight
  reset, backend not invoked when limited)

Why: brings vohive-open up to date with the latest public vohive while
keeping the rewritten vowifi-go.

Why this works: all 25 packages pass; 4 new limiter tests green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 09:59:32 +08:00
yibaibaandClaude Fable 5 320ef758c0 feat: integrate rewritten vowifi-go (binary-faithful imscore/voice API)
Replace third_party/vowifi-go with the reverse-engineered rewrite that
matches the v1.5.5 binary's actual vowifi-go (internal/vowifi/imscore +
internal/vowifi/voice), and adapt the host code to its API:

- device: modemAdapter/qmiModemAdapter implement runtimehost.Modem
  (Capabilities, IMSIdentityProvider) and identity.Access; SetLogger uses
  slog.Default()
- api: GetSMSDeliveryStatus passes ctx
- platform shims so the Linux-targeted code compiles on macOS for tests:
  SO_BINDTODEVICE consts (netprobe/proxy/qmi), qmi control-device-holder
  stub, udev build-tag + no-op stub
- test modems implement the runtimehost.Modem interface

Result: 25 packages pass on macOS; only internal/web + cmd/vohive fail on
the pre-existing missing web dist assets (//go:embed all:dist). The
vowifi-go module itself builds on both macOS and Linux.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 01:21:47 +08:00
windloom de689a554d Assemble source-integrated VoHive 2026-07-06 04:30:39 +08:00