Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions changes/feat-xhttp-extra.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Added

- The node dialog shows a vless or trojan XHTTP link's options as fields: mode, path, host, headers, padding and POST pacing from its extra JSON, and a separate download peer. Editing fields changes their corresponding query parameters or JSON members; extra JSON is reserialized with JavaScript number precision.
- Header names are trimmed, and case-insensitive duplicates show a field error and block saving until corrected, keeping both editable values. Unnamed rows remain protected unsaved drafts without rewriting an empty headers object; replacing the raw link replaces those rows.
- Saving an edited node link first asks honk to read it within the same shared save transaction, so other group and routing-mode edits wait throughout validation and saving, even if the dialog closes. A link honk would skip is refused with a translated diagnostic and any backend detail, even when the backend message is empty.
- Adding a node refuses a link longer than the 8192 characters the API accepts; editing an existing declaration does not apply that creation limit, and clearing required edit fields explains why saving is disabled.
- Changed XHTTP parameters encode single quotes so header values and paths remain writable in configuration text; partial download changes preserve untouched settings.
- Renamed node declarations always quote their names, including `mux`, which honk otherwise reads as a removed standalone setting.
- XHTTP help is more concise in all three languages, retaining the existing startup download budgets.
6 changes: 6 additions & 0 deletions docs/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Sign-in is a page of its own: one card centred on the theme background, with Lan

On Policies, use the pencil button on a group card to edit its policy and included regions, subscriptions and nodes. The dialog shows the matching nodes and supports undo before saving. New group opens the same editor. Group links on Nodes return to the group card. In a node's Node actions menu, Add to group lists groups from writable main and include files; choosing one opens its editor with the node staged for confirmation. Nodes and subscriptions declared in include files cannot be removed from this page; the disabled action explains why.

### XHTTP node options

When Paste node link or Edit… holds a vless or trojan XHTTP link, XHTTP options shows its mode, path, host, headers, padding, POST pacing and separate download peer as fields. The link remains what is saved. Fields change their corresponding query parameters or extra JSON members; unchanged query parameter strings survive, but changing extra reserializes that object, normalizing its whitespace and using JavaScript's number precision. Header names are trimmed, and duplicate names (case-insensitive) must be corrected before saving. Before an edited link is written, honk reads it alone; a link honk would skip is refused with a translated diagnostic and any backend detail instead of the node disappearing after reload. The 8192-character limit applies only to adding a node; longer links can be edited in existing declarations or entered in the configuration editor.

Unfinished header rows are protected as unsaved changes; replacing the raw link replaces those rows. Link checking and saving share one transaction, so group and routing-mode edits wait even if the node dialog closes.

### Traffic and connections

The Traffic tab of Connections plots each connection's upload against its download, coloured by outbound; select a point to open that connection. The Connections tab groups live connections by device or by outbound, filters them by protocol and outbound, and exports them as CSV.
Expand Down
6 changes: 6 additions & 0 deletions docs/pages.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@

在策略页按组卡片的铅笔按钮,即可编辑策略及选入的地区、订阅与节点。对话框显示符合条件的节点,保存前可撤销更改。新建组使用同一个编辑器。节点页的组链接会跳转到组卡片;节点操作菜单中,加入组列出可写主文件与包含文件中的组;选择后打开编辑器,暂存选中的节点,待确认后保存。在包含文件中声明的节点与订阅不能从此页移除,禁用的操作会说明原因。

### XHTTP 节点选项

粘贴节点链接或编辑节点时,若链接是 vless 或 trojan 的 XHTTP 链接,XHTTP 选项会把其模式、路径、host、header、填充、POST 节奏和独立下载端显示为字段,保存的仍是链接本身。字段改写对应的查询参数或 extra JSON 成员;未修改的查询参数字符串会保留,但修改 extra 会重新序列化该对象,规范化其空白,并使用 JavaScript 的数字精度。Header 名称会去除首尾空白,重复名称(不区分大小写)须修正后才能保存。写入编辑后的链接前,会先请 honk 单独读取它;honk 会跳过的链接会显示翻译后的诊断及后端详细原因并被拒绝,而不是在重载后节点消失。8192 字符限制仅适用于添加节点;更长的链接可在现有节点声明中编辑,或在配置编辑器中写入。

尚未填写名称的 header 行也受未保存更改保护;替换原始链接会替换这些行。链接检查与保存属于同一事务,即使关闭节点对话框,组和路由模式的编辑仍须等待它完成。

### 流量与连接

连接页的流量标签页用散点图展示每条连接的上传量与下载量,并按出站着色;选中数据点即可打开对应的连接。连接标签页按设备或出站对实时连接分组,可按协议和出站筛选,并导出为 CSV。
Expand Down
6 changes: 6 additions & 0 deletions docs/pages.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@

在策略頁按群組卡片的鉛筆按鈕,即可編輯策略及選入的地區、訂閱與節點。對話框顯示符合條件的節點,儲存前可復原變更。新增群組使用同一個編輯器。節點頁的群組連結會跳轉到群組卡片;節點操作選單中,加入群組列出可寫入主檔案與包含檔案中的群組;選擇後開啟編輯器,暫存選取的節點,待確認後儲存。在包含檔案中宣告的節點與訂閱不能從此頁移除,停用的操作會說明原因。

### XHTTP 節點選項

貼上節點連結或編輯節點時,若連結是 vless 或 trojan 的 XHTTP 連結,XHTTP 選項會把其模式、路徑、host、header、填充、POST 節奏與獨立下載端顯示為欄位,儲存的仍是連結本身。欄位改寫對應的查詢參數或 extra JSON 成員;未修改的查詢參數字串會保留,但修改 extra 會重新序列化該物件,正規化其空白,並使用 JavaScript 的數字精度。Header 名稱會去除首尾空白,重複名稱(不區分大小寫)須修正後才能儲存。寫入編輯後的連結前,會先請 honk 單獨讀取它;honk 會略過的連結會顯示翻譯後的診斷及後端詳細原因並被拒絕,而不是在重新載入後節點消失。8192 字元限制僅適用於新增節點;更長的連結可在現有節點宣告中編輯,或在組態編輯器中寫入。

尚未填寫名稱的 header 行也受未儲存變更保護;替換原始連結會替換這些行。連結檢查與儲存屬於同一交易,即使關閉節點對話框,群組和路由模式的編輯仍須等待它完成。

### 流量與連線

連線頁的流量分頁以散佈圖呈現每條連線的上傳量與下載量,並依出站著色;選取資料點即可開啟對應的連線。連線分頁依裝置或出站將即時連線分組,可依協定與出站篩選,並匯出為 CSV。
Expand Down
Loading
Loading