查看“︁Photonicat 2 管理界面新功能 (2026)”︁的源代码
←
Photonicat 2 管理界面新功能 (2026)
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{| class="wikitable" |- ! 适用 / Applies to | Photonicat 2, pcat-manager-web 2026-06/07 更新(随 photonicatWrt 26.04.x OTA 或 pcat- 系列 IPK 分发) / Photonicat 2, pcat-manager-web 2026-06/07 updates (shipped via photonicatWrt 26.04.x OTA or pcat- IPK packages) |} 本页汇总 photonicat 2 '''Web 管理界面(pcat-manager-web)'''2026 年上半年的新功能与改进。两大重点功能有独立页面:[[Photonicat 2 Smart WAN 智能上网]] 与 [[Photonicat 2 访客门户 Captive Portal]]。 This page rounds up the H1-2026 features and improvements of the photonicat 2 '''web manager (pcat-manager-web)'''. The two headline features have dedicated pages: [[Photonicat 2 Smart WAN 智能上网|Smart WAN]] and [[Photonicat 2 访客门户 Captive Portal|Captive Portal]]. == 中文说明 == === 仪表盘 Dashboard === * '''真实出口指示''':首页拓扑图只点亮'''当前实际使用的出口'''(有线/WiFi 中继/蜂窝),WiFi 中继状态正确显示;LAN 绿点仅在真的有出口可用时点亮。 * 新增显示 '''WiFi 信号强度'''、'''当前网络模式''',WAN 图标按多出口组合显示。 * '''限速统计更准''':修复 NAT 转发吞吐统计与 FM350 模组计数器清零导致的速度显示错误。 * 性能优化:仪表盘数据缓存与轮询对齐,页面响应更快;前端框架升级至 Alpine.js 3.15。 === 公网 IP 自定义查询(含小屏显示) === 解决"photonicat.com 被墙时 LCD 无法显示公网 IP"的问题: * '''小屏页面(/screen)新增 "Public IP" 标签页''',可自定义公网 IP 查询: ** 多个查询 URL 按顺序尝试(自动校验返回的是合法 IPv4/IPv6); ** 每个源可配解析方式:<code>json:字段</code>、<code>regex:正则</code>、<code>line:行号</code> 或纯文本; ** 可自定义 User-Agent;页面内附完整配置示例。 * 配置同时写入 Web 后端与 Go 小屏程序,网页和 LCD 屏使用同一套查询源。 * 小屏 BTC 价格示例已切换到 Photonicat 官方 API。 === 电话与短信(蜂窝版) === * '''通话记录''':类 iPhone 的通话历史(/phone 页面)——来电/去电/未接分类、接通状态、通话时长、时间戳;支持一键回拨、单条删除与清空。记录保存在本机 SQLite(/etc/pc_phone.db)。 * '''拨号界面''':实时通话状态显示,音频通道可切换(扬声器/听筒/耳机/蓝牙)。 * '''SIM 卡号可编辑''':/modem 页面 SIM 卡号旁新增铅笔图标,点击即可内联编辑并保存(运营商不下发号码时可手工标注),支持回车保存/Esc 取消。 * 短信列表自动刷新修复:新短信到达后无需手动刷新页面。 === 电源与电池 === * '''Type-C 反向供电状态修正''':用 photonicat 2 当充电宝给外设供电时,电池状态正确显示"放电中"(此前误显示充电)。 * '''开关机策略(/timer)'''三种模式: ** 手动模式:仅按键/软件控制开关机; ** 车载/UPS 模式:插电自动开机,断电后可设 0–600 分钟延迟安全关机(车载点火联动、UPS 场景); ** 定时模式:最多 6 条按星期+时间(HH:MM)的定时开/关机计划。 === 设置与维护 === * '''WiFi 恢复出厂''':/settings 新增一键恢复 WiFi 默认配置按钮——WiFi 配置改乱连不上时的自救手段。 * '''系统更新更安全''':升级过程中显著提示"'''请勿断电'''",升级确认流程简化;正式固件源为 dl.photonicat.com(系统镜像与 MCU 固件均自动检测新版本)。 * 修复新版 OpenWrt 下 WLAN 启用状态检测(wifi-iface 与 wifi-device 需同时启用)。 === 安全加固 === 2026-07 起的版本完成了一轮安全加固,建议所有用户升级: * 所有 API 接口强制登录校验,WebSocket 连接增加鉴权; * 全面启用 CSRF 防护;所有改变状态的操作仅接受 POST; * 不再向前端泄露 LuCI 密码;登录 PIN 页面不再依赖外部 CDN; * 配置写入原子化,异常断电不再损坏配置文件;修复开放重定向等问题。 == English == === Dashboard === * '''True egress indication''': the topology only lights the '''actually active egress''' (ethernet / WiFi relay / cellular); relaying WiFi shows correctly; the LAN green dot requires a live egress. * Added '''WiFi signal strength''' and '''current network mode'''; WAN icons composite across multiple uplinks. * '''Accurate throughput''': fixed NAT-forwarding speed accounting and FM350 modem counter resets. * Performance: dashboard caching aligned to the display poll; frontend upgraded to Alpine.js 3.15. === Configurable public-IP lookup (incl. mini screen) === Fixes "the LCD can't show the public IP when photonicat.com is blocked": * The '''Mini Screen page (/screen) gains a "Public IP" tab''' to customize lookups: ** multiple URLs tried in order (responses validated as real IPv4/IPv6); ** per-source parsers: <code>json:field</code>, <code>regex:pattern</code>, <code>line:N</code> or plain text; ** custom User-Agent; a worked example is embedded in the page. * The config feeds both the web backend and the Go screen daemon — web UI and LCD share the same sources. * The screen's BTC price example now uses the official Photonicat API. === Phone & SMS (cellular models) === * '''Call history''': iPhone-like history on /phone — incoming/outgoing/missed, status, duration, timestamps; one-tap callback, per-record delete and clear-all. Stored locally in SQLite (/etc/pc_phone.db). * '''Dialer''': live call status, switchable audio path (speaker/earpiece/headset/bluetooth). * '''Editable SIM number''': a pencil icon next to the SIM number on /modem enables inline editing (useful when the carrier doesn't provision the number); Enter saves, Esc cancels. * SMS list auto-refresh fixed — new messages appear without a manual reload. === Power & battery === * '''Type-C reverse-power status fixed''': when the photonicat 2 powers other devices as a power bank, the battery correctly shows "discharging" (previously showed charging). * '''Power policies (/timer)''', three modes: ** Manual: power button / software only; ** Car/UPS: auto power-on when external power connects; graceful shutdown 0–600 minutes after it disconnects (car ignition, UPS scenarios); ** Timer: up to 6 scheduled on/off events by day-of-week + time (HH:MM). === Settings & maintenance === * '''WiFi reset-to-defaults''': one-click button on /settings restoring factory WiFi config — the escape hatch when WiFi settings get wedged. * '''Safer updates''': a prominent "'''do not power off'''" notice during upgrades and a simplified confirmation flow; official sources at dl.photonicat.com (system image and MCU firmware both auto-checked). * Fixed WLAN enabled-state detection on newer OpenWrt (both wifi-iface and wifi-device must be enabled). === Security hardening === Builds since 2026-07 include a security hardening pass — all users should update: * Authentication enforced on all API routes; WebSocket connections authenticated; * CSRF protection across the board; state-changing operations are POST-only; * The LuCI password is no longer exposed to the frontend; the PIN page no longer loads from an external CDN; * Atomic config writes (power loss can't corrupt configs); open-redirect and socket-framing fixes. [[Photonicat 2 Smart WAN 智能上网]] | [[Photonicat 2 访客门户 Captive Portal]] | [[Photoincat 2 IPv6 PPPoE]]
返回
Photonicat 2 管理界面新功能 (2026)
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息