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": "Đã xóa",
"toastDeleteFailed": "Xóa thất bại"
},
"pia": {
"menu": "PIA",
"username": "Tên người dùng PIA",
"password": "Mật khẩu PIA",
"account": "Tài khoản",
"region": "Khu vực",
"allRegions": "Tất cả khu vực",
"noServers": "Không có máy chủ cho quốc gia đã chọn",
"outboundAdded": "Đã thêm outbound PIA",
"outboundUpdated": "Đã cập nhật outbound PIA",
"addedServers": "Máy chủ đã thêm",
"alreadyAdded": "Máy chủ này đã có trong danh sách outbound. Dùng {reset} để gia hạn khóa.",
"provisionFailed": "Không tạo được outbound PIA. Hãy thử lại."
},
"tabBalancerSettings": "Cài đặt Balancer",
"tabObservatory": "Observatory",
"observatory": {