feat(pia): add PIA login-and-add WireGuard outbounds (#6272)

* feat(pia): add login-and-add WireGuard outbounds (#2)

* fix(pia): keep PIA outbounds identifiable after the editor strips hostname

The outbound editor drops piaHostname, so last-segment matching failed for hyphenated servers. Identify rows by the computed tag, re-encrypt stored tokens onto the active key, skip unusable catalog rows, and always release the catalog refresh latch.
This commit is contained in:
Masterain
2026-08-23 05:11:06 +08:00
committed by GitHub
parent a3e617215c
commit bd6a6aba43
73 changed files with 4095 additions and 31 deletions
+14
View File
@@ -1642,6 +1642,20 @@
"toastDeleted": "已刪除",
"toastDeleteFailed": "刪除失敗"
},
"pia": {
"menu": "PIA",
"username": "PIA 使用者名稱",
"password": "PIA 密碼",
"account": "帳號",
"region": "區域",
"allRegions": "全部區域",
"noServers": "所選國家沒有可用伺服器",
"outboundAdded": "已新增 PIA 出站",
"outboundUpdated": "已更新 PIA 出站",
"addedServers": "已新增的伺服器",
"alreadyAdded": "此伺服器已在出站清單中。若要換新金鑰請按 {reset}。",
"provisionFailed": "無法產生 PIA 出站,請重試。"
},
"tabBalancerSettings": "負載平衡設定",
"tabObservatory": "觀測器",
"observatory": {